Messages in this thread | | | Subject | Re: New resources - pls, explain :-( | From | Jes Sorensen <> | Date | 13 Aug 1999 14:08:09 +0200 |
| |
>>>>> "Jakub" == Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> writes:
Jakub> Actually, I think it is a bad idea to call the routines Jakub> readl_*, because the name is pure intelism. It would be much Jakub> better to have some more descriptive names, like:
Jakub> read_le16(), write_le16() ... read_le32(), write_le32() Jakub> read_be32(), write_be32() read_ne32(), write_ne32() ... Jakub> #define readw read_le16 #define writew write_le16 ... #define Jakub> readl read_le32 #define writel write_le32
In that case it would be more better to rename them to pci_read_foo() to avoid any confusion in the future.
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/
| |