]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb
authorMatthew Wilcox <matthew@wil.cx>
Fri, 5 Oct 2007 19:55:13 +0000 (15:55 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Tue, 23 Oct 2007 19:26:34 +0000 (15:26 -0400)
commit5111eefa17615bdf17ca00ec2cdca16302c7697e
tree99fe4783b42b7b3a35f7962705e8002643651b16
parent99c9e0a1d6cfe1ba1169a7a81435ee85bc00e4a1
[SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb

This structure is accessed by the device; the fewer Linux things in it,
the better.  Using the pci_dev pointer from the hostdata requires a lot
of changes:

 - Pass Scsi_Host to a lot of routines which currently take a sym_hcb.
 - Set the Scsi_Host as the pci drvdata (instead of the sym_hcb)

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_fw.c
drivers/scsi/sym53c8xx_2/sym_fw.h
drivers/scsi/sym53c8xx_2/sym_glue.c
drivers/scsi/sym53c8xx_2/sym_glue.h
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/sym53c8xx_2/sym_hipd.h