Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/18/2003 18:39:36
Module Name:	src
Committed By:	thorpej
Date:		Thu Dec 18 18:39:36 UTC 2003

Modified Files:
	src/sys/dev/ic: tulip.c tulipvar.h

Log Message:
If we're running on a Connectix Virtual PC, we might get a packet longer
than a max size Ethernet frame without getting a frame-too-long error.  VPC
seems to be adding 4 zeros at the end of every frame.  Detect this condition
and simply truncate the packet to a max size Ethernet frame.

I now have no problems with networking on NetBSD inside Virtual PC 6.


To generate a diff of this commit:
cvs rdiff -r1.125 -r1.126 src/sys/dev/ic/tulip.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/ic/tulipvar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.