changeset 358:fd07ddfa6a82

Cleanup + devctl
author ray@terran.dlink.ua
date Mon, 06 Feb 2012 15:01:49 +0200
parents f837396c6f97
children 7db02253c46a
files boards/NorthQ/NQ-900/board.hints boards/NorthQ/NQ-900/board.mk
diffstat 2 files changed, 20 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/boards/NorthQ/NQ-900/board.hints	Mon Feb 06 15:01:01 2012 +0200
+++ b/boards/NorthQ/NQ-900/board.hints	Mon Feb 06 15:01:49 2012 +0200
@@ -21,9 +21,11 @@
 hint.uart.1.msize="0x8"
 hint.uart.1.irq=0
 
+hint.miibus.0.phymask="0x00000000"
+hint.switch.0.at="miibus0"
+hint.switch.0.phyno=30
 
 # gpio at siba_cc0
-
 hint.gpio.0.at="siba_cc0"
 hint.gpio.0.maddr="0x18000060"
 hint.gpio.0.msize="0x18"
--- a/boards/NorthQ/NQ-900/board.mk	Mon Feb 06 15:01:01 2012 +0200
+++ b/boards/NorthQ/NQ-900/board.mk	Mon Feb 06 15:01:49 2012 +0200
@@ -23,12 +23,25 @@
 KERNCONF_IDENT=${TARGET_VENDOR}_${TARGET_DEVICE}
 # Include usb and SoC usb controller drivers
 WITH_USB=yes
+
 # Builded modules
-# device wlan in kernel alredy enable this modules
-KERNCONF_MODULES_OVERRIDE+=wlan_xauth wlan_wep wlan_tkip wlan_acl wlan_amrr wlan_ccmp wlan_rssadapt
-KERNCONF_MODULES_OVERRIDE+=usb/uplcom usb/u3g usb/umodem usb/umass usb/ucom cam zlib
+KERNCONF_MODULES_OVERRIDE+=	wlan_xauth wlan_wep wlan_tkip wlan_acl \
+    wlan_amrr wlan_ccmp wlan_rssadapt
+KERNCONF_MODULES_OVERRIDE+=	usb/run usb/rum firmware
+KERNCONF_MODULES_OVERRIDE+=	random zlib
+KERNCONF_MODULES_OVERRIDE+=	if_bridge bridgestp
+KERNCONF_MODULES_OVERRIDE+=	msdosfs
+KERNCONF_MODULES_OVERRIDE+=	md
+KERNCONF_MODULES_OVERRIDE+=	ipfw dummynet libalias
+KERNCONF_MODULES_OVERRIDE+=	geom/geom_label geom/geom_uncompress
+KERNCONF_MODULES_OVERRIDE+=	ufs
+KERNCONF_MODULES_OVERRIDE+=	usb/umass cam
+KERNCONF_MODULES_OVERRIDE+=	usb/uplcom usb/u3g usb/umodem usb/ucom
 
-KERNCONF_OPTIONS+=ALT_BREAK_TO_DEBUGGER
+WORLD_SUBDIRS_SBIN+=	devctl
+
+KERNCONF_OPTIONS+=	DEVCTL_ATTACH_ENABLED
+KERNCONF_OPTIONS+=	ALT_BREAK_TO_DEBUGGER
 
 
 KERNCONF_DEVICES+=	spibus