On Thu, 6 Jan 2005, Herbert Valerio Riedel wrote: > jfyi, this change broke mtd and au1xxx-usb on big endian au1xxx systems, > as the _raw calls do suddenly byteswapping :-( > > was this intended? It was. Generic code elsewhere expects it and the MIPS implementation used to be broken because of that. Note these functions are intended for PCI/EISA/ISA accesses only and these buses are little-endian by definition. More specifically __raw_ calls are mainly for PIO copying to/from memory over these buses when you want to keep byte ordering the same as it would be for a DMA transfer. If you have a driver that handles a non-PCI/EISA/ISA device you may and probably should use bus_ calls to get a non-swapped access. Maciej