From: Geert U. <ge...@li...> - 2000-08-02 19:39:57
|
On Tue, 1 Aug 2000 fh...@at... wrote: > I'm going to try the 53c770 driver as memory mapped, when I > compile it that way and try to insert the module I get > undefined symbols readw_l2b, writew_b2l, writel_b2l, and > readl_l2b. Does anyone know what these are? I've assumed > that b2l means "big to little" etc. I'm not totally sure I should get > those errors though because I believe the Power PC and 53c770 are both big > endian. While grep'ing for readw_l2b, I saw that you have to add your own definitions to sym53c8xx_defs.h. It seems like sym53c8xx_defs.h contains support for PIO on PPC only, not for MMIO. 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. Good luck! 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 |