From 7217c3967203b288603b17b061beae3228627e66 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 8 Sep 2008 00:41:32 +0000 Subject: [PATCH] Commit the no-brainer parts of my space saving kernel experiments. We don't inline the locking primitives, and only grab those parts of mii that we really need. Other space optimizations are too agressive for the generic file (removing all of usb, and loading it as kernel modules). --- sys/arm/conf/NSLU | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arm/conf/NSLU b/sys/arm/conf/NSLU index 87bbcd79c6bf..9b4d2ffde17f 100644 --- a/sys/arm/conf/NSLU +++ b/sys/arm/conf/NSLU @@ -67,6 +67,9 @@ options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions +options MUTEX_NOINLINE #Mutex inlines are space hogs +options RWLOCK_NOINLINE #rwlock inlines are space hogs +options SX_NOINLINE #sx inliens are space hogs options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 @@ -89,7 +92,8 @@ device npe # Network Processing Engine device npe_fw device firmware device qmgr # Q Manager (required by npe) -device miibus # NB: required by npe +device mii # Minimal mii routines +device rlphy # NSLU2 uses Realtek PHY attached to npe device ether device bpf