patch-2.4.21 linux-2.4.21/include/asm-ia64/sn/pci/pciba.h
Next file: linux-2.4.21/include/asm-ia64/sn/pci/pcibr.h
Previous file: linux-2.4.21/include/asm-ia64/sn/pci/pci_defs.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-ia64/sn/pci/pciba.h
- Orig date:
2002-08-02 17:39:45.000000000 -0700
diff -urN linux-2.4.20/include/asm-ia64/sn/pci/pciba.h linux-2.4.21/include/asm-ia64/sn/pci/pciba.h
@@ -3,7 +3,7 @@
* Public License. See the file "COPYING" in the main directory of
* this archive for more details.
*
- * Copyright (C) 1997, 2001 Silicon Graphics, Inc. All rights reserved.
+ * Copyright (C) 1997, 2001-2002 Silicon Graphics, Inc. All rights reserved.
*
*/
@@ -91,6 +91,13 @@
#define PCIIOCDMAALLOC _IOWR(0,1,uint64_t)
#define PCIIOCDMAFREE _IOW(0,1,uint64_t)
+/* pio cache-mode ioctl defines. current only uncached accelerated */
+#define PCIBA_CACHE_MODE_SET 1
+#define PCIBA_CACHE_MODE_CLEAR 2
+#ifdef PIOMAP_UNC_ACC
+#define PCIBA_UNCACHED_ACCEL PIOMAP_UNC_ACC
+#endif
+
/* The parameter for PCIIOCDMAALLOC needs to contain
* both the size of the request and the flag values
* to be used in setting up the DMA.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)