Make unknown register reads predictable.

Reported by:	Coverity
CID:		1357525
This commit is contained in:
mav 2016-07-12 17:38:18 +00:00
parent 42498e047c
commit b0b33eab6a

View File

@ -2000,6 +2000,7 @@ e82545_read_register(struct e82545_softc *sc, uint32_t offset)
break;
default:
DPRINTF("Unknown read register: 0x%x\r\n", offset);
retval = 0;
break;
}