Remove __iomem, also unused.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3971
c046a42c-6fe2-441c-8c8c-
71466251a162
#include "pci.h"
#include "net.h"
-#define __iomem
#include "e1000_hw.h"
#define DEBUG
parallel_update_irq(s);
break;
case PARA_REG_CTR:
+ val |= 0xc0;
if ((val & PARA_CTR_INIT) == 0 ) {
s->status = PARA_STS_BUSY;
s->status |= PARA_STS_ACK;
s->status |= PARA_STS_ACK;
s->status |= PARA_STS_ONLINE;
s->status |= PARA_STS_ERROR;
+ s->status |= PARA_STS_TMOUT;
s->control = PARA_CTR_SELECT;
s->control |= PARA_CTR_INIT;
+ s->control |= 0xc0;
s->irq = irq;
s->irq_pending = 0;
s->chr = chr;