summaryrefslogtreecommitdiffstats
path: root/sys/sun4v/conf
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-10-05 06:14:28 +0000
committerkmacy <kmacy@FreeBSD.org>2006-10-05 06:14:28 +0000
commit254e1d0b6bedb639a972924d808f2f973fdee694 (patch)
tree2ce4fd76148db8274ba002abbc89af40cb4a4a1f /sys/sun4v/conf
parentcb2fdfacbdacc1a7c8bf85059a5fa7ba965a6f28 (diff)
downloadFreeBSD-src-254e1d0b6bedb639a972924d808f2f973fdee694.zip
FreeBSD-src-254e1d0b6bedb639a972924d808f2f973fdee694.tar.gz
placate Grim Reaper with sun4v support
Diffstat (limited to 'sys/sun4v/conf')
-rw-r--r--sys/sun4v/conf/DEFAULTS9
-rw-r--r--sys/sun4v/conf/GENERIC217
-rw-r--r--sys/sun4v/conf/GENERIC.hints1
-rw-r--r--sys/sun4v/conf/MAC28
-rw-r--r--sys/sun4v/conf/Makefile3
-rw-r--r--sys/sun4v/conf/NOTES132
6 files changed, 390 insertions, 0 deletions
diff --git a/sys/sun4v/conf/DEFAULTS b/sys/sun4v/conf/DEFAULTS
new file mode 100644
index 0000000..5695ed6
--- /dev/null
+++ b/sys/sun4v/conf/DEFAULTS
@@ -0,0 +1,9 @@
+#
+# DEFAULTS -- Default kernel configuration file for FreeBSD/sparc64
+#
+# $FreeBSD$
+
+machine sun4v
+
+# Pseudo devices.
+device mem # Memory and kernel memory devices
diff --git a/sys/sun4v/conf/GENERIC b/sys/sun4v/conf/GENERIC
new file mode 100644
index 0000000..e5421c6
--- /dev/null
+++ b/sys/sun4v/conf/GENERIC
@@ -0,0 +1,217 @@
+#
+# GENERIC -- Generic kernel configuration file for FreeBSD/sparc64
+#
+# For more information on this file, please read 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.
+#
+# For hardware specific information check HARDWARE.TXT
+#
+# $FreeBSD$
+
+cpu SUN4V
+ident GENERIC
+
+makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
+makeoptions NO_MODULES="" # disable modules (aicasm in buildenv)
+
+# Platforms supported
+# At this time all platforms are supported, as-is.
+
+#options SCHED_ULE # ULE scheduler
+options SCHED_4BSD # 4BSD scheduler
+#options PREEMPTION # Enable kernel thread preemption
+options INET # InterNETworking
+options INET6 # IPv6 communications protocols
+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 MD_ROOT # MD is a potential root device
+options NFSCLIENT # Network Filesystem Client
+options NFSSERVER # Network Filesystem Server
+options NFS_ROOT # NFS usable as /, requires NFSCLIENT
+#options MSDOSFS # MSDOS Filesystem
+options NULLFS
+options CD9660 # ISO 9660 Filesystem
+options PROCFS # Process filesystem (requires PSEUDOFS)
+options PSEUDOFS # Pseudo-filesystem framework
+options GEOM_GPT # GUID Partition Tables.
+options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
+options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!]
+options COMPAT_FREEBSD5 # Compatible with FreeBSD5
+options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
+options KTRACE # ktrace(1) 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 AHC_REG_PRETTY_PRINT # Print register bitfields in debug
+ # output. Adds ~128k to driver.
+options ADAPTIVE_GIANT # Giant mutex is adaptive.
+
+# Debugging for use in -current
+options KDB # Enable kernel debugger support.
+options KDB_TRACE
+options DDB # Support DDB.
+options TRAP_TRACING # Enable trap tracing.
+options TRAP_TRACE_ENTRIES=256 # Trap trace buffer entries.
+#options GDB # Support remote GDB.
+#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 DEBUG_LOCKS
+#options DEBUG_VFS_LOCKS
+
+# To make an SMP kernel, the next line is needed
+options SMP # Symmetric MultiProcessor Kernel
+
+# Standard busses
+device pci
+#device isa
+
+
+# Floppy drives
+#device fdc
+
+# ATA and ATAPI devices
+#device ata
+#device atadisk # ATA disk drives
+#device atapicd # ATAPI CDROM drives
+#device atapifd # ATAPI floppy drives
+#device atapist # ATAPI tape drives
+# Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!,
+# and you will not mount an ATA /.
+#options ATA_STATIC_ID # Static device numbering
+
+# SCSI Controllers
+#device ahc # AHA2940 and onboard AIC7xxx devices
+#device isp # Qlogic family
+#device ispfw # Firmware module for Qlogic host adapters
+device mpt # LSI-Logic MPT-Fusion (not yet)
+#device ncr # NCR/Symbios Logic
+#device sym # NCR/Symbios Logic (newer chipsets + those of `ncr')
+#device esp # NCR53c9x (FEPS/FAS366)
+
+# SCSI peripherals
+device scbus # SCSI bus (required for 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 SCSI access)
+device ses # SCSI Environmental Services (and SAF-TE)
+
+# RAID controllers
+#device amr # AMI MegaRAID
+#device mlx # Mylex DAC960 family
+
+# syscons is the default console driver, resembling an SCO console
+#device sc
+#device splash # Splash screen and screen saver support
+#options KBD_INSTALL_CDEV # install a CDEV entry in /dev
+
+#device ofw_console # Open Firmware console device
+
+# Builtin hardware
+#device auxio # auxiliary I/O device
+#device clkbrd # Clock Board (blinkenlight on Sun Exx00)
+device genclock # Generic clock interface
+#device eeprom # eeprom (really a front-end for the MK48Txx)
+#device mk48txx # Mostek MK48Txx clocks
+#device rtc # rtc (really a front-end for the MC146818)
+#device mc146818 # Motorola MC146818 and compatible clocks
+
+# Serial (COM) ports
+#device sab # Siemens SAB82532 based serial ports
+#device uart # Multi-uart driver
+#device puc # Multi-channel uarts
+
+# Parallel port
+#device ppc
+#device ppbus # Parallel port bus (required)
+#device lpt # Printer
+#device plip # TCP/IP over parallel
+#device ppi # Parallel port interface device
+#device vpo # Requires scbus and da
+
+# PCI Ethernet NICs.
+#device de # DEC/Intel DC21x4x (``Tulip'')
+device em # Intel PRO/1000 adapter Gigabit Ethernet Card
+#device ixgb # Intel PRO/10GbE Ethernet Card
+#device le # AMD Am7900 LANCE and Am79C9xx PCnet
+#device txp # 3Com 3cR990 (``Typhoon'')
+#device vx # 3Com 3c590, 3c595 (``Vortex'')
+
+# PCI Ethernet NICs that use the common MII bus controller code.
+# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
+device miibus # MII bus support
+device bge # Broadcom BCM570xx Gigabit Ethernet
+
+# Pseudo devices.
+device loop # Network loopback
+device random # Entropy device
+device ether # Ethernet support
+device sl # Kernel SLIP
+device ppp # Kernel PPP
+device tun # Packet tunnel.
+device pty # Pseudo-ttys (telnet etc)
+device md # Memory "disks"
+device gif # IPv6 and IPv4 tunneling
+device faith # IPv6-to-IPv4 relaying (translation)
+
+# 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
+
+# USB support
+#device uhci # UHCI PCI->USB interface
+#device ohci # OHCI PCI->USB interface
+device usb # USB Bus (required)
+#device udbp # USB Double Bulk Pipe devices
+device ugen # Generic
+device uhid # "Human Interface Devices"
+#device ukbd # Keyboard
+device ulpt # Printer
+#device umass # Disks/Mass storage - Requires scbus and da
+device ums # Mouse
+#device urio # Diamond Rio 500 MP3 player
+#device uscanner # Scanners
+# USB Ethernet, requires mii
+#device aue # ADMtek USB Ethernet
+#device axe # ASIX Electronics USB Ethernet
+#device cdce # Generic USB over Ethernet
+#device cue # CATC USB Ethernet
+#device kue # Kawasaki LSI USB Ethernet
+#device rue # RealTek RTL8150 USB Ethernet
+
+# FireWire support
+#device firewire # FireWire bus code
+#device sbp # SCSI over FireWire (Requires scbus and da)
+#device fwe # Ethernet over FireWire (non-standard!)
+
+#options SIMULATOR # compile for ISA simulator
+#options KTR
+#options KTR_MASK=(KTR_TRAP)
+#options USB_DEBUG
+#options USBVERBOSE
+#options DEBUG_LOCKS
+#options DEBUG_VFS_LOCKS
+
+device ccd
+options SPIN_PROFILING
+options HZ=100
+#device vnet
diff --git a/sys/sun4v/conf/GENERIC.hints b/sys/sun4v/conf/GENERIC.hints
new file mode 100644
index 0000000..e8c0da7
--- /dev/null
+++ b/sys/sun4v/conf/GENERIC.hints
@@ -0,0 +1 @@
+# $FreeBSD$
diff --git a/sys/sun4v/conf/MAC b/sys/sun4v/conf/MAC
new file mode 100644
index 0000000..56af83d
--- /dev/null
+++ b/sys/sun4v/conf/MAC
@@ -0,0 +1,28 @@
+# MAC -- Generic kernel configuration file for FreeBSD/sparc64 MAC
+#
+# The Mandatory Access Control, or MAC, framework allows administrators to
+# finely control system security by providing for a loadable security pol-
+# icy architecture.
+#
+# For more information see:
+#
+# http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mac.html
+#
+# $FreeBSD$
+
+include GENERIC
+ident MAC
+
+options MAC
+
+#options MAC_BIBA # BIBA data integrity policy
+#options MAC_BSDEXTENDED # File system firewall policy
+#options MAC_IFOFF # Network interface silencing policy
+#options MAC_LOMAC # Low-watermark data integrity policy
+#options MAC_MLS # Multi-level confidentiality policy
+#options MAC_NONE # NULL policy
+#options MAC_PARTITION # Process partition policy
+#options MAC_PORTACL # Network port access control policy
+#options MAC_SEEOTHERUIDS # UID visibility policy
+#options MAC_STUB # Stub policy
+#options MAC_TEST # Testing policy for the MAC framework
diff --git a/sys/sun4v/conf/Makefile b/sys/sun4v/conf/Makefile
new file mode 100644
index 0000000..2c006e9
--- /dev/null
+++ b/sys/sun4v/conf/Makefile
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+.include "${.CURDIR}/../../conf/makeLINT.mk"
diff --git a/sys/sun4v/conf/NOTES b/sys/sun4v/conf/NOTES
new file mode 100644
index 0000000..4cc7c45
--- /dev/null
+++ b/sys/sun4v/conf/NOTES
@@ -0,0 +1,132 @@
+# $FreeBSD$
+#
+# 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);
+# deleting the specification for CPUs you don't need to use may make
+# parts of the system run faster.
+# XXX: On the Sparc64, there is only one CPU type
+cpu SUN4U
+
+
+#####################################################################
+# HARDWARE BUS CONFIGURATION
+
+device ebus
+device isa
+device pci
+device sbus
+device central
+device fhc
+
+
+#####################################################################
+# HARDWARE DEVICE CONFIGURATION
+
+#
+# Mandatory devices:
+#
+
+device genclock # Generic clock interface
+device eeprom # eeprom (really a front-end for the MK48Txx)
+device mk48txx # Mostek MK48Txx clocks
+device rtc # rtc (really a front-end for the MC146818)
+device mc146818 # Motorola MC146818 and compatible clocks
+
+#
+# Optional devices:
+#
+
+device auxio # auxiliary I/O device
+device clkbrd # Clock Board (blinkenlight on Sun Exx00)
+device creator # Creator, Creator3D and Elite3D framebuffers
+device machfb # ATI Mach64 framebuffers
+
+device ofw_console # Open Firmware console device
+option OFWCONS_POLL_HZ=4 # 20 or more works best on Ultra2
+
+device sab # Siemens SAB82532 based serial ports
+
+
+#####################################################################
+# Devices we don't want to deal with
+
+nodevice vga
+nodevice daemon_saver
+nodevice snake_saver
+nodevice star_saver
+nodevice bktr
+nodevice fdc
+nodevice ppc
+nodevice snd_ad1816
+nodevice snd_als4000
+nodevice snd_au88x0
+nodevice snd_cmi
+nodevice snd_cs4281
+nodevice snd_csa
+nodevice snd_ds1
+nodevice snd_emu10k1
+nodevice snd_ess
+nodevice snd_fm801
+nodevice snd_gusc
+nodevice snd_ich
+nodevice snd_maestro
+nodevice snd_maestro3
+nodevice snd_mss
+nodevice snd_neomagic
+nodevice snd_sb16
+nodevice snd_sb8
+nodevice snd_sbc
+nodevice snd_solo
+nodevice snd_t4dwave
+nodevice snd_via8233
+nodevice snd_via82c686
+nodevice snd_vibes
+nodevice snd_uaudio
+nodevice aha
+nodevice bt
+nodevice wds
+nodevice ep
+nodevice ex
+nodevice sio
+
+
+#####################################################################
+# Options we don't want to deal with
+
+nooption FDC_DEBUG
+nooption COM_ESP
+nooption CONSPEED
+nooption VGA_DEBUG
+nooption SC_RENDER_DEBUG
+nooption SC_DEBUG_LEVEL
+nooption PPC_DEBUG
+nooption PPC_PROBE_CHIPSET
+nooption SC_NO_SUSPEND_VTYSWITCH
+nooption SC_NO_FONT_LOADING
+nooption SC_KERNEL_CONS_REV_ATTR
+nooption SC_KERNEL_CONS_ATTR
+nooption SC_NORM_REV_ATTR
+nooption SC_NORM_ATTR
+nooption SC_DFLT_FONT
+nooption SC_ALT_MOUSE_IMAGE
+nooption VGA_WIDTH90
+nooption VGA_SLOW_IOACCESS
+nooption VGA_ALT_SEQACCESS
+nooption PSM_RESETAFTERSUSPEND
+nooption PSM_HOOKRESUME
+nooption ATKBD_DFLT_KEYMAP
+nooption EXT2FS
+
+
+#####################################################################
+# Make options we don't want to deal with
+
+nomakeoption SC_DFLT_FONT
+nomakeoption ATKBD_DFLT_KEYMAP
OpenPOWER on IntegriCloud