patch-2.3.99-pre9 linux/include/asm-ppc/cpm_8260.h
Next file: linux/include/asm-ppc/init.h
Previous file: linux/include/asm-ppc/bitops.h
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Mon May 15 14:53:31 2000
- Orig file:
v2.3.99-pre8/linux/include/asm-ppc/cpm_8260.h
- Orig date:
Thu May 11 15:30:08 2000
diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-ppc/cpm_8260.h linux/include/asm-ppc/cpm_8260.h
@@ -124,6 +124,14 @@
#define BD_SC_OV ((ushort)0x0002) /* Overrun */
#define BD_SC_CD ((ushort)0x0001) /* ?? */
+/* Function code bits, usually generic to devices.
+*/
+#define CPMFCR_GBL ((u_char)0x20) /* Set memory snooping */
+#define CPMFCR_EB ((u_char)0x10) /* Set big endian byte order */
+#define CPMFCR_TC2 ((u_char)0x04) /* Transfer code 2 value */
+#define CPMFCR_DTB ((u_char)0x02) /* Use local bus for data when set */
+#define CPMFCR_BDB ((u_char)0x01) /* Use local bus for BD when set */
+
/* Parameter RAM offsets from the base.
*/
#define PROFF_SCC1 ((uint)0x8000)
@@ -184,13 +192,6 @@
uint smc_stmp; /* SDMA Temp */
} smc_uart_t;
-/* Function code bits.
-*/
-#define SMC_GBL ((u_char)0x20) /* Set memory snooping */
-#define SMC_EB ((u_char)0x10) /* Set big endian byte order */
-#define SMC_TC2 ((u_char)0x04) /* Transfer code 2 value */
-#define SMC_DTB ((u_char)0x02) /* Use local bus when set */
-
/* SMC uart mode register (Internal memory map).
*/
#define SMCMR_REN ((ushort)0x0001)
@@ -336,10 +337,6 @@
uint scc_rcrc; /* Internal */
uint scc_tcrc; /* Internal */
} sccp_t;
-
-/* Function code bits.
-*/
-#define SCC_EB ((u_char)0x10) /* Set big endian byte order */
/* CPM Ethernet through SCC1.
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)