mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
When wierdreset flag is set, turn on the DISADVFD flag when we reset
rather than all the flags. This prevents setting being read from ROM, which is a problem. If this breaks anything, it will only break the 3C556B cards minipci cards, which mainly exist at rpi as far as rpi has been able to tell. Submitted by: Louis Gerbarg <gerbal@rpi.edu>
This commit is contained in:
parent
1e78526274
commit
a7103127cf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67231
@ -1008,7 +1008,8 @@ static void xl_reset(sc)
|
||||
|
||||
XL_SEL_WIN(0);
|
||||
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RESET |
|
||||
((sc->xl_flags & XL_FLAG_WEIRDRESET)?0xFF:0));
|
||||
((sc->xl_flags & XL_FLAG_WEIRDRESET) ?
|
||||
XL_RESETOPT_DISADVFD:0));
|
||||
|
||||
for (i = 0; i < XL_TIMEOUT; i++) {
|
||||
DELAY(10);
|
||||
|
Loading…
Reference in New Issue
Block a user