Skip to content

Commit

Permalink
sh: remove ioport cruft and smc91x from se7343
Browse files Browse the repository at this point in the history
Remove out-of-date se7343 ioport code including some old support
for unknown-ne2000-pcmcia-card, cf-over-pcmcia and a mysterical
smc91x that once must have been on a special daughterboard.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Dec 22, 2008
1 parent 5e5aacb commit 21c601b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 323 deletions.
2 changes: 1 addition & 1 deletion arch/sh/boards/mach-se/7343/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Makefile for the 7343 SolutionEngine specific parts of the kernel
#

obj-y := setup.o io.o irq.o
obj-y := setup.o irq.o
273 changes: 0 additions & 273 deletions arch/sh/boards/mach-se/7343/io.c

This file was deleted.

46 changes: 0 additions & 46 deletions arch/sh/boards/mach-se/7343/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,6 @@
#include <asm/irq.h>
#include <asm/io.h>

static struct resource smc91x_resources[] = {
[0] = {
.start = 0x10000000,
.end = 0x1000000F,
.flags = IORESOURCE_MEM,
},
[1] = {
/*
* shared with other devices via externel
* interrupt controller in FPGA...
*/
.start = SMC_IRQ,
.end = SMC_IRQ,
.flags = IORESOURCE_IRQ,
},
};

static struct platform_device smc91x_device = {
.name = "smc91x",
.id = 0,
.num_resources = ARRAY_SIZE(smc91x_resources),
.resource = smc91x_resources,
};

static struct resource heartbeat_resources[] = {
[0] = {
.start = PA_LED,
Expand Down Expand Up @@ -171,7 +147,6 @@ static struct platform_device usb_device = {
};

static struct platform_device *sh7343se_platform_devices[] __initdata = {
&smc91x_device,
&heartbeat_device,
&nor_flash_device,
&uart_device,
Expand Down Expand Up @@ -205,26 +180,5 @@ static struct sh_machine_vector mv_7343se __initmv = {
.mv_name = "SolutionEngine 7343",
.mv_setup = sh7343se_setup,
.mv_nr_irqs = SE7343_FPGA_IRQ_BASE + SE7343_FPGA_IRQ_NR,
.mv_inb = sh7343se_inb,
.mv_inw = sh7343se_inw,
.mv_inl = sh7343se_inl,
.mv_outb = sh7343se_outb,
.mv_outw = sh7343se_outw,
.mv_outl = sh7343se_outl,

.mv_inb_p = sh7343se_inb_p,
.mv_inw_p = sh7343se_inw,
.mv_inl_p = sh7343se_inl,
.mv_outb_p = sh7343se_outb_p,
.mv_outw_p = sh7343se_outw,
.mv_outl_p = sh7343se_outl,

.mv_insb = sh7343se_insb,
.mv_insw = sh7343se_insw,
.mv_insl = sh7343se_insl,
.mv_outsb = sh7343se_outsb,
.mv_outsw = sh7343se_outsw,
.mv_outsl = sh7343se_outsl,

.mv_init_irq = init_7343se_IRQ,
};
3 changes: 0 additions & 3 deletions arch/sh/include/mach-se/mach/se7343.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@
#define FPGA_IN 0xb1400000
#define FPGA_OUT 0xb1400002

#define __IO_PREFIX sh7343se
#include <asm/io_generic.h>

#define IRQ0_IRQ 32
#define IRQ1_IRQ 33
#define IRQ4_IRQ 36
Expand Down

0 comments on commit 21c601b

Please sign in to comment.