diff options
author | 2006-06-29 20:41:19 +0000 | |
---|---|---|
committer | 2006-06-29 20:41:19 +0000 | |
commit | 69edf0e4c8ea99483c800be0bbfe7cb1c7532b99 (patch) | |
tree | efc57ffb032b752c8c09c2b585d9be9875b81b57 /sys/dev/pci | |
parent | sort sections; (diff) | |
download | wireguard-openbsd-69edf0e4c8ea99483c800be0bbfe7cb1c7532b99.tar.xz wireguard-openbsd-69edf0e4c8ea99483c800be0bbfe7cb1c7532b99.zip |
Finally fix the EEPROM reading code so that we can access the EEPROMs on all
devices. In order to access the EEPROM, we must select 'EEPROM programming'
mode, and then set the EEPROM chip select bit. Previously, we were setting
both bits simultaneously, which doesn't work: they must be set in the
right sequence.
Always obtain the station address from the EEPROM, now that EEPROM
reading works correctly.
Have re_tick() check for link state and set rl_link appropriately, if
there is a link then also check if the send queue is empty and if
not then try to send any queued packets.
Have re_start() check for the lack of link state or if OACTIVE is set,
if so then return.
From FreeBSD
Diffstat (limited to 'sys/dev/pci')
0 files changed, 0 insertions, 0 deletions