Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 05/08/2002 05:12:56
Module Name:	syssrc
Committed By:	matt
Date:		Wed May  8 02:12:55 UTC 2002

Modified Files:
	syssrc/sys/dev/ic: gem.c gemreg.h gemvar.h

Log Message:
If the detected media is gigabit, change the gem to use GMII mode otherwise
switch back to MII mode.  Keep a sliding window for TX segments and when it
gets > 2/3 full, request a TX interrupt (window gets reset when the h/w TX
queue is empty).  Add dv_xname to a few printfs.  With the above changes,
the gem driver will now work on Macintoshes, even in GigE mode.  On a 733
PowerMac G4 it gets ~355Mb/s TX and ~280Mb/s RX to/from an Alpha XP1000.

XXX mii autoselect is still flakey.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 syssrc/sys/dev/ic/gem.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/ic/gemreg.h
cvs rdiff -r1.5 -r1.6 syssrc/sys/dev/ic/gemvar.h

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