Re: Linux v2.5.47

Christoph Hellwig (hch@infradead.org)
Wed, 13 Nov 2002 00:22:22 +0000


On Sun, Nov 10, 2002 at 07:46:06PM -0800, Linus Torvalds wrote:
>
> I still have stuff pending, but this is what's currently merged.

Btw, here's a little headsup for all maintainers of scsi host adapter
drivers. In 2.5.47 the detect and release methods of the Scsi_Host_Template
have become optional. If you had an old pci driver with the following
loop in foo_detcect:

while ((pdev = pci_find_device())) {
[do basic setup]
sdev = scsi_register();
[do more setup]
}

You can convert it easily into a new-style pci driver with the following
probe routine:

[do basic setup]
sdev = scsi_register();
[do more setup]
return scsi_add_host();

Similarly a new routine, scsi_remove_host exist to call at the end
of the remove routine.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/