Subject: MII
To: None <>
From: Lennart Augustsson <>
List: tech-kern
Date: 01/10/2000 23:13:58
I'm trying to make a driver for a USB Ethernet adapter and I have the
following question:
Are any of the methods mii_readreg, mii_writereg, or mii_statchg called
from an interrupt context?
I hope the anser is "no", because if they are I have no clue how to make
it work for USB.  Accessing the PHY registers requires a USB transfer
which takes (up to) 1 ms to complete.  This is far too long to delay(),
so accessing PHY registers much be done from a process context.

	-- Lennart