sata_mv ncq Restrict max sectors to 8-bits on GenII NCQ
authorMark Lord <liml@rtr.ca>
Sat, 26 Jan 2008 23:32:29 +0000 (18:32 -0500)
committerJeff Garzik <jeff@garzik.org>
Fri, 1 Feb 2008 16:29:47 +0000 (11:29 -0500)
The GenII chips have only 8-bits for the sector_count field when performing NCQ.
Add a dev_config method to restrict this when necessary, taking care not to
override any other restriction already in place (likely none, but someday.. ?).

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found