Subject: Re: CVS commit: src
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Juan RP <juan@xtrarom.org>
List: source-changes
Date: 01/02/2006 21:02:54
This is a multi-part message in MIME format.
--Multipart=_Mon__2_Jan_2006_21_02_54_+0100_Wl4esjKD91Twu9WQ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Mon, 2 Jan 2006 21:00:16 +0100
Lubomir Sedlacik <salo@Xtrmntr.org> wrote:
> On Sat, Dec 31, 2005 at 05:55:55PM +0000, Juan Romero Pardines wrote:
> >
> > Module Name: src
> > Committed By: xtraeme
> > Date: Sat Dec 31 17:55:55 UTC 2005
> >
> > Modified Files:
> > src/doc: CHANGES
> > src/share/man/man4: options.4
> > src/sys/arch/i386/conf: GENERIC GENERIC_LAPTOP files.i386
> > src/sys/arch/i386/i386: est.c identcpu.c
> > src/sys/arch/i386/include: cpu.h
> > Added Files:
> > src/sys/arch/i386/i386: powernow_k7.c
> >
> > Log Message:
> > AMD PowerNow K7 driver written by Martin Vegiard via PR
> > port-i386/26239.
> >
> > Enabled by default on GENERIC and GENERIC_LAPTOP.
> >
> > Imported 1 year later... but it's here finally.
>
> ..and it seems to broke (some?) Enhanced SpeedStep machines.
>
> http://mail-index.netbsd.org/current-users/2006/01/02/0004.html
> http://mail-index.netbsd.org/current-users/2006/01/02/0005.html
I have sent already a patch that should fix the panic, waiting for
the feedback.
It's attached.
--Multipart=_Mon__2_Jan_2006_21_02_54_+0100_Wl4esjKD91Twu9WQ
Content-Type: application/octet-stream;
name="identcpu.diff"
Content-Disposition: attachment;
filename="identcpu.diff"
Content-Transfer-Encoding: base64
SW5kZXg6IGlkZW50Y3B1LmMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3Qvc3JjL3N5cy9h
cmNoL2kzODYvaTM4Ni9pZGVudGNwdS5jLHYKcmV0cmlldmluZ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