Re: [PATCH 1/4] aic7xxx/aic79xx: call scsi_set_device()

Christoph Hellwig
2005-05-29T08:30:53Z

On Sun, May 29, 2005 at 04:27:37AM -0400, Jeff Garzik wrote:
> Christoph Hellwig wrote:
> >scsi_add_host connects the host to the device tree. scsi_set_device
> >is obsolete and should go away ASAP.
>
> Ahhh, indeed it does.
>
> It sounds like I should remove scsi_set_device(), and all calls to it.

We keep it for the few drivers that still use pci_find_device/pci_get_device
loops. And yes, usage of those APIs should go away aswell..