freebsd-dev/sys/dev/mpt
Matt Jacob 29ae59edff 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).
2006-02-28 07:44:50 +00:00
..
mpilib Remove the ill-considered effect of using the type definitions as 2006-02-26 22:50:14 +00:00
mpt_cam.c Fix mpt_reset to try mpt_hard_reset more than once, and to try 2006-02-28 07:44:50 +00:00
mpt_cam.h Role a microrev of the MPI Library in preparation for target mode work. 2006-02-25 07:45:54 +00:00
mpt_debug.c Remove the ill-considered effect of using the type definitions as 2006-02-26 22:50:14 +00:00
mpt_pci.c Role a microrev of the MPI Library in preparation for target mode work. 2006-02-25 07:45:54 +00:00
mpt_raid.c Fix -Wundef. 2005-12-04 02:12:43 +00:00
mpt_raid.h Correct attribution in clause three to address the correct copyright 2005-08-03 14:08:41 +00:00
mpt_reg.h Role a microrev of the MPI Library in preparation for target mode work. 2006-02-25 07:45:54 +00:00
mpt.c Fix mpt_reset to try mpt_hard_reset more than once, and to try 2006-02-28 07:44:50 +00:00
mpt.h Role a microrev of the MPI Library in preparation for target mode work. 2006-02-25 07:45:54 +00:00