i'm perusing the various scatterlist.h header files, and i can see where almost all arches define the convenience macros: #define sg_dma_address(sg) ((sg)->dma_address) #define sg_dma_len(sg) ((sg)->dma_length) but i just noticed the h8300 arch doesn't in *its* header file: ... struct scatterlist { #ifdef CONFIG_DEBUG_SG unsigned long sg_magic; #endif unsigned long page_link; unsigned int offset; dma_addr_t dma_address; unsigned int length; }; #define ISA_DMA_THRESHOLD (0xffffffff) ... and i don't see where else it might be getting those macro definitions from. doesn't every architecture *have* to define these macros somewhere? thanks. rday p.s. there are a couple architectures that don't define those macros in their scatterlist.h, but still define them elsewhere. for example, the FRV arch (just to be different) defines them in its dma-mapping.h file. but h8300 doesn't appear to define them *anywhere*, unless i just missed it. -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://crashcourse.ca ======================================================================== -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ