From: Geert U. <ge...@li...> - 2000-08-10 14:06:31
|
On Wed, 9 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: > > >Ideally, readl() and friends are meant for _PCI_ memory space only, and > >PCI is per definition little endian. > > Hmmm. So those functions are meant for folks that use PowerMacs? I was > thinking today that those functions had to be OK because APUS drivers must > use them. Perhaps this is not the case? They are used for PPC boxes with PCI. Hence the CyberversionPPC could use them as well. > >to sym53c8xx_defs.h (or use le32 if the wiring on the board turns out to > >be different), for clarity. > > I really don't want to open my Amiga to see how the '770 chip is wired to > the PPC. I'm not sure if I could tell by just looking at it anyway. It > is most likely possible to find out with a logic probe, since I think the > endianess is set by wiring some pins with the correct logic values. At > least I thought I read that somewhere. I did not mean you have to open it :-) It would indeed still be hard to find out... 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 |