Re: [PATCH] sg version 3.5.28 for lk 2.5.64

Douglas Gilbert
2003-03-12T12:54:01Z

Christoph Hellwig wrote:
> On Tue, Mar 11, 2003 at 08:18:38AM -0800, Patrick Mansfield wrote:
>
>>Is there a patch for putting the aic or all scsi_hosts into the
>>shost_devclass class, like scsi_debug.c does for itself?
>
>
> You're right! This is the snipplet I missed when sending out the
> aic7xxx hotplug changes (+ the same for aic79xx):
>
>
> --- 1.7/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c Wed Feb 26 18:14:16 2003
> +++ edited/drivers/scsi/aic7xxx/aic7xxx_osm_pci.c Tue Mar 11 19:13:02 2003
> @@ -75,10 +75,13 @@
> MODULE_DEVICE_TABLE(pci, ahc_linux_pci_id_table);
>
> struct pci_driver aic7xxx_pci_driver = {
> - name: "aic7xxx",
> - probe: ahc_linux_pci_dev_probe,
> - remove: ahc_linux_pci_dev_remove,
> - id_table: ahc_linux_pci_id_table
> + .name = "aic7xxx",
> + .probe = ahc_linux_pci_dev_probe,
> + .remove = ahc_linux_pci_dev_remove,
> + .id_table = ahc_linux_pci_id_table,
> + .driver = {
> + .devclass = &shost_devclass,
> + },
> };
>
> static void

The movement of scsi host information from sg to sysfs
is starting to look like an experiment that has failed.

Doug Gilbert