]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 30 Aug 2005 16:48:07 +0000 (11:48 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 13 Sep 2005 19:24:48 +0000 (14:24 -0500)
commit3a96c17de38578faf82875dd77b7dbccceecba82
tree66e7c34459c41b4ade0d202258184fb2df84e907
parentb8758353b1e67b7eef91ff285bbd0b18a5d9eab1
[SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions

This patch moves aic7xxx over to the dma_get_required_mask() API and
dumps its open coded memory check.

It also appears from this bug:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167049

That 39 bit addressing doesn't work on older cards.  I surmise that the
AHC_LARGE_SCBS flag is the one that marks cards capable of using 39 bit
addressing, so I also folded that check into the code.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.h
drivers/scsi/aic7xxx/aic7xxx_osm_pci.c