From owner-freebsd-bugs Sun Apr 18 18:21:57 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from fw.bby.com.au (ns.bby.com.au [192.83.119.129]) by hub.freebsd.org (Postfix) with ESMTP id 058CA14D66 for ; Sun, 18 Apr 1999 18:21:53 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: (from daemon@localhost) by fw.bby.com.au (8.8.8/8.6.9) id LAA15311; Mon, 19 Apr 1999 11:19:27 +1000 (EST) Received: from lightning.itga.com.au(192.168.71.20) via SMTP by fw.bby.com.au, id smtpd015299; Mon Apr 19 01:19:21 1999 Received: from lightning (lightning [192.168.71.20]) by lightning.itga.com.au (8.9.1a/8.9.1) with ESMTP id LAA23565; Mon, 19 Apr 1999 11:19:20 +1000 (EST) Message-Id: <199904190119.LAA23565@lightning.itga.com.au> X-Mailer: exmh version 2.0.1 12/23/97 From: Gregory Bond To: maris@ciaccess.com Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: i386/11200: AMD PCnet lnc0/lnc1 problem In-reply-to: Your message of Sun, 18 Apr 1999 07:06:33 -0700. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 19 Apr 1999 11:19:20 +1000 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is an artifact of the way FreeBSD treats PCI cards where the same driver also supports non-PCI cards. The explicitly configured non-PCI cards in the kernel config file are allocated names starting at lnc0 (and lnc1 etc if there are more than 1), then the cards found by PCI probes are allocated using the next empty slot. And you need to specify an lnc0 line, with io addr etc, in the kernel config file to get the lnc driver loaded into the kernel, so that the PCI probe can then find the PCI lnc card. So in your case, with 1 PCI card only, it gets allocated to lnc1 and there is no lnc0, even tho the kernel config specifies an lnc0 line. You need to make sure that your /etc/rc.conf file has lnc1 in the interfaces and ifconfig lines, not lnc0. That done, it should all work fine. [The above is also true of ISA PnP as well as PCI cards. The alternative to all this is to have two separate drivers, each 99% identical, with different names - this alternative is probably worse, overall.] Greg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message