summaryrefslogtreecommitdiffstats
path: root/sys/dev/dc
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-10-30 23:51:39 +0000
committerwpaul <wpaul@FreeBSD.org>2000-10-30 23:51:39 +0000
commite8873159dd2a70ef05942f98b7a857ff94d0439a (patch)
tree4e5148b5d40d8407be6a756af6d1615d55620a96 /sys/dev/dc
parent34665aef12ec9a7522c987298e4deef531804fbf (diff)
downloadFreeBSD-src-e8873159dd2a70ef05942f98b7a857ff94d0439a.zip
FreeBSD-src-e8873159dd2a70ef05942f98b7a857ff94d0439a.tar.gz
Grrr. The 'reg' variable in dc_apply_fixup() needs to be a u_int32_t, not
a u_int8_t. Pass the conical hat. This should fix certain cardbus 21143 cards that require SROM h0h0magic in order to enable their transceivers.
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/if_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index 3f339b8..ca4e402 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -1598,7 +1598,7 @@ static void dc_apply_fixup(sc, media)
struct dc_mediainfo *m;
u_int8_t *p;
int i;
- u_int8_t reg;
+ u_int32_t reg;
m = sc->dc_mi;
OpenPOWER on IntegriCloud