Skip to content
Snippets Groups Projects
Commit aa49e898 authored by John Hodge's avatar John Hodge
Browse files

Modules/E1000 - Add (disabled) packet dump

parent 7e72bedb
Branches
Tags
No related merge requests found
...@@ -205,6 +205,7 @@ int E1000_SendPacket(void *Ptr, tIPStackBuffer *Buffer) ...@@ -205,6 +205,7 @@ int E1000_SendPacket(void *Ptr, tIPStackBuffer *Buffer)
int txd = first_txd; int txd = first_txd;
while( (idx = IPStack_Buffer_GetBuffer(Buffer, idx, &len, &ptr)) != -1 ) while( (idx = IPStack_Buffer_GetBuffer(Buffer, idx, &len, &ptr)) != -1 )
{ {
//Debug_HexDump("E100 SendPacket", ptr, len);
if( MM_GetPhysAddr(ptr) + len-1 != MM_GetPhysAddr((char*)ptr + len-1) ) if( MM_GetPhysAddr(ptr) + len-1 != MM_GetPhysAddr((char*)ptr + len-1) )
{ {
size_t remlen = PAGE_SIZE - ((tVAddr)ptr & (PAGE_SIZE-1)); size_t remlen = PAGE_SIZE - ((tVAddr)ptr & (PAGE_SIZE-1));
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment