[syslinux] [PATCH] pci: Introduce slot and function information

H. Peter Anvin hpa at zytor.com
Fri Aug 1 14:35:26 PDT 2008


Keith Schincke wrote:
> What would be your idea of the hierarchy?
> 
> Would it be something like?
> 
> struct bus {
>    struct bus* next ;
>    struct device* first ;
> };
> 
> struct device {
>   struct device* next ;
>   struct bus* parent ;
>   void * func1 ;
>   void * func 2 ;
>   ....
> } ;
> 
> ( My C is rusty from too much Perl.)

See the patch I just posted.

	-hpa




More information about the Syslinux mailing list