/* Registers 0x00 - 0x50 are FIFOs. The 0x50+ are the control registers and they're all 32bits long. 0xB8+ are reserved, so don't bother.  */
static void dump_regs(struct eth_device *dev)
/* Registers 0x00 - 0x50 are FIFOs. The 0x50+ are the control registers and they're all 32bits long. 0xB8+ are reserved, so don't bother.  */
static void dump_regs(struct eth_device *dev)
{
	u8 i, j = 0;
	for (i = 0x50; i < 0xB8; i += sizeof(u32))
		printf("%02x: 0x%08x %c", i,
			smc911x_reg_read(dev, i),
			(j++ % 2 ? '\n' : ' '));
}