Subject: CVS commit: src/sys/arch/sgimips/mace
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 01/26/2008 14:28:50
Module Name:	src
Committed By:	tsutsui
Date:		Sat Jan 26 14:28:50 UTC 2008

Modified Files:
	src/sys/arch/sgimips/mace: if_mec.c

Log Message:
- call mec_reset() to make sure DMA stopped (inspired by OpenBSD)
- also stop DMA in mec_reset() before resetting chip
- set MAC address to MAC_STATION reg in mec_attach(), not in mec_reset()

Possibly fixes occasional interrupt storm from mec(4) (i.e. hangup) at boot.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/sgimips/mace/if_mec.c

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