From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] sg version 3.5.28 for lk 2.5.64 Date: Tue, 11 Mar 2003 20:09:27 +0100 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20030311200927.A967@lst.de> References: <3E6B405B.3010509@torque.net> <20030311142836.A22992@infradead.org> <20030311081838.A9661@beaverton.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20030311081838.A9661@beaverton.ibm.com>; from patmans@us.ibm.com on Tue, Mar 11, 2003 at 08:18:38AM -0800 List-Id: linux-scsi@vger.kernel.org To: Patrick Mansfield Cc: Douglas Gilbert , linux-scsi@vger.kernel.org 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