freebsd-dev/sys/dev/isp
Matt Jacob 4607e8eed3 Recover from some major omissions/problems with the 24XX port.
First, we were never correctly checking for a 24XX Status Type 0
response- that cased us to fall through to evaluate status for
commands as if this were a 2100/2200/2300 Status Type 0 response.
This is *close*, but not quite the same. This has been reported
to be apparent with some wierd lun configuration problems with
some arrays. It became glaringly apparent on sparc64 where none
of the correct byte swap things were done.

Fixing this omission then caused a whole universe shifting debug
cycle of endian issues for the 2400. The manual for 24XX f/w turns
out to be wrong about the endianness of a couple of entities. The
lun and cdb fields for the type 7 request are *not* unconditionally
big endian- they happen to be opposite of whatever the endian of
the current machine type is. Same with the sense data for the
24XX type 0 response.

While we're at it investigate and resolve some NVRAM endian
issues.

Approved by:	re (ken)
MFC after:	3 days
2007-07-02 20:08:20 +00:00
..
DriverManual.txt
Hardware.txt
isp_freebsd.c Prepare for future integration between CAM and newbus. xpt_bus_register 2007-06-17 05:55:54 +00:00
isp_freebsd.h Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00
isp_ioctl.h Remove some ioctls that were ill-thought out. There is no user 2007-06-11 19:15:49 +00:00
isp_library.c Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00
isp_library.h Temporarily desupport simultaneous target and initiator mode. 2007-04-02 01:04:20 +00:00
isp_pci.c Pointy hat to me. Committed with building. 2007-06-26 23:08:57 +00:00
isp_sbus.c Bad merge. 2007-05-11 13:47:28 +00:00
isp_stds.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.c Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_target.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
isp_tpublic.h Make this an MP safe driver but also still be multi-release. 2007-05-05 20:17:23 +00:00
isp.c Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00
ispmbox.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispreg.h Fix some stupid copyright mistakes that have been there for quite some time. 2007-03-10 02:39:54 +00:00
ispvar.h Recover from some major omissions/problems with the 24XX port. 2007-07-02 20:08:20 +00:00