Re: [RFC] I/O Access Abstractions

David Howells
2001-07-02T15:57:59Z

> #ifdef OUT_OF_LINE_MMIO
> #define res_readb(res, adr) (res->access_ops->readb(res, adr)
> #else
> #define res_readb(res, adr) readb(adr)
> #endif

I think the second #define should be:

#define res_readb(res, adr) readb(res->start+adr)

for consistency.

David