Loading arch/sh/boards/lboxre2/setup.c +2 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ #include <linux/platform_device.h> #include <linux/pata_platform.h> #include <asm/machvec.h> #include <asm/addrspace.h> #include <asm/lboxre2.h> #include <asm/io.h> Loading Loading @@ -53,7 +54,7 @@ static int __init lboxre2_devices_setup(void) unsigned long paddrbase, psize; /* open I/O area window */ paddrbase = virt_to_phys((void*)CONFIG_CF0_BASE_ADDR); paddrbase = virt_to_phys((void*)PA_AREA5_IO); psize = PAGE_SIZE; prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16); cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot); Loading include/asm-sh/lboxre2.h +2 −7 Original line number Diff line number Diff line Loading @@ -2,8 +2,6 @@ #define __ASM_SH_LBOXRE2_H /* * linux/include/asm-sh/lbox.h * * Copyright (C) 2007 Nobuhiro Iwamatsu * * NTT COMWARE L-BOX RE2 support Loading @@ -14,9 +12,6 @@ * */ #define CONFIG_CF0_BASE_ADDR 0xb4000000 /* Boot only */ #define CONFIG_CF1_BASE_ADDR 0xb8000000 #define IRQ_CF1 9 /* CF1 */ #define IRQ_CF0 10 /* CF0 */ #define IRQ_INTD 11 /* INTD */ Loading Loading
arch/sh/boards/lboxre2/setup.c +2 −1 Original line number Diff line number Diff line Loading @@ -15,6 +15,7 @@ #include <linux/platform_device.h> #include <linux/pata_platform.h> #include <asm/machvec.h> #include <asm/addrspace.h> #include <asm/lboxre2.h> #include <asm/io.h> Loading Loading @@ -53,7 +54,7 @@ static int __init lboxre2_devices_setup(void) unsigned long paddrbase, psize; /* open I/O area window */ paddrbase = virt_to_phys((void*)CONFIG_CF0_BASE_ADDR); paddrbase = virt_to_phys((void*)PA_AREA5_IO); psize = PAGE_SIZE; prot = PAGE_KERNEL_PCC( 1 , _PAGE_PCC_IO16); cf0_io_base = (u32)p3_ioremap(paddrbase, psize, prot.pgprot); Loading
include/asm-sh/lboxre2.h +2 −7 Original line number Diff line number Diff line Loading @@ -2,8 +2,6 @@ #define __ASM_SH_LBOXRE2_H /* * linux/include/asm-sh/lbox.h * * Copyright (C) 2007 Nobuhiro Iwamatsu * * NTT COMWARE L-BOX RE2 support Loading @@ -14,9 +12,6 @@ * */ #define CONFIG_CF0_BASE_ADDR 0xb4000000 /* Boot only */ #define CONFIG_CF1_BASE_ADDR 0xb8000000 #define IRQ_CF1 9 /* CF1 */ #define IRQ_CF0 10 /* CF0 */ #define IRQ_INTD 11 /* INTD */ Loading