|
@@ -480,28 +480,6 @@ typedef struct scc_enet {
|
|
|
#define SICR_ENET_CLKRT ((uint)0x0000003d)
|
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_BSEIP
|
|
|
-/* This ENET stuff is for the MPC823 with ethernet on SCC2.
|
|
|
- * This is unique to the BSE ip-Engine board.
|
|
|
- */
|
|
|
-#define PA_ENET_RXD ((ushort)0x0004)
|
|
|
-#define PA_ENET_TXD ((ushort)0x0008)
|
|
|
-#define PA_ENET_TCLK ((ushort)0x0100)
|
|
|
-#define PA_ENET_RCLK ((ushort)0x0200)
|
|
|
-#define PB_ENET_TENA ((uint)0x00002000)
|
|
|
-#define PC_ENET_CLSN ((ushort)0x0040)
|
|
|
-#define PC_ENET_RENA ((ushort)0x0080)
|
|
|
-
|
|
|
-/* BSE uses port B and C bits for PHY control also.
|
|
|
-*/
|
|
|
-#define PB_BSE_POWERUP ((uint)0x00000004)
|
|
|
-#define PB_BSE_FDXDIS ((uint)0x00008000)
|
|
|
-#define PC_BSE_LOOPBACK ((ushort)0x0800)
|
|
|
-
|
|
|
-#define SICR_ENET_MASK ((uint)0x0000ff00)
|
|
|
-#define SICR_ENET_CLKRT ((uint)0x00002c00)
|
|
|
-#endif
|
|
|
-
|
|
|
/* SCC Event register as used by Ethernet.
|
|
|
*/
|
|
|
#define SCCE_ENET_GRA ((ushort)0x0080) /* Graceful stop complete */
|
|
@@ -671,7 +649,7 @@ typedef struct scc_trans {
|
|
|
/* #define CPMVEC_PIO_PC4 ((ushort)0x01) */
|
|
|
/* #define CPMVEC_ERROR ((ushort)0x00) */
|
|
|
|
|
|
-extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id);
|
|
|
+extern void cpm_install_handler(int vec, irq_handler_t handler, void *dev_id);
|
|
|
|
|
|
/* CPM interrupt configuration vector.
|
|
|
*/
|