diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-10-05 15:55:06 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-23 15:11:10 -0400 |
commit | e58bc06ed071e43bef4e2f94340853761a4bf034 (patch) | |
tree | d0d677dad5d2d8a0452db9893b3749c44f485f8f /drivers/scsi/sym53c8xx_2/sym_glue.c | |
parent | bd678450bfbd4bb6543a7138d9ee3418c2a11e7c (diff) |
[SCSI] sym53c8xx: Remove ->device_id
Following the same path as ->revision_id, remove ->device_id
Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_glue.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 3ed3ed86d350..cbe31f2923bc 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1255,7 +1255,7 @@ static int sym_host_info(struct sym_hcb *np, char *ptr, off_t offset, int len) | |||
1255 | 1255 | ||
1256 | copy_info(&info, "Chip " NAME53C "%s, device id 0x%x, " | 1256 | copy_info(&info, "Chip " NAME53C "%s, device id 0x%x, " |
1257 | "revision id 0x%x\n", np->s.chip_name, | 1257 | "revision id 0x%x\n", np->s.chip_name, |
1258 | np->device_id, np->s.device->revision); | 1258 | np->s.device->device, np->s.device->revision); |
1259 | copy_info(&info, "At PCI address %s, IRQ " IRQ_FMT "\n", | 1259 | copy_info(&info, "At PCI address %s, IRQ " IRQ_FMT "\n", |
1260 | pci_name(np->s.device), IRQ_PRM(np->s.device->irq)); | 1260 | pci_name(np->s.device), IRQ_PRM(np->s.device->irq)); |
1261 | copy_info(&info, "Min. period factor %d, %s SCSI BUS%s\n", | 1261 | copy_info(&info, "Min. period factor %d, %s SCSI BUS%s\n", |
@@ -1410,7 +1410,6 @@ static struct Scsi_Host * __devinit sym_attach(struct scsi_host_template *tpnt, | |||
1410 | np->verbose = sym_driver_setup.verbose; | 1410 | np->verbose = sym_driver_setup.verbose; |
1411 | np->s.device = pdev; | 1411 | np->s.device = pdev; |
1412 | np->s.unit = unit; | 1412 | np->s.unit = unit; |
1413 | np->device_id = dev->chip.device_id; | ||
1414 | np->features = dev->chip.features; | 1413 | np->features = dev->chip.features; |
1415 | np->clock_divn = dev->chip.nr_divisor; | 1414 | np->clock_divn = dev->chip.nr_divisor; |
1416 | np->maxoffs = dev->chip.offset_max; | 1415 | np->maxoffs = dev->chip.offset_max; |
@@ -1528,7 +1527,6 @@ static struct Scsi_Host * __devinit sym_attach(struct scsi_host_template *tpnt, | |||
1528 | static void __devinit sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) | 1527 | static void __devinit sym_get_nvram(struct sym_device *devp, struct sym_nvram *nvp) |
1529 | { | 1528 | { |
1530 | devp->nvram = nvp; | 1529 | devp->nvram = nvp; |
1531 | devp->device_id = devp->chip.device_id; | ||
1532 | nvp->type = 0; | 1530 | nvp->type = 0; |
1533 | 1531 | ||
1534 | sym_read_nvram(devp, nvp); | 1532 | sym_read_nvram(devp, nvp); |