From: Sergei Shtylyov Date: Sat, 26 Apr 2008 15:36:31 +0000 (+0200) Subject: ide: make ide_pci_check_iomem() actually work X-Git-Tag: v2.6.26-rc1~1044^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1baccff8a5823b51d7bf2740ef3ef17e06bfa7e2;p=pandora-kernel.git ide: make ide_pci_check_iomem() actually work This function didn't actually check if a given BAR is in I/O space because of using the bogus PCI_BASE_ADDRESS_IO_MASK (which equals ~3) to test the resource flags instead of IORESOURCE_IO -- fix this, make ide_hwif_configure() check the results failing if necessary, and move the printk() call to the failure path. Signed-off-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed