Messages in this thread | | | Subject | Re: List of drivers that dereference ioremap return | From | Jes Sorensen <> | Date | 11 Aug 2000 00:00:46 +0200 |
| |
>>>>> "Abramo" == Abramo Bagnara <abramo@alsa-project.org> writes:
Abramo> This is the list I deduce from 2.4.0-test6 with the code lines Abramo> that show this.
Abramo> I think this stuff need to be reported in 2.4 and in 2.2 TODOs Abramo> (for the relevant part).
Abramo> ./drivers/video/retz3fb.c:1400: zinfo->base = Abramo> ioremap(board_addr, board_size); Abramo> ./drivers/video/retz3fb.c:958: volatile unsigned char *acm = Abramo> zinfo->base + ACM_OFFSET; ./drivers/video/retz3fb.c:963: Abramo> blt_status = *((acm) + (ACM_START_STATUS + 2));
Abramo> ./drivers/video/virgefb.c:1160: CyberVGARegs = (unsigned Abramo> long)ioremap(board_addr+0x0c000000, 0x00010000); Abramo> ./drivers/video/virgefb.c:57: (*((unsigned char Abramo> *)(CyberVGARegs + (reg ^ 3))) = dat); \
These two are safe, they are both drivers for Amiga video cards, ie. the ioremap is not a PCI remap but a Zorro III one where it is valid to dereference what comes back.
Jes
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |