]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] I2O: move pci_request_regions() just behind pci_enable_device()
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Thu, 12 Jan 2006 13:31:57 +0000 (08:31 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:54:54 +0000 (10:54 -0600)
commit9638d89a75776abc614c29cdeece0cc874ea2a4c
tree5d7ac840f1c79e7d0fd48f5df1ba7db7567499f5
parent560c26c8345509619c3575331b99b329b5de1054
[SCSI] I2O: move pci_request_regions() just behind pci_enable_device()

The problem in dpt_i2o could be the pci config space accesses it
triggers as it loads, dangerous to do if there is any I/O activity going
on in the other driver (probable if a boot driver I guess).

I approve this patch to dpt_i2o.c, and am applying it to the Adaptec
branch of the driver.

Thanks for the investigation Ryoji.

---

In linux 2.6.15, data transfer does hang when both dpt_i2o
and i2o_block drivers are loaded.
It seems that location of pci_request_regions() are wrong.
I moved it just behind pci_enable_device() like other drivers,
and it becomes fine.

Signed-off-by: Ryoji Kamei <kamei@miraclelinux.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/i2o/pci.c
drivers/scsi/dpt_i2o.c