Annotation of sys/arch/mvmeppc/stand/libsa/conf.c, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: conf.c,v 1.1 2001/06/26 21:58:07 smurph Exp $ */
! 2:
! 3: #include <sys/types.h>
! 4: #include <machine/prom.h>
! 5:
! 6: #include <stand.h>
! 7: #include <ufs.h>
! 8: #include "tftpfs.h"
! 9: #include "rawfs.h"
! 10: #include "libsa.h"
! 11:
! 12: struct fs_ops ufs_file_system[] = {
! 13: { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat },
! 14: };
! 15:
! 16: struct fs_ops tftp_file_system[] = {
! 17: { tftpfs_open, tftpfs_close, tftpfs_read, tftpfs_write, tftpfs_seek, tftpfs_stat },
! 18: };
! 19:
! 20: struct fs_ops raw_file_system[] = {
! 21: { rawfs_open, rawfs_close, rawfs_read, rawfs_write, rawfs_seek, rawfs_stat },
! 22: };
! 23:
! 24: int nfsys = 1; /* devopen will choose the correct one. */
! 25:
! 26: struct devsw devsw[] = {
! 27: { "dsk", dsk_strategy, dsk_open, dsk_close, dsk_ioctl },
! 28: { "net", net_strategy, net_open, net_close, net_ioctl },
! 29: { "tape", tape_strategy, tape_open, tape_close, tape_ioctl },
! 30: };
! 31:
! 32: int ndevs = (sizeof(devsw)/sizeof(devsw[0]));
! 33:
CVSweb