Skip to contentSkip to conversation

remove duplicate device id from IPR driver

PATCH In review Greg KH 2 participants 2 messages Jan 26, 2007 – Jan 29, 2007

Subsystems (2)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 remove duplicate device id from IPR driver

From: Greg Kroah-Hartman <[email protected]>

This patch removes a duplicate device id from the IPR driver. Based on the ipr.h file, I'm not so sure this was intended to be a duplicate, and if so, the .h file should be modified to use the proper sub-device id instead.

This was pointed out to me by Kay Sievers <[email protected]>

---
 drivers/scsi/ipr.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/scsi/ipr.c +0 -3
@@ -7558,9 +7558,6 @@ static struct pci_device_id ipr_pci_tabl
 	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
 	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_575C,
 	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
-	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
-	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_57B8,
-	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
 	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN_E,
 	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_57B7,
 	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
#1 lore raw
Quoted 6 lines · Greg KH

From: Greg Kroah-Hartman <[email protected]>

This patch removes a duplicate device id from the IPR driver. Based on the ipr.h file, I'm not so sure this was intended to be a duplicate, and if so, the .h file should be modified to use the proper sub-device id instead.

ACK.

I double checked the subsystem ids and this patch is indeed the correct fix. It turns out both of these adapters have the same subsystem ids, which I didn't realize initially.

Thanks,

Brian

Quoted 21 lines

This was pointed out to me by Kay Sievers <[email protected]>

---
 drivers/scsi/ipr.c |    3 ---
 1 file changed, 3 deletions(-)
drivers/scsi/ipr.c +0 -3
@@ -7558,9 +7558,6 @@ static struct pci_device_id ipr_pci_tabl
 	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
 	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_575C,
 	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
-	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN,
-	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_57B8,
-	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
 	{ PCI_VENDOR_ID_IBM, PCI_DEVICE_ID_IBM_OBSIDIAN_E,
 	      PCI_VENDOR_ID_IBM, IPR_SUBS_DEV_ID_57B7,
 	      0, 0, (kernel_ulong_t)&ipr_chip_cfg[0] },
Signature · 3 lines
Brian King
eServer Storage I/O
IBM Linux Technology Center