freebsd-nq/sys/dev/mpt
Marius Strobl 7ee3780799 Make the whole initiator mode part of mpt(4) endian-clean,
specifically SPI controllers now also work in big-endian
machines and some conversions relevant for FC and SAS
controllers as well as support for ILP32 machines which all
were omitted in previous attempts are now also implemented.
The IOCTL-interface is intentionally left (and where needed
actually changed) to be completely little-endian as otherwise
we would have to add conversion code for every possible
configuration page to mpt(4), which didn't seem the right
thing to do, neither did converting only half of the user-
interface to the native byte order.
This change was tested on amd64 (SAS+SPI), i386 (SAS) and
sparc64 (SAS+SPI). Due to lack of the necessary hardware
the target mode code is still left to be made endian-clean.

Reviewed by:	scottl
MFC after:	1 month
2009-01-07 21:52:47 +00:00
..
mpilib
mpt_cam.c Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00
mpt_cam.h
mpt_debug.c
mpt_pci.c
mpt_raid.c Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00
mpt_raid.h
mpt_reg.h
mpt_user.c Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00
mpt.c Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00
mpt.h Make the whole initiator mode part of mpt(4) endian-clean, 2009-01-07 21:52:47 +00:00