Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 1999 11:19:20 +1000
From:      Gregory Bond <gnb@itga.com.au>
To:        maris@ciaccess.com
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: i386/11200: AMD PCnet lnc0/lnc1 problem 
Message-ID:  <199904190119.LAA23565@lightning.itga.com.au>
In-Reply-To: Your message of Sun, 18 Apr 1999 07:06:33 -0700.

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




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