[PATCH 1/1] build modular usb isd200 with modular ide
Christoph Hellwig
hch at lst.de
Sun Oct 24 20:03:19 EST 2004
On Sat, Oct 23, 2004 at 07:55:36PM -0500, Doug Maxey wrote:
>
> Name: inline ide_fix_driveid()
>
> Rationale:
> This is a fix for bugme.osdl 3819.
bugme.osdl.org doesn't know of a bug #3819.
> With any of the 2.6.9 release flavors (vanilla, mm1, ac3), one
> cannot build the usb isd200 module due to the dependency on
> ide_fix_driveid() being exported from ide-iops.
>
> Description:
> When building IDE modular, the current ide_fix_driveid() is
> exported from ide-iops.c. This patch makes the function an inline.
Still doesn't make any sense. ide_fix_driveid is properly exported from
ide-iops.c, so you use it from other modules. The only case that
doesn't work is modular ide and builtin usb-storage, and the BLK_DEV_IDE
depency should fix that one.
If you think that depency is ugly (I do) just copy the routine to
isd200.c, it's a) too large to inline but b) just a trivial byteswap
that should need much changes over time.
More information about the Linuxppc64-dev
mailing list