Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 May 1999 10:42:44 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        bpechter@shell.monmouth.com
Cc:        freebsd-current@freebsd.org
Subject:   Re: ed0 not recognized (even tried it as ed1)
Message-ID:  <Pine.BSF.4.05.9905241042280.447-100000@herring.nlsystems.com>
In-Reply-To: <Pine.BSF.4.05.9905240927300.447-100000@herring.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 May 1999, Doug Rabson wrote:

> On Sun, 23 May 1999, Bill Pechter wrote:
> 
> > Following my latest rebuild (make world on Friday, make of kernel
> > on Friday) -- I can no longer find my ed0 (WD 8216) network card.
> > 
> > dmesg.yesterday:ed0 at port 0x280-0x29f iomem 0xd8000-0xdbfff irq 10 on isa0
> > dmesg.yesterday:ed0: address 00:00:c0:bb:a8:b2, type SMC8216/SMC8216C (16 bit) 
> > dmesg.yesterday:ed0: interrupting at irq 10
> > 
> > I see no probe at all for the device.
> 
> I think I must have broken it. I'm trying to figure out what happened
> right now.

Please try this patch:
Index: isa_compat.c
===================================================================
RCS file: /home/ncvs/src/sys/i386/isa/isa_compat.c,v
retrieving revision 1.10
diff -u -r1.10 isa_compat.c
--- isa_compat.c	1999/05/22 15:18:12	1.10
+++ isa_compat.c	1999/05/24 09:40:04
@@ -81,7 +81,8 @@
 		res->ports = 0;
 
 	if (ISA_GET_RESOURCE(parent, dev, SYS_RES_MEMORY, 0,
-			     &start, &count) == 0) {
+			     &start, &count) == 0
+	    && start != 0) {
 		rid = 0;
 		res->memory = bus_alloc_resource(dev, SYS_RES_MEMORY,
 						 &rid, 0ul, ~0ul, 1,

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9905241042280.447-100000>