From dbdacbc9a69526f91bab403adb41496e6c70b411 Mon Sep 17 00:00:00 2001 From: mbr Date: Sun, 8 Jun 2003 10:11:55 +0000 Subject: [PATCH] Add ADMtek ADM9511 and ADM9513 device ID's. PR: PR51823 Submitted by: Kaho Toshikazu Reviewed by: phk MFC after: 2 days --- sys/dev/dc/if_dc.c | 6 ++++++ sys/dev/dc/if_dcreg.h | 2 ++ sys/pci/if_dc.c | 6 ++++++ sys/pci/if_dcreg.h | 2 ++ 4 files changed, 16 insertions(+) diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 21bead27c524..a5207b519669 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -157,6 +157,10 @@ static struct dc_type dc_devs[] = { "ADMtek AL981 10/100BaseTX" }, { DC_VENDORID_ADMTEK, DC_DEVICEID_AN985, "ADMtek AN985 10/100BaseTX" }, + { DC_VENDORID_ADMTEK, DC_DEVICEID_ADM9511, + "ADMtek ADM9511 10/100BaseTX" }, + { DC_VENDORID_ADMTEK, DC_DEVICEID_ADM9513, + "ADMtek ADM9513 10/100BaseTX" }, { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A, "ASIX AX88140A 10/100BaseTX" }, { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A, @@ -1898,6 +1902,8 @@ dc_attach(device_t dev) dc_read_srom(sc, sc->dc_romwidth); break; case DC_DEVICEID_AN985: + case DC_DEVICEID_ADM9511: + case DC_DEVICEID_ADM9513: case DC_DEVICEID_FE2500: case DC_DEVICEID_EN2242: case DC_DEVICEID_HAWKING_PN672TX: diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h index d15d68cb3c66..e638267f0bcc 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -866,6 +866,8 @@ struct dc_softc { */ #define DC_DEVICEID_AL981 0x0981 #define DC_DEVICEID_AN985 0x0985 +#define DC_DEVICEID_ADM9511 0x9511 +#define DC_DEVICEID_ADM9513 0x9513 /* * 3COM PCI vendor ID diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 21bead27c524..a5207b519669 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/if_dc.c @@ -157,6 +157,10 @@ static struct dc_type dc_devs[] = { "ADMtek AL981 10/100BaseTX" }, { DC_VENDORID_ADMTEK, DC_DEVICEID_AN985, "ADMtek AN985 10/100BaseTX" }, + { DC_VENDORID_ADMTEK, DC_DEVICEID_ADM9511, + "ADMtek ADM9511 10/100BaseTX" }, + { DC_VENDORID_ADMTEK, DC_DEVICEID_ADM9513, + "ADMtek ADM9513 10/100BaseTX" }, { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A, "ASIX AX88140A 10/100BaseTX" }, { DC_VENDORID_ASIX, DC_DEVICEID_AX88140A, @@ -1898,6 +1902,8 @@ dc_attach(device_t dev) dc_read_srom(sc, sc->dc_romwidth); break; case DC_DEVICEID_AN985: + case DC_DEVICEID_ADM9511: + case DC_DEVICEID_ADM9513: case DC_DEVICEID_FE2500: case DC_DEVICEID_EN2242: case DC_DEVICEID_HAWKING_PN672TX: diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h index d15d68cb3c66..e638267f0bcc 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/if_dcreg.h @@ -866,6 +866,8 @@ struct dc_softc { */ #define DC_DEVICEID_AL981 0x0981 #define DC_DEVICEID_AN985 0x0985 +#define DC_DEVICEID_ADM9511 0x9511 +#define DC_DEVICEID_ADM9513 0x9513 /* * 3COM PCI vendor ID