Date: Sat, 4 Sep 1999 15:28:11 +0100 (BST) From: Doug Rabson <dfr@nlsystems.com> To: Blaz Zupan <blaz@gold.amis.net> Cc: freebsd-current@freebsd.org Subject: Re: ed driver problem Message-ID: <Pine.BSF.4.10.9909041526440.2081-100000@salmon.nlsystems.com> In-Reply-To: <Pine.BSF.4.10.9909041347290.332-100000@gold.amis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Sep 1999, Blaz Zupan wrote: > I'm trying to configure my new Compex NE2000 PCI card under 4.0-current. > Just before the latest PnP changes, the card was just recognized like > this: > > ed0: <NE2000 PCI Ethernet (Compex)> irq 10 at device 13.0 on pci0 > > It did not display the MAC, and "ifconfig -a" did not show ed0/ed1 as > configured. I even tried booting a generic 2.2.1 and 3.2 kernel, with the > same symptoms. After the PnP changes, I get this: > > ed0: <NE2000 PCI Ethernet (Compex)> irq 10 at device 13.0 on pci0 > device_probe_and_attach: ed0 attach returned 2 > > I sprinkeled a couple of printf's through if_ed.c and found out, that > bus_alloc_resource() fails in ed_alloc_port() in if_ed.c, thus > ed_alloc_port() returns ENOENT (== 2). Why could allocating an I/O port > address fail? Does your bios have a setting for 'PNP compliant OS' or similar? If it does, set it to 'no' and see if it helps. The current pci code relies on the bios to program port and memory locations for cards and its possible that this isn't happening for your card/bios combination. -- 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.10.9909041526440.2081-100000>