diff options
| author | Joerg Wunsch <joerg@FreeBSD.org> | 1997-02-23 10:57:30 +0000 |
|---|---|---|
| committer | Joerg Wunsch <joerg@FreeBSD.org> | 1997-02-23 10:57:30 +0000 |
| commit | ec65be11ef2791f3091898e27d2a43f1bb4b84a9 (patch) | |
| tree | f258df019adfb4e78c2093e7f8fc1bf183182015 /sys/dev | |
| parent | 79403fe30060eef58fe06c0d53f0a95899ba829e (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/de/if_de.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index b81f00ec2f96..f48b716b2cfd 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: if_de.c,v 1.59 1997/02/22 09:44:03 peter Exp $ * */ @@ -346,6 +346,7 @@ typedef enum { TULIP_21140_DEC_EB, /* Digital Semicondutor 21140 Evaluation Board */ TULIP_21140_DEC_DE500, /* Digital DE500-?? 10/100 */ TULIP_21140_SMC_9332, /* SMC 9332 */ + TULIP_21140A_SMC_9332BDT, /* SMC 9332BDT with 21140A */ TULIP_21140_COGENT_EM100, /* Cogent EM100 100 only */ TULIP_21140_ZNYX_ZX34X, /* ZNYX ZX342 10/100 */ TULIP_21041_GENERIC, /* Generic 21041 card */ @@ -1551,6 +1552,15 @@ static const tulip_boardsw_t tulip_21140_smc9332_boardsw = { tulip_21140_smc9332_media_select, tulip_21140_nomii_media_preset, }; + +static const tulip_boardsw_t tulip_21140A_smc9332bdt_boardsw = { + TULIP_21140A_SMC_9332BDT, + "SMC 9332BDT ", + tulip_21140_smc9332_media_probe, + tulip_21140_mii_media_preset, + tulip_21140_mii_probe, +}; + static int tulip_21140_cogent_em100_media_probe( @@ -3016,6 +3026,10 @@ tulip_identify_smc_nic( sc->tulip_boardsw = &tulip_21140_smc9332_boardsw; return; } + if (sc->tulip_chipid == TULIP_21140A) { + sc->tulip_boardsw = &tulip_21140A_smc9332bdt_boardsw; + return; + } id1 = sc->tulip_rombuf[0x60] | (sc->tulip_rombuf[0x61] << 8); id2 = sc->tulip_rombuf[0x62] | (sc->tulip_rombuf[0x63] << 8); ei = sc->tulip_rombuf[0x66] | (sc->tulip_rombuf[0x67] << 8); |
