Index: sys/dev/bge/if_bge.c =================================================================== RCS file: /usr/cvs/src/sys/dev/bge/if_bge.c,v retrieving revision 1.91.2.2 diff -u -r1.91.2.2 if_bge.c --- sys/dev/bge/if_bge.c 25 Aug 2005 05:01:05 -0000 1.91.2.2 +++ sys/dev/bge/if_bge.c 8 Oct 2005 17:58:16 -0000 @@ -1197,6 +1197,7 @@ { int i; u_int32_t dma_rw_ctl; + u_int32_t rxcpu_mode; /* Set endianness before we access any non-PCI registers. */ #if BYTE_ORDER == BIG_ENDIAN @@ -1211,7 +1212,9 @@ * Check the 'ROM failed' bit on the RX CPU to see if * self-tests passed. */ - if (CSR_READ_4(sc, BGE_RXCPU_MODE) & BGE_RXCPUMODE_ROMFAIL) { + rxcpu_mode = CSR_READ_4(sc, BGE_RXCPU_MODE); + printf("bge%d: register value %x\n", sc->bge_unit, rxcpu_mode); + if (rxcpu_mode & BGE_RXCPUMODE_ROMFAIL) { printf("bge%d: RX CPU self-diagnostics failed!\n", sc->bge_unit); return(ENODEV);