Unfortunately, these functions won't work "as is" on all architectures.
Even if the IO port space is mapped somewhere in the CPU memory space,
this doesn't mean that the mapping is linear - look at parisc inX/outX
functions, for example.
In other words, you cannot portably use readX/writeX instead of inX/outX.
Ivan.
-
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/