FreeBSD-5.4R-p1 problems with lnc device and AT-1500FT PnP card

Gheorghe Ardelean ardelean at ww.uni-erlangen.de
Sun Jun 5 00:22:23 GMT 2005


Hi,

I am trying to make a network card work with lnc(4) device.
The card is an AT-1500 PnP Ethernet Adapter based on PCnet(TM)-ISA II
chip from AMD (AM79C961AKC) which is supposed to be supported under lnc(4)
driver. The card has both a 10BaseFL (ST) and 10BaseT port.

After adding the card's pnp id to the lnc_pnp_ids[] structure I am getting
the card recognized and attached but the chip and MAC address are wrongly
detected.

Any help will be appreciated!

#uname -a
FreeBSD test 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #4: Sun Jun  5
00:18:56 CEST 2005     root at test:/usr/src/sys/i386/compile/TEST  i386

#dmesg
...
lnc1: <ATI AT-1500 Ethernet Network Adapter> at port 0x220-0x237 irq 9 drq 3 on isa0
lnc1: Attaching ATI AT-1500 Ethernet Network Adapter
lnc1: Ethernet address: cf:bf:ff:ef:00:ff <--wrong (tested against DOS setup program)
lnc1: if_start running deferred for Giant
lnc1: Unknown 	<- (chip id 0!)
...

A diff to if_lnc_isa:
=================

--- sys/dev/lnc/if_lnc_isa.c.orig	Sun Jan 30 01:59:53 2005
+++ sys/dev/lnc/if_lnc_isa.c	Sun Jun  5 00:16:19 2005
@@ -54,6 +54,8 @@
 #include <dev/lnc/if_lncreg.h>

 static struct isa_pnp_id lnc_pnp_ids[] = {
+        {0x00158b06,	NULL},	/* ATK1500 - ATI AT-1500 Ethernet Network Adapter */
+        {0x8c82d041,	"AMD PCNet Family Cards"}, /* PNP828C */
 	{0,	NULL}
 };

=================

the information added to if_lnc_isa.c was obtained with pnpinfo(8).

Regards,

G. Ardelean



More information about the freebsd-stable mailing list