From e8873159dd2a70ef05942f98b7a857ff94d0439a Mon Sep 17 00:00:00 2001 From: wpaul Date: Mon, 30 Oct 2000 23:51:39 +0000 Subject: 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. --- sys/pci/if_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pci') diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 3f339b8..ca4e402 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/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; -- cgit v1.1