Page MenuHomeFreeBSD

mgb: Correct TX interrupt bit
ClosedPublic

Authored by emaste on Fri, Oct 9, 7:15 PM.

Details

Summary
The TX interrupt handler checked MGB_INTR_STS_RX(qidx) instead of
MGB_INTR_STS_TX(qidx) -- presumably a copy-paste issue.

Because the driver does not use TX interrupts so there was no actual
issue in practice.

Fixes: 8890ab7758b8 ("Introduce if_mgb driver for Microchip LAN743x PCIe NIC")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste requested review of this revision.Fri, Oct 9, 7:15 PM
emaste created this revision.
This revision is now accepted and ready to land.Fri, Oct 9, 7:19 PM
This revision was automatically updated to reflect the committed changes.