diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-29 18:42:22 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-29 18:42:22 +0900 |
commit | 46bc85872040ae7a98b983514bf79f68255b2643 (patch) | |
tree | 9c2dc7f302bbd7d0187c42ee3e4fd40eae82f825 /arch/sh/include/mach-common | |
parent | 18cb657ca1bafe635f368346a1676fb04c512edf (diff) | |
download | op-kernel-dev-46bc85872040ae7a98b983514bf79f68255b2643.zip op-kernel-dev-46bc85872040ae7a98b983514bf79f68255b2643.tar.gz |
sh: mach-microdev: SuperIO-relative ioport mapping.
The microdev only has to contend with silly PIO mangling on anything
within the SuperIO range. As each of the SuperIO modules is already
speciail cased, we just shift that logic over to the ioport map.
With microdev PCI never being merged (and being fudamentally broken in
hardware), and the ethernet chip only doing 16-bit accesses already,
there's no need to maintain any of the extra special casing. Kill it all
off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/mach-common')
-rw-r--r-- | arch/sh/include/mach-common/mach/microdev.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/include/mach-common/mach/microdev.h b/arch/sh/include/mach-common/mach/microdev.h index 1aed158..dcb05fa 100644 --- a/arch/sh/include/mach-common/mach/microdev.h +++ b/arch/sh/include/mach-common/mach/microdev.h @@ -68,13 +68,4 @@ extern void microdev_print_fpga_intc_status(void); #define __IO_PREFIX microdev #include <asm/io_generic.h> -#if defined(CONFIG_PCI) -unsigned char microdev_pci_inb(unsigned long port); -unsigned short microdev_pci_inw(unsigned long port); -unsigned long microdev_pci_inl(unsigned long port); -void microdev_pci_outb(unsigned char data, unsigned long port); -void microdev_pci_outw(unsigned short data, unsigned long port); -void microdev_pci_outl(unsigned long data, unsigned long port); -#endif - #endif /* __ASM_SH_MICRODEV_H */ |