From 1d37635da5db373b6e7d866b92b780328292dbba Mon Sep 17 00:00:00 2001 From: Gary Jennejohn Date: Sun, 4 Mar 2001 12:17:48 +0000 Subject: Add support for the Am79C973/Am79C975. The Am79C973 was already in there, but I reworked it to match the patch in the PR. PR: i386/19365 Submitted by: Koichi Soraku --- sys/i386/isa/if_lnc.c | 5 ++++- sys/i386/isa/if_lnc.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c index b396aceb97f1..3b84ed0ffc85 100644 --- a/sys/i386/isa/if_lnc.c +++ b/sys/i386/isa/if_lnc.c @@ -152,6 +152,7 @@ static char const * const ic_ident[] = { "PCnet-FAST", "PCnet-FAST+", "PCnet-Home", + "PCnet-FAST III", }; static void lnc_setladrf __P((struct lnc_softc *sc)); @@ -1192,10 +1193,12 @@ pcnet_probe(struct lnc_softc *sc) case Am79C971: return (PCnet_FAST); case Am79C972: - case Am79C973: return (PCnet_FASTplus); case Am79C978: return (PCnet_Home); + case Am79C973: + case Am79C975: + return (PCnet_FAST_III); default: break; } diff --git a/sys/i386/isa/if_lnc.h b/sys/i386/isa/if_lnc.h index 37aa188ba4a1..826634e482b8 100644 --- a/sys/i386/isa/if_lnc.h +++ b/sys/i386/isa/if_lnc.h @@ -108,6 +108,7 @@ #define PCnet_FAST 9 /* Am79C971 */ #define PCnet_FASTplus 10 /* Am79C972 */ #define PCnet_Home 11 /* Am79C978 */ +#define PCnet_FAST_III 12 /* Am79C973, Am79C975 */ /* CSR88-89: Chip ID masks */ @@ -123,6 +124,7 @@ #define Am79C972 0x2624 #define Am79C973 0x2625 #define Am79C978 0x2626 +#define Am79C975 0x2627 /* Board types */ #define UNKNOWN 0 -- cgit v1.3