Messages in this thread | | | From | Grant Likely <> | Date | Fri, 8 Feb 2013 07:14:20 +0000 | Subject | Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be) |
| |
On Thu, Feb 7, 2013 at 11:05 PM, Arnd Bergmann <arnd@arndb.de> wrote: > On Thursday 07 February 2013, Grant Likely wrote: >> On Thu, Feb 7, 2013 at 3:28 PM, Alexey Brodkin > Of course, as long as the driver is only ever used to access > the same non-removable block device and you don't change > the driver, it does not matter at all whether you swap bytes > on the data port or not, because they are swapped on both > read and write, and it's just storage. Only if you try to > read the device with a "correct" driver, you will see a problem > if it was written with a "wrong" driver.
It's actually a removable compact flash card interface. I know that the current big-endian support code is correct because my laptop doesn't complain about the data. :-)
g.
| |