Re: drivers/parport/parport_pc.c

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Sun Feb 27 2000 - 12:33:52 EST


Russell King wrote:
>
> Hi,
>
> The following patch allows parport_pc.c to be compiled on architectures
> without PCI support.

That was my parport patch, thanks for the fix.

This bring up something I was thinking about the other day: I am kinda
disappointed that the choice was made to ditch the !CONFIG_PCI code from
pci.h. There used to be a ton of inlined helpers which replaced all the
PCI functions with no-ops, preventing problems like this parport
breakage.

Maybe I am one of the few who doesn't mind bloating driver code a tiny
bit in order to handle the !CONFIG_PCI case without ugly ifdefs in
driver code...

-- 
Jeff Garzik              | "Are you the police?"
Building 1024            | 
MandrakeSoft, Inc.       | "No ma'am.  We're musicians."

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



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:17 EST