[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 6 Jun 2008 17:07:32 +0100
From: Steve.Glendinning@...c.com
To: netdev@...r.kernel.org
Subject: phylib interrupt question
Hi everybody,
I'm converting an ethernet driver to use phylib, and I have an interrupt
question. My device is an integrated mac/phy, with the option to disable
the internal phy and use an external phy instead. I've succesfully used
phylib in polling mode, but I'd like to convert this to be
interrupt-driven if possible.
When using the internal phy, it can raise interrupts via the mac (by
setting a "phy interrupt" bit in the mac's interrupt status register). Is
there a way of signalling this phy interrupt to phylib from my mac
driver's isr? Phylib seems to want to connect to a real irq?
Regards,
--
Steve Glendinning
SMSC GmbH
m: +44 777 933 9124
e: steve.glendinning@...c.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists