X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fide%2Fit821x.c;h=13b8153112edf3394235f3009aaefd18e1197bc4;hb=18963caaf55240d6a0491bdb27b7fef2882ffb15;hp=983440a9a5f764973bf6b2a6dafeba608a57f70b;hpb=b94b898f3107046b5c97c556e23529283ea5eadd;p=linux-2.6-omap-h63xx.git diff --git a/drivers/ide/it821x.c b/drivers/ide/it821x.c index 983440a9a5f..13b8153112e 100644 --- a/drivers/ide/it821x.c +++ b/drivers/ide/it821x.c @@ -5,9 +5,8 @@ * May be copied or modified under the terms of the GNU General Public License * Based in part on the ITE vendor provided SCSI driver. * - * Documentation available from - * http://www.ite.com.tw/pc/IT8212F_V04.pdf - * Some other documents are NDA. + * Documentation: + * Datasheet is freely available, some other documents under NDA. * * The ITE8212 isn't exactly a standard IDE controller. It has two * modes. In pass through mode then it is an IDE controller. In its smart @@ -560,8 +559,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)