Messages in this thread | | | Subject | Re: reserve legacy io regions on powermac | From | Albert Cahalan <> | Date | 21 Jul 2004 20:59:06 -0400 |
| |
I think a great many drivers could be cleaned up by making IO fail if the proper IO address cookies haven't been obtained. This might be done with byteswapping, XOR, addition, putting a checksum in the top 2 bytes of a 64-bit cookie, or simply tracking where an ioremap has been done. Then the read and write operations can check this.
In general, make IO fail if a driver doesn't play by the rules.
Perhaps some of the low memory-mapped stuff on x86 could be moved.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |