[haiku-development] Re: device manager help

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 20 Aug 2007 20:32:24 +0200 CEST

Marcus Overhagen <marcusoverhagen@xxxxxxxx> wrote:
> I want to have a PCI device driver beeing dynamically loaded by the 
> device_manager, and have the driver publish a scsi sim. 
> 
> Can someone point me to a solution that actually works?

The IDE bus manager publishes a SCSI SIM module; the code for this is 
in ide_sim.c, and it's published in channel.c.

> The files in trunk/src/add-ons/kernel/busses/scsi/usb/ don't seem to 
> support that.
> 
> Do we have any driver that natively uses the device manager?

The scsi_dsk and scsi_cd modules are actual drivers (ie. they have the 
PNP_DEVFS_MODULE_NAME as a child (though through 
B_BLOCK_IO_MODULE_NAME)).
HTH

Bye,
   Axel.


Other related posts: