From: Geert U. <ge...@li...> - 2000-08-08 13:50:21
|
On Mon, 7 Aug 2000 fh...@at... wrote: > In <Pine.LNX.4.10.10008021416290.427-100000@cassiopeia.home>, on 08/02/00 > at 02:21 PM, Geert Uytterhoeven <ge...@li...> said: > > >On Tue, 1 Aug 2000 fh...@at... wrote: > > >Depending on the wanted endiannes (I don't know how the 53c770 is > >connected to the PPC bus, it could be byte swapped), you should map e.g. > >writel_b2l() to out_be32() or out_le32(). Note that arguments for writel > >and out_*32 are in a different order. > > How would I find out? I tried sending a message to Ralph Schmidt but so > far I have received no answer. Attached is my latest dmesg after > compiling the driver as MMIO. I guess I now have to learn about SCSI > scripts. Any pointers? By reading a register for which you (partially) know the contents. If you read back what you'd expect, you're reading in the correct endianness. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |