Re: Linux v2.5.47

From: Christoph Hellwig (hch@infradead.org)
Date: Tue Nov 12 2002 - 19:22:22 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:27 EST