Re: [PATCH] support HDIO_GET_IDENTITY in libata

From: Erik Andersen
Date: Thu Dec 14 2006 - 15:41:06 EST


On Thu Dec 14, 2006 at 03:31:30PM -0500, Jeff Garzik wrote:
> Erik Andersen wrote:
> >+ if (!atapi_enabled && dev->class == ATA_DEV_ATAPI) {
>
> This seems like an impossible condition?

Hmm, suppose so. Do you think that simply doing:
if (dev->class == ATA_DEV_ATAPI) {
here would be sufficient?

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/