From 6c923547e01f12ff268bf851de85ae0592efc78d Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 14 Jun 1996 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1996-06-14 --- pc/ether589.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pc/ether589.c b/pc/ether589.c index 0669d530c862847477dabc6732ecaad8e266654f..7139bbf1bbec925f687ffa13d3b30ae53fcd70ad 100644 --- a/pc/ether589.c +++ b/pc/ether589.c @@ -71,11 +71,8 @@ reset(Ether *ether) ether->port = 0x240; port = ether->port; - if((slot = pcmspecial("3C589", ether)) < 0){ - if((slot = pcmspecial("3C562", ether)) < 0) - return -1; - strcpy(ether->type, "3C562"); - } + if((slot = pcmspecial(ether->type, ether)) < 0) + return -1; /* try configuring as a 10baseT */ if(configASIC(ether, port, Xcvr10BaseT) < 0){ @@ -105,4 +102,5 @@ void ether589link(void) { addethercard("3C589", reset); + addethercard("3C562", reset); }