[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v3

2008-02-04 Thread Ondrej Zary
Hello, this patch converts 3c509 driver to isa_driver and pnp_driver. The result is that autoloading using udev and hibernation works with ISA PnP cards. It also adds hibernation support for non-PnP ISA cards. xcvr module parameter was removed as its value was not used. Tested using 3 ISA cards

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 22:07:20 Pekka Enberg wrote: > Hi, > > On Feb 2, 2008 8:25 PM, Ondrej Zary <[EMAIL PROTECTED]> wrote: > > +//static __be16 el3_phys_addr[EL3_MAX_CARDS][3]; > > [snip] > > > +//#if defined(CONFIG_MCA) || defined(CONFIG_EISA) > > [snip] > > > +// while (el3_probe(el3_

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
On Saturday 02 February 2008 21:50:25 Jeff Garzik wrote: > Ondrej Zary wrote: > > Hello, > > this is second version of the patch. Autoloading using udev works fine > > with PnP card. Hibernation now works both in PnP and ISA modes. The I/O > > address used for non-pnp ISA card detection is now not

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Pekka Enberg
Hi, On Feb 2, 2008 8:25 PM, Ondrej Zary <[EMAIL PROTECTED]> wrote: > +//static __be16 el3_phys_addr[EL3_MAX_CARDS][3]; [snip] > +//#if defined(CONFIG_MCA) || defined(CONFIG_EISA) [snip] > +// while (el3_probe(el3_cards) == 0) { > +// if (irq[el3_cards] > 1) > +//

Re: [PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Jeff Garzik
Ondrej Zary wrote: Hello, this is second version of the patch. Autoloading using udev works fine with PnP card. Hibernation now works both in PnP and ISA modes. The I/O address used for non-pnp ISA card detection is now not released as it's needed to wake up the card. Manual irq and transcei

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver v2

2008-02-02 Thread Ondrej Zary
Hello, this is second version of the patch. Autoloading using udev works fine with PnP card. Hibernation now works both in PnP and ISA modes. The I/O address used for non-pnp ISA card detection is now not released as it's needed to wake up the card. Manual irq and transceiver settings aren't im

[PATCH] [RFC] 3c509: convert to isa_driver and pnp_driver

2008-01-31 Thread Ondrej Zary
Hello, this patch is an (incomplete and probably wrong) attempt to convert 3c509 driver to isa_driver and pnp_driver model. It works but is not finished. My original goal was to make 3c509 resume correctly after hibernation - this still does not work (in fact, now it hangs during hibernation - I