From owner-freebsd-questions Thu Dec 30 14:29:52 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id 1CE5915374 for ; Thu, 30 Dec 1999 14:29:47 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id XAA24368 for freebsd-questions@FreeBSD.ORG; Thu, 30 Dec 1999 23:29:46 +0100 (CET) (envelope-from olli) Date: Thu, 30 Dec 1999 23:29:46 +0100 (CET) From: Oliver Fromme Message-Id: <199912302229.XAA24368@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: repeat: pci problem w/ de0 NIC Organization: Administration TU Clausthal Reply-To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Steve Lewis wrote in list.freebsd-questions: > -using 2.2.8-Release (the latest thing I have on CD) I'd recommend that you upgrade. If you need CDs, you can order 3.4-Release from www.freebsdmall.com. > -building network gateway (LAN/cable modem service) > > I have found little in the archive or FAQ to help me thus far, at least > little that made much sense to me. I am trying to install a pci NIC as > de0 (it's a GFC2204 which is compatible with the DEC21x4x supposedly). > > 1. Is there a better driver, perhaps a DEC22x4x driver, available (at a > later release perhaps)? There's a (very new) driver for DEC and compatible cards, called dc0. (However, I think it's only available in -current, but I'm not 100% sure about this.) > 2. according to /stand/help/hardware.hlp.gz the de0 driver cannot > determine port, IRQ, DRQ, or IOMem address. Does this mean that I have to > specify this information in the kernel config? The de0 driver supports only PCI cards. Hardware resources for PCI cards (interrupt, memory ranges etc.) are allocated automatically. You don't specify them, and you don't have to worry about them. > 2b) if so, I know it is at IRQ 11 and the BIOS tells me it is using Mem > address of 1000-107F; what is the device line going to look like? device de0 > 3. dmesg gives me the following: > > pci0:13: vendor=0x1256, device=0x1400, class network (ethernet) int a irq > 11 [no driver assigned] > > What exactly does this tell me/what does it mean? It means that none of the drivers in your kernel recognized the card. In other words: when your PCI bus controller driver found that PCI card, it asked around all your drivers ``OK, here's a card with vendor ID xxx and device ID yyy -- so which of you can drive this thing?'', and all drivers just shaked their heads. If you're _really_ sure that the chip on that card is 100% hardware compatible with DEC 21x4x, you could hack the de0 driver to accept that particular vendor/device IDs. Then rebuild your kernel, reboot, and see what happens... You could also avoid all of that hassle and just buy a real DEC card (or some reasonable clone, like the Macronix MX) for ~ $20. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message