summaryrefslogtreecommitdiff
path: root/include/commproc.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-06-26 22:04:09 +0000
committerwdenk <wdenk>2003-06-26 22:04:09 +0000
commit993cad9364c6b87ae429d1ed1130d8153f6f027e (patch)
tree43faaa643caeaacec331db78850a5a4834bad354 /include/commproc.h
parentb783edaee8252bfdba3f7b3fd29519a81ce71e42 (diff)
* Patches by Robert Schwebel, 26 Jun 2003:U-Boot-0_4_0
- logdl - csb226 - innokom * Patch by Pantelis Antoniou, 25 Jun 2003: update NetVia with V2 board support
Diffstat (limited to 'include/commproc.h')
-rw-r--r--include/commproc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/commproc.h b/include/commproc.h
index f0ee1792b2e..c10525d4e87 100644
--- a/include/commproc.h
+++ b/include/commproc.h
@@ -1191,7 +1191,12 @@ typedef struct scc_enet {
#define PA_ENET_RCLK ((ushort)0x0200) /* PA 6 */
#define PA_ENET_TCLK ((ushort)0x0800) /* PA 4 */
-#define PB_ENET_PDN ((ushort)0x4000) /* PB 17 */
+#if !defined(CONFIG_NETVIA_VERSION) || CONFIG_NETVIA_VERSION == 1
+# define PB_ENET_PDN ((ushort)0x4000) /* PB 17 */
+#elif CONFIG_NETVIA_VERSION >= 2
+# define PC_ENET_PDN ((ushort)0x0008) /* PC 12 */
+#endif
+
#define PB_ENET_TENA ((ushort)0x2000) /* PB 18 */
#define PC_ENET_CLSN ((ushort)0x0040) /* PC 9 */