Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 1995 22:47:48 +0700
From:      "Nickolay N. Dudorov" <nnd@gw.itfs.nsk.su>
To:        bugs@FreeBSD.org
Subject:   ep and ie drivers conflict
Message-ID:  <199505311547.WAA24944@gw.itfs.nsk.su>

next in thread | raw e-mail | index | archive | help
	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);




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505311547.WAA24944>