[openbeos] Re: hardware scanner

  • From: "François Revol" <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 07 Jun 2007 10:33:46 +0200 CEST

> Michael Phipps <mphipps1@xxxxxxxxxxxxxxxx> wrote:
> > I have had this on my "please implement" list for a long time. I 
> > imagine 
> > devices having this so you can see:
> > 
> > Device              Name            Driver
> > pci 1234:5678       UltraDisk Pro   /dev/udp0
> > 
> > Now, in one fell swoop, I can see every device on my machine and 
> > what 
> > driver is associated with it. The new driver API allows this; we 
> > just 
> > need 
> > to get it implemented.
> 
> While it's true it allows for this, it will, of course, only work for 
> drivers that follow that new API - which is at this point neither 
> finished nor documented. IOW I don't think we should push for it too 
> much in the R1 time frame.

It would be easy to add an alloc/dealloc pair in the pci/usb/... bus 
managers (after bumping rev number) and use them with #ifdef __HAIKU__.
That should work for pci, not for usb at least until it uses the pnp 
system to represent devices.

François.

Other related posts: