Project

General

Profile

Actions

Bug #13931

open

atge: register L1C reset funtction in atge_l1c_mii_ops table

Added by Carsten Grzemba almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
driver - device drivers
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

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.

Actions #1

Updated by Dan McDonald almost 2 years ago

  • Category set to driver - device drivers
Actions

Also available in: Atom PDF