Two key points here --
* isa_xxx are only to ease the transition to newstyle ioremap. if you
are hacking code, go ahead and update it to use
ioremap/readX/writeX/iounmap.
* You can never directly use a struct to access an offset in MMIO
space. To do so is broken and bad bad bad. The only acceptable way is
my_struct = ioremap (...);
my_reg = readb(&my_struct->foo_register);
I much prefer to avoid structs, and use macros to access registers
instead:
my_reg = RTL_R8 (FooRegisterConstant);
Regards,
Jeff
-- Jeff Garzik | "Vegetarian" is the Indian word Building 1024 | for 'lousy hunter.' MandrakeSoft, Inc. |- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/