Re: [PATCH] parport_pc.c PnP BIOS sanity check

Gunther Mayer (Gunther.Mayer@t-online.de)
Fri, 21 Sep 2001 20:09:10 +0200


Thomas Hood wrote:
>
> I'm still wondering why this function in parport_pc.c rejects dma
> values of zero. Is DMA0 not usable by the parallel port for some
> reason? I should think that if the PnP BIOS returns a dma of zero
> then it means that the parallel port is using DMA0. Sorry if I'm
> being obtuse. // Thomas Hood

1)
I think I saw some BIOS report DMA0 for "none" (could even have
been ACPI which is returning PNP formatted legacy resource data).

2)
I have never seen DMA0 for parport configured by a BIOS.

3)
Try "lssuperio" if you want the real hardware thing.

This qualifies the code as it is as a sanity check.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/