From: Geert U. <ge...@li...> - 2000-08-10 14:06:18
|
On Thu, 10 Aug 2000 fh...@at... wrote: > In <Pine.LNX.4.10.10008091645550.416-100000@cassiopeia.home>, on 08/09/00 > at 04:56 PM, Geert Uytterhoeven <ge...@li...> said: > > >On Wed, 9 Aug 2000 hei...@at... wrote: > > >OK, so you know at least how to access the least significant short. Now > >you have to find out where the upper part went to, or where it has to go > >to. > > >Is there any read register for which you can guess what you should read? > >Some chip id or revision number register? > > I inserted the in_be32 and out_be32 instructions in the driver code. Now > when I write 0xee00ff11 to a 32 bit register I get back "2". That's > right..."2". > > This is just too wierd... You did take into account that writel_l2b(), writel(), out_be32() and out_le32() all don't use the same order of the arguments? 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 |