patch-2.3.42 linux/include/asm-sparc/scatterlist.h
Next file: linux/include/asm-sparc/siginfo.h
Previous file: linux/include/asm-sparc/sbus.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Jan 31 23:37:19 2000
- Orig file:
v2.3.41/linux/include/asm-sparc/scatterlist.h
- Orig date:
Tue Jan 4 13:57:19 2000
diff -u --recursive --new-file v2.3.41/linux/include/asm-sparc/scatterlist.h linux/include/asm-sparc/scatterlist.h
@@ -1,4 +1,4 @@
-/* $Id: scatterlist.h,v 1.4 1999/12/27 06:37:20 anton Exp $ */
+/* $Id: scatterlist.h,v 1.5 2000/01/29 16:27:07 jj Exp $ */
#ifndef _SPARC_SCATTERLIST_H
#define _SPARC_SCATTERLIST_H
@@ -13,6 +13,9 @@
__u32 dvma_address; /* A place to hang host-specific addresses at. */
__u32 dvma_length;
};
+
+#define sg_dma_address(sg) ((sg)->dvma_address)
+#define sg_dma_len(sg) ((sg)->dvma_length)
#define ISA_DMA_THRESHOLD (~0UL)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)