Make unknown register reads predictable.
Reported by: Coverity CID: 1357525
This commit is contained in:
parent
98e82c02e5
commit
e95b7573d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302668
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user