- Don't use the status block's link state change bit to micro-optimize
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 30 Apr 2007 14:05:22 +0000 (14:05 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 30 Apr 2007 14:05:22 +0000 (14:05 +0000)
commit75544bcd5fdfc60e0ea9a09aab8e356b92f1126d
treeb7d9d6142a078cf3080295330f01d5af7864ee2e
parentba39e2e0b0bd799665dae84a7ccd1d0a58f7689b
- Don't use the status block's link state change bit to micro-optimize
  performance, instead, read MAC_STS which always contains the correct
  value about link state changing.  Enormous amount of superflucious
  link up events, which keep coming originally when the interface is
  brought up before cable is plugged in, disappear after this change.
- Nuke the no longer needed PCI bridge cache flush.
- Minor style change.
sys/dev/netif/bge/if_bge.c