From owner-freebsd-hackers Thu Nov 1 19:45:37 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 1D50E37B401 for ; Thu, 1 Nov 2001 19:45:34 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id TAA00699; Thu, 1 Nov 2001 19:45:32 -0800 Message-ID: <3BE216DB.E2B9B40A@owt.com> Date: Thu, 01 Nov 2001 19:45:31 -0800 From: Kent Stewart Organization: One World Telecommunications X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Leo Bicknell Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: ep0 driver oddity References: <20011101224034.A46105@ussenterprise.ufp.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Leo Bicknell wrote: > > I broke out a really old card to make a cheap solution work, and > now I'm confused. It's an old 3c509 ISA card, which has been set > to 0x300, irq 5. Those don't conflict, so no issue there. > > Building a kernel with "device ep0" found it, but didn't like it > because it wasn't at the default IRQ 10. So, I rebuilt a kernel > with > > device ep0 at isa? port 0x300 irq 5 > > Here's where my confusion came in, I get this in dmesg: > > ep0 at port 0x300 irq 5 on isa0 > ep0: Ethernet address 00:20:af:6a:d8:d6 > ep1: <3Com 3C509-TP EtherLink III> at port 0x300-0x30f irq 10 on isa0 > ep1: No irq?! > ep1: ep_alloc() failed! (6) > device_probe_and_attach: ep1 attach returned 6 > > ep0 seems to work ok, and there is no ep1. I'm not sure why it's > auto-looking for an additional card. If I leave the 0 off: It has been a while since I setup my 3C509 but what I remember is having to turn off PNP on the card. Kent > > device ep at isa? port 0x300 irq 5 > > config barfs, even though the default is "device ep". > > I get the feeling that if I set this via config I'd be ok, but I don't > have easy access to the console of this particular machine. > > I'm sure I'm missing something really simple, but how can I set > ep0 in the kernel config and not get an ep1 along with it? > Alternatives (eg, loader.conf or something) would be fine, I know > nothing about that. > > -- > Leo Bicknell - bicknell@ufp.org - CCIE 3440 > PGP keys at http://www.ufp.org/~bicknell/ > Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message