freebsd kernel with SKQ
a3de4cbeec
Cleanse the SCSI subsystem of its internally defined types u_int32, u_int16, u_int8, int32, int16, int8. Use the system defined *_t types instead. aic7xxx.c: Fix the reset code. Instead of queing up all of the SCBs that timeout during timeout processing, we take the first and have it champion the effort. Any other scbs that timeout during timeout handling are given another lifetime to complete in the hopes that once timeout handing is finished, they will complete normally. If one of these SCBs times out a second time, we panic and Justin tries again. The other major change is to queue flag aborted SCBs during timeout handling, and "ahc_done" them all at once as soon as we have the controller back into a sane state. Calling ahc_done any earlier will cause the SCSI subsystem to toss the command right back at us and the attempt to queue the command will conflict with what the timeout routine is trying to accomplish. The aic7xxx driver will now respond to bus resets initiated by other devices. |
||
---|---|---|
bin | ||
eBones | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
lkm | ||
release | ||
sbin | ||
secure | ||
share | ||
sys | ||
tools | ||
usr.bin | ||
usr.sbin | ||
COPYRIGHT | ||
Makefile |