Re: [PATCH 5/7] more CardServices() removals (drivers/net/wireless)

From: George Anzinger
Date: Fri Dec 26 2003 - 17:32:43 EST


Matt Mackall wrote:
On Thu, Dec 25, 2003 at 01:45:58AM -0800, George Anzinger wrote:

By the way, in my looking at the network link stuff, I started wondering if it could not be done without modifying the card stuff. Here is what I see:

The poll routine just calls the interrupt handler. We only need the address of that routine and a generic poll function to do the indirect call. That address, once the link is up, can be found in the interrupt tables using the irq.


Netpoll did exactly this in an earlier incarnation, but Jeff
eventually convinced me it was problematic.

I suppose :( But it would make driver modification go away.

--
George Anzinger george@xxxxxxxxxx
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/