plan9fox/sys
cinap_lenrek 92aa75e879 ether8169: fix wrong mbps setting (from qu7uux)
the first time rtl8169link is called (from rtl8169pnp), the link isn't up, so
setting edev->mbps based on Phystatus register is skipped. edev->mbps is then
still set at the default 100, and that ends up being what devether uses.
this is why some rtl8169 cards are misprinted as 100Mbps in kmesg.
later, after rtl8169link is called again from rtl8169interrupt, the link is up
and edev->mbps is set to the correct value (as shown by e.g. /net/ether0/stats).

so instead, set speed regardless of link status.
2016-06-30 17:16:11 +02:00
..
doc closed spew branch 2016-04-28 20:52:36 +02:00
games/lib fortunes: Emacs now supports webkit. 2016-06-19 18:40:46 -04:00
include aml: define amlintmask and set it according to DSDT revision (64bit / 32bit) 2016-06-05 14:57:38 +02:00
lib add polish keymap (thanks chomzee!) 2016-05-28 23:59:10 +02:00
man acme(1): remove references to awd 2016-06-30 01:07:03 +02:00
src ether8169: fix wrong mbps setting (from qu7uux) 2016-06-30 17:16:11 +02:00