in mii_layer/ruephy.c
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 5 Nov 2005 10:01:54 +0000 (10:01 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 5 Nov 2005 10:01:54 +0000 (10:01 +0000)
commite9fa3ce73ea016754f9678cfc1e8622b34ca8f4b
tree30c439cdd738bc5e89d91f00a87e87fcc396c0ff
parentf4582d09bccc6243a200b1a8dd8af320a534de41
in mii_layer/ruephy.c
- in ruephy_attach(), nuke unused macro ADD()
- in ruephy_reset(), only turn on BMCR_AUTOEN after mii_phy_reset(), since
  BMCR_S100 and BMCR_FDX are ignored if BMCR_AUTOEN is turned on.

in rue/if_rue.c
- in rue_miibus_statchg(), nuke "#if 0"ed code and comment, since
  1) when auto-negotiation is not enabled, BMCR_S100 or BMCR_FDX will be turned
     on/off before rue_miibus_statchg() is called (in ruephy_service())
  2) when auto-negotiation is enabled, BMCR_S100 and BMCR_FDX are ignored
sys/dev/netif/mii_layer/ruephy.c
sys/dev/netif/rue/if_rue.c