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>
This commit is contained in:
Peter Wemm 1999-09-06 06:15:18 +00:00
parent e5a9fd5435
commit dd68ef1623
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50987
4 changed files with 14 additions and 2 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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;
}

View File

@ -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