[gPXE] [PATCH] [rtl818x] Remove broken mmio register support
Joshua Oreman
oremanj at rwcr.net
Sat Jan 23 03:34:13 EST 2010
On Fri, Jan 22, 2010 at 4:17 PM, Stefan Hajnoczi <stefanha at gmail.com> wrote:
> From e05770d6c4dffedae03aadbf28a23e2861a9bb2e Mon Sep 17 00:00:00 2001
> From: Stefan Hajnoczi <stefanha at gmail.com>
> Date: Fri, 22 Jan 2010 18:12:48 +0000
> Subject: [PATCH] [rtl818x] Remove broken mmio register support
>
> The rtl818x driver uses programmed I/O but has a fallback to
> memory-mapped I/O registers. The fallback currently will not work since
> the registers are accessed using inl()/outl() programmed I/O functions
> in the driver. This patch removes the fallback to we fail cleanly when
> programmed I/O is not possible.
The code in question is straight from the Linux driver; I'm pretty
sure it's meant to handle cards where the order of the BARs is mixed
up. Is this patch based on theory or do you have a testcase for it?
-- Josh
More information about the gPXE
mailing list