]> err.no Git - linux-2.6/commit
[SCSI] aic79xx: use dma_get_required_mask()
authorHannes Reinecke <hare@suse.de>
Wed, 7 Feb 2007 08:47:44 +0000 (09:47 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 10 Feb 2007 18:58:06 +0000 (12:58 -0600)
commit19966769f9fc1968dcf5bffec2e53f7f40100872
treec3ad06b0e898a9faa9a8ae61b50d29d99e043fc7
parent55048021177eee956af88333ec4565919c8567e4
[SCSI] aic79xx: use dma_get_required_mask()

As originally noted by Frederic Temporelli, the aic79xx supports 64
bit addressing, but the initialization code of the driver is wrong: it
tests the available memory size instead of testing the maximum
available memory address.

This patch uses the correct dma_get_required_mask() macros to
determine the correct addressing method.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: Xavier Bru <xavier.bru@bull.net>
CC: Frederic Temporelli <frederic.temporelli@bull.net>
cosmetic fixes
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_osm.h
drivers/scsi/aic7xxx/aic79xx_osm_pci.c