Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 11/10/2004 14:14:09
Module Name:	src
Committed By:	cube
Date:		Wed Nov 10 14:14:09 UTC 2004

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

Log Message:
In auich_calibrate, set sc_ac97_clock to a default value of 48000 first.
That way, if the calibration fails or times out, sc_ac97_clock won't be 0
and there won't be a division by zero later in ac97_set_rate.


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 src/sys/dev/pci/auich.c

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