Skip site navigation (1)Skip section navigation (2)
From:      "Dylan A. Loomis" <dylan@aero.org>
To:        Chuck <crtb@capecod.net>
Cc:        Christopher Michaels <ChrisMic@clientlogic.com>, "FreeBSD Mailing List (E-mail)" <questions@FreeBSD.ORG>
Subject:   Re: PNP NIC support?
Message-ID:  <19990609100947.A8999@rush.aero.org>
In-Reply-To: <Pine.FBS.3.93.1.990609095648.243A-100000@capecod.net>; from Chuck on Wed, Jun 09, 1999 at 07:25:15AM -0700
References:  <6C37EE640B78D2118D2F00A0C90FCB440110596D@site2s1> <Pine.FBS.3.93.1.990609095648.243A-100000@capecod.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 09, 1999 at 07:25:15AM -0700, Chuck wrote:
> On Tue, 8 Jun 1999, Christopher Michaels wrote:
> > Do you know what the chipset on the card is?  That's what you ultimately
> > want to know.
> > 
> > The PnP portion shouldn't be a problem.
> > 
> > -Chris
> 
> Thanks for the response.  Well, chipset!  Hah!  You tell me!  There are
> four chips on the board, two of which may be of interest, as follows:
> 1. The big chip, surface mount.  Has a sticker with "YES Netware" on it"
>    which hides the chip info.  Under the sticker: P/N: 181025183760 9839M
>    BH 6066.3
> 2. Next biggest chip says: HT93LC56-C 9747K1602
> Silkscreen on the board says EA201 D2, and Bay Networks (Aha!), and there
> is a sticker on the board which says EA21029111 004005 A5BB36.  And of
> course the box it came in said NETGEAR.
> 
> By chasing after the board with an ed0 driver (FBSD 2.2.7R), I have
> found its e-net address 00:40:33:2a:06:27, and it almost responds.
> 
> The board comes up enough that I can ifconfig ed1 and proclaim a route
> for it.  It tickles the box at the other end, but I keep getting ed1
> timeout messages, and no ping responses are detected, even though the box 
> at the other end burps. I suspect it can't receive.  I've played with
> coordinating what I tell the pnp portion and the ed1 configs when booting,
> using irq 6, then 15.  The system seems to like the board until it
> actually tries to use it.
> 
> What I maybe really need most is: what are those two numbers in the pnp
> command at boot -cv time?  The DSN and LDN.  I used 1 and 1, and that may
> be off.  Thus, "pnp 1 1 enable os port0 0x280 mem0 0xd9000 irq15 1 drq6 1"
> --any idea whether  1 1 is the right set of numbers?  Before boot,
> I see "Award BIOS" "Initializing Plug & Play Cards" and "Card-01 NETGEAR
> EA201 Ethernet Card" - unmentioned in the FBSD3.2 handbook.
> 
> Sorry if the above is rather disorganized, but I'm new to PnP.
> And believe me, I'm tremendously grateful for the support I've gotten in
> the past for other querulous wailings I've made about FreeBSD.  Love it!
> 
> 	Chuck Bacon -- crtb@capecod.net
> 		ABHOR SECRECY -- DEFEND PRIVACY
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

Chuck, with regards to the CSN (I think you meant this instead of DSN ???) and
LDN you can get these with the command pnpinfo(8)

This should give you rather a verbose dumping (in my case for my sound card)
of the pnp card's information.  It will also give you the
CSN - Card Select Number and the LDN - Logical Device number.

E.g. my pnpinfo looks like:

# pnpinfo
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CSCf032 (0x32f0630e), Serial Number 0xffffffff
PnP Version 1.0, Vendor Version 1
Device Description: SIC CrystalWave 32

Logical Device ID: CSC0000 0x0000630e #0
Device Description: WSS/SB
TAG Start DF
Good Configuration
    DMA: channel(s) 1 
        8-bit, not a bus master, count by byte, , Type A
    DMA: channel(s) 0 3 
        8-bit, not a bus master, count by byte, , Type A
    IRQ: 5  - only one type (true/edge)
    I/O Range 0x534 .. 0x534, alignment 0x4, len 0x4
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x8, len 0x4
        [16-bit addr]
    I/O Range 0x220 .. 0x220, alignment 0x20, len 0x10
        [16-bit addr]
-- SNIP ---

So my since
"Card assigned CSN #1" and "Logical Device ID: CSC0000 0x0000630e #0"
                   ^^                                             ^^
I threw the following in my pnp config line:
pnp 1 0 os enable port0 0x534 port 0x220 irq 5 drq0 1 drq1 3

And that seems to work.  Hope that helps.

						-DAL-

-- 
Dylan A. Loomis
Computer Systems Research Department     The Aerospace Corporation
e-mail: dylan@aero.org                   phone: (310) 336-2449

PGP Key fingerprint =  55 DE BB DD 34 10 CD 20  72 79 88 FE 02 0E 21 3A
PGP 2.6.2 key available upon request


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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