From owner-freebsd-bugs Wed May 31 08:51:53 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA17939 for bugs-outgoing; Wed, 31 May 1995 08:51:53 -0700 Received: from gw.itfs.nsk.su (gw.itfs.nsk.su [193.124.36.33]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id IAA17914 for ; Wed, 31 May 1995 08:50:59 -0700 Received: (nnd@localhost) by gw.itfs.nsk.su (8.6.12/8.6.12) id WAA24944 for bugs@freebsd.org; Wed, 31 May 1995 22:47:48 +0700 Date: Wed, 31 May 1995 22:47:48 +0700 From: "Nickolay N. Dudorov" Message-Id: <199505311547.WAA24944@gw.itfs.nsk.su> To: bugs@FreeBSD.org Subject: ep and ie drivers conflict Sender: bugs-owner@FreeBSD.org Precedence: bulk After applying the next patch to if_ep.c I now can boot GENERIC kernel on my computer with 3C509 without disabling 'ie0' (and without hung :-). I have no 3C507 to test this hack on, but comment in elink.c about elink_reset() gives some kind of 'correctness proof' ;-) (This is a HACK, because it requires elink.o for 'ep' driver and I dont know exactly how to write this down - but it seems to solve the conflict AND I think that 'ep' and 'ie' drivers MUST use some common parts (and this was the role of elink.c)) N.Dudorov =============================================================== --- if_ep.c.orig Wed May 31 21:42:17 1995 +++ if_ep.c Wed May 31 21:43:43 1995 @@ -209,7 +209,11 @@ ep_current_tag--; /* Look for the ISA boards. Init and leave them actived */ +#if 0 outb(id_port, 0xc0); /* Global reset */ +#else + elink_reset(); +#endif DELAY(10000); for (i = 0; i < EP_MAX_BOARDS; i++) { outb(id_port, 0);