Add a new tunable "hw.bge.fake_autoneg", get rid of BGE_FAKE_AUTONEG kernel
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 23 Mar 2006 13:45:12 +0000 (13:45 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 23 Mar 2006 13:45:12 +0000 (13:45 +0000)
commit5c56d5d850d56f357c2f346457b253b0031d8022
tree8ee52534dcc2a6f272b09a779aac7529449d269d
parent820b77fc7e76e07ff980247ad07bf6fb8741a1ed
Add a new tunable "hw.bge.fake_autoneg", get rid of BGE_FAKE_AUTONEG kernel
option.  This lets GENERIC kernel work with some broken "bge(4) + switch
modules" configurations.

By default this tunable is set to 0, if autonegociation breakage happens
for certain switch modules shipped with IBM/Intel blades, set this tunable
to 1.

Thank Devon H. O'Dell <devon.odell at gmail.com> for confirming this is
useful.

Initial-idea-from: hmp
Reminded-by: Devon H. O'Dell <devon.odell at gmail.com>
sys/conf/options
sys/config/LINT
sys/dev/netif/bge/Makefile
sys/dev/netif/bge/if_bge.c
sys/i386/conf/LINT