diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-02-02 16:49:15 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-02-02 16:49:15 +0000 |
| commit | 5deab77bb6d119dd171385d144a622e7ba7108fe (patch) | |
| tree | 0f47623e8edee56a4cb39c0ed102ab5d4f5794e6 /sys/dev/bce | |
| parent | ead758a67a6b584293cfe02cd6c5cbefb6a4926f (diff) | |
Diffstat (limited to 'sys/dev/bce')
| -rw-r--r-- | sys/dev/bce/if_bce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index 73af49015e52..b0ba56099135 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -11082,7 +11082,7 @@ bce_dump_rxp_state(struct bce_softc *sc, int regs) for (int i = BCE_RXP_CPU_MODE; i < 0xe8fff; i += 0x10) { /* Skip the big blank sapces */ - if (i < 0xc5400 && i > 0xdffff) + if (i < 0xc5400 || i > 0xdffff) BCE_PRINTF("0x%04X: 0x%08X 0x%08X " "0x%08X 0x%08X\n", i, REG_RD_IND(sc, i), @@ -11200,7 +11200,7 @@ bce_dump_cp_state(struct bce_softc *sc, int regs) for (int i = BCE_CP_CPU_MODE; i < 0x1aa000; i += 0x10) { /* Skip the big blank spaces */ - if (i < 0x185400 && i > 0x19ffff) + if (i < 0x185400 || i > 0x19ffff) BCE_PRINTF("0x%04X: 0x%08X 0x%08X " "0x%08X 0x%08X\n", i, REG_RD_IND(sc, i), |
