head	1.15;
access;
symbols
	RELENG_8_4:1.15.0.2
	RELENG_9_1_0_RELEASE:1.14.2.1.4.2
	RELENG_9_1:1.14.2.1.0.4
	RELENG_9_1_BP:1.14.2.1
	RELENG_8_3_0_RELEASE:1.12.2.2.4.1
	RELENG_8_3:1.12.2.2.0.4
	RELENG_8_3_BP:1.12.2.2
	RELENG_9_0_0_RELEASE:1.14.2.1.2.1
	RELENG_9_0:1.14.2.1.0.2
	RELENG_9_0_BP:1.14.2.1
	RELENG_9:1.14.0.2
	RELENG_9_BP:1.14
	RELENG_7_4_0_RELEASE:1.9.2.1.4.1
	RELENG_8_2_0_RELEASE:1.12.2.2.2.1
	RELENG_7_4:1.9.2.1.0.4
	RELENG_7_4_BP:1.9.2.1
	RELENG_8_2:1.12.2.2.0.2
	RELENG_8_2_BP:1.12.2.2
	RELENG_8_1_0_RELEASE:1.12.2.1.4.1
	RELENG_8_1:1.12.2.1.0.4
	RELENG_8_1_BP:1.12.2.1
	RELENG_7_3_0_RELEASE:1.9.2.1.2.1
	RELENG_7_3:1.9.2.1.0.2
	RELENG_7_3_BP:1.9.2.1
	RELENG_8_0_0_RELEASE:1.12.2.1.2.1
	RELENG_8_0:1.12.2.1.0.2
	RELENG_8_0_BP:1.12.2.1
	RELENG_8:1.12.0.2
	RELENG_8_BP:1.12
	RELENG_7_2_0_RELEASE:1.9.8.1
	RELENG_7_2:1.9.0.8
	RELENG_7_2_BP:1.9
	RELENG_7_1_0_RELEASE:1.9.6.1
	RELENG_6_4_0_RELEASE:1.8.14.1
	RELENG_7_1:1.9.0.6
	RELENG_7_1_BP:1.9
	RELENG_6_4:1.8.0.14
	RELENG_6_4_BP:1.8
	RELENG_7_0_0_RELEASE:1.9
	RELENG_6_3_0_RELEASE:1.8
	RELENG_7_0:1.9.0.4
	RELENG_7_0_BP:1.9
	RELENG_6_3:1.8.0.12
	RELENG_6_3_BP:1.8
	RELENG_7:1.9.0.2
	RELENG_7_BP:1.9
	RELENG_6_2_0_RELEASE:1.8
	RELENG_6_2:1.8.0.10
	RELENG_6_2_BP:1.8
	RELENG_5_5_0_RELEASE:1.8.4.1
	RELENG_5_5:1.8.4.1.0.2
	RELENG_5_5_BP:1.8.4.1
	RELENG_6_1_0_RELEASE:1.8
	RELENG_6_1:1.8.0.8
	RELENG_6_1_BP:1.8
	RELENG_6_0_0_RELEASE:1.8
	RELENG_6_0:1.8.0.6
	RELENG_6_0_BP:1.8
	RELENG_5:1.8.0.4
	RELENG_6:1.8.0.2
	RELENG_6_BP:1.8;
locks; strict;
comment	@# @;


1.15
date	2012.11.17.01.52.54;	author svnexp;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2010.08.23.06.13.29;	author imp;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	2010.02.25.14.13.39;	author attilio;	state Exp;
branches;
next	1.12;

1.12
date	2009.06.05.18.44.36;	author jkim;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	2009.05.31.09.01.23;	author nwhitehorn;	state Exp;
branches;
next	1.10;

1.10
date	2009.03.28.08.54.47;	author mr;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.30.09.38.54;	author ru;	state Exp;
branches
	1.9.2.1
	1.9.6.1
	1.9.8.1;
next	1.8;

1.8
date	2005.04.19.16.38.24;	author njl;	state Exp;
branches
	1.8.2.1
	1.8.4.1
	1.8.14.1;
next	1.7;

1.7
date	2005.04.04.15.51.13;	author njl;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.31.18.51.06;	author njl;	state Exp;
branches;
next	1.5;

1.5
date	2005.03.28.00.24.11;	author njl;	state Exp;
branches;
next	1.4;

1.4
date	2005.03.27.21.47.12;	author njl;	state Exp;
branches;
next	1.3;

1.3
date	2005.02.23.16.44.06;	author njl;	state Exp;
branches;
next	1.2;

1.2
date	2005.02.20.20.29.04;	author njl;	state Exp;
branches;
next	1.1;

1.1
date	2005.02.04.05.49.36;	author njl;	state Exp;
branches;
next	;

1.15.2.1
date	2012.11.17.01.52.54;	author svnexp;	state dead;
branches;
next	1.15.2.2;

1.15.2.2
date	2013.03.28.13.05.19;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.14.2.1.2.1
	1.14.2.1.4.1;
next	1.14.2.2;

1.14.2.2
date	2012.11.17.11.37.16;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.14.2.1.2.2;

1.14.2.1.2.2
date	2012.11.17.08.37.13;	author svnexp;	state Exp;
branches;
next	;

1.14.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.14.2.1.4.2;

1.14.2.1.4.2
date	2012.11.17.08.48.04;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.12.2.1.2.1
	1.12.2.1.4.1;
next	1.12.2.2;

1.12.2.2
date	2010.11.09.01.57.56;	author attilio;	state Exp;
branches
	1.12.2.2.2.1
	1.12.2.2.4.1;
next	1.12.2.3;

1.12.2.3
date	2012.11.17.10.36.55;	author svnexp;	state Exp;
branches;
next	;

1.12.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.12.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.12.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.12.2.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.12.2.2.4.2;

1.12.2.2.4.2
date	2012.11.17.08.25.32;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2009.12.21.14.03.40;	author avg;	state Exp;
branches
	1.9.2.1.2.1
	1.9.2.1.4.1;
next	1.9.2.2;

1.9.2.2
date	2012.11.17.08.06.45;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1.2.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.9.2.1.4.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.9.2.1.4.2;

1.9.2.1.4.2
date	2012.11.17.08.17.26;	author svnexp;	state Exp;
branches;
next	;

1.9.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.9.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.8.2.1
date	2012.11.17.07.44.16;	author svnexp;	state Exp;
branches;
next	;

1.8.4.1
date	2005.07.21.09.20.10;	author bruno;	state Exp;
branches;
next	;

1.8.14.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/cpufreq/Makefile 211690 2010-08-23 06:13:29Z imp $

.PATH:	${.CURDIR}/../../dev/cpufreq		\
	${.CURDIR}/../../${MACHINE_CPUARCH}/cpufreq

KMOD=	cpufreq
SRCS=	ichss.c
SRCS+=	bus_if.h cpufreq_if.h device_if.h pci_if.h

.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
.PATH:	${.CURDIR}/../../x86/cpufreq

SRCS+=	acpi_if.h opt_acpi.h
SRCS+=	est.c hwpstate.c p4tcc.c powernow.c
.endif

.if ${MACHINE} == "i386"
SRCS+=	smist.c
.endif

.if ${MACHINE} == "powerpc"
.PATH:	${.CURDIR}/../../powerpc/cpufreq
SRCS+= dfs.c
.endif

.include <bsd.kmod.mk>
@


1.15.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:19 +0000
@
text
@d1 26
@


1.15.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 26
# $FreeBSD: releng/8.4/sys/modules/cpufreq/Makefile 215026 2010-11-09 01:57:56Z attilio $

.PATH:	${.CURDIR}/../../dev/cpufreq		\
	${.CURDIR}/../../${MACHINE_ARCH}/cpufreq

KMOD=	cpufreq
SRCS=	ichss.c
SRCS+=	bus_if.h cpufreq_if.h device_if.h pci_if.h

.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
.PATH:	${.CURDIR}/../../x86/cpufreq

SRCS+=	acpi_if.h opt_acpi.h
SRCS+=	est.c hwpstate.c p4tcc.c powernow.c
.endif

.if ${MACHINE} == "i386"
SRCS+=	smist.c
.endif

.if ${MACHINE} == "powerpc"
.PATH:	${.CURDIR}/../../powerpc/cpufreq
SRCS+= dfs.c
.endif

.include <bsd.kmod.mk>
@


1.14
log
@SVN rev 211690 on 2010-08-23 06:13:29Z by imp

MFtbemd:

Use MACHINE_CPUARCH in preference to MACHINE_ARCH.  The former is the
source code location of the machine, the latter the binary output.  In
general, we want to use MACHINE_CPUARCH instead of MACHINE_ARCH unless
we're tesitng for a specific target.  The isn't even moot for
i386/amd64 where there's momemntum towards a MACHINE_CPUARCH == x86,
although a specific cleanup for that likely would be needed...
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.14.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.14.2.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/modules/cpufreq/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.14.2.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/cpufreq/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.14.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.14.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/cpufreq/Makefile 211690 2010-08-23 06:13:29Z imp $
@


1.13
log
@SVN rev 204309 on 2010-02-25 14:13:39Z by attilio

Introduce the new kernel sub-tree x86 which should contain all the code
shared and generalized between our current amd64, i386 and pc98.

This is just an initial step that should lead to a more complete effort.
For the moment, a very simple porting of cpufreq modules, BIOS calls and
the whole MD specific ISA bus part is added to the sub-tree but ideally
a lot of code might be added and more shared support should grow.

Sponsored by:	Sandvine Incorporated
Reviewed by:	emaste, kib, jhb, imp
Discussed on:	arch
MFC:		3 weeks
@
text
@d4 1
a4 1
	${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
@


1.12
log
@SVN rev 193530 on 2009-06-05 18:44:36Z by jkim

Import ACPICA 20090521.
@
text
@d11 1
a11 1
.PATH:	${.CURDIR}/../../i386/cpufreq
@


1.12.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.12.2.2
log
@SVN rev 215026 on 2010-11-09 01:57:56Z by attilio

MFC r204309, r204313 and r204319 by nyan:
Introduce the x86 subtree for code shared between amd64, i386 and pc98.

Differently from the HEAD version, the headers are not moved around,
in order to avoid breaking the KPI but it can be eventually done once the
core mechanism of r214629 is MFCed.

MFCing this patch does allow for simpler MFCs handling on i386/amd64
specific code.

Sponsored by:   Sandvine Incorporated
@
text
@d11 1
a11 1
.PATH:	${.CURDIR}/../../x86/cpufreq
@


1.12.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/cpufreq/Makefile 215026 2010-11-09 01:57:56Z attilio $
@


1.12.2.2.4.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.12.2.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/cpufreq/Makefile 215026 2010-11-09 01:57:56Z attilio $
@


1.12.2.2.2.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.12.2.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.11
log
@SVN rev 193156 on 2009-05-31 09:01:23Z by nwhitehorn

Introduce support for cpufreq on PowerPC with the dynamic frequency
switching capabilities of the MPC7447A and MPC7448.
@
text
@a11 1
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
@


1.10
log
@SVN rev 190501 on 2009-03-28 08:54:47Z by mr

Add support for Phenom (Family 10h) to cpufreq.
Its a newer version provided by the author than in the PR.

PR:		kern/128575
Submitted by:	Gen Otsuji annona2 [at] gmail.com
@
text
@d22 5
@


1.9
log
@Dike out WARNS from kernel module makefiles.  Kernels and modules
use a different mechanism for setting warning flags, and using
WARNS here only has null or negative effects.

Submitted by:	bde (I think it means "submitted")
@
text
@d15 1
a15 1
SRCS+=	est.c p4tcc.c powernow.c
@


1.9.2.1
log
@SVN rev 200773 on 2009-12-21 14:03:40Z by avg

MFC r190501,190521,192029: Add support for Phenom (Family 10h) to cpufreq.

This also has changes from r197070 (earlier partial MFC).
@
text
@d15 1
a15 1
SRCS+=	est.c hwpstate.c p4tcc.c powernow.c
@


1.9.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/cpufreq/Makefile 200773 2009-12-21 14:03:40Z avg $
@


1.9.2.1.4.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.9.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/cpufreq/Makefile 200773 2009-12-21 14:03:40Z avg $
@


1.9.2.1.2.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.9.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.9.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.8
log
@Add a driver for SMI-based SpeedStep.  The hardware supports two frequency
settings and is an older version of the same design used for ICH SpeedStep.
It is only known to be available on PIIX4 chipsets.

Many thanks to Bruno Ducrot for writing the driver and Jon Noack for
testing.

Submitted by:	Bruno Ducrot
@
text
@a6 1
WARNS?=	2
@


1.8.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/cpufreq/Makefile 145287 2005-04-19 16:38:24Z njl $
@


1.8.14.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.8.4.1
log
@MFC: add all other cpufreq specific drivers that do not belong to acpi.

Approved by:	njl, imp (mentor)
@
text
@@


1.7
log
@Add support for _PDC/_OSC by advertising that we support direct access to
the PERF_CTL/STS MSRs via the new acpi_get_features() method.  This should
allow newer systems to use SpeedStep.
@
text
@d19 4
@


1.6
log
@Additions to .PATH are cumulative so referencing $.PATH is not helpful.

Informed by:	ru
@
text
@d11 5
a15 1
.if ${MACHINE} == "i386"
a18 5
.if ${MACHINE} == "amd64"
.PATH: ${.CURDIR}/../../i386/cpufreq
SRCS+=	powernow.c
.endif

@


1.5
log
@Fix module build on amd64.  There may be a cleaner way to do the .PATH
@
text
@d16 1
a16 1
.PATH: ${.PATH} ${.CURDIR}/../../i386/cpufreq
@


1.4
log
@Hook powernow up to the build for i386 and amd64.
@
text
@d16 1
@


1.3
log
@Hook p4tcc up to the module build.
@
text
@d12 5
a16 1
SRCS+=	est.c p4tcc.c
@


1.2
log
@Hook EST up to the build.
@
text
@d12 1
a12 1
SRCS+=	est.c
@


1.1
log
@Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.
@
text
@d3 2
a4 1
.PATH: ${.CURDIR}/../../dev/cpufreq
d11 4
@

