Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 06/25/2005 21:43:38
Module Name:	src
Committed By:	bouyer
Date:		Sat Jun 25 21:43:38 UTC 2005

Modified Files:
	src/sys/dev/pci: if_stge.c

Log Message:
Write the station address using 8-bits writes instead of 16-bits.
This is what the linux driver does, and makes the DGE-550T work without the
STGE_CU_BUG hack. So remove the STGE_CU_BUG hack.
Set bit 0x0020 in STGE_DebugCtrl too, the linux driver does it (the comments
note this as a workaround, without more details. This doesn't seem to make
things worse).
Also initialize STGE_RxDMABurstThresh and STGE_RxDMAUrgentThresh, using
values from the linux driver.

Approved by Jason Thorpe.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/dev/pci/if_stge.c

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