From: hydra Date: Wed, 4 Oct 2000 14:48:30 +0000 (+0000) Subject: Fix the CLKRT setting for the FADS board. Specifically for the FADS850SAR, X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=1c33c01a1c3ea73120180d284a60c25ef2729137;p=users%2Frw%2Fppcboot.git Fix the CLKRT setting for the FADS board. Specifically for the FADS850SAR, but I think this is a general FADS850 setting (or any mpc where the ethernet runs on scc2). Also, add some commentary to the defines for the various port line settings. --- diff --git a/include/commproc.h b/include/commproc.h index 800be99..4837639 100644 --- a/include/commproc.h +++ b/include/commproc.h @@ -437,16 +437,16 @@ typedef struct scc_enet { #define PROFF_ENET PROFF_SCC2 #define CPM_CR_ENET CPM_CR_CH_SCC2 #define SCC_ENET 1 -#define PA_ENET_RXD ((ushort)0x0004) -#define PA_ENET_TXD ((ushort)0x0008) -#define PA_ENET_RCLK ((ushort)0x0200) -#define PA_ENET_TCLK ((ushort)0x0800) -#define PB_ENET_TENA ((uint)0x00002000) -#define PC_ENET_CLSN ((ushort)0x0040) -#define PC_ENET_RENA ((ushort)0x0080) +#define PA_ENET_RXD ((ushort)0x0004) /* PA 13 */ +#define PA_ENET_TXD ((ushort)0x0008) /* PA 12 */ +#define PA_ENET_RCLK ((ushort)0x0200) /* PA 6 */ +#define PA_ENET_TCLK ((ushort)0x0800) /* PA 4 */ +#define PB_ENET_TENA ((uint)0x00002000) /* PB 18 */ +#define PC_ENET_CLSN ((ushort)0x0040) /* PC 9 */ +#define PC_ENET_RENA ((ushort)0x0080) /* PC 8 */ #define SICR_ENET_MASK ((uint)0x0000ff00) -#define SICR_ENET_CLKRT ((uint)0x00003d00) +#define SICR_ENET_CLKRT ((uint)0x00002f00) /* RCLK-CLK2, TCLK-CLK4 */ #endif /* CONFIG_FADS850SAR */ /*** BSEIP **********************************************************/