summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/hifn7751.c
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2006-06-29 20:41:19 +0000
committerbrad <brad@openbsd.org>2006-06-29 20:41:19 +0000
commit69edf0e4c8ea99483c800be0bbfe7cb1c7532b99 (patch)
treeefc57ffb032b752c8c09c2b585d9be9875b81b57 /sys/dev/pci/hifn7751.c
parentsort sections; (diff)
downloadwireguard-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/hifn7751.c')
0 files changed, 0 insertions, 0 deletions