Minor cleanup. Signed-off-by: Brandon Philips <bphilips@xxxxxxx> --- drivers/ide/it821x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6/drivers/ide/it821x.c =================================================================== --- linux-2.6.orig/drivers/ide/it821x.c +++ linux-2.6/drivers/ide/it821x.c @@ -563,8 +563,7 @@ static void __devinit init_hwif_it821x(i * 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) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html