Skip to content

Commit a52201f

Browse files
Wei Fangdavem330
authored andcommitted
net: enetc: add i.MX95 EMDIO support
The verdor ID and device ID of i.MX95 EMDIO are different from LS1028A EMDIO, so add new vendor ID and device ID to pci_device_id table to support i.MX95 EMDIO. Signed-off-by: Wei Fang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 86831a3 commit a52201f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include <linux/of_mdio.h>
55
#include "enetc_pf.h"
66

7+
#define NETC_EMDIO_VEN_ID 0x1131
8+
#define NETC_EMDIO_DEV_ID 0xee00
79
#define ENETC_MDIO_DEV_ID 0xee01
810
#define ENETC_MDIO_DEV_NAME "FSL PCIe IE Central MDIO"
911
#define ENETC_MDIO_BUS_NAME ENETC_MDIO_DEV_NAME " Bus"
@@ -124,6 +126,7 @@ static void enetc_pci_mdio_remove(struct pci_dev *pdev)
124126

125127
static const struct pci_device_id enetc_pci_mdio_id_table[] = {
126128
{ PCI_DEVICE(PCI_VENDOR_ID_FREESCALE, ENETC_MDIO_DEV_ID) },
129+
{ PCI_DEVICE(NETC_EMDIO_VEN_ID, NETC_EMDIO_DEV_ID) },
127130
{ 0, } /* End of table. */
128131
};
129132
MODULE_DEVICE_TABLE(pci, enetc_pci_mdio_id_table);

0 commit comments

Comments
 (0)