- I'm told that the name I chose for this patch was quite misleading. Sorry.
Greg applied the patch and checked it in, see iodev/ne2k.cc rev 1.14.
This commit is contained in:
parent
602b054d38
commit
f6fcc9f16b
@ -1,34 +0,0 @@
|
||||
----------------------------------------------------------------------
|
||||
Patch name: patch.ne2k-multicast-packet
|
||||
Author: bochs@sigint.cs.purdue.edu
|
||||
Date: Thu, 21 Jun 2001 13:02:04 -0500
|
||||
|
||||
Detailed description:
|
||||
|
||||
Patch was created with:
|
||||
cvs diff -u iodev/ne2k.cc
|
||||
Apply patch to what version:
|
||||
current cvs
|
||||
Instructions:
|
||||
To patch, go to main bochs directory.
|
||||
Type "patch -p0 < THIS_PATCH_FILE".
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Index: iodev/ne2k.cc
|
||||
===================================================================
|
||||
RCS file: /cvsroot/bochs/bochs/iodev/ne2k.cc,v
|
||||
retrieving revision 1.13
|
||||
diff -u -r1.13 ne2k.cc
|
||||
--- iodev/ne2k.cc 2001/06/21 19:27:05 1.13
|
||||
+++ iodev/ne2k.cc 2001/06/22 04:16:58
|
||||
@@ -1109,7 +1109,9 @@
|
||||
}
|
||||
|
||||
// Setup packet header
|
||||
- pkthdr[0] = 0; // rx status
|
||||
+ pkthdr[0] = 1; // rx status = packet ok
|
||||
+ if (pktbuf[0] & 0x01)
|
||||
+ pkthdr[0] |= 0x20; // rx status += multicast packet
|
||||
pkthdr[1] = nextpage; // ptr to next packet
|
||||
pkthdr[2] = (io_len + 8) & 0xff; // length-low
|
||||
pkthdr[3] = (io_len + 8) >> 8; // length-hi
|
Loading…
Reference in New Issue
Block a user