Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/conf Catch up with GENERIC changes.



details:   https://anonhg.NetBSD.org/src/rev/0887bcf10774
branches:  trunk
changeset: 353272:0887bcf10774
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 26 18:20:01 2017 +0000

description:
Catch up with GENERIC changes.

diffstat:

 sys/arch/amd64/conf/ALL |  172 ++++++++++++++++++++++++++++++-----------------
 1 files changed, 109 insertions(+), 63 deletions(-)

diffs (truncated from 399 to 300 lines):

diff -r 07f532cb0c8e -r 0887bcf10774 sys/arch/amd64/conf/ALL
--- a/sys/arch/amd64/conf/ALL   Wed Apr 26 17:43:33 2017 +0000
+++ b/sys/arch/amd64/conf/ALL   Wed Apr 26 18:20:01 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.56 2017/04/18 19:09:12 riastradh Exp $
+# $NetBSD: ALL,v 1.57 2017/04/26 18:20:01 christos Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "ALL-$Revision: 1.56 $"
+#ident         "ALL-$Revision: 1.57 $"
 
 maxusers       64              # estimated number of users
 
@@ -41,6 +41,13 @@
 
 options        PMC     # performance-monitoring counters support
 
+# Beep when it is safe to power down the system (requires sysbeep)
+options        BEEP_ONHALT
+# Some tunable details of the above feature (default values used below)
+options        BEEP_ONHALT_COUNT=3     # Times to beep
+options        BEEP_ONHALT_PITCH=1500  # Default frequency (in Hz)
+options        BEEP_ONHALT_PERIOD=250  # Default duration (in msecs)
+
 options        MULTIBOOT       # Multiboot support (see multiboot(8))
 
 # delay between "rebooting ..." message and hardware reset, in milliseconds
@@ -95,13 +102,6 @@
 options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)
 options        SYSCTL_INCLUDE_DESCR    # Include sysctl descriptions in kernel
 
-# Beep when it is safe to power down the system (requires sysbeep)
-options        BEEP_ONHALT
-# Some tunable details of the above feature (default values used below)
-options        BEEP_ONHALT_COUNT=3     # Times to beep
-options        BEEP_ONHALT_PITCH=1500  # Default frequency (in Hz)
-options        BEEP_ONHALT_PERIOD=250  # Default duration (in msecs)
-
 # Alternate buffer queue strategies for better responsiveness under high
 # disk I/O load.
 options        BUFQ_READPRIO
@@ -109,9 +109,11 @@
 
 # Diagnostic/debugging support options
 options        DIAGNOSTIC      # inexpensive kernel consistency checks
+                               # XXX to be commented out on release branch
 options        DEBUG           # expensive debugging checks/support
 options        LOCKDEBUG       # expensive locking checks/support
 options        DDB             # in-kernel debugger
+options        DDB_COMMANDONENTER="bt" # execute command when ddb is entered
 options        DDB_ONPANIC=1   # see also sysctl(7): `ddb.onpanic'
 options        DDB_HISTORY_SIZE=512    # enable history editing in DDB
 options        DDB_VERBOSE_HELP
@@ -119,6 +121,7 @@
 options        KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
 #options       IPKDB           # IP Kernel Debugger
 #options       IPKDBKEY="\"Pass_phrase_to_debug_over_network\""
+makeoptions    COPTS="-O2 -fno-omit-frame-pointer"
 makeoptions    DEBUG="-g"      # compile full symbol table
 options        SYSCALL_STATS   # per syscall counts
 options        SYSCALL_TIMES   # per syscall times
@@ -128,14 +131,15 @@
 options        BIOHIST         # kernhist for buff I/O
 
 # Compatibility options
-#options       COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
-#options       COMPAT_09       # NetBSD 0.9,
-#options       COMPAT_10       # NetBSD 1.0,
-#options       COMPAT_11       # NetBSD 1.1,
-#options       COMPAT_12       # NetBSD 1.2 (and 386BSD and BSDI),
-#options       COMPAT_13       # NetBSD 1.3 (and 386BSD and BSDI),
-#options       COMPAT_14       # NetBSD 1.4,
-#options       COMPAT_15       # NetBSD 1.5,
+options        COMPAT_NOMID    # NetBSD 0.8, 386BSD, and BSDI
+options        EXEC_AOUT       # required by binaries from before 1.5
+options        COMPAT_09       # NetBSD 0.9,
+options        COMPAT_10       # NetBSD 1.0,
+options        COMPAT_11       # NetBSD 1.1,
+options        COMPAT_12       # NetBSD 1.2 (and 386BSD and BSDI),
+options        COMPAT_13       # NetBSD 1.3 (and 386BSD and BSDI),
+options        COMPAT_14       # NetBSD 1.4,
+options        COMPAT_15       # NetBSD 1.5,
 options        COMPAT_16       # NetBSD 1.6,
 options        COMPAT_20       # NetBSD 2.0,
 options        COMPAT_30       # NetBSD 3.0,
@@ -148,11 +152,11 @@
 options        COMPAT_386BSD_MBRPART # recognize old partition ID
 options        TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not recommended.
 
+options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
 options        COMPAT_NETBSD32 # NetBSD 32-bit
-options        COMPAT_OSSAUDIO # OSS (Voxware) audio driver compatibility
-options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
 options        COMPAT_LINUX    # binary compatibility with Linux
 options        COMPAT_LINUX32  # binary compatibility with Linux 32-bit
+options        COMPAT_IBCS2    # binary compatibility with SCO and ISC
 options        COMPAT_FREEBSD  # binary compatibility with FreeBSD
 options        COMPAT_NDIS     # NDIS network driver
 options        COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.
@@ -160,8 +164,8 @@
 # Wedge support
 options        DKWEDGE_AUTODISCOVER    # Automatically add dk(4) instances
 options        DKWEDGE_METHOD_GPT      # Supports GPT partitions as wedges
-#options       DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
-#options       DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
+options        DKWEDGE_METHOD_BSDLABEL # Support disklabel entries as wedges
+options        DKWEDGE_METHOD_MBR      # Support MBR partitions as wedges
 options        DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
 options        DKWEDGE_METHOD_RDB      # Support RDB partitions as wedges
 
@@ -308,8 +312,6 @@
 options        VGA_CONSOLE_SCREENTYPE="\"80x24\""
 # work around a hardware bug that loaded fonts don't work; found on ATI cards
 options        VGA_CONSOLE_ATI_BROKEN_FONTSEL
-# issue VGA BIOS POST on resume
-options        VGA_POST
 # console scrolling support.
 options        WSDISPLAY_SCROLLSUPPORT
 # enable VGA raster mode capable of displaying multilingual text on console
@@ -348,13 +350,17 @@
 
 # This option can be used to retrieve CPU and APIC information.
 # that I/O APICs can be used if ACPI is enabled below.
-options        MPBIOS_SCANPCI  # find PCI roots using MPBIOS
-options        ACPI_SCANPCI    # find PCI roots using ACPI
+options        ACPI_SCANPCI            # find PCI roots using ACPI
+options        MPBIOS                  # configure CPUs and APICs using MPBIOS
+options        MPBIOS_SCANPCI          # MPBIOS configures PCI roots
+options        PCI_INTR_FIXUP          # PCI interrupt routing via ACPI
+options        PCI_BUS_FIXUP           # fixup PCI bus numbering
+options        PCI_ADDR_FIXUP          # fixup PCI I/O addresses
+options        ACPI_ACTIVATE_DEV       # If set, activate inactive devices
+options        VGA_POST                # in-kernel support for VGA POST
 
 acpi0          at mainbus0
 
-options        ACPI_ACTIVATE_DEV       # If set, activate inactive devices
-
 # ACPI devices
 apm*           at acpi?                # ACPI apm emulation
 acpiacad*      at acpi?                # ACPI AC Adapter
@@ -394,11 +400,18 @@
 mpu*           at acpi?                # Roland MPU-401 MIDI UART
 pckbc*         at acpi?                # PC keyboard controller
 pcppi*         at acpi?                # AT-style speaker sound
+sdhc*          at acpi?                # SD Host Controller
+sony*          at acpi?                # Sony Notebook Controller
+spic*          at acpi?                # Sony Programmable I/O Controller
+wsmouse*       at spic?                # mouse
 thinkpad*      at acpi?                # IBM/Lenovo Thinkpad hotkeys
-#tpm*          at acpi?                # ACPI TPM (Experimental)
+tpm*           at acpi?                # ACPI TPM (Experimental)
 ug*            at acpi?                # Abit uGuru Hardware monitor
+valz*          at acpi?                # Toshiba Dynabook hotkeys
 wb*            at acpi?                # Winbond W83L518D SD/MMC reader
 sdmmc*         at wb?                  # SD/MMC bus
+sdhc*          at acpi?                # SD Host Controller
+sony*          at acpi?                # Sony Notebook Controller
 wmidell*       at acpiwmibus?          # Dell WMI mappings
 wmieeepc*      at acpiwmibus?          # Asus Eee PC WMI mappings
 wmihp*         at acpiwmibus?          # HP WMI mappings
@@ -406,16 +419,6 @@
 wss*           at acpi?                # NeoMagic 256AV in wss mode
 ym*            at acpi?                # Yamaha OPL3-SA[23] audio
 
-# Sony Vaio jog dial
-spic*          at acpi?                # Sony Programmable I/O Controller
-wsmouse*       at spic?
-
-# Sony LCD brightness etc.
-sony*          at acpi?                # Sony Miscellaneous Controller
-
-# Toshiba Libretto devices
-vald* at acpi?
-
 # Apple System Management Controller devices
 applesmcfan*   at applesmcbus?
 applesmctemp*  at applesmcbus?
@@ -438,23 +441,11 @@
                                        # on anything else.
 #options       PCIINTR_DEBUG           # super-verbose PCI interrupt fixup
 
-# PCI fixups, for both PCIBIOS and ACPI
-options        PCI_ADDR_FIXUP          # fixup PCI I/O addresses
-options        PCI_BUS_FIXUP           # fixup PCI bus numbering
-options        PCI_INTR_FIXUP          # fixup PCI interrupt routing
-
 # Temperatures
 amdnb_misc* at pci?                    # AMD NB Misc Configuration
 amdtemp* at amdnb_misc?                # AMD CPU Temperature sensors
 
 # PCI bridges
-amdpcib* at pci? dev ? function ?      # AMD 8111 PCI-ISA w/ HPET
-hpet*  at amdpcib?
-ichlpcib* at pci? dev ? function ?     # Intel ICH PCI-ISA w/ timecounter,
-                                       # watchdog, gpio, SpeedStep and HPET
-hpet0  at ichlpcib?                    # High Precision Event Timer
-fwhrng* at ichlpcib?                   # Intel 82802 FWH Random Number Generator
-tco*   at ichlpcib?                    # TCO watchdog timer
 rdcpcib* at pci? dev ? function ?      # RDC Vortex86/PMX-1000 PCI-ISA w/
 pchb*  at pci? dev ? function ?        # PCI-Host bridges
 options        AGP_X86
@@ -463,17 +454,28 @@
 # XXX 'puc's aren't really bridges, but there's no better place for them here
 puc*   at pci? dev ? function ?        # PCI "universal" comm. cards
 
+amdpcib* at pci? dev ? function ?      # AMD 8111 PCI-ISA w/ HPET
+hpet*  at amdpcib?
+
 pwdog* at pci? dev ? function ?        # QUANCOM PWDOG1
 
+ichlpcib* at pci? dev ? function ?     # Intel ICH PCI-LPC w/ timecounter,
+                                       # watchdog, gpio, Speedstep and HPET
+fwhrng* at ichlpcib?           # Intel 82802 FWH Random Number Generator
+hpet*  at ichlpcib?
+tco*   at ichlpcib?            # TCO watch dog timer
+
+aapic* at pci? dev ? function ?        # AMD 8131 IO apic
+
 agp*   at pchb?
 
-
 # ISA bus support
+isa0   at mainbus?
+isa0   at pcib?
 isa0   at amdpcib?
 isa0   at ichlpcib?
 isa0   at rdcpcib?
-isa0   at mainbus?
-isa0   at pcib?
+isa0   at rdcpcib?
 
 # IBM 4810 BSP cash drawer port
 ibmcd* at pci? dev ? function ?
@@ -499,6 +501,10 @@
 options        PMS_ELANTECH_TOUCHPAD   # Enable support for Elantech Touchpads
 vga0           at isa?
 vga*           at pci? dev ? function ?
+genfb*         at pci? dev ? function ?
+options        VCONS_DRAW_INTR
+wsdisplay*     at vga? console ?
+wsdisplay*     at wsemuldisplaydev?
 pcdisplay0     at isa?                 # CGA, MDA, EGA, HGA
 wskbd*         at pckbd? console ?
 wsmouse*       at pms? mux 0
@@ -515,7 +521,6 @@
 unichromefb*   at pci? dev ? function ?        # VIA Unichrome framebuffer console
 voodoofb*      at pci? dev ? function ?
 wcfb*  at pci? dev ? function ?
-wsdisplay*     at wsemuldisplaydev?
 
 # DRI legacy drivers
 #i915drm*      at drm?         # Intel i915, i945 DRM driver
@@ -598,6 +603,28 @@
 
 # Hardware monitors
 
+amdnb_misc* at pci?                    # AMD NB Misc Configuration
+amdtemp* at amdnb_misc?                # AMD CPU Temperature sensors
+
+# Winbond LPC Super I/O
+wbsio* at isa? port 0x2e
+wbsio* at isa? port 0x4e
+
+# IBM Hawk Integrated Systems Management Processor
+ibmhawk0       at iic? addr 0x37
+
+# LM7[89] and compatible hardware monitors
+# Use flags to select temp sensor type (see lm(4) man page for details)
+lm0    at isa? port 0x290 flags 0x0    # other common ports: 0x280, 0x310
+lm*    at wbsio?
+
+# SMSC LPC47B397 hardware monitor functions
+smsc0  at isa? port 0x02e
+
+# SMSC LPC47M192 hardware monitor
+smscmon*       at iic? addr 0x2c
+smscmon*       at iic? addr 0x2d       # (alternate address)
+
 # AMD 768 and 8111 power/ACPI controllers
 amdpm* at pci? dev ? function ?        # RNG and SMBus 1.0 interface
 iic*   at amdpm?                       # sensors below are on this bus
@@ -707,6 +734,9 @@
 # Keylock support
 gpiolock*      at gpio?
 
+# Pulsing GPIO pins in software
+gpiopwm*       at gpio?
+
 # Soekris 6501 GPIO/LED driver (provides gpiobus, needs gpio)
 soekrisgpio0   at isa? port 0x680
 
@@ -907,9 +937,9 @@
 
 # PCI network interfaces



Home | Main Index | Thread Index | Old Index