Jim Harris dfbc6dc2fa Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing
to map, and technically this isn't allowed.

Functionally, it works OK (at least on x86) to call bus_dmamap_load with
a NULL data pointer and zero length, so this is primarily for correctness
and consistency with other drivers.

While here, remove check in isci_io_request_construct for nseg==0.
Previously, bus_dmamap_load would pass nseg==1, even for case where
buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs
to get processed.  This check is not correct though, and needed to be
removed both for the changes elsewhere in this patch, as well as jeff's
preliminary bus_dmamap_load_ccb patch (which uncovered all of this in
the first place).

MFC after:	3 days
2012-12-05 20:21:33 +00:00
..
2012-06-06 09:07:50 +00:00
2012-09-14 21:28:56 +00:00
2012-10-09 06:15:16 +00:00
2012-09-20 10:07:31 +00:00
2012-11-07 07:00:59 +00:00
2012-07-28 21:56:24 +00:00
2012-03-27 15:13:12 +00:00
2012-10-16 09:57:34 +00:00
2012-08-06 08:58:54 +00:00
2012-10-26 20:24:13 +00:00
2012-11-23 19:20:38 +00:00
2012-01-15 13:23:43 +00:00
2012-10-10 08:36:38 +00:00
2012-07-26 13:58:43 +00:00
2012-09-18 02:19:43 +00:00
2012-11-22 03:54:51 +00:00
2012-07-28 21:56:24 +00:00
2012-01-15 13:23:18 +00:00
2012-10-10 08:36:38 +00:00
2012-06-10 11:17:14 +00:00
2012-10-10 08:36:38 +00:00
2012-11-03 22:21:37 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00