Ion Badulescu wrote:
> On Fri, 9 Feb 2001, Jeff Garzik wrote:
> > BTW, I would suggest looking at Jes' acenic.c as an example of a 2.4
> > driver that is clean but also [hopefully!] works under 2.2.
>
> The *only* thing I couldn't solve cleanly is the MOD_{INC,DEC}_USE_COUNT
> vs MODULE_SET_OWNER(). And I would really appreciate pointers for that. :)
For 2.2, define SET_MODULE_OWNER to null.
Define STAR_MOD_INC_USE_COUNT and STAR_MOD_DEC_USE_COUNT. For 2.4,
these are null. For 2.2, these point to MOD_{INC,DEC}_USE_COUNT.
Jeff
--
Jeff Garzik | "You see, in this world there's two kinds of
Building 1024 | people, my friend: Those with loaded guns
MandrakeSoft | and those who dig. You dig." --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Jes Sorensen
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Jes Sorensen
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Manfred Spraul
- Re: [PATCH] starfire reads irq before pci_enable_devic... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Jeff Garzik
- Re: [PATCH] starfire reads irq before pci_enable_device. Donald Becker
- Re: [PATCH] starfire reads irq before pci_enable_devic... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Donald Becker
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Alan Cox
- Re: [PATCH] starfire reads irq before pci_enable_d... Ion Badulescu
- Re: [PATCH] starfire reads irq before pci_enable_d... Alan Cox

