[openbeos] Re: Automatic hardware installation / system updates

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 07 Apr 2005 15:34:29 +0200 CEST

mphipps1@xxxxxxxxxxxxxxxx wrote:
> > What about appending attributes to each driver, for example PCI 
> > and Vendor ID...that could at least solve this problem...right?
> No one has this information except the driver and (maybe) the PCI bus 
> manager, AFAIK. 

Note, this will be done differently in Haiku - for the drivers that use 
the new driver architecture, it knows exactly which driver servers 
which device and hardware (and vice versa).
In R5 there is also this ioctl(): B_GET_DRIVER_FOR_DEVICE
Haven't tested it yet, but it's supposed to return the path to the 
driver for a specific device.

Bye,
   Axel.


Other related posts: