Annotation of sys/arch/mvme88k/stand/tftpboot/conf.c, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: conf.c,v 1.1 2004/01/26 19:48:34 miod Exp $ */
! 2:
! 3: #include <sys/types.h>
! 4: #include <machine/prom.h>
! 5:
! 6: #include <stand.h>
! 7: #include "tftpfs.h"
! 8: #include "netdev.h"
! 9: #include "libsa.h"
! 10:
! 11: struct fs_ops file_system[] = {
! 12: { tftpfs_open, tftpfs_close, tftpfs_read, tftpfs_write, tftpfs_seek, tftpfs_stat },
! 13: };
! 14:
! 15: int nfsys = sizeof(file_system) / sizeof(file_system[0]);
! 16:
! 17: struct devsw devsw[] = {
! 18: { "net", net_strategy, net_open, net_close, net_ioctl },
! 19: };
! 20:
! 21: int ndevs = (sizeof(devsw)/sizeof(devsw[0]));
! 22:
CVSweb