Disable the returning of "wedged" commands; this is wrong and needs to be

rethought.
This commit is contained in:
Mike Smith 2000-04-24 19:56:26 +00:00
parent 27440dd237
commit 59548657bc

View File

@ -688,7 +688,13 @@ amr_periodic(void *data)
debug("called");
#if 0
/*
* XXX this is basically wrong - returning a command that's wedged
* leaves us vulnerable to the controller later completing the command
* and overwriting memory that may have subsequently been reused.
*/
/*
* Check for commands that are massively late. This will need to be
* revisited if/when we deal with eg. device format commands.
@ -711,6 +717,7 @@ amr_periodic(void *data)
}
}
splx(s);
#endif
/* reschedule */
sc->amr_timeout = timeout(amr_periodic, sc, hz);