[POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the includes accordingly. Signed-off-by: Jochen Friedrich <jochen@scram.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Kumar Gala
parent
02753cb608
commit
b5677d848c
@@ -10,7 +10,7 @@
|
||||
* This version of the driver is somewhat selectable for the different
|
||||
* processor/board combinations. It works for the boards I know about
|
||||
* now, and should be easily modified to include others. Some of the
|
||||
* configuration information is contained in <asm/commproc.h> and the
|
||||
* configuration information is contained in <asm/cpm1.h> and the
|
||||
* remainder is here.
|
||||
*
|
||||
* Buffer descriptors are kept in the CPM dual port RAM, and the frame
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <asm/page.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/tlbflush.h>
|
||||
#include <asm/rheap.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* This version of the driver is somewhat selectable for the different
|
||||
* processor/board combinations. It works for the boards I know about
|
||||
* now, and should be easily modified to include others. Some of the
|
||||
* configuration information is contained in <asm/commproc.h> and the
|
||||
* configuration information is contained in <asm/cpm1.h> and the
|
||||
* remainder is here.
|
||||
*
|
||||
* Buffer descriptors are kept in the CPM dual port RAM, and the frame
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
/*
|
||||
@@ -80,7 +80,7 @@
|
||||
* programming documents for details unique to your board.
|
||||
*
|
||||
* For the TQM8xx(L) modules, there is no control register interface.
|
||||
* All functions are directly controlled using I/O pins. See <asm/commproc.h>.
|
||||
* All functions are directly controlled using I/O pins. See <asm/cpm1.h>.
|
||||
*/
|
||||
|
||||
/* The transmitter timeout
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
|
||||
#ifdef CONFIG_USE_MDIO
|
||||
/* Forward declarations of some structures to support different PHYs
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <asm/page.h>
|
||||
#include <asm/pgtable.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
|
||||
/*
|
||||
* I2C/SPI relocation patch arrays.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
|
||||
|
||||
/* IIC functions.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
|
||||
#ifdef CONFIG_MBX
|
||||
#define MBX_CSR1 ((volatile u_char *)0xfa100000)
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <asm/dcr.h>
|
||||
|
||||
#ifdef CONFIG_8xx
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#endif
|
||||
|
||||
extern void transfer_to_handler(void);
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <asm/time.h>
|
||||
#include <asm/ppcboot.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <asm/time.h>
|
||||
#include <asm/ppcboot.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
|
||||
extern unsigned char __res[];
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <linux/device.h>
|
||||
#include <linux/serial_8250.h>
|
||||
#include <linux/mii.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/irq.h>
|
||||
#include <asm/ppc_sys.h>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/mpc8xx.h>
|
||||
#include <asm/commproc.h>
|
||||
#include <asm/cpm1.h>
|
||||
|
||||
extern void xmon_printf(const char *fmt, ...);
|
||||
extern int xmon_8xx_write(char *str, int nb);
|
||||
|
||||
Reference in New Issue
Block a user