Bug #13931
openatge: register L1C reset funtction in atge_l1c_mii_ops table
0%
Description
On NIC's with Atheros AR8151 v2.0 the atge driver has a problem if you disconnect the network cable on a running interface.
The error message reads as follows:
May 23 16:14:56 notebookcg2 atge: [ID 451854 kern.warning] WARNING: atge0: L1C chip detected a fatal error, interrupt status: 200
May 23 16:14:56 notebookcg2 atge: [ID 451854 kern.warning] WARNING: atge0: DMA read error
May 23 16:14:56 notebookcg2 atge: [ID 451854 kern.warning] WARNING: atge0: atge_device_stop() stopping TX/RX MAC timeout
After this error the interface will not work anymore until you remove the interface and reconfigure it again.
With this fix the interface will be reset on link down and will work as intended on link up.
I altered the atge_l1c_mii_reset function and used freebsd driver alc as guidance.
There is a PR already on illumos-gate #80
I know this is a quite old hardware, perhaps it is still in use anywhere beside me.
Updated by Dan McDonald almost 2 years ago
- Category set to driver - device drivers