avoid uninitialised variable use in igc(4)
authorjsg <jsg@openbsd.org>
Mon, 22 Nov 2021 14:00:52 +0000 (14:00 +0000)
committerjsg <jsg@openbsd.org>
Mon, 22 Nov 2021 14:00:52 +0000 (14:00 +0000)
commit7a97ce60e5846ec420cbeccaad2c20de656ff44e
tree7356c72436a2ffbac72e8710a01e418ebc7f1028
parente8d2363fadeecf65999ef22935b3c2b5bb2097c7
avoid uninitialised variable use in igc(4)

read icr reg before testing bit in result
add missing block in rxeof from ix

ok kevlo@ patrick@
sys/dev/pci/if_igc.c