summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2009-07-28 13:53:57 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2009-07-28 13:53:57 +0000
commitd27c137dbc67caee131117bbe1b88222b7601074 (patch)
treef18bf936a3565bb6a011371246c5ae85f24a280b /usr.sbin/smtpd
parent54c933b3d9857cc7108849e2fb675c65f23995fa (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