diff options
author | Peter Chubb <peterc@gelato.unsw.edu.au> | 2007-08-21 05:57:01 +0200 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-09-01 11:52:25 +0200 |
commit | 7b3166dbc3df5b72f2ba4ea130f4461e318a3838 (patch) | |
tree | ef93805e4321adf8f3994e749894ab3451e7cab4 /arch/ia64/hp/sim/simeth.c | |
parent | [IA64] Enable early console for Ski simulator (diff) | |
download | linux-7b3166dbc3df5b72f2ba4ea130f4461e318a3838.tar.xz linux-7b3166dbc3df5b72f2ba4ea130f4461e318a3838.zip |
[IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator)
After my last patch we have a new header file for HP simulator use.
Here's code to use it for stuff that used to have `extern' statements
inline in the code. Functionality should not change with this patch.
Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/hp/sim/simeth.c')
-rw-r--r-- | arch/ia64/hp/sim/simeth.c | 12 |
1 files changed, 3 insertions, 9 deletions
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 @@ #include <linux/bitops.h> #include <asm/system.h> #include <asm/irq.h> +#include <asm/hpsim.h> + +#include "hpsim_ssc.h" #define SIMETH_RECV_MAX 10 @@ -35,12 +38,6 @@ #define SIMETH_FRAME_SIZE ETH_FRAME_LEN -#define SSC_NETDEV_PROBE 100 -#define SSC_NETDEV_SEND 101 -#define SSC_NETDEV_RECV 102 -#define SSC_NETDEV_ATTACH 103 -#define SSC_NETDEV_DETACH 104 - #define NETWORK_INTR 8 struct simeth_local { @@ -124,9 +121,6 @@ simeth_probe (void) return r; } -extern long ia64_ssc (long, long, long, long, int); -extern void ia64_ssc_connect_irq (long intr, long irq); - static inline int netdev_probe(char *name, unsigned char *ether) { |