aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-10-09 09:31:33 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-10-09 09:31:33 -0400
commit1fcce839a541ffcd50da99a1bfdfea594be0e3d3 (patch)
tree6b3aa2760497d63714e7742dc1bd213c5117b193 /drivers/scsi
parent7f726d125d570f38b9e7c8a2decebc39c0a343dc (diff)
[libata sata_sil24] nit pickings
This patch removes unused NR_PORTS macro and adds termination entry to sil24_pci_tbl. Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/sata_sil24.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index 693330bdc821..dffa13c84639 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -43,8 +43,6 @@
43#define DRV_NAME "sata_sil24" 43#define DRV_NAME "sata_sil24"
44#define DRV_VERSION "0.22" /* Silicon Image's preview driver was 0.10 */ 44#define DRV_VERSION "0.22" /* Silicon Image's preview driver was 0.10 */
45 45
46#define NR_PORTS 4
47
48/* 46/*
49 * Port request block (PRB) 32 bytes 47 * Port request block (PRB) 32 bytes
50 */ 48 */
@@ -244,6 +242,7 @@ static int sil24_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
244static struct pci_device_id sil24_pci_tbl[] = { 242static struct pci_device_id sil24_pci_tbl[] = {
245 { 0x1095, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 }, 243 { 0x1095, 0x3124, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3124 },
246 { 0x1095, 0x3132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3132 }, 244 { 0x1095, 0x3132, PCI_ANY_ID, PCI_ANY_ID, 0, 0, BID_SIL3132 },
245 { } /* terminate list */
247}; 246};
248 247
249static struct pci_driver sil24_pci_driver = { 248static struct pci_driver sil24_pci_driver = {