]> err.no Git - linux-2.6/blobdiff - arch/ppc/syslib/mpc10x_common.c
powerpc: Improve (in|out)_[bl]eXX() asm code
[linux-2.6] / arch / ppc / syslib / mpc10x_common.c
index 87065e2e4c5f726be73b004900a253052980e0cf..437a294527a9b52be26dcf3e3bda190f6894f2fe 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * arch/ppc/syslib/mpc10x_common.c
- *
  * Common routines for the Motorola SPS MPC106, MPC107 and MPC8240 Host bridge,
  * Mem ctlr, EPIC, etc.
  *
@@ -140,12 +138,12 @@ struct platform_device ppc_sys_platform_devices[] = {
        },
        [MPC10X_UART0] = {
                .name = "serial8250",
-               .id     = 0,
+               .id     = PLAT8250_DEV_PLATFORM,
                .dev.platform_data = serial_plat_uart0,
        },
        [MPC10X_UART1] = {
                .name = "serial8250",
-               .id     = 1,
+               .id     = PLAT8250_DEV_PLATFORM1,
                .dev.platform_data = serial_plat_uart1,
        },
 
@@ -434,7 +432,7 @@ mpc10x_bridge_init(struct pci_controller *hose,
                        phys_eumb_base);
        }
 
-       /* IRQ's are determined at runtime */
+       /* IRQs are determined at runtime */
        ppc_sys_platform_devices[MPC10X_IIC1].resource[1].start = MPC10X_I2C_IRQ;
        ppc_sys_platform_devices[MPC10X_IIC1].resource[1].end = MPC10X_I2C_IRQ;
        ppc_sys_platform_devices[MPC10X_DMA0].resource[1].start = MPC10X_DMA0_IRQ;
@@ -648,7 +646,7 @@ void __init mpc10x_set_openpic(void)
        openpic_set_sources(EPIC_IRQ_BASE, 3, OpenPIC_Addr + 0x11020);
        /* Skip reserved space and map Message Unit Interrupt (I2O) */
        openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x110C0);
-       /* Skip reserved space and map Serial Interupts */
+       /* Skip reserved space and map Serial Interrupts */
        openpic_set_sources(EPIC_IRQ_BASE + 4, 2, OpenPIC_Addr + 0x11120);
 
        openpic_init(NUM_8259_INTERRUPTS);