Borsenkow Andrej <[EMAIL PROTECTED]> writes:

> Pixel wrote:
> > in fact, the best solution is to use
> > probeall scsi_hostadapter scsi_hostadapter1 scsi_hostadapter2 ...
> > and to perl -pi -e 's/scsi-hosts/scsi_hostadapter/g' /etc/modules.devfs
> > that way, both devfs and non-devfs will work nicely.
> 
> How should it work with non-devfs? And I do not see any point in chaging the
> name - scsi-hosts is already used in modules.devfs and is good mnemonic name.

because of:

pixel@no:/home/chmou/rpm/BUILD/linux>grep -2 -r scsi_hostadapter . 
./drivers/scsi/scsi.c-#ifdef CONFIG_KMOD
./drivers/scsi/scsi.c-          if (scsi_hosts == NULL)
./drivers/scsi/scsi.c:                  request_module("scsi_hostadapter");
./drivers/scsi/scsi.c-#endif
./drivers/scsi/scsi.c-          return scsi_register_device_module((struct 
Scsi_Device_Template *) ptr);

The kernel explicitly modprobe's scsi_hostadapter. So unless we patch the
kernel to make it modprobe scsi-hosts, we should patch devfsd to modprobe
scsi_hostadapter instead of scsi-hosts.

Reply via email to