
|
[openbeos]
||
[Date Prev]
[04-2005 Date Index]
[Date Next]
||
[Thread Prev]
[04-2005 Thread Index]
[Thread Next]
[openbeos] Re: Automatic hardware installation / system updates
- From: "François Revol" <revol@xxxxxxx>
- To: openbeos@xxxxxxxxxxxxx
- Date: Thu, 07 Apr 2005 15:42:28 +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.
Yes it does:
[revol@patrick ~/devel]$ ./getdriver /dev/misc/sysinfo
driver: /boot/home/config/add-ons/kernel/drivers/bin/sysinfo
[revol@patrick ~/devel]$ ./getdriver /dev/null
driver: null
François.
|

|