mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Added support for the i82559ER (10/100Mbps NIC for embedded applications).
Product device ID provided by: Les Biffle <les@ns3.safety.net>
This commit is contained in:
parent
669b99659d
commit
55ce7b5117
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61801
@ -491,15 +491,21 @@ fxp_ether_ioctl(ifp, cmd, data)
|
||||
static int
|
||||
fxp_probe(device_t dev)
|
||||
{
|
||||
if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
|
||||
(pci_get_device(dev) == FXP_DEVICEID_i82557)) {
|
||||
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;
|
||||
if (pci_get_vendor(dev) == FXP_VENDORID_INTEL) {
|
||||
switch (pci_get_device(dev)) {
|
||||
|
||||
case FXP_DEVICEID_i82557:
|
||||
device_set_desc(dev, "Intel Pro 10/100B/100+ Ethernet");
|
||||
return 0;
|
||||
case FXP_DEVICEID_i82559:
|
||||
device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
|
||||
return 0;
|
||||
case FXP_DEVICEID_i82559ER:
|
||||
device_set_desc(dev, "Intel Embedded 10/100 Ethernet");
|
||||
return 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return ENXIO;
|
||||
|
@ -30,6 +30,7 @@
|
||||
#define FXP_VENDORID_INTEL 0x8086
|
||||
#define FXP_DEVICEID_i82557 0x1229 /* 82557 - 82559 "classic" */
|
||||
#define FXP_DEVICEID_i82559 0x1030 /* New 82559 device id.. */
|
||||
#define FXP_DEVICEID_i82559ER 0x1209 /* 82559 for embedded applications */
|
||||
|
||||
#define FXP_PCI_MMBA 0x10
|
||||
#define FXP_PCI_IOBA 0x14
|
||||
|
@ -491,15 +491,21 @@ fxp_ether_ioctl(ifp, cmd, data)
|
||||
static int
|
||||
fxp_probe(device_t dev)
|
||||
{
|
||||
if ((pci_get_vendor(dev) == FXP_VENDORID_INTEL) &&
|
||||
(pci_get_device(dev) == FXP_DEVICEID_i82557)) {
|
||||
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;
|
||||
if (pci_get_vendor(dev) == FXP_VENDORID_INTEL) {
|
||||
switch (pci_get_device(dev)) {
|
||||
|
||||
case FXP_DEVICEID_i82557:
|
||||
device_set_desc(dev, "Intel Pro 10/100B/100+ Ethernet");
|
||||
return 0;
|
||||
case FXP_DEVICEID_i82559:
|
||||
device_set_desc(dev, "Intel InBusiness 10/100 Ethernet");
|
||||
return 0;
|
||||
case FXP_DEVICEID_i82559ER:
|
||||
device_set_desc(dev, "Intel Embedded 10/100 Ethernet");
|
||||
return 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return ENXIO;
|
||||
|
@ -30,6 +30,7 @@
|
||||
#define FXP_VENDORID_INTEL 0x8086
|
||||
#define FXP_DEVICEID_i82557 0x1229 /* 82557 - 82559 "classic" */
|
||||
#define FXP_DEVICEID_i82559 0x1030 /* New 82559 device id.. */
|
||||
#define FXP_DEVICEID_i82559ER 0x1209 /* 82559 for embedded applications */
|
||||
|
||||
#define FXP_PCI_MMBA 0x10
|
||||
#define FXP_PCI_IOBA 0x14
|
||||
|
Loading…
Reference in New Issue
Block a user