patch-2.4.10 linux/arch/ppc/8xx_io/enet.c
Next file: linux/arch/ppc/8xx_io/fec.c
Previous file: linux/arch/ppc/8xx_io/Makefile
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Sep 2 07:48:02 2001
- Orig file:
v2.4.9/linux/arch/ppc/8xx_io/enet.c
- Orig date:
Mon May 21 17:04:46 2001
diff -u --recursive --new-file v2.4.9/linux/arch/ppc/8xx_io/enet.c linux/arch/ppc/8xx_io/enet.c
@@ -651,11 +651,10 @@
volatile scc_t *sccp;
volatile scc_enet_t *ep;
volatile immap_t *immap;
- extern unsigned long _get_IMMR(void);
cp = cpmp; /* Get pointer to Communication Processor */
- immap = (immap_t *)(_get_IMMR() & 0xFFFF0000); /* and to internal registers */
+ immap = (immap_t *)(mfspr(IMMR) & 0xFFFF0000); /* and to internal registers */
bd = (bd_t *)__res;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)