opnsense-src/sys/dev/mpt
Matt Jacob 800d362b5d + Change some debug messages to MPT_PRT_NEGOTIATE level (so we
can see the results of SPI negotiation w/o being overwhelmed
with other crap).

+ For U320 devices, check against both Settings *and* DV flags before
deciding whether we need to skip actual SPI settings for a device.

+ Go back to creating a 'physical disk' side of a raid/passthru bus that
is limited to the number of maximum physical disks. Actually, this isn't
probably *quite* right yet for one RAID volume, and if we ever end up
with finding a device that supports more than one RAID volume (not likely),
it probably won't quite be right either.

The problem here is that the creating of this 'physical' passthru sim is
just a cheap way to leverage off the CAM midlayer to do our negotiation
for us on the subentities that make up a RAID volume. It almost causes
more trouble than it is worth because we have to remember which side
we're talking to in terms of forming commands and which target ids are
real and so on. Bleah.

+ Skip trying to actually do SPI settings for the RAID volumes on the
real side of the raid/passthru bus pair- this just confuses the issue.
The underlying real physical devices will have the negotiation performed
and the Raid volume will inherit the resultant settings. At the sime time,
non-RAID devices can be on the same real bus, so *do* perform negotiations
with them.

+ At the end of doing all of the settings twiddling, *ahem*, remember to
go update the settings on the card itself (dunno how this got nuked).

At this point, negotiations *seem* to be being done (again) correctly for
both RAID volumes and their subentities. And they seem to be *mostly*
now right for other non-RAID entities on the same bus (I ended up with
3 out of 8 other disks still at narror/async- haven't the slightest
idea why yes).

Finally, negotiations on a normal bus seem to work (again).

There's still more work coming into this area, but we're in the
final stretch.
2006-05-29 20:30:40 +00:00
..
mpilib Remove the ill-considered effect of using the type definitions as 2006-02-26 22:50:14 +00:00
mpt.c Work in progress toward fixing IM checked in after having 2006-05-27 17:26:57 +00:00
mpt.h Add a MPT_PRT_NEGOTIATION print level. 2006-05-29 20:15:29 +00:00
mpt_cam.c + Change some debug messages to MPT_PRT_NEGOTIATE level (so we 2006-05-29 20:30:40 +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 Get most of the way back to having Integrated Mirroring work 2006-05-26 05:54:21 +00:00
mpt_pci.c When setting verbose, *set* it, don't *add* it. 2006-05-29 16:59:38 +00:00
mpt_raid.c Add a mpt_is_raid_volume function which will tell you whether 2006-05-29 20:20:45 +00:00
mpt_raid.h Add a mpt_is_raid_volume function which will tell you whether 2006-05-29 20:20:45 +00:00
mpt_reg.h Some fairly major changes to this driver. 2006-03-25 07:08:27 +00:00