Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 16:53:33 +0900
From:      Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
To:        imp@village.org
Cc:        mobile@FreeBSD.ORG
Subject:   Re: One more serious problem with -current PCCARD support 
Message-ID:  <86ya9nyfwi.wl@ringo.FromTo.Cc>
In-Reply-To: In your message of "Tue, 18 Jan 2000 00:42:30 -0700" <200001180742.AAA15379@harmony.village.org>
References:  <86r9fisfe2.wl@ringo.FromTo.Cc> <86u2kesizg.wl@ringo.FromTo.Cc> <200001180742.AAA15379@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 18 Jan 2000 00:42:30 -0700,
Warner Losh <imp@village.org> wrote:

> Right now the ethernet information is passed between the kernel and
> pccardd in the misc field of the dev attach.  I've likely broken the
> association between it and the MAC address in current's oldcard.
> 
> Likely the fastest way to deal with this would be to add the misc
> field to the pccard ivars that get stuck on the device and have an
> accessor function to grab it from there.  This should solve the
> problem of needing to pass down the ethernet addresses.  I can try to
> find some time to code this up...  I'd have done it if I had one of
> the bad ethernet cards :-).

Thank you.  I've got a test patch at bsd-nomads mailing list, and it
also uses ivars.  I'll test it today.

> Actually, that reminds me that I do need to fix if_sn_pccard.c in a
> similar way...

To enable if_sn, MAC address was stored in ATTR2 field as hex-encoded
string.  PAO uses "ether attr2hex" in /etc/pccard.conf.  Are there
better naming of this function?

Currently I think that "ether attr2" is better (it's simple).

-- 
---------------------------
Tatsumi Hosokawa
hosokawa@itc.keio.ac.jp


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




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