cxgb4: Fix pci_device_id structure initialization with correct PF number
authorVipul Pandya <vipul@chelsio.com>
Mon, 29 Apr 2013 04:04:39 +0000 (04:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2013 19:24:44 +0000 (15:24 -0400)
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c

index 6a6a01af75fd6f105adb23b6bd92b8d01eb2d90b..656f9340ae30cfbe43afb0c98a0bad8a56ab7897 100644 (file)
@@ -229,44 +229,44 @@ static DEFINE_PCI_DEVICE_TABLE(cxgb4_pci_tbl) = {
        CH_DEVICE(0x440a, 4),
        CH_DEVICE(0x440d, 4),
        CH_DEVICE(0x440e, 4),
-       CH_DEVICE(0x5001, 5),
-       CH_DEVICE(0x5002, 5),
-       CH_DEVICE(0x5003, 5),
-       CH_DEVICE(0x5004, 5),
-       CH_DEVICE(0x5005, 5),
-       CH_DEVICE(0x5006, 5),
-       CH_DEVICE(0x5007, 5),
-       CH_DEVICE(0x5008, 5),
-       CH_DEVICE(0x5009, 5),
-       CH_DEVICE(0x500A, 5),
-       CH_DEVICE(0x500B, 5),
-       CH_DEVICE(0x500C, 5),
-       CH_DEVICE(0x500D, 5),
-       CH_DEVICE(0x500E, 5),
-       CH_DEVICE(0x500F, 5),
-       CH_DEVICE(0x5010, 5),
-       CH_DEVICE(0x5011, 5),
-       CH_DEVICE(0x5012, 5),
-       CH_DEVICE(0x5013, 5),
-       CH_DEVICE(0x5401, 5),
-       CH_DEVICE(0x5402, 5),
-       CH_DEVICE(0x5403, 5),
-       CH_DEVICE(0x5404, 5),
-       CH_DEVICE(0x5405, 5),
-       CH_DEVICE(0x5406, 5),
-       CH_DEVICE(0x5407, 5),
-       CH_DEVICE(0x5408, 5),
-       CH_DEVICE(0x5409, 5),
-       CH_DEVICE(0x540A, 5),
-       CH_DEVICE(0x540B, 5),
-       CH_DEVICE(0x540C, 5),
-       CH_DEVICE(0x540D, 5),
-       CH_DEVICE(0x540E, 5),
-       CH_DEVICE(0x540F, 5),
-       CH_DEVICE(0x5410, 5),
-       CH_DEVICE(0x5411, 5),
-       CH_DEVICE(0x5412, 5),
-       CH_DEVICE(0x5413, 5),
+       CH_DEVICE(0x5001, 4),
+       CH_DEVICE(0x5002, 4),
+       CH_DEVICE(0x5003, 4),
+       CH_DEVICE(0x5004, 4),
+       CH_DEVICE(0x5005, 4),
+       CH_DEVICE(0x5006, 4),
+       CH_DEVICE(0x5007, 4),
+       CH_DEVICE(0x5008, 4),
+       CH_DEVICE(0x5009, 4),
+       CH_DEVICE(0x500A, 4),
+       CH_DEVICE(0x500B, 4),
+       CH_DEVICE(0x500C, 4),
+       CH_DEVICE(0x500D, 4),
+       CH_DEVICE(0x500E, 4),
+       CH_DEVICE(0x500F, 4),
+       CH_DEVICE(0x5010, 4),
+       CH_DEVICE(0x5011, 4),
+       CH_DEVICE(0x5012, 4),
+       CH_DEVICE(0x5013, 4),
+       CH_DEVICE(0x5401, 4),
+       CH_DEVICE(0x5402, 4),
+       CH_DEVICE(0x5403, 4),
+       CH_DEVICE(0x5404, 4),
+       CH_DEVICE(0x5405, 4),
+       CH_DEVICE(0x5406, 4),
+       CH_DEVICE(0x5407, 4),
+       CH_DEVICE(0x5408, 4),
+       CH_DEVICE(0x5409, 4),
+       CH_DEVICE(0x540A, 4),
+       CH_DEVICE(0x540B, 4),
+       CH_DEVICE(0x540C, 4),
+       CH_DEVICE(0x540D, 4),
+       CH_DEVICE(0x540E, 4),
+       CH_DEVICE(0x540F, 4),
+       CH_DEVICE(0x5410, 4),
+       CH_DEVICE(0x5411, 4),
+       CH_DEVICE(0x5412, 4),
+       CH_DEVICE(0x5413, 4),
        { 0, }
 };
 
This page took 0.051085 seconds and 5 git commands to generate.