aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/setup-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/setup-pci.c')
-rw-r--r--drivers/ide/setup-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/setup-pci.c b/drivers/ide/setup-pci.c
index 7347faf8bc41..8947597e6bec 100644
--- a/drivers/ide/setup-pci.c
+++ b/drivers/ide/setup-pci.c
@@ -320,7 +320,7 @@ static ide_hwif_t *ide_hwif_configure(struct pci_dev *dev,
320{ 320{
321 unsigned long ctl = 0, base = 0; 321 unsigned long ctl = 0, base = 0;
322 ide_hwif_t *hwif; 322 ide_hwif_t *hwif;
323 u8 bootable = (d->host_flags & IDE_HFLAG_BOOTABLE) ? 1 : 0; 323 u8 bootable = (d->host_flags & IDE_HFLAG_NON_BOOTABLE) ? 0 : 1;
324 struct hw_regs_s hw; 324 struct hw_regs_s hw;
325 325
326 if ((d->host_flags & IDE_HFLAG_ISA_PORTS) == 0) { 326 if ((d->host_flags & IDE_HFLAG_ISA_PORTS) == 0) {