diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:00:00 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-10-09 04:00:00 +0000 |
commit | 041fb6ae7a2d18d7ccac149ec48442202b3728d3 (patch) | |
tree | 74a1a540010d39feb23d539100551540dc68d315 /sys/arch/sparc64 | |
parent | 2f93f45f33dc524c837637019bf555d0f67d3c91 (diff) |
remove LKM devices
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/include/vmparam.h | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/vmparam.h b/sys/arch/sparc64/include/vmparam.h index 2994e461032..edcd14bb13b 100644 --- a/sys/arch/sparc64/include/vmparam.h +++ b/sys/arch/sparc64/include/vmparam.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vmparam.h,v 1.25 2014/01/30 18:16:41 miod Exp $ */ +/* $OpenBSD: vmparam.h,v 1.26 2014/10/09 03:59:59 tedu Exp $ */ /* $NetBSD: vmparam.h,v 1.18 2001/05/01 02:19:19 thorpej Exp $ */ /* @@ -100,7 +100,7 @@ /* * User/kernel map constants. */ -#define VM_MIN_ADDRESS ((vaddr_t)0) +#define VM_MIN_ADDRESS ((vaddr_t)PAGE_SIZE) #define VM_MAX_ADDRESS ((vaddr_t)-1) #define VM_MAXUSER_ADDRESS ((vaddr_t)-1) diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index 8ec96d450b3..e88b9443794 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.71 2014/08/20 06:14:43 mikeb Exp $ */ +/* $OpenBSD: conf.c,v 1.72 2014/10/09 03:59:59 tedu Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -268,7 +268,7 @@ struct cdevsw cdevsw[] = cdev_gen_init(NSBPP,sbpp), /* 109: spif parallel ports */ cdev_disk_init(NVND,vnd), /* 110: vnode disk driver */ cdev_tun_init(NTUN,tun), /* 111: network tunnel */ - cdev_lkm_init(NLKM,lkm), /* 112: loadable module driver */ + cdev_notdef(), /* 112 was LKM */ cdev_lkm_dummy(), /* 113 */ cdev_lkm_dummy(), /* 114 */ cdev_lkm_dummy(), /* 115 */ @@ -334,7 +334,6 @@ getnulldev(void) } int chrtoblktbl[] = { - /* XXXX This needs to be dynamic for LKMs. */ /*VCHR*/ /*VBLK*/ /* 0 */ NODEV, /* 1 */ NODEV, |