diff options
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r-- | arch/ia64/hp/sim/hpsim_console.c | 1 | ||||
-rw-r--r-- | arch/ia64/hp/sim/simeth.c | 12 | ||||
-rw-r--r-- | arch/ia64/hp/sim/simscsi.c | 3 |
3 files changed, 4 insertions, 12 deletions
diff --git a/arch/ia64/hp/sim/hpsim_console.c b/arch/ia64/hp/sim/hpsim_console.c index 0475a5452404..01663bc42b1a 100644 --- a/arch/ia64/hp/sim/hpsim_console.c +++ b/arch/ia64/hp/sim/hpsim_console.c | |||
@@ -59,7 +59,6 @@ simcons_write (struct console *cons, const char *buf, unsigned count) | |||
59 | 59 | ||
60 | static struct tty_driver *simcons_console_device (struct console *c, int *index) | 60 | static struct tty_driver *simcons_console_device (struct console *c, int *index) |
61 | { | 61 | { |
62 | extern struct tty_driver *hp_simserial_driver; | ||
63 | *index = c->index; | 62 | *index = c->index; |
64 | return hp_simserial_driver; | 63 | return hp_simserial_driver; |
65 | } | 64 | } |
diff --git a/arch/ia64/hp/sim/simeth.c b/arch/ia64/hp/sim/simeth.c index f26077a773d5..4017696ada63 100644 --- a/arch/ia64/hp/sim/simeth.c +++ b/arch/ia64/hp/sim/simeth.c | |||
@@ -22,6 +22,9 @@ | |||
22 | #include <linux/bitops.h> | 22 | #include <linux/bitops.h> |
23 | #include <asm/system.h> | 23 | #include <asm/system.h> |
24 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
25 | #include <asm/hpsim.h> | ||
26 | |||
27 | #include "hpsim_ssc.h" | ||
25 | 28 | ||
26 | #define SIMETH_RECV_MAX 10 | 29 | #define SIMETH_RECV_MAX 10 |
27 | 30 | ||
@@ -35,12 +38,6 @@ | |||
35 | #define SIMETH_FRAME_SIZE ETH_FRAME_LEN | 38 | #define SIMETH_FRAME_SIZE ETH_FRAME_LEN |
36 | 39 | ||
37 | 40 | ||
38 | #define SSC_NETDEV_PROBE 100 | ||
39 | #define SSC_NETDEV_SEND 101 | ||
40 | #define SSC_NETDEV_RECV 102 | ||
41 | #define SSC_NETDEV_ATTACH 103 | ||
42 | #define SSC_NETDEV_DETACH 104 | ||
43 | |||
44 | #define NETWORK_INTR 8 | 41 | #define NETWORK_INTR 8 |
45 | 42 | ||
46 | struct simeth_local { | 43 | struct simeth_local { |
@@ -124,9 +121,6 @@ simeth_probe (void) | |||
124 | return r; | 121 | return r; |
125 | } | 122 | } |
126 | 123 | ||
127 | extern long ia64_ssc (long, long, long, long, int); | ||
128 | extern void ia64_ssc_connect_irq (long intr, long irq); | ||
129 | |||
130 | static inline int | 124 | static inline int |
131 | netdev_probe(char *name, unsigned char *ether) | 125 | netdev_probe(char *name, unsigned char *ether) |
132 | { | 126 | { |
diff --git a/arch/ia64/hp/sim/simscsi.c b/arch/ia64/hp/sim/simscsi.c index e62694f8ef75..4552a1cf5b33 100644 --- a/arch/ia64/hp/sim/simscsi.c +++ b/arch/ia64/hp/sim/simscsi.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/timer.h> | 15 | #include <linux/timer.h> |
16 | #include <asm/irq.h> | 16 | #include <asm/irq.h> |
17 | #include "hpsim_ssc.h" | ||
17 | 18 | ||
18 | #include <scsi/scsi.h> | 19 | #include <scsi/scsi.h> |
19 | #include <scsi/scsi_cmnd.h> | 20 | #include <scsi/scsi_cmnd.h> |
@@ -59,8 +60,6 @@ struct disk_stat { | |||
59 | unsigned count; | 60 | unsigned count; |
60 | }; | 61 | }; |
61 | 62 | ||
62 | extern long ia64_ssc (long arg0, long arg1, long arg2, long arg3, int nr); | ||
63 | |||
64 | static int desc[16] = { | 63 | static int desc[16] = { |
65 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 | 64 | -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 |
66 | }; | 65 | }; |