From owner-freebsd-mobile Mon Jan 17 23:52:31 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from afs.itc.keio.ac.jp (afs.itc.keio.ac.jp [131.113.212.3]) by hub.freebsd.org (Postfix) with SMTP id D95B615235 for ; Mon, 17 Jan 2000 23:52:21 -0800 (PST) (envelope-from hosokawa@itc.keio.ac.jp) Received: (qmail 8804 invoked from network); 18 Jan 2000 07:52:20 -0000 Received: from mobile04.ntc.mita.keio.ac.jp (HELO ringo.FromTo.Cc) (131.113.212.24) by afs.itc.keio.ac.jp with SMTP; 18 Jan 2000 07:52:20 -0000 Date: Tue, 18 Jan 2000 16:53:33 +0900 Message-ID: <86ya9nyfwi.wl@ringo.FromTo.Cc> From: Tatsumi Hosokawa To: imp@village.org Cc: mobile@FreeBSD.ORG Subject: Re: One more serious problem with -current PCCARD support 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> User-Agent: Wanderlust/2.2.13 (Keep The Faith) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 8) (Bryce Canyon) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Tue, 18 Jan 2000 00:42:30 -0700, Warner Losh 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