X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fne2k.c;fp=palacios%2Fsrc%2Fdevices%2Fne2k.c;h=0a14e1ee1be791c526a57ef545a34c086d885c57;hb=95101a1aef4d5776a9adb7f54fa5ea0c72662a12;hp=d6399d8ed1bda85ce4b2d10d9c304285029aa636;hpb=7ddf7f8c9b007c3405146e001d9f3689723f7d4d;p=palacios.git diff --git a/palacios/src/devices/ne2k.c b/palacios/src/devices/ne2k.c index d6399d8..0a14e1e 100644 --- a/palacios/src/devices/ne2k.c +++ b/palacios/src/devices/ne2k.c @@ -322,15 +322,9 @@ struct ne2k_context { } __attribute__((packed)); - - - uint8_t mcast_addr[8]; // multicast mask array uint8_t mac_addr[6]; // MAC Addr - - - uint8_t mem[NE2K_MEM_SIZE]; struct pci_device * pci_dev; @@ -380,7 +374,6 @@ static int ne2k_update_irq(struct vm_device *dev) { return -1; } - PrintDebug("Ne2k: RaiseIrq: isr: 0x%02x imr: 0x%02x\n", nic_state->isr.val, nic_state->imr.val); PrintDebug("ne2k_update_irq: irq_line: %d\n", irq_line); @@ -474,7 +467,7 @@ static void ne2k_receive(struct vm_device * dev, const uchar_t * pkt, int length uint32_t total_len; uint32_t next; uint32_t len; - uin32_t index; + uint32_t index; uint32_t empty; uchar_t buf[60]; uint32_t start;