On di, 2006-12-19 at 03:09 +0000, Al Viro wrote:
If Kars doesn't respond, you can try
m68k-generic-io.diff
Hmm... That breaks when you have ISA && !PCI (e.g. amiga or q40 defconfig):
lib/built-in.o: In function `ioread32_rep':
(.text+0xc31a): undefined reference to `insl'
lib/built-in.o: In function `iowrite32_rep':
(.text+0xc43e): undefined reference to `outsl'
lib/built-in.o: In function `ioread32':
(.text+0xc7da): undefined reference to `readl'
lib/built-in.o: In function `iowrite32':
(.text+0xca6a): undefined reference to `writel'
I'm trying to fix these, but I have a problem: I don't know how to
define these for Q40_ISA, GG2_ISA and ENEC_ISA.
I have no idea how 32 bit bus accesses can be done there (if at all). I
know that for Amiga PCMCIA they "just work" if you use the 16-bit
offsets and do a 32-bit MMIO read or write.
And if they have to be implemented as 2 16-bit reads or writes, I don't
know in which order. Someone would have to find out.
There's also no raw_{in,out}sw_swapl() functions defined in
<asm-m68k/raw_io.h>.
Shall I just make them dummy functions for now, just like the !ISA && !
PCI case?
Kind regards,
Kars.
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html