Re: [PATCH] pnp & pci structure cleanups

Alan Cox (alan@lxorguk.ukuu.org.uk)
31 Dec 2002 01:50:26 +0000


Ok. Suggestion for how to handle this (not yet tried). Change the
assumption about the end marker. Right now the end marker only uses the
first fields and the user data happens to always be zero. If we change
the pci matching code to interpret end markers with a non zero userdata
as a pointer to the next table it all seems to come out in the wash,
although there are some tricky details to consider - who frees up the
extra tables on a module unload (if anyone), and how do we manage
multiple modules with chains of tables (or do we just disallow that
case).

I think it also means we need to be able to go pci table -> owner ?

Alan

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