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

Keith Schincke keith.schincke at gmail.com
Fri Aug 1 13:24:48 PDT 2008


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.)

Keith

On Fri, Aug 1, 2008 at 2:39 PM, H. Peter Anvin <hpa at zytor.com> wrote:

> Sebastian Herbszt wrote:
> > Peter,
> >
> > will you consider those two patches for 3.72?
> >
>
> I'd like to either make it full bus:dev:func, or make it implicit by
> position.
>
> There is part of me that am wondering if it wouldn't make sense to have
> a hierarchy of busses -- devices -- functions with actual data
> structures at each level, though.
>
> What do you think?
>
>        -hpa
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>



More information about the Syslinux mailing list