Re: Shortened CC (Re: New topic (PowerPC Linux PCI HELL))

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Sep 23 2000 - 05:25:23 EST


> > Several drivers do this. No PCI glue layer will be perfect, and if you try
> > to make it perfect it will be bloated and suck.
>
> Alan,
>
> What is wrong with an enable struct so that the glue layer is generic?

You want to add cache line size to it next, and maybe a flag to say which
register to put it in ?

Thats the point I was trying to make. By the time you get a pci_enable_feature
function that takes 8 parameters or a struct you've missed the point

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:28 EST