Re: PCI drivers - memory mapped vs. I/O ports

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Mar 18 2002 - 15:32:09 EST


> If a PCI device can be programmed equally well via I/O port space or memory
> space, what are the reasons to chose one space over the other when writing
> the driver?

mmio is posted on a PC i/o ports are not. That means you have to be more
careful but also means that

        write
        write
        write
        read

is a lot faster

-
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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:16 EST