aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-iop32x/iq31244.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-09-18 18:26:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-09-25 05:25:53 -0400
commitc852ac80440db9b0a47f48578e9c6303078abbc1 (patch)
tree0c7fc1ca7700b0196a20242ca306003db7e35fb6 /arch/arm/mach-iop32x/iq31244.c
parent475549faa161f4e002225f2ef75fdd2a6d83d151 (diff)
[ARM] 3832/1: iop3xx: coding style cleanup
Since the iop32x code isn't iop321-specific, and the iop33x code isn't iop331-specfic, do a s/iop321/iop32x/ and s/iop331/iop33x/, and tidy up the code to conform to the coding style guidelines somewhat better. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-iop32x/iq31244.c')
-rw-r--r--arch/arm/mach-iop32x/iq31244.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c
index 88b77d32b0ac..be4aedfa0de6 100644
--- a/arch/arm/mach-iop32x/iq31244.c
+++ b/arch/arm/mach-iop32x/iq31244.c
@@ -98,16 +98,16 @@ ep80219_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
98 98
99 if (slot == 0) { 99 if (slot == 0) {
100 /* CFlash */ 100 /* CFlash */
101 irq = IRQ_IOP321_XINT1; 101 irq = IRQ_IOP32X_XINT1;
102 } else if (slot == 1) { 102 } else if (slot == 1) {
103 /* 82551 Pro 100 */ 103 /* 82551 Pro 100 */
104 irq = IRQ_IOP321_XINT0; 104 irq = IRQ_IOP32X_XINT0;
105 } else if (slot == 2) { 105 } else if (slot == 2) {
106 /* PCI-X Slot */ 106 /* PCI-X Slot */
107 irq = IRQ_IOP321_XINT3; 107 irq = IRQ_IOP32X_XINT3;
108 } else if (slot == 3) { 108 } else if (slot == 3) {
109 /* SATA */ 109 /* SATA */
110 irq = IRQ_IOP321_XINT2; 110 irq = IRQ_IOP32X_XINT2;
111 } else { 111 } else {
112 printk(KERN_ERR "ep80219_pci_map_irq() called for unknown " 112 printk(KERN_ERR "ep80219_pci_map_irq() called for unknown "
113 "device PCI:%d:%d:%d\n", dev->bus->number, 113 "device PCI:%d:%d:%d\n", dev->bus->number,
@@ -134,18 +134,18 @@ iq31244_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
134 134
135 if (slot == 0) { 135 if (slot == 0) {
136 /* CFlash */ 136 /* CFlash */
137 irq = IRQ_IOP321_XINT1; 137 irq = IRQ_IOP32X_XINT1;
138 } else if (slot == 1) { 138 } else if (slot == 1) {
139 /* SATA */ 139 /* SATA */
140 irq = IRQ_IOP321_XINT2; 140 irq = IRQ_IOP32X_XINT2;
141 } else if (slot == 2) { 141 } else if (slot == 2) {
142 /* PCI-X Slot */ 142 /* PCI-X Slot */
143 irq = IRQ_IOP321_XINT3; 143 irq = IRQ_IOP32X_XINT3;
144 } else if (slot == 3) { 144 } else if (slot == 3) {
145 /* 82546 GigE */ 145 /* 82546 GigE */
146 irq = IRQ_IOP321_XINT0; 146 irq = IRQ_IOP32X_XINT0;
147 } else { 147 } else {
148 printk(KERN_ERR "iq31244_pci_map_irq() called for unknown " 148 printk(KERN_ERR "iq31244_pci_map_irq called for unknown "
149 "device PCI:%d:%d:%d\n", dev->bus->number, 149 "device PCI:%d:%d:%d\n", dev->bus->number,
150 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn)); 150 PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
151 irq = -1; 151 irq = -1;
@@ -206,7 +206,7 @@ static struct plat_serial8250_port iq31244_serial_port[] = {
206 { 206 {
207 .mapbase = IQ31244_UART, 207 .mapbase = IQ31244_UART,
208 .membase = (char *)IQ31244_UART, 208 .membase = (char *)IQ31244_UART,
209 .irq = IRQ_IOP321_XINT1, 209 .irq = IRQ_IOP32X_XINT1,
210 .flags = UPF_SKIP_TEST, 210 .flags = UPF_SKIP_TEST,
211 .iotype = UPIO_MEM, 211 .iotype = UPIO_MEM,
212 .regshift = 0, 212 .regshift = 0,
@@ -287,7 +287,7 @@ MACHINE_START(IQ31244, "Intel IQ31244")
287 .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc, 287 .io_pg_offst = ((IQ31244_UART) >> 18) & 0xfffc,
288 .boot_params = 0xa0000100, 288 .boot_params = 0xa0000100,
289 .map_io = iq31244_map_io, 289 .map_io = iq31244_map_io,
290 .init_irq = iop321_init_irq, 290 .init_irq = iop32x_init_irq,
291 .timer = &iq31244_timer, 291 .timer = &iq31244_timer,
292 .init_machine = iq31244_init_machine, 292 .init_machine = iq31244_init_machine,
293MACHINE_END 293MACHINE_END