[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH] ethernat.xif hangs the system if card isn't present



Hi!

During boot the ethernat network driver freezes the system if the card
isn't plugged.
To probe the card the driver tries to read some register in the
network chip, when the card isn't plugged a fatal error because a bus
error happens.

This patch adds code to change the bus error exception handler before
we try to read the register, and to enable the old one when we're
finish.


"Replace the bus error exception handler before the probe operation to
avoid system freeze while loading the driver"

Attachment: ethernat_xif_probe_20130214.diff
Description: Binary data