> > 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to