--- elwix/config/ELWIX_ALFA_N2 2014/01/24 03:06:29 1.1.2.16 +++ elwix/config/ELWIX_ALFA_N2 2014/05/26 22:32:29 1.1.2.22 @@ -2,7 +2,7 @@ # PB92 -- Kernel configuration file for FreeBSD/mips for Atheros PB92 reference # board (AR7242) # -# $FreeBSD: head/sys/mips/conf/PB92 253845 2013-07-31 17:21:18Z obrien $ +# $FreeBSD: head/sys/mips/conf/PB92 263301 2014-03-18 14:41:18Z imp $ # machine mips mips @@ -10,8 +10,9 @@ ident ELWIX_ALFA_N2 # XXX The default load address in the Uboot environment is 0x80010000 makeoptions KERNLOADADDR=0x80050000 options HZ=1000 -#options HWPMC_HOOKS -#device hwpmc +options HWPMC_HOOKS +device hwpmc +device hwpmc_mips24k # The PB92 has 32mb of RAM; hard-code that options AR71XX_REALMEM=32*1024*1024 @@ -90,7 +91,7 @@ options GEOM_UZIP device geom_uzip # compressed in-memory filesystem support # Wireless NIC cards -options IEEE80211_DEBUG +#options IEEE80211_DEBUG options IEEE80211_SUPPORT_MESH options IEEE80211_SUPPORT_SUPERG options IEEE80211_AMPDU_AGE @@ -109,7 +110,7 @@ device wlan_rssadapt device ath # Atheros interface support device ath_pci # Atheros PCI/Cardbus bus device ath_ahb -options ATH_DEBUG +#options ATH_DEBUG options ATH_ENABLE_11N options ATH_DIAGAPI @@ -125,11 +126,11 @@ options AH_AR5416_INTERRUPT_MITIGATION # There's no DFS radar detection support yet so this won't actually # detect radars. It however does enable the rest of the channel change # machinery so DFS can be debugged. -#option ATH_ENABLE_DFS +option ATH_ENABLE_DFS device mii device arge -#options ARGE_DEBUG # Enable if_arge debugging for now +##options ARGE_DEBUG # Enable if_arge debugging for now options ARGE_MDIO # Export an MDIO bus separate from arge device miiproxy # MDIO bus <-> MII PHY rendezvous @@ -158,7 +159,12 @@ options UNIONFS # GPIO Bus device gpio device gpioled +device gpioiic +device iicbb +device iicbus +device iic + # SPI and flash device spibus device ar71xx_spi @@ -192,10 +198,9 @@ device pfsync options P1003_1B_MQUEUE options P1003_1B_SEMAPHORES # POSIX-style semaphores -options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions -options MSGBUF_SIZE=65536 -options SHMALL=128 -options NSFBUFS=1024 -options MAXFILES=512 -options MAXUSERS=3 +#options MSGBUF_SIZE=65536 +#options SHMALL=128 +#options NSFBUFS=1024 +#options MAXFILES=512 +#options MAXUSERS=3