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:  d...@nlsystems.com
Nonlinear Systems Ltd.                  Phone: +44 181 442 9037




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

Reply via email to