patch-2.1.132 linux/arch/ppc/8xx_io/enet.c

Next file: linux/arch/ppc/Makefile
Previous file: linux/arch/m68k/mvme16x/16xints.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/arch/ppc/8xx_io/enet.c linux/arch/ppc/8xx_io/enet.c
@@ -1,4 +1,5 @@
 /*
+ * $Id: enet.c,v 1.8 1998/11/15 19:58:07 cort Exp $
  * Ethernet driver for Motorola MPC8xx.
  * Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
  *
@@ -657,7 +658,7 @@
 
 	cp = cpmp;	/* Get pointer to Communication Processor */
 
-	immap = (immap_t *)MBX_IMAP_ADDR;	/* and to internal registers */
+	immap = (immap_t *)IMAP_ADDR;	/* and to internal registers */
 
 	/* Allocate some private information.
 	*/
@@ -719,11 +720,11 @@
 	 * These are relative offsets in the DP ram address space.
 	 * Initialize base addresses for the buffer descriptors.
 	 */
-	i = mbx_cpm_dpalloc(sizeof(cbd_t) * RX_RING_SIZE);
+	i = m8xx_cpm_dpalloc(sizeof(cbd_t) * RX_RING_SIZE);
 	ep->sen_genscc.scc_rbase = i;
 	cep->rx_bd_base = (cbd_t *)&cp->cp_dpmem[i];
 
-	i = mbx_cpm_dpalloc(sizeof(cbd_t) * TX_RING_SIZE);
+	i = m8xx_cpm_dpalloc(sizeof(cbd_t) * TX_RING_SIZE);
 	ep->sen_genscc.scc_tbase = i;
 	cep->tx_bd_base = (cbd_t *)&cp->cp_dpmem[i];
 
@@ -912,4 +913,3 @@
 
 	return 0;
 }
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov