]> git.baikalelectronics.ru Git - kernel.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)
commitdcb70f5704f8728a5d90beade1e6ccf6c13142b1
tree99fe4783b42b7b3a35f7962705e8002643651b16
parentaaa78cd181af8a8e3bde99805dd969171e8de585
[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