Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2000 10:41:06 -0700
From:      Warner Losh <imp@village.org>
To:        Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: if_sn now works on -current (Re: One more serious problem with -current PCCARD support ) 
Message-ID:  <200001211741.KAA12408@harmony.village.org>
In-Reply-To: Your message of "Fri, 21 Jan 2000 17:58:27 %2B0900." <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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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