diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 3f339b893f3b..ca4e4024cc84 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; diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 3f339b893f3b..ca4e4024cc84 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;