]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] Pass proper device from BusLogic to SCSI layer
authorPetr Vandrovec <petr@vmware.com>
Wed, 11 Jan 2006 19:31:07 +0000 (11:31 -0800)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 12 Jan 2006 21:26:13 +0000 (15:26 -0600)
commiteb55d084fa404c49fef95c3ea65b87a1d4e150ee
treed03b234d62a611a2d2f29aeac9b13efee0bd5c5c
parent0ae4a251617d679cae9dccb55942cbc0a8b5e3d2
[SCSI] Pass proper device from BusLogic to SCSI layer

While trying to get SUSE's SLES9 working on system with more than 4GB we've
noticed that SCSI layer happilly passes addresses over 4GB to the buslogic
driver, which is quite a big problem as buslogic can generate only 32bit
busmastering cycles.

Fortunately in the current kernels this problem does not exist anymore as
SCSI layer now assumes 4GB capable device by default, but it is still good
idea to pass correct device structure to the SCSI layer.  If nothing else,
/sys/block/sda/device now points to
/sys/devices/pci0000:00/0000:00:10.0/host0/...  instead of
/sys/devices/platform/host0/...  like it did in the past.

Change does nothing for ISA based BusLogic adapters, they'll still end
under platform (and they are probably broken for long time as I do not see
anything forcing ISA 16MB limit for them).

Signed-off-by: Petr Vandrovec <petr@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/BusLogic.c