summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-06 06:15:18 +0000
committerpeter <peter@FreeBSD.org>1999-09-06 06:15:18 +0000
commit4744c67e075217e451b092e84df4efc64d43bd69 (patch)
treecf674fbfa20cba0d09560008f9384feaf78068b9 /sys/dev/fxp
parentd963135a0bae02457d1879aa073750f0cac31796 (diff)
downloadFreeBSD-src-4744c67e075217e451b092e84df4efc64d43bd69.zip
FreeBSD-src-4744c67e075217e451b092e84df4efc64d43bd69.tar.gz
Recognise the new 82559 chip id as used on the InBusiness 10/100 adapter.
I have an 82559 card with the same id as the other 8255[78] chips, but that was made with a date code of 0699 (June 99). The submitter shows this working with the probe etc, but doesn't actually say it works as on the ethernet. :-) Assuming it does, this is a RELENG_3 merge candidate. Submitted by: Steven E Lumos <slumos@sam.ISRI.UNLV.EDU>
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c5
-rw-r--r--sys/dev/fxp/if_fxpreg.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index ee97515..84cabd2 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -506,6 +506,11 @@ fxp_probe(device_t dev)
device_set_desc(dev, "Intel EtherExpress Pro 10/100B Ethernet");
return 0;
}
+ if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
+ (pci_get_device(dev) == FXP_DEVICEID_i82559)) {
+ device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
+ return 0;
+ }
return ENXIO;
}
diff --git a/sys/dev/fxp/if_fxpreg.h b/sys/dev/fxp/if_fxpreg.h
index e593608..c9fb405 100644
--- a/sys/dev/fxp/if_fxpreg.h
+++ b/sys/dev/fxp/if_fxpreg.h
@@ -28,7 +28,8 @@
*/
#define FXP_VENDORID_INTEL 0x8086
-#define FXP_DEVICEID_i82557 0x1229
+#define FXP_DEVICEID_i82557 0x1229 /* 82557 - 82559 "classic" */
+#define FXP_DEVICEID_i82559 0x1030 /* New 82559 device id.. */
#define FXP_PCI_MMBA 0x10
#define FXP_PCI_IOBA 0x14
OpenPOWER on IntegriCloud