diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2008-04-26 17:36:31 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-26 17:36:31 +0200 |
commit | 1baccff8a5823b51d7bf2740ef3ef17e06bfa7e2 (patch) | |
tree | bae9585842faf07f8c5f05f19df43a0d79241f51 /drivers/watchdog/sbc8360.c | |
parent | ide/Kconfig: BLK_DEV_4DRIVES should be a tristate (diff) | |
download | linux-1baccff8a5823b51d7bf2740ef3ef17e06bfa7e2.tar.xz linux-1baccff8a5823b51d7bf2740ef3ef17e06bfa7e2.zip |
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 <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/watchdog/sbc8360.c')
0 files changed, 0 insertions, 0 deletions