head	1.6;
access;
symbols
	RELENG_9_1_0_RELEASE:1.2.2.4.2.2
	RELENG_9_1:1.2.2.4.0.2
	RELENG_9_1_BP:1.2.2.4
	RELENG_9:1.2.0.2;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.01.51.09;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2012.07.27.17.07.54;	author imp;	state Exp;
branches;
next	1.4;

1.4
date	2012.07.26.05.37.36;	author imp;	state Exp;
branches;
next	1.3;

1.3
date	2012.06.03.01.07.55;	author marius;	state Exp;
branches;
next	1.2;

1.2
date	2012.05.24.11.20.51;	author mav;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2012.05.12.18.11.26;	author marius;	state Exp;
branches;
next	;

1.2.2.1
date	2012.06.02.18.57.13;	author marius;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2012.06.02.18.57.13;	author marius;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2012.06.02.19.04.21;	author marius;	state dead;
branches;
next	1.2.2.4;

1.2.2.4
date	2012.06.21.11.23.38;	author marius;	state Exp;
branches
	1.2.2.4.2.1;
next	1.2.2.5;

1.2.2.5
date	2012.11.17.11.36.45;	author svnexp;	state Exp;
branches;
next	;

1.2.2.4.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.2.2.4.2.2;

1.2.2.4.2.2
date	2012.11.17.08.47.34;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switching exporter and resync
@
text
@# Kernel configuration for Ethernut 5 boards
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: head/sys/arm/conf/ETHERNUT5 238847 2012-07-27 17:07:54Z imp $

ident		ETHERNUT5

include "../at91/std.ethernut5"

# To statically compile in device wiring instead of /boot/device.hints
hints		"ETHERNUT5.hints"

#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

options 	SCHED_4BSD		# 4BSD scheduler
#options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
#options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
#options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
#options 	MD_ROOT			# MD is a potential root device
options 	NFSCL			# New Network Filesystem Client
#options 	NFSD			# New Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCL
#options 	MSDOSFS			# MSDOS Filesystem
#options 	CD9660			# ISO 9660 Filesystem
#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
#options 	PSEUDOFS		# Pseudo-filesystem framework
#options 	GEOM_PART_GPT		# GUID Partition Tables.
#options 	GEOM_LABEL		# Provides labelization
#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
#options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
#options 	AUDIT			# Security event auditing
#options 	CAPABILITY_MODE		# Capsicum capability mode
#options 	CAPABILITIES		# Capsicum capabilities
#options 	MAC			# TrustedBSD MAC Framework
#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel

# required for netbooting
options 	BOOTP
options 	BOOTP_COMPAT
options 	BOOTP_NFSROOT
options 	BOOTP_NFSV3
options 	BOOTP_WIRED_TO=ate0

# alternatively, boot from a MMC/SD memory card
#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"

# kernel/memory size reduction
options 	MUTEX_NOINLINE
options 	NO_FFS_SNAPSHOT
options 	NO_SWAPPING
options 	NO_SYSCTL_DESCR
options 	RWLOCK_NOINLINE

# Debugging support.  Always need this:
#options 	KDB			# Enable kernel debugger support.
# For minimum debugger support (stable branch) use:
#options 	KDB_TRACE		# Print a stack trace for a panic.
# For full debugger support use this instead:
#options 	DDB			# Support DDB.
#options 	GDB			# Support remote GDB.
#options 	DEADLKRES		# Enable the deadlock resolver
#options 	INVARIANTS		# Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			# Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# Ethernet
device		mii		# Minimal MII support
device		ate		# Atmel AT91 Ethernet driver

# I2C
device		at91_twi	# Atmel AT91 Two-wire Interface
device		iic		# I2C generic I/O device driver
device		iicbus		# I2C bus system
device		pcf8563		# NXP PCF8563 clock/calendar

# MMC/SD
device		at91_mci	# Atmel AT91 Multimedia Card Interface
options 	AT91_MCI_HAS_4WIRE
device		mmc		# MMC/SD bus
device		mmcsd		# MMC/SD memory card

# DataFlash
device		at91_spi	# Atmel AT91 Serial Peripheral Interface
device		spibus		# SPI bus
device		at45d		# Atmel AT45D
device		geom_map	# GEOM partition mapping

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
#device		vlan		# 802.1Q VLAN support
#device		tun		# Packet tunnel.
#device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
#device		firmware	# firmware assist module

# SCSI peripherals
#device		scbus		# SCSI bus (required for ATA/SCSI)
#device		ch		# SCSI media changers
#device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
#device		cd		# CD
#device		pass		# Passthrough device (direct ATA/SCSI access)
#device		ses		# Enclosure Services (SES and SAF-TE)
#device		ctl		# CAM Target Layer

# Serial (COM) ports
device		uart		# Multi-uart driver
options 	ALT_BREAK_TO_DEBUGGER

# USB support
#options 	USB_DEBUG	# enable debug msgs
device		ohci		# OHCI USB interface
device		usb		# USB Bus (required)
#device		umass		# Disks/Mass storage - Requires scbus and da

# watchdog
device		at91_wdt	# Atmel AT91 Watchdog Timer
@


1.5
log
@SVN rev 238847 on 2012-07-27 17:07:54Z by imp

Neither of these systems has PCI, but they do have ohci interface, so
fix comments.
@
text
@d18 1
a18 1
# $FreeBSD$
@


1.4
log
@SVN rev 238786 on 2012-07-26 05:37:36Z by imp

Fix typo in comment.
spibus uses cs= rather than addr=, so fix hints to use that (nop since
	spibus cs defaults to 0, and at91_spi assumes 0).
@
text
@d153 1
a153 1
device		ohci		# OHCI PCI->USB interface
@


1.3
log
@SVN rev 236497 on 2012-06-03 01:07:55Z by marius

- Now that the DataFlash related drivers work properly (at91_spi(4) since
  r236495 and at45d(4) since r236496), enable them by default.
- Sort BOOTP options.
@
text
@d106 1
a106 1
device		ate		# Atmel AT91 Ethernet friver
@


1.2
log
@SVN rev 235898 on 2012-05-24 11:20:51Z by mav

MFprojects/zfsd:
Generalize and unify ses device description.
@
text
@d69 2
a71 1
options 	BOOTP
a73 1
options 	BOOTP_COMPAT
d120 5
a124 5
# DataFlash - totally b0rken drivers
#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
#device		spibus		# SPI bus
#device		at45d		# Atmel AT45D
#device		geom_map	# GEOM partition mapping
@


1.2.2.1
log
@file ETHERNUT5 was added on branch RELENG_9 on 2012-06-02 18:58:05 +0000
@
text
@d1 158
@


1.2.2.2
log
@SVN rev 236468 on 2012-06-02 18:57:13Z by marius

MFC: r236061

- When creating the DMA tag for user data, don't ask for more segments
  than required for handling MAXPHYS and report the resulting maximum
  I/O size to CAM instead of implicitly limiting it to DFLTPHYS.
- Move the variables of sym_action2() out of nested scope as required
  by style(9) and remove extraneous curly braces.
- Replace a magic value for PCIR_COMMAND with the appropriate macro.
- Use DEVMETHOD_END.
- Use NULL instead of 0 for pointers.

Tested with a HBA donated by wilko.
@
text
@a0 158
# Kernel configuration for Ethernut 5 boards
#
# For more information on this file, please read the config(5) manual page,
# and/or the handbook section on Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD$

ident		ETHERNUT5

include "../at91/std.ethernut5"

# To statically compile in device wiring instead of /boot/device.hints
hints		"ETHERNUT5.hints"

#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

options 	SCHED_4BSD		# 4BSD scheduler
#options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
#options 	INET6			# IPv6 communications protocols
#options 	SCTP			# Stream Control Transmission Protocol
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
#options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
#options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
#options 	MD_ROOT			# MD is a potential root device
options 	NFSCL			# New Network Filesystem Client
#options 	NFSD			# New Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCL
#options 	MSDOSFS			# MSDOS Filesystem
#options 	CD9660			# ISO 9660 Filesystem
#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
#options 	PSEUDOFS		# Pseudo-filesystem framework
#options 	GEOM_PART_GPT		# GUID Partition Tables.
#options 	GEOM_LABEL		# Provides labelization
#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
#options 	STACK			# stack(9) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
#options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
#options 	AUDIT			# Security event auditing
#options 	CAPABILITY_MODE		# Capsicum capability mode
#options 	CAPABILITIES		# Capsicum capabilities
#options 	MAC			# TrustedBSD MAC Framework
#options 	INCLUDE_CONFIG_FILE	# Include this file in kernel

# required for netbooting
options 	BOOTP_NFSROOT
options 	BOOTP
options 	BOOTP_NFSV3
options 	BOOTP_WIRED_TO=ate0
options 	BOOTP_COMPAT

# alternatively, boot from a MMC/SD memory card
#options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0a\"

# kernel/memory size reduction
options 	MUTEX_NOINLINE
options 	NO_FFS_SNAPSHOT
options 	NO_SWAPPING
options 	NO_SYSCTL_DESCR
options 	RWLOCK_NOINLINE

# Debugging support.  Always need this:
#options 	KDB			# Enable kernel debugger support.
# For minimum debugger support (stable branch) use:
#options 	KDB_TRACE		# Print a stack trace for a panic.
# For full debugger support use this instead:
#options 	DDB			# Support DDB.
#options 	GDB			# Support remote GDB.
#options 	DEADLKRES		# Enable the deadlock resolver
#options 	INVARIANTS		# Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			# Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
#options 	MALLOC_DEBUG_MAXZONES=8	# Separate malloc(9) zones

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device		bpf		# Berkeley packet filter

# Ethernet
device		mii		# Minimal MII support
device		ate		# Atmel AT91 Ethernet friver

# I2C
device		at91_twi	# Atmel AT91 Two-wire Interface
device		iic		# I2C generic I/O device driver
device		iicbus		# I2C bus system
device		pcf8563		# NXP PCF8563 clock/calendar

# MMC/SD
device		at91_mci	# Atmel AT91 Multimedia Card Interface
options 	AT91_MCI_HAS_4WIRE
device		mmc		# MMC/SD bus
device		mmcsd		# MMC/SD memory card

# DataFlash - totally b0rken drivers
#device		at91_spi	# Atmel AT91 Serial Peripheral Interface
#device		spibus		# SPI bus
#device		at45d		# Atmel AT45D
#device		geom_map	# GEOM partition mapping

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
#device		vlan		# 802.1Q VLAN support
#device		tun		# Packet tunnel.
#device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)
#device		firmware	# firmware assist module

# SCSI peripherals
#device		scbus		# SCSI bus (required for ATA/SCSI)
#device		ch		# SCSI media changers
#device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
#device		cd		# CD
#device		pass		# Passthrough device (direct ATA/SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)
#device		ctl		# CAM Target Layer

# Serial (COM) ports
device		uart		# Multi-uart driver
options 	ALT_BREAK_TO_DEBUGGER

# USB support
#options 	USB_DEBUG	# enable debug msgs
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		umass		# Disks/Mass storage - Requires scbus and da

# watchdog
device		at91_wdt	# Atmel AT91 Watchdog Timer
@


1.2.2.3
log
@SVN rev 236472 on 2012-06-02 19:04:21Z by marius

Revert changes accidentally committed as part of r236468.
@
text
@d18 1
a18 1
# $FreeBSD: src/sys/arm/conf/ETHERNUT5,v 1.2.2.2 2012/06/02 18:57:13 marius Exp $
@


1.2.2.4
log
@SVN rev 237386 on 2012-06-21 11:23:38Z by marius

MFC: r235348, r236191, r236497

Add glue/support for the SAM9XE512-based Ethernut 5 boards. Currently,
all integrated and on-board peripherals except NAND Flash (missing NAND
framework/integration) are working.
@
text
@d18 1
a18 1
# $FreeBSD$
d69 1
a70 2
options 	BOOTP_COMPAT
options 	BOOTP_NFSROOT
d73 1
d120 5
a124 5
# DataFlash
device		at91_spi	# Atmel AT91 Serial Peripheral Interface
device		spibus		# SPI bus
device		at45d		# Atmel AT45D
device		geom_map	# GEOM partition mapping
@


1.2.2.5
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
@d18 1
a18 1
# $FreeBSD: stable/9/sys/arm/conf/ETHERNUT5 237386 2012-06-21 11:23:38Z marius $
@


1.2.2.4.2.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.2.2.4.2.2
log
@Switch importer
@
text
@d18 1
a18 1
# $FreeBSD: releng/9.1/sys/arm/conf/ETHERNUT5 237386 2012-06-21 11:23:38Z marius $
@


1.1
log
@SVN rev 235348 on 2012-05-12 18:11:26Z by marius

Add glue/support for the SAM9XE512-based Ethernut 5 boards. Currently,
all integrated and on-board peripherals except the DataFlash (at91_spi(4)
and at45d(4) still need to be unb0rken) and NAND Flash (missing NAND
framework) are working.
AFAICT, this makes FreeBSD the first operating system besides Nut/OS
supporting Ethernut 5 out of tree.
@
text
@d144 1
a144 1
#device		ses		# SCSI Environmental Services (and SAF-TE)
@

