cvs commit: src/sys/dev/mpt mpt.c mpt_cam.c
Matt Jacob
mjacob at FreeBSD.org
Mon Feb 27 23:44:51 PST 2006
mjacob 2006-02-28 07:44:50 UTC
FreeBSD src repository
Modified files:
sys/dev/mpt mpt.c mpt_cam.c
Log:
Fix mpt_reset to try mpt_hard_reset more than once, and to try
mpt_soft_reset more than once. And to wait for MPT_DB_STATE_READY
twice. I mean, this is crucial- give the IOC a chance to get
ready.
If mpt_reset is called to reinit things, and we succeed, make
sure to re-enable interrupts. This is what has mostly led to
system lockup after having to hard reset the chip. Also, if
we think that interrupts aren't function in mpt_cam_timeout,
for goodness sake, turn them on again.
In read_cfg_header, return distinguishing errnos so the caller
can decide what's an error. It's *not* an error to fail to
read a RAID page from a non-RAID capable device like the FC929X.
Some whitespace fixes (removing spaces from ends of lines).
Revision Changes Path
1.18 +85 -43 src/sys/dev/mpt/mpt.c
1.9 +1 -0 src/sys/dev/mpt/mpt_cam.c
More information about the cvs-src
mailing list