The scatterlist only needs 16 bits for length/offset because PAGE_SIZE is 4K Signed-off-by: Stephen Hemminger --- a/include/asm-i386/scatterlist.h 2007-07-05 14:37:11.000000000 -0700 +++ b/include/asm-i386/scatterlist.h 2007-07-05 15:44:51.000000000 -0700 @@ -5,9 +5,9 @@ struct scatterlist { struct page *page; - unsigned int offset; dma_addr_t dma_address; - unsigned int length; + u16 offset; + u16 length; }; /* These macros should be used after a pci_map_sg call has been done --- a/include/asm-x86_64/scatterlist.h 2007-07-05 14:37:11.000000000 -0700 +++ b/include/asm-x86_64/scatterlist.h 2007-07-05 15:46:49.000000000 -0700 @@ -5,10 +5,10 @@ struct scatterlist { struct page *page; - unsigned int offset; - unsigned int length; dma_addr_t dma_address; unsigned int dma_length; + u16 offset; + u16 length; }; #define ISA_DMA_THRESHOLD (0x00ffffff) -- Stephen Hemminger - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html