diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2009-07-28 13:53:57 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2009-07-28 13:53:57 +0000 |
commit | d27c137dbc67caee131117bbe1b88222b7601074 (patch) | |
tree | f18bf936a3565bb6a011371246c5ae85f24a280b /usr.sbin/smtpd | |
parent | 54c933b3d9857cc7108849e2fb675c65f23995fa (diff) |
- Don't access VPD even if hardware advertised the capability.
It seems that some revisions of the controllers hang while accessing
the VPD. Because VPD access routine is now unused, nuke it.
- Let TWSI reload EEPROM if VPD capability is detected. Reloading
the EEPROM will also set the Ethernet address, so age(4) now reads
AGE_PAR0 and AGE_PAR1 register to get the Ethernet address. This removes
removes a lot of hacks and enhance readability a lot.
- Double PHY reset timeout as it takes more time to take the PHY out of
power-saving state.
- Explicitly check power-saving state by checking undocumented PHY
registers. If link is not up, poke undocumented registers to take
PHY out of power-saving state. This is the same thing done by the
Linux driver.
- Don't rely on auto-clearing feature of master reset bit, just wait
1ms and check idle status of MAC.
From FreeBSD via Brad.
Diffstat (limited to 'usr.sbin/smtpd')
0 files changed, 0 insertions, 0 deletions