Date: Thu, 14 May 1998 23:18:26 -0700 (PDT) From: Jim Shankland <jas@flyingfox.com> To: freebsd-hardware@FreeBSD.ORG Subject: AMD PCNet PCI Ethernet adapter (again) Message-ID: <199805150618.XAA03132@biggusdiskus.flyingfox.com>
next in thread | raw e-mail | index | archive | help
So I got a new Hitachi Visionbook laptop, and it's great; but I can't get the builtin Ethernet working under FreeBSD 2.2.6. W95 identifies it as an 'AMD PCNet Family Ethernet Adapter' (and does just fine with it. FreeBSD 2.2.6 identifies it as: lnc1 <PCNet/PCI Ethernet adapter> rev 22 int a irq 11 on pci0:11:0 but it doesn't show up in a subsequent 'ifconfig -a'. Going through the mailing list archives, I found notes from Stefan Esser and Terry Lambert saying: find out the port address it's using, and configure that in explicitly with 'boot -c'. I'm having a few problems with this: * I have no idea what port address it's using; I've made several reasonable guesses, without success; and * the boot config utility doesn't know about lnc1 -- it knows only about lnc0. I've done a little digging, and established that the PCI probe reads the value 0xfcc0 out of one of the map registers, and then calls lnc_pci_attach with an iobase value of 0xfcc0. But this fails: both lance_probe and pcnet_probe strike out. Here is the relevant section of 'boot -v' output (I put in a couple of debugging printf's, which are included below): lnc1 <PCNet/PCI Ethernet adapter> rev 22 int a irq 11 on pci0:11:0 mapreg[10] type=1 addr=0000fcc0 size=0020. mapreg[14] type=0 addr=fedffc00 size=0020. lnc_pci_attach: entry lnc_pci_attach: iobase == 0xfcc0 lance_probe: returning UNKNOWN pcnet_probe: chip id == 0xffffffff pcnet_probe: unknown chip id 0xfffff lnc_pci_attach: lnc_attach_ne2100_pci(1, 0xfcc0) returns 0x0 So: what's going wrong here? If someone can give me 2 minutes' worth of guidance to point me in the right direction, I'll be happy to take a crack at code changes to make it work. I'm told Linux works great with this chip in this notebook, and obviously Win95 works (well, as well as it ever works :->); so it can't be impossible. Any help appreciated. If I can work through this, I'll take a look at why FreeBSD hangs probing the CD-ROM. Jim Shankland Flying Fox Computer Systems, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805150618.XAA03132>