From f51d91299f6acc954a9314c7a31b20a537909bb7 Mon Sep 17 00:00:00 2001 From: skrll Date: Sun, 7 Aug 2022 08:26:18 +0000 Subject: [PATCH] Misc tidyup. NFC. --- sys/dev/pci/if_bge.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index ff5fa1644665..56a94a2eafde 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_bge.c,v 1.371 2022/08/07 08:24:23 skrll Exp $ */ +/* $NetBSD: if_bge.c,v 1.372 2022/08/07 08:26:18 skrll Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -79,7 +79,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.371 2022/08/07 08:24:23 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.372 2022/08/07 08:26:18 skrll Exp $"); #include #include @@ -5603,10 +5603,10 @@ bge_init(struct ifnet *ifp) * entry of the ring. */ if (sc->bge_chipid == BGE_CHIPID_BCM5705_A0) { - uint32_t v, i; + u_int i; for (i = 0; i < 10; i++) { DELAY(20); - v = bge_readmem_ind(sc, BGE_STD_RX_RINGS + 8); + uint32_t v = bge_readmem_ind(sc, BGE_STD_RX_RINGS + 8); if (v == (MCLBYTES - ETHER_ALIGN)) break; }