1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/sys/dev/mpt
Matt Jacob 5e073106d5 Fix some of the previus changes 'better'.
There's something strange going on with async events. They seem
to be be treated differently for different Fusion implementations.
Some will really tell you when it's okay to free the request that
started them.  Some won't. Very disconcerting.

This is particularily bad when the chip (FC in this case) tells you
in the reply that it's not a continuation reply, which means you
can free the request that its associated with. However, if you do
that, I've found that additional async event replies come back for
that message context after you freed it. Very Bad Things Happen.

Put in a reply register debounce. Warn about out of range context
indices. Use more MPILIB defines where possible. Replace bzero with
memset. Add tons more KASSERTS. Do a *lot* more request free list
auditting and serial number usages. Get rid of the warning about
the short IOC Facts Reply.  Go back to 16 bits of context index.

Do a lot more target state auditting as well. Make a tag out
of not only the ioindex but the request index as well and worry
less about keeping a full serial number.
2006-04-01 07:12:18 +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 some of the previus changes 'better'. 2006-04-01 07:12:18 +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 Fix some of the previus changes 'better'. 2006-04-01 07:12:18 +00:00
mpt_pci.c Fix some of the previus changes 'better'. 2006-04-01 07:12:18 +00:00
mpt_raid.c Some fairly major changes to this driver. 2006-03-25 07:08:27 +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 Some fairly major changes to this driver. 2006-03-25 07:08:27 +00:00
mpt.c Fix some of the previus changes 'better'. 2006-04-01 07:12:18 +00:00
mpt.h Fix some of the previus changes 'better'. 2006-04-01 07:12:18 +00:00