Re: [PATCH]: libata-core: Add support for ATA_HORKAGE_DIAGNOSTIC

2007-03-09 Thread Jeff Garzik
Alan Cox wrote: -if (print_info) { +if (print_info && !(ata_device_blacklisted(dev) & ATA_HORKAGE_DIAGNOSTIC)) { ata_dev_printk(dev, KERN_WARNING, "Drive reports diagnostics failure. This may indicate a drive\n"); a

Re: [PATCH]: libata-core: Add support for ATA_HORKAGE_DIAGNOSTIC

2007-03-09 Thread Alan Cox
> > -if (print_info) { > > +if (print_info && !(ata_device_blacklisted(dev) & > > ATA_HORKAGE_DIAGNOSTIC)) { > > ata_dev_printk(dev, KERN_WARNING, > > "Drive reports diagnostics failure. This may indicate a drive\n"); > > ata

Re: [PATCH]: libata-core: Add support for ATA_HORKAGE_DIAGNOSTIC

2007-03-09 Thread Jeff Garzik
Alan Cox wrote: If we find the device has broken diagnostics then don't report this if we expect it to. Needed for the Gigabyte i-RAM. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.21-rc3-mm2/drivers/ata/libata-core

[PATCH]: libata-core: Add support for ATA_HORKAGE_DIAGNOSTIC

2007-03-08 Thread Alan Cox
If we find the device has broken diagnostics then don't report this if we expect it to. Needed for the Gigabyte i-RAM. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.21-rc3-mm2/drivers/ata/libata-core.c linux-2.6.21-r