head	1.37;
access;
symbols
	RELENG_8_4:1.37.0.2
	RELENG_9_1_0_RELEASE:1.33.2.1.4.2
	RELENG_9_1:1.33.2.1.0.4
	RELENG_9_1_BP:1.33.2.1
	RELENG_8_3_0_RELEASE:1.24.2.1.8.1
	RELENG_8_3:1.24.2.1.0.8
	RELENG_8_3_BP:1.24.2.1
	RELENG_9_0_0_RELEASE:1.33.2.1.2.1
	RELENG_9_0:1.33.2.1.0.2
	RELENG_9_0_BP:1.33.2.1
	RELENG_9:1.33.0.2
	RELENG_9_BP:1.33
	RELENG_7_4_0_RELEASE:1.9.2.2.8.1
	RELENG_8_2_0_RELEASE:1.24.2.1.6.1
	RELENG_7_4:1.9.2.2.0.8
	RELENG_7_4_BP:1.9.2.2
	RELENG_8_2:1.24.2.1.0.6
	RELENG_8_2_BP:1.24.2.1
	RELENG_8_1_0_RELEASE:1.24.2.1.4.1
	RELENG_8_1:1.24.2.1.0.4
	RELENG_8_1_BP:1.24.2.1
	RELENG_7_3_0_RELEASE:1.9.2.2.6.1
	RELENG_7_3:1.9.2.2.0.6
	RELENG_7_3_BP:1.9.2.2
	RELENG_8_0_0_RELEASE:1.24.2.1.2.1
	RELENG_8_0:1.24.2.1.0.2
	RELENG_8_0_BP:1.24.2.1
	RELENG_8:1.24.0.2
	RELENG_8_BP:1.24
	RELENG_7_2_0_RELEASE:1.9.2.2.4.1
	RELENG_7_2:1.9.2.2.0.4
	RELENG_7_2_BP:1.9.2.2
	RELENG_7_1_0_RELEASE:1.9.2.2.2.1
	RELENG_6_4_0_RELEASE:1.2.2.2.2.1
	RELENG_7_1:1.9.2.2.0.2
	RELENG_7_1_BP:1.9.2.2
	RELENG_6_4:1.2.2.2.0.2
	RELENG_6_4_BP:1.2.2.2
	RELENG_7_0_0_RELEASE:1.9
	RELENG_6_3_0_RELEASE:1.2.2.1
	RELENG_7_0:1.9.0.4
	RELENG_7_0_BP:1.9
	RELENG_6_3:1.2.2.1.0.6
	RELENG_6_3_BP:1.2.2.1
	RELENG_7:1.9.0.2
	RELENG_7_BP:1.9
	RELENG_6_2_0_RELEASE:1.2.2.1
	RELENG_6_2:1.2.2.1.0.4
	RELENG_6_2_BP:1.2.2.1
	RELENG_6_1_0_RELEASE:1.2.2.1
	RELENG_6_1:1.2.2.1.0.2
	RELENG_6_1_BP:1.2.2.1
	RELENG_6:1.2.0.2;
locks; strict;
comment	@# @;


1.37
date	2012.11.17.01.53.20;	author svnexp;	state Exp;
branches
	1.37.2.1;
next	1.36;

1.36
date	2012.10.21.04.02.34;	author rpaulo;	state Exp;
branches;
next	1.35;

1.35
date	2012.08.19.19.44.13;	author andreast;	state Exp;
branches;
next	1.34;

1.34
date	2012.05.27.10.25.20;	author raj;	state Exp;
branches;
next	1.33;

1.33
date	2011.06.04.15.17.35;	author andreast;	state Exp;
branches
	1.33.2.1;
next	1.32;

1.32
date	2011.05.29.14.25.42;	author andreast;	state Exp;
branches;
next	1.31;

1.31
date	2011.01.06.14.12.24;	author nwhitehorn;	state Exp;
branches;
next	1.30;

1.30
date	2011.01.06.04.12.29;	author nwhitehorn;	state Exp;
branches;
next	1.29;

1.29
date	2010.10.31.18.27.05;	author nwhitehorn;	state Exp;
branches;
next	1.28;

1.28
date	2010.10.15.20.08.16;	author andreast;	state Exp;
branches;
next	1.27;

1.27
date	2010.08.19.03.19.26;	author nwhitehorn;	state Exp;
branches;
next	1.26;

1.26
date	2010.07.31.13.22.34;	author nwhitehorn;	state Exp;
branches;
next	1.25;

1.25
date	2010.07.13.05.32.19;	author nwhitehorn;	state Exp;
branches;
next	1.24;

1.24
date	2009.06.23.04.28.32;	author nwhitehorn;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2009.05.31.09.01.23;	author nwhitehorn;	state Exp;
branches;
next	1.22;

1.22
date	2009.05.10.00.00.25;	author kuriyama;	state Exp;
branches;
next	1.21;

1.21
date	2009.01.25.18.20.15;	author nwhitehorn;	state Exp;
branches;
next	1.20;

1.20
date	2009.01.15.02.52.31;	author nwhitehorn;	state Exp;
branches;
next	1.19;

1.19
date	2008.12.08.02.38.13;	author nwhitehorn;	state Exp;
branches;
next	1.18;

1.18
date	2008.06.08.01.58.11;	author marcel;	state Exp;
branches;
next	1.17;

1.17
date	2008.04.27.22.33.42;	author marcel;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.04.03.05.53;	author marcel;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.04.02.20.27;	author marcel;	state Exp;
branches;
next	1.14;

1.14
date	2008.03.03.20.40.19;	author raj;	state Exp;
branches;
next	1.13;

1.13
date	2008.02.23.22.32.16;	author marcel;	state Exp;
branches;
next	1.12;

1.12
date	2008.02.12.19.38.39;	author marcel;	state Exp;
branches;
next	1.11;

1.11
date	2007.12.19.18.00.49;	author marcel;	state Exp;
branches;
next	1.10;

1.10
date	2007.12.16.00.45.56;	author marcel;	state Exp;
branches;
next	1.9;

1.9
date	2007.09.26.21.14.18;	author marius;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	2007.04.01.11.10.16;	author rwatson;	state Exp;
branches;
next	1.7;

1.7
date	2007.01.10.18.45.18;	author marius;	state Exp;
branches;
next	1.6;

1.6
date	2006.10.23.13.23.13;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	2006.10.23.09.45.22;	author ru;	state Exp;
branches;
next	1.4;

1.4
date	2006.07.29.18.38.54;	author marcel;	state Exp;
branches;
next	1.3;

1.3
date	2006.07.26.17.35.40;	author marcel;	state Exp;
branches;
next	1.2;

1.2
date	2005.12.30.16.45.31;	author ru;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2005.12.21.02.51.41;	author sam;	state Exp;
branches;
next	;

1.37.2.1
date	2012.11.17.01.53.20;	author svnexp;	state dead;
branches;
next	1.37.2.2;

1.37.2.2
date	2013.03.28.13.05.36;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.33.2.1.2.1
	1.33.2.1.4.1;
next	1.33.2.2;

1.33.2.2
date	2012.11.17.11.37.23;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.33.2.1.2.2;

1.33.2.1.2.2
date	2012.11.17.08.37.20;	author svnexp;	state Exp;
branches;
next	;

1.33.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.33.2.1.4.2;

1.33.2.1.4.2
date	2012.11.17.08.48.11;	author svnexp;	state Exp;
branches;
next	;

1.24.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.24.2.1.2.1
	1.24.2.1.4.1
	1.24.2.1.6.1
	1.24.2.1.8.1;
next	1.24.2.2;

1.24.2.2
date	2012.11.17.10.37.04;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.24.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.24.2.1.8.2;

1.24.2.1.8.2
date	2012.11.17.08.25.39;	author svnexp;	state Exp;
branches;
next	;

1.9.2.1
date	2008.08.29.09.27.40;	author rwatson;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2008.08.31.17.23.45;	author nwhitehorn;	state Exp;
branches
	1.9.2.2.2.1
	1.9.2.2.4.1
	1.9.2.2.6.1
	1.9.2.2.8.1;
next	1.9.2.3;

1.9.2.3
date	2012.11.17.08.07.25;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.9.2.2.8.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.9.2.2.8.2;

1.9.2.2.8.2
date	2012.11.17.08.17.33;	author svnexp;	state Exp;
branches;
next	;

1.2.2.1
date	2006.01.29.06.56.27;	author sam;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2008.07.13.21.36.42;	author marius;	state Exp;
branches
	1.2.2.2.2.1;
next	1.2.2.3;

1.2.2.3
date	2012.11.17.07.44.56;	author svnexp;	state Exp;
branches;
next	;

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


desc
@@


1.37
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/powerpc/conf/NOTES 241794 2012-10-21 04:02:34Z rpaulo $
#
# This file contains machine dependent kernel configuration notes.  For
# machine independent notes, look in /sys/conf/NOTES.



#####################################################################
# CPU OPTIONS

# You must specify a machine directive to choose powerpc or powerpc64
#machine		powerpc powerpc[64]

#
# You must specify at least one CPU (the one you intend to run on).
cpu		AIM
#cpu		BOOKE_E500
#cpu		BOOKE_PPC440

options 	FPU_EMU

#options 	MPC85XX
options 	POWERMAC		#NewWorld Apple PowerMacs
#options	PS3			#Sony Playstation 3
options 	PSIM			#GDB PSIM ppc simulator
options		MAMBO			#IBM Mambo Full System Simulator
#options 	WII			#Nintendo Wii

options 	SC_OFWFB		# OFW frame buffer

# The cpufreq(4) driver provides support for CPU frequency control
device		cpufreq

# Standard busses
device		pci
device		agp

device		bm		# Apple BMAC (Big Mac Ethernet)
device		glc		# Sony Playstation 3 Ethernet
device		kiic		# Apple Keywest I2C Controller
device		ofwd		# Open Firmware disks
device		adb		# Apple Desktop Bus
device		cuda		# VIA-CUDA ADB interface
device          ad7417          # PowerMac7,2 temperature sensor
device		ds1631		# PowerMac11,2 temperature sensor
device		ds1775		# PowerMac7,2 temperature sensor
device		fcu		# Apple Fan Control Unit
device		max6690		# PowerMac7,2 temperature sensor
device		pmu		# Apple Power Management Unit
device		smu		# Apple System Management Unit
device		snd_ai2s	# Apple I2S Audio
device		snd_davbus	# Apple Davbus Audio
device		windtunnel	# Apple G4 MDD fan controller


#####################################################################
# Devices we don't want to deal with

nodevice	bktr
nodevice	fdc
nodevice	ppc
nodevice	splash
# when splash works enable *_saver
nodevice	blank_saver
nodevice	daemon_saver
nodevice	dragon_saver
nodevice	fade_saver
nodevice	fire_saver
nodevice	green_saver
nodevice	logo_saver
nodevice	rain_saver
nodevice	snake_saver
nodevice	star_saver
nodevice	warp_saver
nodevice	daemon_saver
nodevice	star_saver
nodevice	snake_saver
# isa
nodevice	pcii
nodevice	tnt4882
# sound
nodevice	snd_cmi
# wants gdb_cur
nodevice	dcons
nodevice	dcons_crom


#####################################################################
# Options we don't want to deal with

nooption	PPC_DEBUG
nooption	PPC_PROBE_CHIPSET
nooption 	SC_NO_MODE_CHANGE
nooption 	UKBD_DFLT_KEYMAP
@


1.37.2.1
log
@file NOTES was added on branch RELENG_8_4 on 2013-03-28 13:05:36 +0000
@
text
@d1 94
@


1.37.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 78
# $FreeBSD: releng/8.4/sys/powerpc/conf/NOTES 194679 2009-06-23 04:28:32Z nwhitehorn $
#
# This file contains machine dependent kernel configuration notes.  For
# machine independent notes, look in /sys/conf/NOTES.



#####################################################################
# CPU OPTIONS

#
# You must specify at least one CPU (the one you intend to run on).
cpu		AIM
#cpu		E500

options 	FPU_EMU

#options 	MPC85XX
options 	POWERMAC		#NewWorld Apple PowerMacs
options 	PSIM			#GDB PSIM ppc simulator

options 	SC_OFWFB		# OFW frame buffer

# The cpufreq(4) driver provides support for CPU frequency control
device		cpufreq

# Standard busses
device		pci

device		bm		# Apple BMAC (Big Mac Ethernet)
device		kiic		# Apple Keywest I2C Controller
device		ofwd		# Open Firmware disks
device		adb		# Apple Desktop Bus
device		cuda		# VIA-CUDA ADB interface
device		pmu		# Apple Power Management Unit
device		smu		# Apple System Management Unit
device		snd_ai2s	# Apple I2S Audio
device		snd_davbus	# Apple Davbus Audio


#####################################################################
# Devices we don't want to deal with

nodevice	fdc
nodevice	ppc
nodevice	splash
# when splash works enable *_saver
nodevice	blank_saver
nodevice	daemon_saver
nodevice	dragon_saver
nodevice	fade_saver
nodevice	fire_saver
nodevice	green_saver
nodevice	logo_saver
nodevice	rain_saver
nodevice	snake_saver
nodevice	star_saver
nodevice	warp_saver
nodevice	daemon_saver
nodevice	star_saver
nodevice	snake_saver
# isa
nodevice	pcii
nodevice	tnt4882
# sound
nodevice	snd_cmi
# wants gdb_cur
nodevice	dcons
nodevice	dcons_crom


#####################################################################
# Options we don't want to deal with

nooption	PPC_DEBUG
nooption	PPC_PROBE_CHIPSET
nooption 	SC_NO_MODE_CHANGE
nooption 	UKBD_DFLT_KEYMAP
@


1.36
log
@SVN rev 241794 on 2012-10-21 04:02:34Z by rpaulo

Add "options WII".
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.35
log
@SVN rev 239402 on 2012-08-19 19:44:13Z by andreast

Add the ds1631 temperature driver.
@
text
@d27 1
@


1.34
log
@SVN rev 236141 on 2012-05-27 10:25:20Z by raj

Let us manage differences of Book-E PowerPC variations i.e. vendor /
implementation specific vs. the common architecture definition.

Bring PPC4XX defines (PSL, SPR, TLB). Note the new definitions under
BOOKE_PPC4XX are not used in the code yet.

This change set is not supposed to affect existing E500 support, it's just
another reorg step before bringing support for E500mc, E5500 and PPC465.

Obtained from:	AppliedMicro, Freescale, Semihalf
@
text
@d44 1
@


1.33
log
@SVN rev 222686 on 2011-06-04 15:17:35Z by andreast

Add new fan controller driver for the G4 MDD PowerMac. Submitted and tested
by Justin Hibbits.

Approved by:	nwhitehorn (mentor)
@
text
@d17 2
a18 1
#cpu		E500
@


1.33.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.33.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/powerpc/conf/NOTES 222686 2011-06-04 15:17:35Z andreast $
@


1.33.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.33.2.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/powerpc/conf/NOTES 222686 2011-06-04 15:17:35Z andreast $
@


1.33.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.33.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/powerpc/conf/NOTES 222686 2011-06-04 15:17:35Z andreast $
@


1.32
log
@SVN rev 222449 on 2011-05-29 14:25:42Z by andreast

Add a new driver, the ad7417, to read temperatures and voltages on some
PowerMac's.

Approved by:	nwhitehorn (mentor)
@
text
@d50 1
@


1.31
log
@SVN rev 217054 on 2011-01-06 14:12:24Z by nwhitehorn

Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT is
built for both architectures. We need a better solution here.
@
text
@d42 1
@


1.30
log
@SVN rev 217044 on 2011-01-06 04:12:29Z by nwhitehorn

Import support for the Sony Playstation 3 using the OtherOS feature
available on firmwares 3.15 and earlier.

Caveats: Support for the internal SATA controller is currently missing,
as is support for framebuffer resolutions other than 720x480. These
deficiencies will be remedied soon.

Special thanks to Peter Grehan for providing the hardware that made this
port possible, and thanks to Geoff Levand of Sony Computer Entertainment
for advice on the LV1 hypervisor.
@
text
@d23 1
a23 1
options		PS3			#Sony Playstation 3
@


1.29
log
@SVN rev 214603 on 2010-10-31 18:27:05Z by nwhitehorn

Add a driver for the Apple Uninorth AGP host bridge found in all PowerPC
Macintoshes with an AGP bus.
@
text
@d23 1
d37 1
@


1.28
log
@SVN rev 213904 on 2010-10-15 20:08:16Z by andreast

Add three new drivers for fan control and temperature reading on the
PowerMac7,2.

- The fcu driver lets us read and write the fan RPMs for all fans in the
  PowerMac7,2. This driver is PowerMac specific.
- The ds1775 is a driver to read the temperature for the drive bay sensor.
- The max6690 is another driver to read temperatures. Here it is used to
  read the inlet, the backside and the U3 heatsink temperature.

An additional driver, the ad7417, will follow later.

Thanks to nwhitehorn for guiding me through this driver development.

Approved by:	nwhitehorn (mentor)
@
text
@d33 1
@


1.27
log
@SVN rev 211483 on 2010-08-19 03:19:26Z by nwhitehorn

Unbreak the LINT kernel on powerpc64. Note that the LINT kernel
configuration is TARGET_ARCH specific and must be generated with
TARGET_ARCH set.

Reviewed by:	imp
@
text
@d39 3
@


1.26
log
@SVN rev 210677 on 2010-07-31 13:22:34Z by nwhitehorn

Add support for the IBM Full-System Simulator (Mambo). This code has been
developed against the 970 and Cell simulators.
@
text
@d11 2
a12 1
machine		powerpc powerpc
d48 1
@


1.25
log
@SVN rev 209975 on 2010-07-13 05:32:19Z by nwhitehorn

MFppc64:

Kernel sources for 64-bit PowerPC, along with build-system changes to keep
32-bit kernels compiling (build system changes for 64-bit kernels are
coming later). Existing 32-bit PowerPC kernel configurations must be
updated after this change to specify their architecture.
@
text
@d23 1
@


1.24
log
@SVN rev 194679 on 2009-06-23 04:28:32Z by nwhitehorn

Add cpufreq support on the PowerPC G5, along with a skeleton SMU driver
in order to slew CPU voltage during frequency changes. The OpenBSD SMU
driver was an extremely helpful reference for this.
@
text
@d11 2
@


1.24.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.24.2.2
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/powerpc/conf/NOTES 194679 2009-06-23 04:28:32Z nwhitehorn $
@


1.24.2.1.8.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.24.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/powerpc/conf/NOTES 194679 2009-06-23 04:28:32Z nwhitehorn $
@


1.24.2.1.6.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.24.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.24.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.23
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
@d36 1
@


1.22
log
@SVN rev 191954 on 2009-05-10 00:00:25Z by kuriyama

- Use "device\t" and "options \t" for consistency.
@
text
@d24 3
@


1.21
log
@SVN rev 187692 on 2009-01-25 18:20:15Z by nwhitehorn

Add support for the I2S and davbus audio controllers found in Apple PowerPC
hardware.

Submitted by:	Marco Trillo
@
text
@d22 1
a22 1
options		SC_OFWFB		# OFW frame buffer
@


1.20
log
@SVN rev 187262 on 2009-01-15 02:52:31Z by nwhitehorn

Driver for Apple Keywest I2C controllers found in MacIO ASICs. Used for
power and thermal control, as well as GPIOs on Xserves and controlling
sound codecs for Apple built-in audio.

Submitted by:	Marco Trillo
Obtained from:	NetBSD
@
text
@d33 2
@


1.19
log
@SVN rev 185755 on 2008-12-08 02:38:13Z by nwhitehorn

Accidentally left ADB out of the PowerPC NOTES file during initial import.
@
text
@d28 1
@


1.18
log
@SVN rev 179646 on 2008-06-08 01:58:11Z by marcel

Move bm(4) from the sys/conf/NOTES to sys/powerpc/conf/NOTES.
The driver applies to PowerPC only.
@
text
@d29 3
@


1.17
log
@MFp4: SMP support
@
text
@d27 1
@


1.16
log
@Also comment-out options MPC85XX. We don't define CCSRBAR_* without E500.
@
text
@a63 2
nooption 	SMP
nooption 	ADAPTIVE_SX
@


1.15
log
@Comment-out cpu E500. We can't yet build it with AIM at the same time.
@
text
@d18 1
a18 1
options 	MPC85XX
@


1.14
log
@Connect MPC85XX to the PowerPC build.

The kernel config file is KERNCONF=MPC85XX, so the usual procedure applies:

1. make buildworld TARGET_ARCH=powerpc
2. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX

This default config uses kernel-level FPU emulation. For the soft-float world
approach:

1. make buildworld TARGET_ARCH=powerpc TARGET_CPUTYPE=e500
2. disable FPU_EMU option in sys/powerpc/conf/MPC85XX
3. make buildkernel TARGET_ARCH=powerpc TARGET_CPUTYPE=e500 KERNCONF=MPC85XX

Approved by:	cognet (mentor)
MFp4:		e500
@
text
@d14 1
a14 1
cpu		E500
@


1.13
log
@Add FPU_EMU.
@
text
@d14 1
d18 1
@


1.12
log
@There's no need to suppress option GDB.
@
text
@d15 2
@


1.11
log
@Redefine bus_space_tag_t on PowerPC from a 32-bit integral to
a pointer to struct bus_space. The structure contains function
pointers that do the actual bus space access.

The reason for this change is that previously all bus space
accesses were little endian (i.e. had an explicit byte-swap
for multi-byte accesses), because all busses on Macs are little
endian.
The upcoming support for Book E, and in particular the E500
core, requires support for big-endian busses because all
embedded peripherals are in the native byte-order.

With this change, there's no distinction between I/O port
space and memory mapped I/O. PowerPC doesn't have I/O port
space. Busses assign tags based on the byte-order only.
For that purpose, two global structures exist (bs_be_tag and
bs_le_tag), of which the address can be taken to get a valid
tag.

Obtained from: Juniper, Semihalf
@
text
@a61 1
nooption 	GDB
@


1.10
log
@Rename OEA to AIM. The former means nothing as it applies to all
processors (it's the PowerPC Operating Environment Architecture).
AIM designates the processors made by the Apple-IBM-Motorola
alliance and those we typically support.

While here, remove the NetBSD option IPKDB. It's not an option
used by us. Also, PPC_HAVE_FPU is not used by us either. Remove
that too.

Obtained from: Juniper, Semihalf
@
text
@d50 2
@


1.9
log
@o Revert the part of if_gem.c rev. 1.35 which added a call to gem_stop()
  to gem_attach() as the former access softc members not yet initialized
  at that time and gem_reset() actually is enough to stop the chip. [1]
o Revise the use of gem_bitwait(); add bus_barrier() calls before calling
  gem_bitwait() to ensure the respective bit has been written before we
  starting polling on it and poll for the right bits to change, f.e. even
  though we only reset RX we have to actually wait for both GEM_RESET_RX
  and GEM_RESET_TX to clear. Add some additional gem_bitwait() calls in
  places we've been missing them according to the GEM documentation.
  Along with this some excessive DELAYs, which probably only were added
  because of bugs in gem_bitwait() and its use in the first place, as
  well as as have of an gem_bitwait() reimplementation in gem_reset_tx()
  were removed.
o Add gem_reset_rxdma() and use it to deal with GEM_MAC_RX_OVERFLOW errors
  more gracefully as unlike gem_init_locked() it resets the RX DMA engine
  only, causing no link loss and the FIFOs not to be cleared. Also use it
  deal with GEM_INTR_RX_TAG_ERR errors, with previously were unhandled.
  This was based on information obtained from the Linux GEM and OpenSolaris
  ERI drivers.
o Turn on workarounds for silicon bugs in the Apple GMAC variants.
  This was based on information obtained from the Darwin GMAC and Linux GEM
  drivers.
o Turn on "infinite" (i.e. maximum 31 * 64 bytes in length) DMA bursts.
  This greatly improves especially RX performance.
o Optimize the RX path, this consists of:
  - kicking the receiver as soon as we've a spare descriptor in gem_rint()
    again instead of just once after all the ready ones have been handled;
  - kicking the receiver the right way, i.e. as outlined in the GEM
    documentation in batches of 4 and by pointing it to the descriptor
    after the last valid one;
  - calling gem_rint() before gem_tint() in gem_intr() as gem_tint() may
    take quite a while;
  - doubling the size of the RX ring to 256 descriptors.
  Overall the RX performance of a GEM in a 1GHz Sun Fire V210 was improved
  from ~100Mbit/s to ~850Mbit/s.
o In gem_add_rxbuf() don't assign the newly allocated mbuf to rxs_mbuf
  before calling bus_dmamap_load_mbuf_sg(), if bus_dmamap_load_mbuf_sg()
  fails we'll free the newly allocated mbuf, unable to recycle the
  previous one but a NULL pointer dereference instead.
o In gem_init_locked() honor the return value of gem_meminit().
o Simplify gem_ringsize() and dont' return garbage in the default case.
  Based on OpenBSD.
o Don't turn on MAC control, MIF and PCS interrupts unless GEM_DEBUG is
  defined as we don't need/use these interrupts for operation.
o In gem_start_locked() sync the DMA maps of the descriptor rings before
  every kick of the transmitter and not just once after enqueuing all
  packets as the NIC might instantly start transmitting after we kicked
  it the first time.
o Keep state of the link state and use it to enable or disable the MAC
  in gem_mii_statchg() accordingly as well as to return early from
  gem_start_locked() in case the link is down. [3]
o Initialize the maximum frame size to a sane value.
o In gem_mii_statchg() enable carrier extension if appropriate.
o Increment if_ierrors in case of an GEM_MAC_RX_OVERFLOW error and in
  gem_eint(). [3]
o Handle IFF_ALLMULTI correctly; don't set it if we've turned promiscuous
  group mode on and don't clear the flag if we've disabled promiscuous
  group mode (these were mostly NOPs though). [2]
o Let gem_eint() also report GEM_INTR_PERR errors.
o Move setting sc_variant from gem_pci_probe() to gem_pci_attach() as
  device probe methods are not supposed to touch the softc.
o Collapse sc_inited and sc_pci into bits for sc_flags.
o Add CTASSERTs ensuring that GEM_NRXDESC and GEM_NTXDESC are set to
  legal values.
o Correctly set up for 802.3x flow control, though #ifdef out the code
  that actually enables it as this needs more testing and mainly a proper
  framework to support it.
o Correct and add some conversions from hard-coded functions names to
  __func__ which were borked or forgotten in if_gem.c rev. 1.42.
o Use PCIR_BAR instead of a homegrown macro.
o Replace sc_enaddr[6] with sc_enaddr[ETHER_ADDR_LEN].
o In gem_pci_attach() in case attaching fails release the resources in
  the opposite order they were allocated.
o Make gem_reset() static to if_gem.c as it's not needed outside that
  module.
o Remove the GEM_GIGABIT flag and the associated code; GEM_GIGABIT was
  never set and the associated code was in the wrong place.
o Remove sc_mif_config; it was only used to cache the contents of the
  respective register within gem_attach().
o Remove the #ifdef'ed out NetBSD/OpenBSD code for establishing a suspend
  hook as it will never be used on FreeBSD.
o Also probe Apple Intrepid 2 GMAC and Apple Shasta GMAC, add support for
  Apple K2 GMAC. Based on OpenBSD.
o Add support for Sun GBE/P cards, or in other words actually add support
  for cards based on GEM to gem(4). This mainly consists of adding support
  for the TBI of these chips. Along with this the PHY selection code was
  rewritten to hardcode the PHY number for certain configurations as for
  example the PHY of the on-board ERI of Blade 1000 shows up twice causing
  no link as the second incarnation is isolated.
  These changes were ported from OpenBSD with some additional improvements
  and modulo some bugs.
o Add code to if_gem_pci.c allowing to read the MAC-address from the VPD on
  systems without Open Firmware.
  This is an improved version of my variant of the respective code in
  if_hme_pci.c
o Now that gem(4) is MI enable it for all archs.

Pointed out by:	yongari [1]
Suggested by:	rwatson [2], yongari [3]
Tested on:	i386 (GEM), powerpc (GMACs by marcel and yongari),
		sparc64 (ERI and GEM)
Reviewed by:	yongari
Approved by:	re (kensmith)
@
text
@d13 1
a13 1
cpu		OEA
@


1.9.2.1
log
@SVN rev 182439 on 2008-08-29 09:27:40Z by rwatson

As "device bm" appears to be specific to powerpc, move it from the global
NOTES to powerpc-specific NOTES.
@
text
@a23 6

#####################################################################
# Devices specific to powerpc
#
# bm:	Apple BMAC (Big Mac Ethernet).
device		bm		# Apple BMAC (Big Mac Ethernet)
@


1.9.2.2
log
@SVN rev 182551 on 2008-08-31 17:23:45Z by nwhitehorn

Back out r182439 to move device bm to PowerPC-specific NOTES, and replace it by an MFC of r179646, which does the same thing.

Suggested by:	rwatson
Approved by:	marcel (mentor)
@
text
@d23 6
a29 1
device		ofwd		# Open Firmware disks
@


1.9.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/powerpc/conf/NOTES 182551 2008-08-31 17:23:45Z nwhitehorn $
@


1.9.2.2.8.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.2.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/powerpc/conf/NOTES 182551 2008-08-31 17:23:45Z nwhitehorn $
@


1.9.2.2.6.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.2.2.4.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.2.2.2.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
@If nooption SMP on powerpc, also nooption ADAPTIVE_SX, which depends on
SMP and is now in the global NOTES.
@
text
@a22 1
device		gem		# Sun GEM/Sun ERI/Apple GMAC
@


1.7
log
@Add missing SC_NO_MODE_CHANGE option. Disable it in the powerpc
NOTES though, as ofw_syscons(4) doesn't properly interface with
syscons(4) regarding loading the font specified with SC_DFLT_FONT,
causing a kernel with both options SC_OFWFB and SC_NO_MODE_CHANGE
to not link.
@
text
@d60 1
@


1.6
log
@Move "device splash" back to MI NOTES and "files", it's MI.
@
text
@d63 1
@


1.5
log
@Mechanically kill redundant nodevice/nooption/nomakeoption, i.e.,
those that do not exist in MI NOTES or switched on/off in the MD
NOTES.
@
text
@d32 1
@


1.4
log
@Remove sio(4) and related options from MI files to amd64, i386
and pc98 MD files. Remove nodevice and nooption lines specific
to sio(4) from ia64, powerpc and sparc64 NOTES. There were no
such lines for arm yet.
sio(4) is usable on less than half the platforms, not counting
a future mips platform. Its presence in MI files is therefore
increasingly becoming a burden.
@
text
@a29 4
nodevice	atkbdc
nodevice	atkbd
nodevice	psm
nodevice	vga
a32 1
nodevice	splash
a46 2
# needs outsw use fixed
nodevice	cs
a59 4
nooption	VGA_DEBUG
nooption	VGA_WIDTH90
nooption	VGA_SLOW_IOACCESS
nooption	VGA_ALT_SEQACCESS
a61 3
nooption	PSM_RESETAFTERSUSPEND
nooption	PSM_HOOKRESUME
nooption	ATKBD_DFLT_KEYMAP
@


1.3
log
@o  Remove device zs
o  Remove nodevice uart
o  Reorder
@
text
@a32 1
nodevice	sio
@


1.2
log
@Remove duplicate options (originals in sys/conf/NOTES).

Reported by:	fresh config(8)
@
text
@a22 1
device		zs		# Zilog 8350 based serial ports
d33 1
a54 2
# XXX can't remember why
nodevice	uart
a60 2
# not yet
nodevice	sio
@


1.2.2.1
log
@MFC: add LINT build
@
text
@@


1.2.2.2
log
@SVN rev 180504 on 2008-07-13 21:36:42Z by marius

MFC: r170285; r170273; r172334; r172607; r174987; r176996; r177560; r179925

Sync gem(4) with head as of r179925 except for r169269 (skipped for
performance reasons) and r175418 (doesn't apply). Amongst others this
brings:
- lots of bug fixes and improvements,
- support for some additional Apple GMAC variants,
- actual support for Sun GEM,
- machine-independency.
@
text
@d24 1
@


1.2.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/powerpc/conf/NOTES 180504 2008-07-13 21:36:42Z marius $
@


1.2.2.2.2.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.1
log
@add LINT build

Discussed with:	grehan
MFC after:	1 week
@
text
@a18 2
options		SC_DFLT_FONT		# compile font in
makeoptions	SC_DFLT_FONT=cp437
@

