diff options
author | wdenk <wdenk> | 2002-11-05 16:35:14 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-11-05 16:35:14 +0000 |
commit | 56f94be3ef63732384063e110277ed89701b6471 (patch) | |
tree | 6c7acdd32964b741cb69a8f0b03d5b9891587458 /include/commproc.h | |
parent | 384ae02506f0673070a3516b1858f058a07f85f3 (diff) |
* Add support for log buffer which can be passed to Linux kernel'sLABEL_2002_11_05_1735
syslog mechanism; used especially for POST results.
* Patch by Klaus Heydeck, 31 Oct 2002:
Add initial support for kup4k board
Diffstat (limited to 'include/commproc.h')
-rw-r--r-- | include/commproc.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/commproc.h b/include/commproc.h index fb6ec007192..6357fe3b664 100644 --- a/include/commproc.h +++ b/include/commproc.h @@ -937,6 +937,37 @@ typedef struct scc_enet { #endif /* CONFIG_IVMS8, CONFIG_IVML24 */ +/*** KUP4K *********************************************************/ +/* The KUP4K uses the FEC on a MPC855T for Ethernet */ + +#if defined(CONFIG_KUP4K) + +#define FEC_ENET /* use FEC for EThernet */ +#undef SCC_ENET + +#define PB_ENET_POWER ((uint)0x00010000) /* PB 15 */ + +#define PC_ENET_RESET ((ushort)0x0010) /* PC 11 */ + +#define PD_MII_TXD1 ((ushort)0x1000) /* PD 3 */ +#define PD_MII_TXD2 ((ushort)0x0800) /* PD 4 */ +#define PD_MII_TXD3 ((ushort)0x0400) /* PD 5 */ +#define PD_MII_RX_DV ((ushort)0x0200) /* PD 6 */ +#define PD_MII_RX_ERR ((ushort)0x0100) /* PD 7 */ +#define PD_MII_RX_CLK ((ushort)0x0080) /* PD 8 */ +#define PD_MII_TXD0 ((ushort)0x0040) /* PD 9 */ +#define PD_MII_RXD0 ((ushort)0x0020) /* PD 10 */ +#define PD_MII_TX_ERR ((ushort)0x0010) /* PD 11 */ +#define PD_MII_MDC ((ushort)0x0008) /* PD 12 */ +#define PD_MII_RXD1 ((ushort)0x0004) /* PD 13 */ +#define PD_MII_RXD2 ((ushort)0x0002) /* PD 14 */ +#define PD_MII_RXD3 ((ushort)0x0001) /* PD 15 */ + +#define PD_MII_MASK ((ushort)0x1FFF) /* PD 3...15 */ + +#endif /* CONFIG_KUP4K */ + + /*** LANTEC *********************************************************/ #if defined(CONFIG_LANTEC) && CONFIG_LANTEC >= 2 |