add LKM.
This commit is contained in:
parent
63a9e42e02
commit
b7cd4d56ee
@ -1,4 +1,4 @@
|
||||
# $NetBSD: GENERIC,v 1.111 2002/03/22 09:18:08 takemura Exp $
|
||||
# $NetBSD: GENERIC,v 1.112 2002/03/23 03:17:57 shin Exp $
|
||||
#
|
||||
# GENERIC machine description file
|
||||
#
|
||||
@ -22,7 +22,7 @@ include "arch/hpcmips/conf/std.hpcmips"
|
||||
include "arch/hpcmips/conf/std.hpcmips.vr41"
|
||||
include "arch/hpcmips/conf/std.hpcmips.tx39"
|
||||
|
||||
#ident "GENERIC-$Revision: 1.111 $"
|
||||
#ident "GENERIC-$Revision: 1.112 $"
|
||||
|
||||
maxusers 16
|
||||
|
||||
@ -101,6 +101,8 @@ options INET6 # IPV6
|
||||
# NetBSD backwards compatibility
|
||||
options COMPAT_43
|
||||
|
||||
options LKM # loadable kernel modules
|
||||
|
||||
#options NFS_BOOT_DHCP
|
||||
options NFS_BOOT_BOOTP
|
||||
#options NFS_BOOT_BOOTPARAM
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.16 2002/03/16 16:55:55 martin Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.17 2002/03/23 03:18:52 shin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -75,6 +75,13 @@ struct bdevsw bdevsw[] =
|
||||
bdev_disk_init(NCCD,ccd), /* 7: concatenated disk driver */
|
||||
bdev_disk_init(NVND,vnd), /* 8: vnode disk driver */
|
||||
bdev_disk_init(NRAID,raid), /* 9: RAIDframe disk driver */
|
||||
|
||||
bdev_lkm_dummy(), /* 10 */
|
||||
bdev_lkm_dummy(), /* 11 */
|
||||
bdev_lkm_dummy(), /* 12 */
|
||||
bdev_lkm_dummy(), /* 13 */
|
||||
bdev_lkm_dummy(), /* 14 */
|
||||
bdev_lkm_dummy(), /* 15 */
|
||||
};
|
||||
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
||||
|
||||
@ -240,6 +247,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_isdntrc_init(NISDNTRC, isdntrc), /* 44: isdn trace device */
|
||||
cdev_isdntel_init(NISDNTEL, isdntel), /* 45: isdn phone device */
|
||||
cdev_clockctl_init(NCLOCKCTL, clockctl),/* 46: clockctl pseudo device */
|
||||
cdev_lkm_init(NLKM,lkm), /* 47: loadable module driver */
|
||||
};
|
||||
|
||||
int nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user