From owner-freebsd-mobile Fri Jan 21 9:41:12 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 6A6591550C for ; Fri, 21 Jan 2000 09:41:07 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id KAA84706; Fri, 21 Jan 2000 10:41:03 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id KAA12408; Fri, 21 Jan 2000 10:41:07 -0700 (MST) Message-Id: <200001211741.KAA12408@harmony.village.org> To: Tatsumi Hosokawa Subject: Re: if_sn now works on -current (Re: One more serious problem with -current PCCARD support ) Cc: mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 21 Jan 2000 17:58:27 +0900." <86embbrebw.wl@ringo.FromTo.Cc> References: <86embbrebw.wl@ringo.FromTo.Cc> <863drs1vdr.wl@ringo.FromTo.Cc> <86r9fisfe2.wl@ringo.FromTo.Cc> <86u2kesizg.wl@ringo.FromTo.Cc> <200001180742.AAA15379@harmony.village.org> <864sc820u4.wl@ringo.FromTo.Cc> <200001210801.BAA09842@harmony.village.org> Date: Fri, 21 Jan 2000 10:41:06 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <86embbrebw.wl@ringo.FromTo.Cc> Tatsumi Hosokawa writes: : Oops. I rewrote it. : + : + for (j = 0; j < 3; j++) { : + u_short w; : : + w = (u_short)sc->arpcom.ac_enaddr[j * 2] | : + (((u_short)sc->arpcom.ac_enaddr[j * 2 + 1]) << 8); : + outw(BASE + IAR_ADDR0_REG_W + j * 2, w); : } This is much better. I think it may even be right. I'll have to check it against the isa cards we have here at work to make sure. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message