Re: [PATCH 2/2] libata: pata_platform: Support polling-mode configuration.

Alan Cox
2007-11-07T13:10:42Z

> + * Use polling mode if there's no IRQ
> + */
> + if (irq < 0) {
> + ap->flags |= ATA_FLAG_PIO_POLLING;
> + ata_port_desc(ap, "no IRQ, using PIO polling");
> + }
> +
> + /*

Zero means no IRQ. Not < 0. We enforce that policy across the kernel and
Linus has been very clear about it.