aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 08:04:18 -0400
committerDavid S. Miller <davem@davemloft.net>2008-08-29 05:15:24 -0400
commit7eb1aae555663118f8d81bb26dca896d9cd8166c (patch)
tree9c674813fd8953a2c870d66ec44be6e0578366a1 /arch/sparc/include
parent9dc69230a96a84ca8e6eef89cd34fad0dd8a1a09 (diff)
sparc: Delete asm/sbus*.h
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/sbus.h8
-rw-r--r--arch/sparc/include/asm/sbus_32.h52
-rw-r--r--arch/sparc/include/asm/sbus_64.h48
3 files changed, 0 insertions, 108 deletions
diff --git a/arch/sparc/include/asm/sbus.h b/arch/sparc/include/asm/sbus.h
deleted file mode 100644
index f82481ab44db..000000000000
--- a/arch/sparc/include/asm/sbus.h
+++ /dev/null
@@ -1,8 +0,0 @@
1#ifndef ___ASM_SPARC_SBUS_H
2#define ___ASM_SPARC_SBUS_H
3#if defined(__sparc__) && defined(__arch64__)
4#include <asm/sbus_64.h>
5#else
6#include <asm/sbus_32.h>
7#endif
8#endif
diff --git a/arch/sparc/include/asm/sbus_32.h b/arch/sparc/include/asm/sbus_32.h
deleted file mode 100644
index d960f3e61ec6..000000000000
--- a/arch/sparc/include/asm/sbus_32.h
+++ /dev/null
@@ -1,52 +0,0 @@
1/*
2 * sbus.h: Defines for the Sun SBus.
3 *
4 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7#ifndef _SPARC_SBUS_H
8#define _SPARC_SBUS_H
9
10#include <linux/dma-mapping.h>
11#include <linux/ioport.h>
12#include <linux/of_device.h>
13
14#include <asm/oplib.h>
15#include <asm/prom.h>
16#include <asm/scatterlist.h>
17
18/* We scan which devices are on the SBus using the PROM node device
19 * tree. SBus devices are described in two different ways. You can
20 * either get an absolute address at which to access the device, or
21 * you can get a SBus 'slot' number and an offset within that slot.
22 */
23
24struct sbus_bus;
25
26/* Linux SBUS device tables */
27struct sbus_dev {
28 struct of_device ofdev;
29 struct sbus_bus *bus;
30 struct sbus_dev *next;
31 struct sbus_dev *child;
32 struct sbus_dev *parent;
33};
34#define to_sbus_device(d) container_of(d, struct sbus_dev, ofdev.dev)
35
36/* This struct describes the SBus(s) found on this machine. */
37struct sbus_bus {
38 struct of_device ofdev;
39 struct sbus_dev *devices; /* Link to devices on this SBus */
40 struct sbus_bus *next; /* next SBus, if more than one SBus */
41};
42#define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
43
44/* These yield IOMMU mappings in consistent mode. */
45void prom_adjust_ranges(struct linux_prom_ranges *, int,
46 struct linux_prom_ranges *, int);
47
48extern void sbus_setup_iommu(struct sbus_bus *, struct device_node *);
49extern int sbus_arch_preinit(void);
50extern void sbus_arch_postinit(void);
51
52#endif /* !(_SPARC_SBUS_H) */
diff --git a/arch/sparc/include/asm/sbus_64.h b/arch/sparc/include/asm/sbus_64.h
deleted file mode 100644
index b7b76945247f..000000000000
--- a/arch/sparc/include/asm/sbus_64.h
+++ /dev/null
@@ -1,48 +0,0 @@
1/* sbus.h: Defines for the Sun SBus.
2 *
3 * Copyright (C) 1996, 1999, 2007 David S. Miller (davem@davemloft.net)
4 */
5
6#ifndef _SPARC64_SBUS_H
7#define _SPARC64_SBUS_H
8
9#include <linux/dma-mapping.h>
10#include <linux/ioport.h>
11#include <linux/of_device.h>
12
13#include <asm/oplib.h>
14#include <asm/prom.h>
15#include <asm/iommu.h>
16#include <asm/scatterlist.h>
17
18/* We scan which devices are on the SBus using the PROM node device
19 * tree. SBus devices are described in two different ways. You can
20 * either get an absolute address at which to access the device, or
21 * you can get a SBus 'slot' number and an offset within that slot.
22 */
23
24struct sbus_bus;
25
26/* Linux SBUS device tables */
27struct sbus_dev {
28 struct of_device ofdev;
29 struct sbus_bus *bus;
30 struct sbus_dev *next;
31 struct sbus_dev *child;
32 struct sbus_dev *parent;
33};
34#define to_sbus_device(d) container_of(d, struct sbus_dev, ofdev.dev)
35
36/* This struct describes the SBus(s) found on this machine. */
37struct sbus_bus {
38 struct of_device ofdev;
39 struct sbus_dev *devices; /* Tree of SBUS devices */
40 struct sbus_bus *next; /* Next SBUS in system */
41};
42#define to_sbus(d) container_of(d, struct sbus_bus, ofdev.dev)
43
44extern void sbus_setup_iommu(struct sbus_bus *, struct device_node *);
45extern int sbus_arch_preinit(void);
46extern void sbus_arch_postinit(void);
47
48#endif /* !(_SPARC64_SBUS_H) */