|
@@ -3227,44 +3227,11 @@ static struct nic_operations tg3_operations = {
|
3227
|
3227
|
.disable = tg3_disable,
|
3228
|
3228
|
};
|
3229
|
3229
|
|
3230
|
|
-
|
3231
|
|
-static struct pci_id tg3_nics[] = {
|
3232
|
|
-PCI_ROM(0x14e4, 0x1644, "tg3-5700", "Broadcom Tigon 3 5700"),
|
3233
|
|
-PCI_ROM(0x14e4, 0x1645, "tg3-5701", "Broadcom Tigon 3 5701"),
|
3234
|
|
-PCI_ROM(0x14e4, 0x1646, "tg3-5702", "Broadcom Tigon 3 5702"),
|
3235
|
|
-PCI_ROM(0x14e4, 0x1647, "tg3-5703", "Broadcom Tigon 3 5703"),
|
3236
|
|
-PCI_ROM(0x14e4, 0x1648, "tg3-5704", "Broadcom Tigon 3 5704"),
|
3237
|
|
-PCI_ROM(0x14e4, 0x164d, "tg3-5702FE", "Broadcom Tigon 3 5702FE"),
|
3238
|
|
-PCI_ROM(0x14e4, 0x1653, "tg3-5705", "Broadcom Tigon 3 5705"),
|
3239
|
|
-PCI_ROM(0x14e4, 0x1654, "tg3-5705_2", "Broadcom Tigon 3 5705_2"),
|
3240
|
|
-PCI_ROM(0x14e4, 0x165d, "tg3-5705M", "Broadcom Tigon 3 5705M"),
|
3241
|
|
-PCI_ROM(0x14e4, 0x165e, "tg3-5705M_2", "Broadcom Tigon 3 5705M_2"),
|
3242
|
|
-PCI_ROM(0x14e4, 0x1677, "tg3-5751", "Broadcom Tigon 3 5751"),
|
3243
|
|
-PCI_ROM(0x14e4, 0x1696, "tg3-5782", "Broadcom Tigon 3 5782"),
|
3244
|
|
-PCI_ROM(0x14e4, 0x169c, "tg3-5788", "Broadcom Tigon 3 5788"),
|
3245
|
|
-PCI_ROM(0x14e4, 0x16a6, "tg3-5702X", "Broadcom Tigon 3 5702X"),
|
3246
|
|
-PCI_ROM(0x14e4, 0x16a7, "tg3-5703X", "Broadcom Tigon 3 5703X"),
|
3247
|
|
-PCI_ROM(0x14e4, 0x16a8, "tg3-5704S", "Broadcom Tigon 3 5704S"),
|
3248
|
|
-PCI_ROM(0x14e4, 0x16c6, "tg3-5702A3", "Broadcom Tigon 3 5702A3"),
|
3249
|
|
-PCI_ROM(0x14e4, 0x16c7, "tg3-5703A3", "Broadcom Tigon 3 5703A3"),
|
3250
|
|
-PCI_ROM(0x14e4, 0x170d, "tg3-5901", "Broadcom Tigon 3 5901"),
|
3251
|
|
-PCI_ROM(0x14e4, 0x170e, "tg3-5901_2", "Broadcom Tigon 3 5901_2"),
|
3252
|
|
-PCI_ROM(0x1148, 0x4400, "tg3-9DXX", "Syskonnect 9DXX"),
|
3253
|
|
-PCI_ROM(0x1148, 0x4500, "tg3-9MXX", "Syskonnect 9MXX"),
|
3254
|
|
-PCI_ROM(0x173b, 0x03e8, "tg3-ac1000", "Altima AC1000"),
|
3255
|
|
-PCI_ROM(0x173b, 0x03e9, "tg3-ac1001", "Altima AC1001"),
|
3256
|
|
-PCI_ROM(0x173b, 0x03ea, "tg3-ac9100", "Altima AC9100"),
|
3257
|
|
-PCI_ROM(0x173b, 0x03eb, "tg3-ac1003", "Altima AC1003"),
|
3258
|
|
-};
|
3259
|
|
-
|
3260
|
|
-static struct pci_driver tg3_driver =
|
3261
|
|
- PCI_DRIVER ( "TG3", tg3_nics, PCI_NO_CLASS );
|
3262
|
|
-
|
3263
|
3230
|
/**************************************************************************
|
3264
|
3231
|
PROBE - Look for an adapter, this routine's visible to the outside
|
3265
|
3232
|
You should omit the last argument struct pci_device * for a non-PCI NIC
|
3266
|
3233
|
***************************************************************************/
|
3267
|
|
-static int tg3_probe ( struct dev *dev, struct pci_device *pci ) {
|
|
3234
|
+static int tg3_probe ( struct dev *dev, struct pci_device *pdev ) {
|
3268
|
3235
|
struct nic *nic = nic_device ( dev );
|
3269
|
3236
|
struct tg3 *tp = &tg3;
|
3270
|
3237
|
unsigned long tg3reg_base, tg3reg_len;
|
|
@@ -3386,4 +3353,37 @@ static int tg3_probe ( struct dev *dev, struct pci_device *pci ) {
|
3386
|
3353
|
return 0;
|
3387
|
3354
|
}
|
3388
|
3355
|
|
|
3356
|
+
|
|
3357
|
+static struct pci_id tg3_nics[] = {
|
|
3358
|
+PCI_ROM(0x14e4, 0x1644, "tg3-5700", "Broadcom Tigon 3 5700"),
|
|
3359
|
+PCI_ROM(0x14e4, 0x1645, "tg3-5701", "Broadcom Tigon 3 5701"),
|
|
3360
|
+PCI_ROM(0x14e4, 0x1646, "tg3-5702", "Broadcom Tigon 3 5702"),
|
|
3361
|
+PCI_ROM(0x14e4, 0x1647, "tg3-5703", "Broadcom Tigon 3 5703"),
|
|
3362
|
+PCI_ROM(0x14e4, 0x1648, "tg3-5704", "Broadcom Tigon 3 5704"),
|
|
3363
|
+PCI_ROM(0x14e4, 0x164d, "tg3-5702FE", "Broadcom Tigon 3 5702FE"),
|
|
3364
|
+PCI_ROM(0x14e4, 0x1653, "tg3-5705", "Broadcom Tigon 3 5705"),
|
|
3365
|
+PCI_ROM(0x14e4, 0x1654, "tg3-5705_2", "Broadcom Tigon 3 5705_2"),
|
|
3366
|
+PCI_ROM(0x14e4, 0x165d, "tg3-5705M", "Broadcom Tigon 3 5705M"),
|
|
3367
|
+PCI_ROM(0x14e4, 0x165e, "tg3-5705M_2", "Broadcom Tigon 3 5705M_2"),
|
|
3368
|
+PCI_ROM(0x14e4, 0x1677, "tg3-5751", "Broadcom Tigon 3 5751"),
|
|
3369
|
+PCI_ROM(0x14e4, 0x1696, "tg3-5782", "Broadcom Tigon 3 5782"),
|
|
3370
|
+PCI_ROM(0x14e4, 0x169c, "tg3-5788", "Broadcom Tigon 3 5788"),
|
|
3371
|
+PCI_ROM(0x14e4, 0x16a6, "tg3-5702X", "Broadcom Tigon 3 5702X"),
|
|
3372
|
+PCI_ROM(0x14e4, 0x16a7, "tg3-5703X", "Broadcom Tigon 3 5703X"),
|
|
3373
|
+PCI_ROM(0x14e4, 0x16a8, "tg3-5704S", "Broadcom Tigon 3 5704S"),
|
|
3374
|
+PCI_ROM(0x14e4, 0x16c6, "tg3-5702A3", "Broadcom Tigon 3 5702A3"),
|
|
3375
|
+PCI_ROM(0x14e4, 0x16c7, "tg3-5703A3", "Broadcom Tigon 3 5703A3"),
|
|
3376
|
+PCI_ROM(0x14e4, 0x170d, "tg3-5901", "Broadcom Tigon 3 5901"),
|
|
3377
|
+PCI_ROM(0x14e4, 0x170e, "tg3-5901_2", "Broadcom Tigon 3 5901_2"),
|
|
3378
|
+PCI_ROM(0x1148, 0x4400, "tg3-9DXX", "Syskonnect 9DXX"),
|
|
3379
|
+PCI_ROM(0x1148, 0x4500, "tg3-9MXX", "Syskonnect 9MXX"),
|
|
3380
|
+PCI_ROM(0x173b, 0x03e8, "tg3-ac1000", "Altima AC1000"),
|
|
3381
|
+PCI_ROM(0x173b, 0x03e9, "tg3-ac1001", "Altima AC1001"),
|
|
3382
|
+PCI_ROM(0x173b, 0x03ea, "tg3-ac9100", "Altima AC9100"),
|
|
3383
|
+PCI_ROM(0x173b, 0x03eb, "tg3-ac1003", "Altima AC1003"),
|
|
3384
|
+};
|
|
3385
|
+
|
|
3386
|
+static struct pci_driver tg3_driver =
|
|
3387
|
+ PCI_DRIVER ( "TG3", tg3_nics, PCI_NO_CLASS );
|
|
3388
|
+
|
3389
|
3389
|
BOOT_DRIVER ( "TG3", find_pci_boot_device, tg3_driver, tg3_probe );
|