summaryrefslogtreecommitdiffstats
path: root/hw/etraxfs_eth.c
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-18 21:34:00 +0200
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2009-05-18 21:34:00 +0200
commit678fdca87a39eb7989b1c5ede0b1f36cfd3519b0 (patch)
tree64b2bb5361821bd8097e3141f619f433858bafc3 /hw/etraxfs_eth.c
parent340d96e7ce6e1c2e6d75504e9b4d8153896d5b42 (diff)
downloadhqemu-678fdca87a39eb7989b1c5ede0b1f36cfd3519b0.zip
hqemu-678fdca87a39eb7989b1c5ede0b1f36cfd3519b0.tar.gz
etrax: Remove unused eth irq line.
The ethernet blocks irq line to report errors is unimplemented in QEMU. Remove it for now. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/etraxfs_eth.c')
-rw-r--r--hw/etraxfs_eth.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c
index bfc1926..68b8de3 100644
--- a/hw/etraxfs_eth.c
+++ b/hw/etraxfs_eth.c
@@ -320,7 +320,6 @@ static void mdio_cycle(struct qemu_mdio *bus)
struct fs_eth
{
CPUState *env;
- qemu_irq *irq;
VLANClientState *vc;
int ethregs;
@@ -565,7 +564,7 @@ static void eth_cleanup(VLANClientState *vc)
}
void *etraxfs_eth_init(NICInfo *nd, CPUState *env,
- qemu_irq *irq, target_phys_addr_t base, int phyaddr)
+ target_phys_addr_t base, int phyaddr)
{
struct etraxfs_dma_client *dma = NULL;
struct fs_eth *eth = NULL;
@@ -582,7 +581,6 @@ void *etraxfs_eth_init(NICInfo *nd, CPUState *env,
dma[1].client.pull = NULL;
eth->env = env;
- eth->irq = irq;
eth->dma_out = dma;
eth->dma_in = dma + 1;
OpenPOWER on IntegriCloud