diff options
-rw-r--r-- | drivers/ide/it821x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/it821x.c b/drivers/ide/it821x.c index 983440a9a5f7..e1c4f5437396 100644 --- a/drivers/ide/it821x.c +++ b/drivers/ide/it821x.c @@ -560,8 +560,7 @@ static void __devinit init_hwif_it821x(ide_hwif_t *hwif) * this is necessary. */ - pci_read_config_byte(dev, 0x08, &conf); - if (conf == 0x10) { + if (dev->revision == 0x10) { idev->timing10 = 1; hwif->host_flags |= IDE_HFLAG_NO_ATAPI_DMA; if (idev->smart == 0) |