On Mon, Sep 04, 2006 at 10:46:46PM +0200, Lennert Buytenhek wrote: > On Mon, Sep 04, 2006 at 10:17:08PM +0200, J?rgen Schindele wrote: > > > i made a patch for an PXA270-evalboard with DM9000 > > ethernet contoller. The Interrupt can be high- or low- > > active dependant of the wiring of the MDC-(57)pin. > > > > Because of this hardware dependency you shoud be able > > to configure this behaviour in "struct resource dm9000_resources[]" > > Putting it in 'struct dm9000_plat_data' sounds like a much better > idea to me... > > Overloading the IRQ number in 'struct resource' is just ugly.
My view is that this would be useful to a number of drivers, and is a good use of the resource flags for drivers which do not currently have platform data. -- Ben ([EMAIL PROTECTED], http://www.fluff.org/) 'a smiley only costs 4 bytes' - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html