History log of /src/sys/arch/amd64/conf/GENERIC
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.620 07-Nov-2025 pgoyette

Update rge* comment to include soon-to-arrive preliminary support
for RTL8127


# 1.619 21-Oct-2025 pgoyette

Add Realtek 8126 to comment for rge*


# 1.618 06-Oct-2025 riastradh

x86: Wire up PCI resource manager if enabled.

Enable in your kernel config with `options PCI_RESOURCE'.

Adapted from a patch by mlelstv@.

PR port-amd64/59118: Thinkpad T495s - iwm PCI BAR is zero


# 1.617 04-Aug-2025 skrll

Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.

Tested on ESXi/Arm such that an installation from ISO succeeds and boots.


Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.616 27-Mar-2025 riastradh

branches: 1.616.2;
x86: Enable vio9p(4) out of the box.

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs


# 1.615 27-Mar-2025 riastradh

virtio(4): Consolidate kernel configs.

No functional change intended.

Leave `# XXX ?' comments where I don't know why the driver in
question is excluded. (Typical reason is that PAGE_SIZE is not 4096
but I didn't investigate -- if you do investigate, please either
update the comment if you determine a reason, or enable the driver if
you don't.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs


# 1.614 27-Aug-2024 riastradh

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork


# 1.613 16-Jul-2024 riastradh

viocon(4): Add to various kernel configs.


Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
# 1.612 30-Apr-2024 andvar

branches: 1.612.2;
viac7temp(4): rewrite temperature sensor to read value from MSR instead of using
documented cpuid instruction and eax register.

This approach is adapted from linux via-cputemp.c, no official documentation is
currently available. However, msr value seems to work on all tested CPUs while
documented cpuid instruction typically reports 0, even for my C7-D CPU.
msr value seems to have temperature in Celsius in lower 24-bits without fraction
(thus "msr & 0xffffff;" is used).

Tested on my personal systems based on CPUs below (i386 and amd64):
C7-D 1.6GHz (i386 only), Nano X2 L4350E, Nano X2 U4300, U2300 Nano, KX-U6580.
Also got one response via email which was based on Nano X2 L4050 (VE-900).
Nano reports independent values for each core.
KX-U6580 seems to show the same value for all cores but more testing is needed.

Since it works on amd64 capable CPUs, adding driver to GENERIC kernel config.
Also moving viac7temp man page to x86 instead of i386 (with updates).
In theory the change should add support for all VIA Nano CPUs and Zhaoxin CPUs
at least up to KX-6000(G) series.

In the future I may need to introduce amd64 kernel module as well.

Plan to pullup to at least netbsd-10.

Patch mainly reviewed by riastradh.


# 1.611 21-Apr-2024 riastradh

apei(4), acpihed(4): Enable in x86 GENERIC.

Let's just see how this works out in practice. Might need to reduce
the overhead of each GHES on machines with thousands of them, but
we'll see.

PR kern/58046


# 1.610 02-Apr-2024 charlotte

Mention DKWEDGE_METHOD_TOS in several kernel config files


# 1.609 29-Jan-2024 christos

PR/57889: Ricardo Branco: ext2fs does not have user immutable and append
file flags, only system ones. Restrict those to the superuser. Before
the behavior was controlled by EXT2FS_SYSTEM_FLAGS. Make that behavior the
default.


Revision tags: thorpej-ifq-base thorpej-altq-separation-base
# 1.608 23-Oct-2023 msaitoh

eqos(4): Disable eqos(4) by default because it's not stable on x86.


# 1.607 20-Oct-2023 msaitoh

eqos(4): Add initial support for Intel Elkhart Lake internal Ethernet devices.

- Only tested on PSE SGMII 1G Ethernet MAC with MaxLinear GPY115.
- I don't know why dmat64 doesn't work. eqos_attach() have a special
code if EQOS_HW_FEATURE_ADDR64_32BIT(sc) is true, but it seems it doesn't
work.
- TODO:
Multiqueue support.
Detach support.


# 1.606 04-Oct-2023 rin

igc(4): Added to kernel config files for tested platforms

I.e., aarch64, amd64, and evbppc/DHT, at the moment.

Please feel free to add to other config files, and report us back
if you find problems :)


# 1.605 09-Aug-2023 andvar

viadrmums(4): build legacy VIA DRM UMS driver module for amd64.

This driver is not built-in by default, thus loadable module can help (un)lucky
owners of 64-bit capable VIA (Nano/Eden) systems or early AMD/Intel systems
with some VIA chipsets, which include VIA integrated graphics.
I also boldly added product IDs for few later models from VX8xx/VX9xx chipsets
without 3D support (DX9_0) to "expand" the driver support to more systems.
Tested successfully basic functionality on VX800, and partially successfully
on VX900 (on VX900 Xorg failed to initialize due to openchrome related issues,
viadrmums attaches and it is by used the driver).
Didn't test on VX855, I don't have one.

Pull up to netbsd-10 is needed.


# 1.604 15-Jul-2023 riastradh

amd64: Enable HEARTBEAT option, not just a HEARTBEAT option comment.


# 1.603 15-Jul-2023 riastradh

x86: Enable HEARTBEAT by default in GENERIC.


# 1.602 12-Apr-2023 riastradh

ichsmb(4), tco(4): Add support for TCO on newer Intel chipsets.

TCO (`Total Cost of Ownership', Intel's bizarre name for a watchdog
timer) used to hang off the Intel I/O platform controller hub's (ICH)
low-pin-count interface bridge (LPC IB), or ichlpcib(4). On newer
devices, it hangs off the ICH SMBus instead.

Tested on INTEL 100SERIES_SMB (works) and INTEL 100SERIES_LP_SMB
(doesn't work, still not sure why).

XXX kernel revbump: This breaks the module ABI -- tco(4) modules
older than the change to make ta_has_rcba into ta_version will
incorrectly attach at buses they do not understand. (However, the
tco(4) driver is statically built into GENERIC, so maybe it's safe
for pullup since the module wouldn't have worked anyway.)


# 1.601 09-Feb-2023 abs

Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
"Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work


# 1.600 09-Feb-2023 abs

Ensure GENERIC.local is always at the end of GENERIC

Where a GENERIC config had an existing inclusion of GENERIC.local,
ensure it is always at the end of the file, with a consistent
comment:

# Pull in optional local configuration
cinclude "arch/landisk/conf/GENERIC.local"

This allows GENERIC.local to correctly override all options

(This pass does not affect any GENERIC which did not already have
an include of GENERIC.local)


Revision tags: netbsd-10-base bouyer-sunxi-drm-base
# 1.599 29-Sep-2022 riastradh

branches: 1.599.4;
swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with. Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702


# 1.598 24-Sep-2022 riastradh

x86: Support EFI runtime services.

This creates a special pmap, efi_runtime_pmap, which avoids setting
PTE_U but allows mappings to lie in what would normally be user VM --
this way we don't fall afoul of SMAP/SMEP when executing EFI runtime
services from CPL 0. SVS does not apply to the EFI runtime pmap.

The mechanism is intended to work with either physical addressing or
virtual addressing; currently the bootloader does physical addressing
but in principle it could be modified to do virtual addressing
instead, if it allocated virtual pages, assigned them in the memory
map, and issued RT->SetVirtualAddressMap.

Not sure pmap_activate_sync and pmap_deactivate_sync are correct,
need more review from an x86 wizard.

If this causes fallout, it can be disabled temporarily without
reverting anything by just making efi_runtime_init return immediately
without doing anything, or by removing options EFI_RUNTIME.

amd64-only for now pending type fixes and testing on i386.


# 1.597 01-Sep-2022 bouyer

Add commented out experimental PVH dom0 options and pseudo-device


# 1.596 07-Aug-2022 simonb

UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.


# 1.595 16-Apr-2022 nia

x86: Enable HDAUDIOVERBOSE (as on arm) in order for AUDIO_GETDEV
to return human-readable data. Especially now that HDMI/DP audio
is enabled by default, it helps to be able to tell two devices
apart in audiocfg/aiomixer.


# 1.594 24-Mar-2022 manu

Add initial support for Intel GPIO chips


# 1.593 31-Oct-2021 simonb

options<space><tab>


# 1.592 16-Oct-2021 jmcneill

Enable com and lpt at ACPI attachments.


# 1.591 15-Oct-2021 jmcneill

Swap fdc@isa for fdc@acpi as the former takes over a second to probe.


# 1.590 09-Sep-2021 jakllsch

Enable WSDISPLAY_CUSTOM_OUTPUT and WSDISPLAY_CUSTOM_BORDER on
amd64 GENERIC as i386 GENERIC already does.


Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 thorpej-i2c-spi-conf-base
# 1.589 17-May-2021 yamaguchi

Add a new link-aggregation pseudo interface named lagg(4)

- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable


Revision tags: cjep_staticlib_x-base thorpej-cfargs-base thorpej-futex-base
# 1.588 10-Mar-2021 wiz

branches: 1.588.4; 1.588.6;
drm(4): allow limiting maximum X/Y resolution

With some drivers (at least radeon(4)), in some cases the driver
does not choose the resolution correctly. The options
DRM_MAX_RESOLUTION_HORIZONTAL and DRM_MAX_RESOLUTION_VERTICAL allow
limiting the maximum resolution in X and Y direction.


# 1.587 10-Mar-2021 msaitoh

Add micphy(4).


# 1.586 05-Mar-2021 gdt

GENERIC: comment typo fix (spacing)


# 1.585 04-Mar-2021 gdt

GENERIC: Tiny comment adjustment (NFC)

While making XEN3_DOM0 more like GENERIC, I noticed a few differences
where GENERIC was off -- trivial things like missing spaces in
comments, inconsistent comment workding. This fixes those, both
because they are valid fixes in their own right once noticed, and to
make the diff to XEN smaller.


# 1.584 01-Mar-2021 jakllsch

enable rge(4) on x86 and evbarm64


# 1.583 24-Jan-2021 jmcneill

Attach dwiic(4) to AMD FCH I2C controllers. These busses are separate
from the SMBus that we attach to piixpm(4) today, and support direct
config via ACPI.


# 1.582 20-Jan-2021 nia

remove compat_ossaudio from kernel modules

this is only useful with compat_linux and gets autoloaded when
compat_linux is loaded, so there's no reason to bake it into kernels
any more.


# 1.581 16-Jan-2021 thorpej

Enable tpm @ acpi (now that it can match TPM 1.2 devices, which are not,
as the comment implies, experimental).


# 1.580 27-Sep-2020 roy

branches: 1.580.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.


# 1.579 08-Sep-2020 yamaguchi

Added iavf(4) that is based on OpenBSD's iavf(4) implementation

reviewed by msaitoh@n.o and knakahara@n.o


# 1.578 30-Aug-2020 dholland

typo in comment


# 1.577 17-Aug-2020 christos

remove commented out MEMORY_DISK_* entries


# 1.576 17-Aug-2020 christos

correct MEMORY_DISK_* option docs


# 1.575 16-Aug-2020 jdolecek

make COMPAT_LINUX option disabled by default

leave the option enabled only in amd64/i386 ALL kernels to make
sure it continues to be compilable also when included in kernel


# 1.574 01-Aug-2020 maxv

Remove references to BRIDGE_IPF, it is now compiled in by default.


# 1.573 19-Jul-2020 maxv

Compile USER_LDT by default, but, put it behind a privileged sysctl that
defaults to disabled. To enable:

# sysctl -w machdep.user_ldt=1


# 1.572 14-Jul-2020 yamaguchi

Enable PCPU_IDT option by default


# 1.571 24-Jun-2020 thorpej

Add amdccp at pci.


# 1.570 18-Jun-2020 maxv

style


# 1.569 07-Jun-2020 maxv

Add fault(4).


# 1.568 16-May-2020 christos

Add ACL support for FFS. From FreeBSD.


# 1.567 02-May-2020 bouyer

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
to VM_GUEST_XENPVH in this entry point.
Most of the boot procedure (especially page table setup and switch to
paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
(which uses a simple hypercall that is available early) and switch to
xencons when we can use pmap_kenter_pa().


# 1.566 25-Apr-2020 bouyer

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor


Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1
# 1.565 15-Apr-2020 maxv

Introduce POOL_NOCACHE, simple option to cancel pool_caches and go directly
to the pool layer. It is taken out of POOL_QUARANTINE.

Advertise POOL_NOCACHE for kMSan rather than POOL_QUARANTINE. With kMSan
we are only interested in the no-caching effect, not the quarantine. This
reduces memory pressure on kMSan kernels.


Revision tags: phil-wifi-20200411 bouyer-xenpvh-base phil-wifi-20200406
# 1.564 28-Mar-2020 isaki

branches: 1.564.2;
Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k
(m68k uses 40msec default as before). And remove the option from GENERIC.
- It's not good idea to set such parameter in individual GENERICs.
- 4msec is (probably no problem for most modern real hardware but)
too aggressive to be default.
- 10msec is too severe for antique machines but it's hard to draw a line.


Revision tags: is-mlppp-base ad-namecache-base3
# 1.563 17-Feb-2020 nisimura

add kse(4) for i386/amd64 GENERIC


# 1.562 09-Feb-2020 jmcneill

Retire azalia(4).


# 1.561 08-Feb-2020 maxv

Retire KLEAK.

KLEAK was a nice feature and served its purpose; it allowed us to detect
dozens of info leaks on the kernel->userland boundary, and thanks to it we
tackled a good part of the infoleak problem 1.5 years ago.

Nowadays however, we have kMSan, which can detect uninitialized memory in
the kernel. kMSan supersedes KLEAK: it can detect what KLEAK was able to
detect, but in addition, (1) it operates in all of the kernel and not just
the kernel->userland boundary, (2) it requires no user interaction, and (3)
it is deterministic and not statistical.

That makes kMSan the feature of choice to detect info leaks nowadays;
people interested in detecting info leaks should boot a kMSan kernel and
just wait for the magic to happen.

KLEAK was a good ride, and a fun project, but now is time for it to go.

Discussed with several people, including Thomas Barabosch.


Revision tags: ad-namecache-base2
# 1.560 25-Jan-2020 thorpej

Retire "le* at pci?" from the shipped kernel configs:
- If the config had both an le@pci and a pcn, simply remove le@pci
(pcn would match at a higher priority anyway).
- If the config had le@pci enabled, but no pcn, change le@pci to pcn.
- If the config had le@pci commented out, but no pcn, change le@pci
to pcn and leave it commented out.

The pcn driver supports more chips than le@pci and does DMA directly
to/from mbufs rather than memory copies.


# 1.559 24-Jan-2020 nia

Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k.

Several of us have been setting this in /etc/sysctl.conf for months, to
get better performance from applications that require synced audio, etc.

It's also mentioned as a good value with low overhead on most archs here:
https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html

We could probably go lower, but this is low enough to make most/all
software run well, removing frame drops. It's also low enough to get
emulators/mednafen to stop complaining in the console.


# 1.558 20-Jan-2020 thorpej

Remove FDDI support.


# 1.557 19-Jan-2020 thorpej

Remove Token Ring support.


# 1.556 19-Jan-2020 thorpej

Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.


# 1.555 19-Jan-2020 thorpej

Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.


Revision tags: ad-namecache-base1
# 1.554 09-Jan-2020 manu

Rollback multiboot2 for amd64, as requested by core


Revision tags: ad-namecache-base
# 1.553 01-Jan-2020 ryo

branches: 1.553.2;
add aq(4)


# 1.552 26-Dec-2019 msaitoh

Add cas(4).


# 1.551 14-Dec-2019 maxv

Disable multiboot for now, too much breakage.


# 1.550 10-Dec-2019 yamaguchi

Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara


# 1.549 10-Dec-2019 manu

Add multiboot 2 support to amd64 kernel


# 1.548 05-Dec-2019 sevan

Enable pciverbose option to make use of the pcidevs database by default.

ok ad, mrg


# 1.547 20-Nov-2019 hikaru

Add opencrypto driver for Intel QuickAssist.


Revision tags: phil-wifi-20191119
# 1.546 14-Nov-2019 maxv

Add support for Kernel Memory Sanitizer (kMSan). It detects uninitialized
memory used by the kernel at run time, and just like kASan and kCSan, it
is an excellent feature. It has already detected 38 uninitialized variables
in the kernel during my testing, which I have since discreetly fixed.

We use two shadows:
- "shad", to track uninitialized memory with a bit granularity (1:1).
Each bit set to 1 in the shad corresponds to one uninitialized bit of
real kernel memory.
- "orig", to track the origin of the memory with a 4-byte granularity
(1:1). Each uint32_t cell in the orig indicates the origin of the
associated uint32_t of real kernel memory.

The memory consumption of these shadows is consequent, so at least 4GB of
RAM is recommended to run kMSan.

The compiler inserts calls to specific __msan_* functions on each memory
access, to manage both the shad and the orig and detect uninitialized
memory accesses that change the execution flow (like an "if" on an
uninitialized variable).

We mark as uninit several types of memory buffers (stack, pools, kmem,
malloc, uvm_km), and check each buffer passed to copyout, copyoutstr,
bwrite, if_transmit_lock and DMA operations, to detect uninitialized memory
that leaves the system. This allows us to detect kernel info leaks in a way
that is more efficient and also more user-friendly than KLEAK.

Contrary to kASan, kMSan requires comprehensive coverage, ie we cannot
tolerate having one non-instrumented function, because this could cause
false positives. kMSan cannot instrument ASM functions, so I converted
most of them to __asm__ inlines, which kMSan is able to instrument. Those
that remain receive special treatment.

Contrary to kASan again, kMSan uses a TLS, so we must context-switch this
TLS during interrupts. We use different contexts depending on the interrupt
level.

The orig tracks precisely the origin of a buffer. We use a special encoding
for the orig values, and pack together in each uint32_t cell of the orig:
- a code designating the type of memory (Stack, Pool, etc), and
- a compressed pointer, which points either (1) to a string containing
the name of the variable associated with the cell, or (2) to an area
in the kernel .text section which we resolve to a symbol name + offset.

This encoding allows us not to consume extra memory for associating
information with each cell, and produces a precise output, that can tell
for example the name of an uninitialized variable on the stack, the
function in which it was pushed on the stack, and the function where we
accessed this uninitialized variable.

kMSan is available with LLVM, but not with GCC.

The code is organized in a way that is similar to kASan and kCSan, so it
means that other architectures than amd64 can be supported.


# 1.545 05-Nov-2019 maxv

Add Kernel Concurrency Sanitizer (kCSan) support. This sanitizer allows us
to detect race conditions at runtime. It is a variation of TSan that is
easy to implement and more suited to kernel internals, albeit theoretically
less precise than TSan's happens-before.

We do basically two things:

- On every KCSAN_NACCESSES (=2000) memory accesses, we create a cell
describing the access, and delay the calling CPU (10ms).

- On all memory accesses, we verify if the memory we're reading/writing
is referenced in a cell already.

The combination of the two means that, if for example cpu0 does a read that
is selected and cpu1 does a write at the same address, kCSan will fire,
because cpu1's write collides with cpu0's read cell.

The coverage of the instrumentation is the same as that of kASan. Also, the
code is organized in a way similar to kASan, so it is easy to add support
for more architectures than amd64. kCSan is compatible with KCOV.

Reviewed by Kamil.


# 1.544 01-Nov-2019 msaitoh

Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.


# 1.543 30-Oct-2019 msaitoh

Add jmphy(4) from OpenBSD.


# 1.542 28-Oct-2019 ozaki-r

Add vio9p to some kernel configs


# 1.541 25-Oct-2019 martin

Add support for Nuvoton NCT5104D GPIO chips, as found on PC Engines APU
systems. From Andrew Doran in PR kern/54648.


# 1.540 25-Oct-2019 martin

whitespace


# 1.539 25-Oct-2019 martin

Add missing onewire temperature sensors, suggested by Andrew Doran.


# 1.538 08-Oct-2019 maxv

No I/O ports for TPM-ISA, only MMIO, so remove commented-out options.


# 1.537 07-Oct-2019 msaitoh

Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by
Tomokazu HARADA and patch provided by Andrius V.


# 1.536 03-Oct-2019 tnn

add mcx(4) to GENERIC

Tested on dual-port ConnectX-4 with 25 Gbit/s AOC


# 1.535 14-Sep-2019 maxv

Add vHCI, a driver which allows to send and receive USB packets directly
from userland via /dev/vhci. Using this, it becomes possible to test and
fuzz the USB stack and all the USB drivers without having the associated
hardware.

The vHCI device has four ports independently addressable.

For each xfer on each port, we create two packets: a setup packet (which
indicates mostly the type of request) and a data packet (which contains
the raw data). These packets are processed by read and write operations
on /dev/vhci: userland poll-reads it to fetch usb_device_request_t
structures, and dispatches the requests depending on bRequest and
bmRequestType.

A few ioctls are available:

VHCI_IOC_GET_INFO - Get the current status
VHCI_IOC_SET_PORT - Choose a vHCI port
VHCI_IOC_USB_ATTACH - Attach a USB device on the current port
VHCI_IOC_USB_DETACH - Detach the USB device on the current port

vHCI has already allowed me to automatically find several bugs in the USB
stack and its drivers.


# 1.534 09-Aug-2019 rin

xhci(4) is considered stable enough. So, remove misleading comments.

XXX
pullup to netbsd-9


# 1.533 07-Aug-2019 maxv

Sync with reality.


# 1.532 01-Aug-2019 msaitoh

Add ena(4).


Revision tags: netbsd-9-base
# 1.531 24-Jul-2019 msaitoh

branches: 1.531.2;
USE <SPACE>+<TAB>


# 1.530 17-Jun-2019 kamil

Register UBSAN_ALWAYS_FATAL in kernel configs for kUBSan


# 1.529 15-Jun-2019 maxv

Add KASAN_PANIC, an option to turn KASAN warning into kernel panics,
requested by Siddharth. While here clarify a little.


Revision tags: phil-wifi-20190609
# 1.528 24-May-2019 nonaka

Added drivers for Hyper-V Synthetic Keyboard and Video device.


# 1.527 06-May-2019 sevan

Use filesystems.config to reduce duplication


# 1.526 26-Apr-2019 sevan

Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.
On ports without a GENERIC kernel config enable in individul files, e.g evbmips.
Omit on:
atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k,
mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource
constraints or port infancy.


# 1.525 25-Apr-2019 msaitoh

Add gem(4).


Revision tags: isaki-audio2-base
# 1.524 18-Apr-2019 maya

Follow arm64 and provide two sizes of fonts, so a larger one is chosen
for larger displays.


# 1.523 18-Apr-2019 christos

Yes, we support FFS_EI but not DISKLABEL_EI... How does that make sense?


# 1.522 13-Apr-2019 maxv

Introduce POOL_QUARANTINE, a feature that creates a window during which a
freed buffer cannot be reallocated. This greatly helps detecting
use-after-frees, because they are not short-lived anymore.

We maintain a per-pool fifo of 128 buffers. On each pool_put, we do a real
free of the oldest buffer, and insert the new buffer. Before insertion, we
mark the buffer as invalid with KASAN. On each pool_cache_put, we destruct
the object, so it lands in pool_put, and the quarantine is handled there.

POOL_QUARANTINE can be used in conjunction with KASAN to detect more
use-after-free bugs.


# 1.521 28-Mar-2019 maxv

Move NVMM in the "any" class, so that it can be enabled in GENERIC. Add
missing files in files.nvmm, and add NVMM (commented out) in the amd64
GENERIC. Remove the "caveats" section in the man page.


# 1.520 01-Mar-2019 nonaka

fix typo. pointed out by pgoyette@n.o.


# 1.519 01-Mar-2019 pgoyette

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.


# 1.518 01-Mar-2019 nonaka

Update Hyper-V related drivers description.


# 1.517 23-Feb-2019 kamil

Add KCOV - kernel code coverage tracing device

The KCOV driver implements collection of code coverage inside the kernel.
It can be enabled on a per process basis from userland, allowing the kernel
program counter to be collected during syscalls triggered by the same
process.

The device is oriented towards kernel fuzzers, in particular syzkaller.

Currently the only supported coverage type is -fsanitize-coverage=trace-pc.

The KCOV driver was initially developed in Linux. A driver based on the
same concept was then implemented in FreeBSD and OpenBSD.

Documentation is borrowed from OpenBSD and ATF tests from FreeBSD.

This patch has been prepared by Siddharth Muralee, improved by <maxv>
and polished by myself before importing into the mainline tree.

All ATF tests pass.


# 1.516 15-Feb-2019 nonaka

Added Microsoft Hyper-V support. It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.


Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118
# 1.515 01-Jan-2019 maya

Add commented out amdgpu.

(Builds, untested on hardware)


Revision tags: pgoyette-compat-1226
# 1.514 25-Dec-2018 mlelstv

Make ipmi driver available to other platforms.
Add ACPI attachment.


# 1.513 14-Dec-2018 jakllsch

add cardbus malo(4) to x86 GENERIC and ALL kernels


# 1.512 12-Dec-2018 maxv

Remove references to "lmc" in the kernel configurations.


# 1.511 11-Dec-2018 maya

revert previous, nouveau apparently works for some people.


# 1.510 11-Dec-2018 maya

disable nouveau. it hasn't been functional since the import of new drmkms
code.


# 1.509 02-Dec-2018 maxv

Introduce KLEAK, a new feature that can detect kernel information leaks.

It works by tainting memory sources with marker values, letting the data
travel through the kernel, and scanning the kernel<->user frontier for
these marker values. Combined with compiler instrumentation and rotation
of the markers, it is able to yield relevant results with little effort.

We taint the pools and the stack, and scan copyout/copyoutstr. KLEAK is
supported on amd64 only for now, but it is not complicated to add more
architectures (just a matter of having the address of .text, and a stack
unwinder).

A userland tool is provided, that allows to execute a command in rounds
and monitor the leaks generated all the while.

KLEAK already detected directly 12 kernel info leaks, and prompted changes
that in total fixed 25+ leaks.

Based on an idea developed jointly with Thomas Barabosch (of Fraunhofer
FKIE).


Revision tags: pgoyette-compat-1126
# 1.508 24-Nov-2018 bouyer

Add mpii(4), a driver for LSI Megaraid Fusion controllers.
Ported from OpenBSD. This driver is MP-safe.
Note that the earlier fusion controllers (Megaraid 2208, codenamed Thunderbold)
are also supported by mfi(4). mpii will take precedence if both drivers
are enabled.
Tested on a
mfii0 at pci6 dev 0 function 0: "PERC H740P Adapter ", firmware 50.3.0-1512, 819
2MB cache
mfii0: interrupting at ioapic2 pin 2
scsibus0 at mfii0: 64 targets, 8 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd0: fabricating a geometry
sd0: 99 GB, 102399 cyl, 64 head, 32 sec, 512 bytes/sect x 209714688 sectors
sd0: tagged queueing
sd1 at scsibus0 target 1 lun 0: <DELL, PERC H740P Adp, 5.03> disk fixed
sd1: fabricating a geometry
sd1: 22254 GB, 22788608 cyl, 64 head, 32 sec, 512 bytes/sect x 46671069696 sectors
sd1: fabricating a geometry

It supports bioctl(8) ioctls, as well as sensors for the BBU and logical
drives.

Sponsored by LIP6.


# 1.507 17-Nov-2018 uwe

Add commented out options WSEMUL_DEFAULT="\"vt100\""

If WSEMUL_SUN is enabled it becomes the default emulation which is
most likely not what we want here.


Revision tags: pgoyette-compat-1020
# 1.506 07-Oct-2018 maxv

Make it clear that you need to disable SVS if you enable USER_LDT. I could
make SVS compatible with it, but there has to be someone doing Wine work
first, to justify the effort.


Revision tags: pgoyette-compat-0930
# 1.505 06-Sep-2018 maxv

Retire the 'midway' driver. Discussed on tech-net@ recently and also three
years ago, part of removing the network ATM code.


Revision tags: pgoyette-compat-0906
# 1.504 20-Aug-2018 maxv

Add support for kASan on amd64. Written by me, with some parts inspired
from Siddharth Muralee's initial work. This feature can detect several
kinds of memory bugs, and it's an excellent feature.

It can be enabled by uncommenting these three lines in GENERIC:

#makeoptions KASAN=1 # Kernel Address Sanitizer
#options KASAN
#no options SVS

The kernel is compiled without SVS, without DMAP and without PCPU area.
A shadow area is created at boot time, and it can cover the upper 128TB
of the address space. This area is populated gradually as we allocate
memory. With this design the memory consumption is kept at its lowest
level.

The compiler calls the __asan_* functions each time a memory access is
done. We verify whether this access is legal by looking at the shadow
area.

We declare our own special memcpy/memset/etc functions, because the
compiler's builtins don't add the __asan_* instrumentation.

Initially all the mappings are marked as valid. During dynamic
allocations, we add a redzone, which we mark as invalid. Any access on
it will trigger a kASan error message. Additionally, the compiler adds
a redzone on global variables, and we mark these redzones as invalid too.
The illegal-access detection works with a 1-byte granularity.

For now, we cover three areas:

- global variables
- kmem_alloc-ated areas
- malloc-ated areas

More will come, but that's a good start.


# 1.503 14-Aug-2018 maxv

Replace references to etherip by l2tp. Etherip was already not enabled
anyway.


# 1.502 13-Aug-2018 mrg

use dev/usb/usbdevices.config, gaining these missing drivers:
slurm(4), uthum(4), umcs(4), uark(4), upgt(4), and usmsc(4).


# 1.501 12-Aug-2018 sevan

Remove commented out BPFJIT & SLJIT options as they are provided as loadable
modules already.

Heads up by <leot> <christos>


# 1.500 10-Aug-2018 sevan

Add snippet for bpfjit(4) as both i386 and amd64 are listed as supported.
Ideally BPFJIT should be enabled by default for use with NPF but I haven't
raised the question (no access to email at the moment) hence both are disabled.


# 1.499 03-Aug-2018 kamil

Register kUBSan in the GENERIC amd64 kernel config

Tested with GCC.


# 1.498 01-Aug-2018 maxv

Unreference IPF/PF from the x86 config files (amd64, i386, xen), and enable
NPF instead when wanted.


# 1.497 31-Jul-2018 khorben

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.


Revision tags: pgoyette-compat-0728
# 1.496 13-Jul-2018 maxv

Remove the X86PMC code I had written, replaced by tprof. Many defines
become unused in specialreg.h, so remove them. We don't want to add
defines all the time, there are countless PMCs on many generations, and
it's better to just inline the event/unit values.


# 1.495 12-Jul-2018 maya

Add entries for viadrmums to amd64 kernel configs too.

Commented out for GENERIC, same as i386.


# 1.494 10-Jul-2018 maya

Remove viadrm(4), superseded by viadrmums.

Aside from viadrm using older drm code, it's also dysfunctional right now.
See PR port-i386/53364.


Revision tags: phil-wifi-base pgoyette-compat-0625
# 1.493 07-Jun-2018 thorpej

branches: 1.493.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.


# 1.492 22-May-2018 maxv

Clarify the parameters for the SpectreV2 mitigation.

Add:
machdep.spectre_v2.swmitigated
Rename:
machdep.spectre_v2.mitigated -> machdep.spectre_v2.hwmitigated

Change the method string, to combine both the hardware and software
mitigations. swmitigated is set at compile time, hwmitigated can be
set by the user.

Examples:

spectre_v2.swmitigated = 1
spectre_v2.hwmitigated = 0
spectre_v2.method = [GCC retpoline]

spectre_v2.swmitigated = 0
spectre_v2.hwmitigated = 0
spectre_v2.method = (none)

spectre_v2.swmitigated = 1
spectre_v2.hwmitigated = 1
spectre_v2.method = [GCC retpoline] + [Intel IBRS]


Revision tags: pgoyette-compat-0521
# 1.491 15-May-2018 thorpej

Fully specifiy the location of indirectly-configured I2C devices. In
particular, the parent spec must not be wild-carded, as doing so doesn't
work well on systems where more than one I2C bus is present.

N.B. The x86 platforms are sort of a mess, here... legacy indirect
config and ACPI direct config sort of smashed together with the
same config file directives.


# 1.490 11-May-2018 maya

Enable bwfm at pci.


Revision tags: pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
# 1.489 08-Apr-2018 mrg

turn on GCC spectre v2 mitigation options.

XXX: amd64 ALL doesn't build for me right now


# 1.488 07-Apr-2018 mrg

actually do what the previous change said:
don't turn on the new 'SPECTRE_V2_GCC_MITIGATION' option yet.


# 1.487 07-Apr-2018 mrg

add an SPECTRE_V2_GCC_MITIGATION option to x86 kernels, that turns
on the GCC spectre v2 mitigation options.

XXX: pullup-8.
XXX: turn on in all kernels.


Revision tags: pgoyette-compat-0407 pgoyette-compat-0330
# 1.486 22-Mar-2018 rin

Add njs(4) at pci(4) and cardbus(4).


Revision tags: pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base
# 1.485 26-Feb-2018 maxv

branches: 1.485.2;
Enable SVS by default.


# 1.484 27-Jan-2018 pgoyette

Update amdzentemp(4) attachment info. Also for ALL, remove duplicate
entry for amdtemp(4).


# 1.483 26-Jan-2018 maxv

Add etherip, so that we at least know it exists on amd64.


# 1.482 25-Jan-2018 christos

add amdzentemp


# 1.481 13-Jan-2018 christos

added commented out AUTOFS pseudo-device entries


# 1.480 10-Jan-2018 knakahara

add ipsec(4) interface to amd64/GENERIC and amd64/ALL configs.


# 1.479 09-Jan-2018 christos

Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet


# 1.478 07-Jan-2018 maxv

Don't enable SVS yet.


# 1.477 07-Jan-2018 maxv

Add a new option, SVS (for Separate Virtual Space), that unmaps kernel
pages when running in userland. For now, only the PTE area is unmapped.

Sent on tech-kern@.


# 1.476 31-Dec-2017 christos

explain that a.out never shipped on x86_64 and put back compat_nomid


# 1.475 10-Dec-2017 bouyer

Add dwiic, ihidev and ims


# 1.474 09-Dec-2017 riastradh

Attach wsmouse at wsmousedev on x86 so modular mice have a hope.

As noted on tech-kern:

https://mail-index.NetBSD.org/tech-kern/2017/12/08/msg022708.html


# 1.473 05-Dec-2017 dholland

Add missing wsbell, commented out with a note that it's apparently only
a module by default.

This way people making their own configs have half a prayer of
realizing they might need to turn it on, instead of just not getting
beeps any more for no clear reason.

XXX: Wasn't the agreement after the last round of module flamage that
XXX: things shouldn't be module-only in GENERIC?


# 1.472 05-Dec-2017 dholland

Sort the file system options by which fs they apply to.


Revision tags: tls-maxphys-base-20171202
# 1.471 02-Dec-2017 maxv

Drop COMPAT_13 on amd64, already not enabled. Reduces the number of
critical places.


# 1.470 02-Dec-2017 maxv

Drop COMPAT_10 on amd64. The support for it comes down to one ifdef in
trap.c - code that is incorrect anyway, there were originally three lcall
LDT slots, and here only one instruction is decoded.

Given that one of these slots was used by BSDi's syscall, also remove the
references to COMPAT_NOMID to make clear we don't support that (it already
is not enabled).

Note: for some reason, COMPAT_10 does not even compile, because there are
"multiple definitions of _KERNEL_OPT_COMPAT_...", and I don't really
understand where this comes from.


# 1.469 25-Nov-2017 jmcneill

Add qemufwcfg (QEMU Firmware Configuration device)


# 1.468 06-Nov-2017 rin

Revive commented out DISKLABEL_EI option to kernel configuration files
that contain FFS_EI option.


# 1.467 19-Oct-2017 jmcneill

add bwfm


# 1.466 14-Sep-2017 mrg

clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.


# 1.465 13-Sep-2017 sevan

Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and VERIFIED_EXEC_FP_MD5 options.
These algorithms are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh


Revision tags: nick-nhusb-base-20170825
# 1.464 13-Aug-2017 christos

Add ALPS pms support


# 1.463 04-Aug-2017 maxv

Revert my changes, and re-enable COMPAT_NOMID, COMPAT_09 and COMPAT_43.
Several compat options happen to be dependent on the compat_43_* functions,
the availability of which is (wrongfully) controlled with COMPAT_43. Same
for COMPAT_09.


# 1.462 28-Jul-2017 maxv

After a careful review, and all things considered, disable compat43 by
default on amd64. The use case is limited, the potential for damage too
high, and it is safer to run a BSD4.3 binary on i386 since the kernel does
not have to go through netbsd32 - which may not correctly reproduce i386.


# 1.461 22-Jul-2017 maxv

Add USER_LDT, commented out for now.


Revision tags: perseant-stdc-iso10646-base
# 1.460 12-Jul-2017 maxv

Enable PMCs by default.


Revision tags: netbsd-8-base
# 1.459 27-May-2017 bouyer

branches: 1.459.2;
Add options CAN and pseudo-device canloop to ALL kernel configs.
Add the same commented out to i386/amd64 GENERIC and OLIMEXLIME2 (A20-based).
Also add commented out awincan0 in OLIMEXLIME2.


# 1.458 25-May-2017 para

follow u3ginit driver rename to umodeswitch


Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1
# 1.457 18-Apr-2017 riastradh

gson@ informs me the Alea I and II have the same USB product id.

Thus, ualea(4) should work for both of them. Rename USB product id
ARANEUS ALEA_II to ARANEUS ALEA to reflect this.

No functional change intended, except perhaps via usbdevs.


# 1.456 17-Apr-2017 riastradh

New rndsource driver for Araneus Alea II TRNG USB devices.

Disabled by default in x86/GENERIC and usbdevices.config pending
review and testing without rump ugenhc in the way, but enabled in
x86/ALL for compile-testing.

(Hi gson! Finally found a round tuit in my pocket, next to a certain
rectangular one.)


Revision tags: jdolecek-ncq-base pgoyette-localcount-20170320
# 1.455 10-Mar-2017 maxv

PMCs for amd64 - still disabled, like i386.


# 1.454 26-Feb-2017 rin

Comment out DISKLABEL_RDB as it is too specific for general usage.
(Also add commented out that entry for GENERIC on amd64; I forgot it)


# 1.453 26-Feb-2017 maya

Remove commented DISKLABEL_EI for strictly little endian architectures

It will never be useful.


# 1.452 19-Feb-2017 rin

PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.


# 1.451 16-Feb-2017 knakahara

add l2tp(4) to amd64/GENERIC and amd64/ALL config.


Revision tags: nick-nhusb-base-20170204 bouyer-socketcan-base
# 1.450 12-Jan-2017 ryo

branches: 1.450.2;
white space police


Revision tags: pgoyette-localcount-20170107
# 1.449 31-Dec-2016 christos

Add commented out TCP_SIGNATURE


# 1.448 18-Dec-2016 dholland

Whitespace.


# 1.447 13-Dec-2016 christos

wildcard speaker attachments, now that we can handle many of them.


# 1.446 10-Dec-2016 christos

remove VAUDIOSPEAKER for now, will be done differently.


# 1.445 09-Dec-2016 christos

kill PCPPISPEAKER


# 1.444 08-Dec-2016 nat

Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.


Revision tags: nick-nhusb-base-20161204
# 1.443 26-Nov-2016 christos

mention PAX_SEGVGUARD dependency on FILEASSOC


# 1.442 26-Nov-2016 dholland

1.6 was the first amd64 release. (although it didn't really work too well
before -5)


# 1.441 26-Nov-2016 dholland

Note that really old compat is only useful for running 32-bit binaries.

XXX: someone please indicate what the oldest possible extant x86_64
binaries are; I can't find an authoritative source.


# 1.440 25-Nov-2016 dholland

fileassoc is used by PaX as well as veriexec - update note accordingly.


# 1.439 25-Nov-2016 dholland

sort iwm* before iwn*


# 1.438 25-Nov-2016 dholland

The compat options should all be in one block.


Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914
# 1.437 07-Aug-2016 christos

rename ifmpls to mpls, so we don't have if_ifmpls...


Revision tags: pgoyette-localcount-20160806
# 1.436 27-Jul-2016 msaitoh

Add sdtemp(4)


Revision tags: pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
# 1.435 21-Jun-2016 nonaka

branches: 1.435.2;
add sdhc(4) at acpi to i386 and amd64 GENERIC kernel config.


# 1.434 14-Jun-2016 pgoyette

Re-arrange PAX_ASLR options to keep the _DEBUG next to the main option.


Revision tags: nick-nhusb-base-20160529
# 1.433 14-May-2016 christos

Turn on MPROTECT on GENERIC and both MPROTECT and ASLR on XEN*


# 1.432 01-May-2016 nonaka

Added nvme(4) for Non-Volatile Memory Host Controller Interface devices.
Ported from OpenBSD.


# 1.431 23-Apr-2016 skrll

Merge nick-nhusb

- API / infrastructure changes to support memory management changes.
- Memory management improvements and bug fixes.
- HCDs should now be MP safe
- conversion to KERNHIST based debug
- FS/LS isoc support on ehci(4).
- conversion to kmem(9)
- Some USB 3 support - mostly from Takahiro HAYASHI (t-hash).
- interrupt transfers now get proper DMA operations
- general bug fixes
- kern/48308
- uhub status notification improvements
- umass(4) probe fix (applied to HEAD already)
- ohci(4) short transfer fix


Revision tags: nick-nhusb-base-20160422
# 1.430 13-Apr-2016 riastradh

Enable nouveau by default again in x86 GENERIC.


# 1.429 10-Apr-2016 christos

We don't need TRAP_SIGDEBUG


# 1.428 10-Apr-2016 christos

- Turn on ASLR by default
- Add PAX_MPROTECT_DEBUG flag


# 1.427 19-Mar-2016 gdt

Disable uscanner in all kernel configs

As discussed on current-users@, SANE uses ugen via libusb and not
uscanner, so users are not well served by having uscanner. Consensus
is that addressing how to adjust permissions for scanners should not
block restoring basic functionionality.

(Compile-tested only, but there are multiple reports of this being the
right approach.)


Revision tags: nick-nhusb-base-20160319
# 1.426 16-Mar-2016 christos

Add PAX_SEGVGUARD disabled.


# 1.425 05-Mar-2016 riastradh

Revert to disabling nouveau by default in x86 GENERIC.

Haven't had time to debug the issues that seem to affect pretty much
everyone. Maybe soon!


# 1.424 13-Feb-2016 riastradh

Add nouveau to x86 GENERIC kernels.


# 1.423 30-Jan-2016 christos

compile full symbol table for CTF so FBT can get function arguments.


# 1.422 22-Jan-2016 riz

Enable KDTRACE_HOOKS on i386 and amd64 GENERIC.


# 1.421 10-Jan-2016 christos

scsibus at scsi should work; if it does not...


# 1.420 10-Jan-2016 christos

PR/50636: Ryo ONODERA: Add scsibus to vioscsi


# 1.419 05-Jan-2016 msaitoh

Add ismt(4).


Revision tags: nick-nhusb-base-20151226
# 1.418 30-Oct-2015 christos

add vioscsi


Revision tags: nick-nhusb-base-20150921
# 1.417 21-Sep-2015 nonaka

PR/50261: Added newer Toshiba hotkeys support.


# 1.416 27-Aug-2015 nonaka

Added rtwn(4) for Realtek RTL8188CE/RTL8192CE PCIe 802.11b/g/n wireless network
devices. Ported from OpenBSD.


# 1.415 13-Aug-2015 msaitoh

Compile ixv(4) by default.


# 1.414 08-Aug-2015 maxv

Remove KMEMSTATS.


Revision tags: nick-nhusb-base-20150606
# 1.413 03-May-2015 pgoyette

Update to include the tco driver (it was previously included as part of
ichlpcib).


# 1.412 23-Apr-2015 pgoyette

Add a space after "options" and before the <tab> for conformity
with other options. Among other things, this allows one to
remove the # comment character without breaking the vertical
alignment.


Revision tags: nick-nhusb-base-20150406
# 1.411 10-Mar-2015 msaitoh

Modify to make Intel Intel 10G Ethernet (ixg(4)) virtual function ixv(4)
compilable. Not completed yet. It's required to use MSI-X.


# 1.410 06-Mar-2015 riastradh

Fix tabbing of drm lines.


# 1.409 06-Mar-2015 riastradh

Fix commented nouveau in amd64/GENERIC. Add nouveau to amd64/ALL.

Remove NV_DEBUG from amd64/ALL -- it breaks nouveau, and I can't find
any use of it in src/sys outside arch/atari/dev/nvram.c, which surely
has no relevance to amd64.

(Nouveau has an internal NV_DEBUG(...) macro for debug messages.)


# 1.408 13-Feb-2015 nonaka

iwm(4) works now, but 2.4GHz only.

> iwm0 at pci2 dev 0 function 0: Intel Dual Band Wireless AC 3160 (rev. 0x83)
> iwm0: interrupting at ioapic0 pin 18
> iwm0: hw rev: 0x160, fw ver 25.228 (API ver 9), address XX:XX:XX:XX:XX:XX
> iwm0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> iwm0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps


# 1.407 07-Feb-2015 pooka

Add a driver for Intel Centrino 7260 and similar wireless cards.
Supported devices should more or less match ones supported
by the Linux iwlwifi mvm driver. Sponsored by genua mbh for OpenBSD.

This is probably the world's first Canadian cross device driver: it was
created for OpenBSD by writing and porting a NetBSD driver which was
developed in a rump kernel in Linux userspace.

Note: I don't have access to the hardware anymore, so this version is
not tested and not enabled by default. While I tried to be careful in
adding the NetBSD bits back, it's probable that there's a snafu or two.
Feel free to send private email in case you have the hardware and there
are issues.


# 1.406 19-Dec-2014 msaitoh

Sync gpio related lines with i386/conf/GENERIC.


# 1.405 12-Dec-2014 christos

Add options to run a.out i386 binaries (commented out)


Revision tags: nick-nhusb-base
# 1.404 16-Nov-2014 manu

branches: 1.404.2;
Remove unused extended attributes kernel options

As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate


# 1.403 12-Nov-2014 manu

Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels

This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)


# 1.402 02-Nov-2014 christos

make DRMKMS the default on GENERIC and comment out the legacy drivers.


# 1.401 26-Oct-2014 tls

Add viornd(4), a driver for the VirtIO entropy source available on
QEMU, KVM, and Google Compute Engine. From OpenBSD.


# 1.400 18-Oct-2014 uebayasi

Install agp_* drivers where pchb(4) is installed except INSTALL_FLOPPY.

XXX
Config around agp(4) is done in quite wrong direction.
"pchb <- (agpbus) <- agp <- agp_*"
should be:
"pchb <- (pcibus) <- agp_* <- (agpbus) <- agp"


# 1.399 19-Sep-2014 christos

Add HDAUDIOVERBOSE


# 1.398 19-Sep-2014 christos

Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.


# 1.397 18-Sep-2014 wiz

Add commented out KDTRACE_HOOKS line.


# 1.396 24-Aug-2014 jnemeth

Create an "options MODULAR_DEFAULT_AUTOLOAD" config option and add
it to all kernel configs that contain "options MODULAR". This
option turns on module autoloading by default (which is the current
default). This allows people who don't want module autoloading on
by default to disable it by simply removing/commentting this line.


# 1.395 23-Aug-2014 dholland

Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.


# 1.394 18-Aug-2014 christos

- Enable Wedge support for MBR/BSDLABEL where it was commented out.
- Add apple partition support where it was missing
- Add comments where missing


# 1.393 16-Aug-2014 apb

Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".


Revision tags: netbsd-7-base tls-earlyentropy-base tls-maxphys-base
# 1.392 25-Jul-2014 dholland

branches: 1.392.2;
Fix description of DIAGNOSTIC in x86 kernels.


# 1.391 16-Jun-2014 dsl

Comment out the xhci entries.
The driver really doesn't work well enough to be generally useful.


# 1.390 12-Jun-2014 alnsn

Revert the previous (comment only change).


# 1.389 12-Jun-2014 alnsn

Add a comment about disabling INET6. Should fix kern/48901.


# 1.388 10-Jun-2014 hikaru

Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4).


# 1.387 29-May-2014 christos

enable IPSEC


Revision tags: yamt-pagecache-base9 rmind-smpnet-nbase rmind-smpnet-base
# 1.386 21-Apr-2014 chs

add malo at pcmcia.


# 1.385 08-Apr-2014 riastradh

Enable options VND_COMPRESSION in amd64/GENERIC.


# 1.384 08-Apr-2014 christos

add ixg


Revision tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
# 1.383 24-Mar-2014 szptvlfn

branches: 1.383.2;
fix manual section numbering of sysctl.
thanks wiz@


# 1.382 19-Mar-2014 nonaka

Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.


Revision tags: riastradh-drm2-base3
# 1.381 26-Oct-2013 nonaka

Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.


# 1.380 23-Oct-2013 matt

Add xhci device


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
# 1.379 30-Jun-2013 rmind

G/C PFIL_HOOKS from the kernel configs.


# 1.378 10-Jun-2013 kardel

branches: 1.378.2;
adjust soekrisgpio driver to NetBSD


# 1.377 05-Jun-2013 christos

remove obsolete networking options


# 1.376 04-Jun-2013 christos

sync drm with i386


# 1.375 28-May-2013 kiyohara

Add udsir.


# 1.374 03-May-2013 jakllsch

Enable sdhc* at cardbus? in amd64 GENERIC. As it is already in i386
GENERIC. sdhc(4) has had working detach support for a while now too.


# 1.373 27-Apr-2013 christos

more bogus number removal


# 1.372 27-Apr-2013 christos

the bogus number police


# 1.371 27-Apr-2013 christos

remove confusing numeric locators where they are unused.


# 1.370 06-Apr-2013 martin

athn at pci has been successfully tested


# 1.369 30-Mar-2013 christos

patches for new wifi devices.


Revision tags: agc-symver-base
# 1.368 02-Mar-2013 christos

Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.


# 1.367 01-Mar-2013 joerg

Retire OSI network stack. OK core@


Revision tags: yamt-pagecache-base8
# 1.366 20-Dec-2012 christos

fix cut-n-paste.


Revision tags: yamt-pagecache-base7 yamt-pagecache-base6
# 1.365 17-Oct-2012 apb

Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".


# 1.364 23-Sep-2012 chs

add vmt entry to GENERIC.
standardize commented pfsync and npf entries.


# 1.363 01-Sep-2012 jakllsch

branches: 1.363.2;
Rename RT2500USB driver to ural(4) as it was originally in OpenBSD,
as ural(4) and ral(4) do not actually share any code.

Enable ural(4) in hpcarm WZERO3 kernel too, as it will now build.

Fixes PR#43520.


# 1.362 01-Sep-2012 jakllsch

back out unintentional change in 1.352.


# 1.361 27-Aug-2012 dholland

whitespace


# 1.360 24-Aug-2012 dholland

Restore comment heading lost during the MODULAR thrashing.


# 1.359 01-Aug-2012 matt

Enable FFS_EI (let's be more endian tolerant).


# 1.358 30-Jul-2012 degroote

Add malo(4) entry in various kernel configuration


# 1.357 14-Jun-2012 riz

Add urtw(4) to i386/amd64 GENERIC.


# 1.356 05-Jun-2012 abs

Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.


Revision tags: jmcneill-usbmp-base10
# 1.355 30-May-2012 nonaka

Add a driver for Ralink Technology RT2700U/RT2800U/RT3000U USB IEEE
802.11a/b/g/n wireless network devices, ported from OpenBSD by FUKAUMI Naoki,
arranged by me.


Revision tags: yamt-pagecache-base5 jmcneill-usbmp-base9
# 1.354 19-Apr-2012 bouyer

Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.


Revision tags: yamt-pagecache-base4
# 1.353 13-Apr-2012 cegger

Replace amdtempbus with amdnb_miscbus.
This allows us to have independent drivers on the same device (northbridge f3)
each coming with a certain functionality/feature.
This way we do not need to mess with amdtemp(4) to utilize other features.


# 1.352 07-Apr-2012 christos

add apple autodiscovery.


Revision tags: jmcneill-usbmp-base8
# 1.351 25-Mar-2012 nonaka

Added urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU USB IEEE 802.11b/g/n wireless network devices.


Revision tags: jmcneill-usbmp-base7
# 1.350 10-Mar-2012 joerg

P1003_1B_SEMAPHORE is no longer optional.


Revision tags: jmcneill-usbmp-base6 jmcneill-usbmp-base4
# 1.349 28-Feb-2012 mbalmer

Add commented out DDB_COMMANDONENTER example, enable pwdog(4).


Revision tags: jmcneill-usbmp-base5 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
# 1.348 22-Jan-2012 christos

branches: 1.348.2;
add a tpm driver from bsssd.sourceforge.net


# 1.347 17-Jan-2012 veego

Back out all changes for rev 1.346 which are not related to PR/45850
Should fix the reported build problem from Paul Goyette


# 1.346 17-Jan-2012 christos

PR/45850: Pierre Pronchery: USB multi-touch panels are not supported


# 1.345 16-Jan-2012 jmcneill

add irmce(4), cir@irmce, and cir@emdtv


# 1.344 15-Jan-2012 jmcneill

add & enable digital tv capture support


# 1.343 13-Jan-2012 cegger

Support CPU microcode loading via cpuctl(8).
Implemented and enabled via CPU_UCODE kernel config option
for x86 and Xen Dom0.
Tested on different AMD machines with different
CPU families.

ok wiz@ for the manpages
ok releng@
ok core@ via releng@


# 1.342 31-Dec-2011 christos

Add an ipad


# 1.341 18-Dec-2011 dholland

WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.


Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
# 1.340 22-Nov-2011 tls

branches: 1.340.2;

The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself. Move it to std. This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports. Thanks to Havard Eidnes for
pointing them out.


Revision tags: jmcneill-audiomp3-base
# 1.339 13-Nov-2011 mbalmer

Add commented out entry for gpiopwm(4).


Revision tags: yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.338 30-Oct-2011 hannken

branches: 1.338.2;
Import of the virtio driver written by MINOURA Makoto <minoura@netbsd.org>
with minor changes to make it compile an run on -current. This driver
speeds up disk and network access in virtual environments like KVM.

Enabled on i386 and amd64. Tested with a CentOS 5.7 x86_64 host.

See http://ozlabs.org/~rusty/virtio-spec/virtio.pdf for the specification.


# 1.337 30-Aug-2011 mbalmer

Add gpio entries, commented out, since I am working with them as modules atm.


# 1.336 30-Aug-2011 jmcneill

revert previous


# 1.335 30-Aug-2011 jruoho

Comment out the legacy bktr(4) from the GENERICs.


Revision tags: jym-xensuspend-nbase jym-xensuspend-base
# 1.334 18-Aug-2011 jakllsch

Attach amdtemp(4) at pchb(4) instead of in place of pchb(4).

Should fix PR#45268.


# 1.333 11-Aug-2011 mbalmer

Add commented out sample entry for pwdog(4).


# 1.332 09-Aug-2011 jmcneill

remove commented out entries for emdtv, auvitek, and dtv


# 1.331 08-Aug-2011 jmcneill

remove dtv (available as a module)


# 1.330 08-Aug-2011 jakllsch

Add P1003_1B_SEMAPHORE to match i386.


# 1.329 08-Aug-2011 jakllsch

Finish reverting premature modularization of amd64 kernels.


# 1.328 30-Jul-2011 jmcneill

add PCKBD_CNATTACH_MAY_FAIL to be consistent with i386


# 1.327 23-Jul-2011 jakllsch

Enable or note aubtfwl(4) wherever ubt(4) is enabled or noted.


# 1.326 21-Jul-2011 jakllsch

Add wmieeepc(4) to amd64 GENERIC.


# 1.325 21-Jul-2011 jakllsch

Add dtv* at dtvbus? because I'll get weird looks if I introduce a #if NDTV > 0,
and also if I don't un-Break the build.


# 1.324 20-Jul-2011 jakllsch

Add cxdtv(4) and urndis(4). Also, two slight cosmetic changes.


# 1.323 13-Jul-2011 jruoho

A driver for HP 3D DriverGuard; a LIS3LV02DL-based accelerometer. Tested on
HP NC4400. Like aps(4), this is commented out in the GENERIC kernels.


# 1.322 03-Jul-2011 bouyer

Add back DIAGNOSTIC option to x86 GENERIC kernels, as discussed on tech-kern.
This will have to be commented out on release branches.


# 1.321 21-Jun-2011 jruoho

By default, enable wmihp(4) instead of hpqlb(4), as it has a better chance
of working with a greater number of HP laptops. Ok cegger@.


# 1.320 14-Jun-2011 jruoho

Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.


Revision tags: rmind-uvmplock-nbase cherry-xenmp-base rmind-uvmplock-base
# 1.319 28-May-2011 ryo

branches: 1.319.2;
many whitespace cleanup.


# 1.318 01-Apr-2011 jruoho

Enable acpicpu(4) by default.


# 1.317 06-Mar-2011 bouyer

merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.


Revision tags: bouyer-quota2-nbase
# 1.316 04-Mar-2011 jruoho

Move INTEL_ONDEMAND_CLOCKMOD -- or odcm(4) -- to the cpufeaturebus.


# 1.315 27-Feb-2011 jruoho

Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".


# 1.314 24-Feb-2011 jruoho

Move PowerNow! to the cpufeaturebus.


# 1.313 23-Feb-2011 jruoho

Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus.


# 1.312 23-Feb-2011 jmcneill

add alc@pci


# 1.311 21-Feb-2011 pooka

Put coredumps back as a built-in. Until it can autoload or something,
there's no point in causing user-visible (and test-visible)
regressions.


# 1.310 20-Feb-2011 jruoho

Modularize coretemp(4). Ok jmcneill@.


# 1.309 19-Feb-2011 jmcneill

add VCONS_DRAW_INTR


# 1.308 18-Feb-2011 christos

add ifmpls since MPLS was added


Revision tags: uebayasi-xip-base7 bouyer-quota2-base
# 1.307 16-Feb-2011 jym

Per mrg@ request, add MFS as default builtin, for things like init(8).

XXX should be replaced by TMPFS eventually.


# 1.306 16-Feb-2011 jruoho

Add (commented) aps(4) from i386 GENERIC.


# 1.305 16-Feb-2011 jym

Build certain file-systems and options(7) as module(7). 32 and 64 bits
support are still builtin, as well as FFS, NFS, TMPFS, and most COMPAT
code. Saves approx. 750kiB.

Reflect this in INSTALL kernel, where we have to support more file systems
statically.

See http://mail-index.netbsd.org/port-amd64/2011/02/13/msg001318.html


# 1.304 14-Feb-2011 hannken

Initial implementation of ibmhawk(4) driver for sensors behind the IBM Hawk
on-board Integrated Systems Management Processor found on some eServers.

Tested on an IBM eServer x335.


# 1.303 13-Feb-2011 jym

Missing MPLS options (commented out).


# 1.302 11-Feb-2011 jmcneill

attach drm hw drivers to 'drm' not 'vga'


# 1.301 06-Feb-2011 jmcneill

- add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options


# 1.300 26-Jan-2011 pooka

Add bwi from PR kern/40279. There is no know case of testing the
driver on amd64/i386, but if it doesn't work at least we're more
likely to get a PR instead of people wondering about lacking driver
support.


# 1.299 17-Jan-2011 jmcneill

branches: 1.299.2;
add acpiwdrt


Revision tags: jruoho-x86intr-base
# 1.298 09-Jan-2011 jruoho

branches: 1.298.2;
Add a dummy-driver for ACPI fans.


# 1.297 09-Jan-2011 jruoho

Remove APM. (Already commented out.)


# 1.296 05-Jan-2011 jruoho

Add a driver for ACPI power meters.


# 1.295 03-Jan-2011 tsutsui

Xref module(7) in comments.


Revision tags: matt-mips64-premerge-20101231
# 1.294 27-Dec-2010 jmcneill

add 'uaudio* at usbifif?' so uaudio can attach to something other than
a hub


# 1.293 27-Nov-2010 christos

add ihphy


# 1.292 23-Nov-2010 hannken

Remove unused count from pseudo-device md.


Revision tags: uebayasi-xip-base6
# 1.291 13-Nov-2010 jnemeth

Add new et(4)/etphy(4) devices.


# 1.290 10-Nov-2010 dholland

<space><tab>

I went and wrote a gizmo to automate this a while back, but I seem to
have *lost* the thing. grr.


Revision tags: uebayasi-xip-base5 uebayasi-xip-base4
# 1.289 05-Nov-2010 gsutre

Merge ACPI Fujitsu Driver. Provides support for hotkeys and other
built-in components through vendor-specific ACPI devices.

ok jruoho@


# 1.288 03-Nov-2010 christos

add otus


# 1.287 24-Oct-2010 jruoho

Add acpiwmi(4) mappings for MSI laptops.

XXX: It may be necessary to fix PR # 43659 before this works on all models.


Revision tags: uebayasi-xip-base3
# 1.286 12-Oct-2010 gsutre

Merge ACPI display driver. Provides generic support for brightness
control and output switching, through ACPI video extensions.

TODO: use wsconsctl(8) instead of sysctl(8) for brightness control.

ok jruoho@
also discussed with cegger@ and jmcneill@


Revision tags: yamt-nfs-mp-base11
# 1.285 22-Aug-2010 rmind

Import NPF - a packet filter. Some features:

- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
supporting generic RISC-like and specific CISC-like instructions for
common patterns (e.g. IPv4 address matching). See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@


Revision tags: uebayasi-xip-base2 yamt-nfs-mp-base10
# 1.284 08-Aug-2010 chs

add more (commented-out) spdmem instances for HP xw-series workstations.


# 1.283 23-Jul-2010 jakllsch

Almost entirely rework Intel Firmware Hub random number generator support.

This introduces fwhrng(4) which attaches via ichlpcib(4), replacing
the rnd(4) support in pchb(4).


# 1.282 18-Jul-2010 jruoho

Merge a driver for ACPI CPUs with basic support for processor power states,
also known as C-states. The code is modular and provides an easy way to add
the remaining functionality later (namely throttling and P-states).

Remarks:

1. Commented out in the GENERICs; more testing exposure is needed.

2. The C3-state is disabled for the time being because it turns off
timers, among them the local APIC timer. This may not be universally
true on all x86 processors; define ACPICPU_ENABLE_C3 to test.

3. The algorithm used to choose a power state may need tuning. When
evaluating the appropriate state, the implementation uses the
previous sleep time as an indicator. Additional hints would include
for example the system load.

Also bus master activity is evaluated when choosing a state. The
usb(4) stack is notorious for such activity even when unused.
Typically it must be disabled in order to reach the C3-state,
but it may also prevent the use of C2.

4. While no extensive empirical measurements have been carried out, the
power savings are somewhere between 1-2 W with C1 and C2, depending
on the processor, firmware, and load. With C3 even up to 4 W can be
saved. The less something ticks, the more power is saved.

ok jmcneill@, joerg@, and discussed with various people.


# 1.281 02-Jun-2010 dholland

Remove orphaned heading "Mice"


# 1.280 02-Jun-2010 dholland

COMPAT_43 should not be sorted between COMPAT_40 and COMPAT_50.


# 1.279 22-May-2010 plunky

add btmagic(4) where other Bluetooth drivers are listed


# 1.278 08-May-2010 mrg

enable IPFILTER_COMPAT in all kernels that have ipfilter already.
canonicalise several of the ipf option segments in various files
(this mostly means adding commented out IPFILTER_DEFAULT_BLOCK,
or adding commented or uncommented IPFILTER_LOG or IPFILTER_LOOKUP
option statements.)

i built about 20 of these kernels to check, but not all of them.


Revision tags: uebayasi-xip-base1
# 1.277 16-Apr-2010 pooka

Remove unused count (invariably "4") from pseudo-device fss.


# 1.276 09-Apr-2010 ahoka

revert last change, amd64 doesnt have monolith so dont remove pad.


# 1.275 09-Apr-2010 ahoka

Remove pad from GENERIC, add to MONOLITH, we have it as a module now.


# 1.274 08-Apr-2010 jruoho

Add WMI mappings for HP laptops. Requested by cegger@.
Thanks to apb@ and cegger@ for initial testing.

XXX: This conflicts with hpqlb(4). Someone with the suitable hardware needs
to complete the list of hotkeys before -- and if -- this can replace
hpqlb(4). For now, the driver was left uncommented in the GENERICs.


# 1.273 08-Apr-2010 jruoho

Add wmidell(4).


# 1.272 28-Mar-2010 dholland

sort a couple things


Revision tags: yamt-nfs-mp-base9
# 1.271 07-Mar-2010 plunky

branches: 1.271.2;
add uhso(4) device where appropriate
- follow the lead of other USB driver declarations wrt commented out
- (cross-)build tested all these kernels


# 1.270 06-Mar-2010 cnst

remove aiboost(4) from GENERICs, since it cannot win in autoconf(9) over aibs(4); ok pgoyette


# 1.269 22-Feb-2010 pgoyette

Correct spelling of smscmon and add (commented out) to GENERICs


# 1.268 22-Feb-2010 ahoka

Add SPLASH example, like in i386.


# 1.267 21-Feb-2010 cnst

New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.

http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html

Reviewed by <pgoyette>, <tech-kern>.


# 1.266 09-Feb-2010 cnst

New aibs(4) driver for ASUSTeK AI Booster (ACPI ATK0110) hardware monitor
with limit support.

http://thread.gmane.org/gmane.os.netbsd.devel.kernel/35654

Reviewed by <pgoyette>, <jruoho> and <tech-kern>.


# 1.265 08-Feb-2010 pgoyette

Add flags to all instances of lm(4), add a reference to man page


Revision tags: uebayasi-xip-base
# 1.264 06-Feb-2010 pgoyette

branches: 1.264.2;
Add acpismbus enries - commented out!


# 1.263 31-Jan-2010 jruoho

Remove ACPICA_PEDANTIC.


# 1.262 07-Jan-2010 tnn

uhmodem(4) is superseded by u3g(4) and u3ginit(4).
Prepare for uhmodem(4) removal by not building it anymore.
This may fix PR kern/41174.


# 1.261 07-Jan-2010 martin

Add the u3ginit driver to all configs which have the u3g driver


# 1.260 23-Dec-2009 pooka

unifdef -D UGEN_BULK_RA_WB

Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.


Revision tags: matt-premerge-20091211
# 1.259 05-Dec-2009 pooka

Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs. User functionality remains the same.


# 1.258 03-Dec-2009 sborrill

Add udl(4)


# 1.257 02-Oct-2009 jmcneill

PR# kern/42139: ACPI WMI: new driver

Import acpiwmi(4) from Jukka Ruohonen. From the PR:

Attached is a driver that implements ACPI WMI API:

http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx

The WMI is used to provide a generic interface for OEMs to use certain
platform/laptop-specific additions to the standard ACPI in a somewhat
portable way. These can be hotkeys for additional buttons, different event
handlers (wireless kill switch, lid switch, etc.), and so on. At least HP
and Acer use it by default nowadays.

The benefit of this interface would be portability. For an example, instead
of hpqlb(4) that works only with certain HP models, we could have a generic
HP WMI-driver that should work in theory across all HP laptops. On many new
laptops WMI may also be the only way to access laptop/manufacturer-specific
features.


# 1.256 30-Sep-2009 jmcneill

Need sdmmc* at wb?


# 1.255 30-Sep-2009 jmcneill

wss@acpi doesn't make much sense on amd64, so remove it


# 1.254 30-Sep-2009 jmcneill

add and enable wb(4)


# 1.253 20-Sep-2009 christos

add toshide


Revision tags: yamt-nfs-mp-base8
# 1.252 07-Sep-2009 jmcneill

Switch on hdaudio(4)


# 1.251 07-Sep-2009 jmcneill

Refer to hdaudio as 'High Definition Audio', not
'Intel High Definition Audio' as many vendors implement the HD audio spec.


# 1.250 06-Sep-2009 sborrill

hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio


Revision tags: yamt-nfs-mp-base7
# 1.249 09-Aug-2009 christos

put back drm.


# 1.248 09-Aug-2009 christos

remove drm stuff for now


# 1.247 09-Aug-2009 christos

add spic and drm to generic


# 1.246 27-Jul-2009 kiyohara

Support Marvell Hercules-I/II SATA Controllers.


Revision tags: jymxensuspend-base
# 1.245 19-Jul-2009 kiyohara

Support siisata@cardbus.
It tested on amd64 and i386 only.


Revision tags: yamt-nfs-mp-base6 yamt-nfs-mp-base5
# 1.244 22-May-2009 christos

add uhmodem, uncomment wd* at umass


Revision tags: yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4
# 1.243 27-Apr-2009 joerg

Add commented out hpet@ichlpcib entry.


Revision tags: nick-hppapmap-base3 nick-hppapmap-base
# 1.242 21-Apr-2009 nonaka

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.


# 1.241 20-Apr-2009 cegger

add ale(4)


# 1.240 10-Apr-2009 perry

add (commented out) options LOCKDEBUG


# 1.239 06-Mar-2009 cegger

add age(4) and atphy(4)


Revision tags: nick-hppapmap-base2
# 1.238 16-Feb-2009 jmcneill

Add and enable genfb(4)


# 1.237 29-Jan-2009 ad

branches: 1.237.2;
Enable BUFQ_PRIOCSCAN by default.


Revision tags: mjf-devfs2-base
# 1.236 11-Jan-2009 christos

merge christos-time_t


Revision tags: christos-time_t-nbase christos-time_t-base
# 1.235 14-Dec-2008 jmcneill

branches: 1.235.2;
add options PMS_ELANTECH_TOUCHPAD


Revision tags: haad-dm-base2 haad-nbase2 ad-audiomp2-base haad-dm-base
# 1.234 24-Nov-2008 ad

Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.


# 1.233 12-Nov-2008 ad

Comment out P1003_1B_SEMAPHORE. The ksem module will now be autoloaded from
the file system if POSIX semaphores are used.


# 1.232 12-Nov-2008 ad

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.


Revision tags: netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1
# 1.231 19-Oct-2008 joerg

branches: 1.231.2; 1.231.4;
Add u3g entries in kernels that have ugensa as well.


# 1.230 11-Oct-2008 bouyer

jme(4), a driver for JMicron Technologies JME250 Gigabit Ethernet and
JME260 Fast Ethernet PCI Express controllers.
Written with a lot of cut-n-paste from the FreeBSD jme(4) driver.
No support for jumbo ethernet frames yet (but should come soon).
Thanks to JMicron Technologies for providing me sample boards and
documentation for this work.


Revision tags: wrstuden-revivesa-base-4
# 1.229 07-Oct-2008 pgoyette

Move all platforms to new dbCool driver in preparation for removal of
chip-specific drivers


# 1.228 07-Oct-2008 rmind

Add a note that SysV IPC parameters could be changed dynamically.


# 1.227 30-Sep-2008 jmcneill

Remove esl(4)


Revision tags: wrstuden-revivesa-base-3
# 1.226 09-Sep-2008 ober

Adding iwn(4) to GENERIC


# 1.225 09-Sep-2008 jmcneill

Add uvideo(4)


Revision tags: wrstuden-revivesa-base-2
# 1.224 06-Sep-2008 jmcneill

Enable video(4) and pseye(4)


# 1.223 25-Aug-2008 cegger

GENERIC: add auacer(4) which is already in XEN3_DOM0
XEN3_DOM0: add azalia(4) which is already in GENERIC


# 1.222 21-Aug-2008 bouyer

Enable ipmi(4) by default in GENERIC and related kernels.


# 1.221 10-Aug-2008 cube

Accept filters are cool, but it's not a reason to select them twice.


# 1.220 10-Aug-2008 tls

Add accept filters to GENERIC kernels where they exist.


# 1.219 10-Aug-2008 cegger

Add accept filters per request from port-xen:
http://mail-index.netbsd.org/port-xen/2008/08/10/msg004087.html

pseudo-device entries were copied from sys/arch/i386/conf/GENERIC, rev. 1.904


# 1.218 31-Jul-2008 joerg

Include VGA_POST by default in GENERIC and ALL on x86 now that the code
is conditional.


# 1.217 31-Jul-2008 simonb

Add "options WAPBL" to standard GENERIC/INSTALL type configs.


Revision tags: wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 wrstuden-revivesa-base
# 1.216 26-May-2008 jmcneill

branches: 1.216.2; 1.216.4;
Add uberry.


# 1.215 25-May-2008 agc

Re-enable INCLUDE_CONFIG_FILE in the GENERIC kernel config files for
i386, amd64 and usermode - it is necessary for retrieving information
on kernel configuration for running kernels - cf config -x.


# 1.214 23-May-2008 jnemeth

add siisata(4) -- SiI SteelVine SATA2


Revision tags: hpcarm-cleanup-nbase
# 1.213 18-May-2008 cegger

acpidalb(4): Driver for PNP0C32 Hotkeys aka "Direct Application Launch Buttons".
"awesome" jmcneill


Revision tags: yamt-pf42-base2
# 1.212 18-May-2008 bjs

second instance of PCI_INTR_FIXUP -> PCI_ADDR_FIXUP, change comment to
match.


# 1.211 18-May-2008 jmcneill

Add commented out entries for PCI_BUS_FIXUP and PCI_ADDR_FIXUP


Revision tags: yamt-nfs-mp-base2
# 1.210 05-May-2008 ad

branches: 1.210.2;
The kernel is too large. Reduce size by commenting out eye candy options:

{ACPI,MII,PCI,USB}VERBOSE

Also remove INCLUDE_CONFIG_FILE, because it doesn't make sense in GENERIC.


# 1.209 02-May-2008 ad

- Give x86 BIOS boot the ability to load new style modules and pass them
into the kernel. Based on a patch by jmcneill@, with many fixes and
improvements by me.

- Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that
you can load miniroot.kmod from the boot blocks and boot into the
installer!


# 1.208 01-May-2008 cegger

hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks


# 1.207 30-Apr-2008 ad

Shuffle ioapic/mainbus/cpu into std.amd64 like i386.


# 1.206 29-Apr-2008 ad

Require MULTIPROCESSOR. PR kern/38537.


Revision tags: yamt-nfs-mp-base
# 1.205 22-Apr-2008 cegger

branches: 1.205.2;
amdtemp(4): Driver for AMD CPU Temperature Sensors. Adopted from OpenBSD's kate(4).
Changes beyond OpenBSD's driver:
- Improved support for AMD K8
- Added support for AMD Barcelona, AMD Phenom and AMD Griffin
Tested on various single and multi-socket machines.
Review and OK xtreame


Revision tags: yamt-pf42-baseX yamt-pf42-base
# 1.204 03-Apr-2008 xtraeme

branches: 1.204.2;
Add finsio(4) entry (commented out).


# 1.203 31-Mar-2008 jmcneill

Enable asus(4)


# 1.202 31-Mar-2008 njoly

Revert unexpected DDB_ONPANIC change introduced in last revision.


# 1.201 29-Mar-2008 cube

Add and enable lii(4) in amd64 configurations, too, as it is very likely
the hw is used on amd64-capable otherboards, although it is not confirmed
yet.


Revision tags: ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase
# 1.200 29-Feb-2008 jmmv

Remove GENERIC.local from the repository

Make all the kernels that currently include their corresponding GENERIC.local
file use the cinclude directive instead of include. This way config(1) will
not complain if the file cannot be found.

After doing this, remove the GENERIC.local files from the repository so that
the user will not see modified files during updates, and local changes to
them cannot end up in the repository by mistake.

Discussed in tech-kern@ earlier this month. No strong objections.


Revision tags: nick-net80211-sync-base mjf-devfs-base hpcarm-cleanup-base
# 1.199 30-Jan-2008 ad

branches: 1.199.2; 1.199.6;
Crank maxusers to 64.


Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
# 1.198 07-Jan-2008 martti

Fixed option indentation, it should be

option<space><tab>
makeoption<space><tab>


# 1.197 01-Jan-2008 jmmv

Revert previous by removing the apm entry. Even though the driver seems
to work, we do not build any userland support for it; see 1.183's commit
message. Per jmcneill@'s request.


# 1.196 01-Jan-2008 jmmv

Add the ACPI apm emulation device.


# 1.195 01-Jan-2008 jmmv

Add and enable piixpm. Confirmed working under VMware Fusion.


# 1.194 31-Dec-2007 ad

Remove systrace. Ok core@.


# 1.193 30-Dec-2007 joerg

Enable wedge autodiscovery and wedge support for GPT. Both MBR and BSD
disklabel support is *not* enabled, but documented.


# 1.192 29-Dec-2007 xtraeme

Update itesio(4) comments.


# 1.191 26-Dec-2007 elad

Compile in by default (disabled) PaX ASLR for amd64 and i386.


Revision tags: vmlocking2-base3
# 1.190 26-Dec-2007 joerg

Add PHYSMEM_MAX_ADDR and PHYSMEM_MAX_SIZE options. This limit physical
memory based on overall size (useful for debugging to keep core dumps
small) or maximum address (when using devices with bus dma limits).
Contrary to REALBASEMEM and REALEXTMEM, they still use the BIOS memory
map and can therefore deal with fragmented memory.


# 1.189 24-Dec-2007 kiyohara

Remove white-spaces.


# 1.188 23-Dec-2007 jmcneill

Add sony* at acpi?


# 1.187 21-Dec-2007 dsl

Enable LINUX and LINUX32 emulation.


# 1.186 21-Dec-2007 jmcneill

Add thinkpad at acpi


# 1.185 20-Dec-2007 ad

Remove GENERIC.MP config and enable SMP by default on amd64.


# 1.184 17-Dec-2007 riz

Add drvctl(4)


Revision tags: yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2
# 1.183 11-Dec-2007 jmcneill

Disable apm@acpi on amd64, since we don't create /dev/apmctl, build apmd,
or provide machine/apmvar.h. Ok ad@


# 1.182 10-Dec-2007 wiz

Add acpiecdt and add a comment explaining it (from i386/GENERIC).


# 1.181 10-Dec-2007 jmcneill

branches: 1.181.2;
Revert previous, thanks wiz!


# 1.180 09-Dec-2007 jmcneill

Merge jmcneill-pm branch.


Revision tags: yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase jmcneill-pm-base reinoud-bufcleanup-base
# 1.179 05-Dec-2007 xtraeme

branches: 1.179.2;
arc(4) -> arcmsr(4)


# 1.178 04-Dec-2007 xtraeme

Enable arc(4).


Revision tags: vmlocking2-base1 vmlocking-nbase
# 1.177 02-Dec-2007 kiyohara

branches: 1.177.2;
Add bcsp(4).


Revision tags: bouyer-xenamd64-base
# 1.176 22-Nov-2007 jnemeth

comment out com*/lpt* at acpi? as they cause these ports to move from
their traditional location and imminent changes in -current will cause
them to move back


Revision tags: bouyer-xenamd64-base2
# 1.175 15-Nov-2007 xtraeme

Update for it(4) -> itesio(4) rename.


# 1.174 13-Nov-2007 ghen

Add description for EST_FREQ_USERWRITE (from i386).


# 1.173 11-Nov-2007 jmcneill

Enable pad(4)


Revision tags: jmcneill-base
# 1.172 04-Nov-2007 xtraeme

branches: 1.172.2;
Remove System V semaphores and share memory options to set the limits:
SEMMNI, SEMMNS, SEMUME and SHMMAXPGS.

They can be tweaked via sysctl now. Ports that were setting values on
them weren't touched, I only removed the ones that were commented out.


# 1.171 30-Oct-2007 xtraeme

options<space><tab>FOO


# 1.170 29-Oct-2007 xtraeme

Enable "options INTEL_CORETEMP".


# 1.169 28-Oct-2007 dsl

Add (commented out) SYSCALL_COUNTS and SYSCALL_TIMES.


# 1.168 24-Oct-2007 joerg

Reduce difference to i386 GENERIC:
- add some comments from that
- options SPACE TAB
- enable EST
- enable DDB and build w/ frame pointer by default
- enable ACPI devices
- include AGP
- include Cardbus and PCMCIA
- include Synaptics driver
- include atw, ipw, iwi, hme, rtw, txp
- include uep, stuirda, utoppy, ugensa

This makes GENERIC actually usable for laptops.


# 1.167 19-Oct-2007 njoly

Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.


Revision tags: yamt-x86pmap-base4
# 1.166 17-Oct-2007 garbled

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.


Revision tags: yamt-x86pmap-base3 yamt-x86pmap-base2 ppcoea-renovation-base vmlocking-base
# 1.165 04-Oct-2007 christos

branches: 1.165.2;
add an smbus controller.


Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base
# 1.164 06-Sep-2007 martti

branches: 1.164.2;
Fixed indentation (it should be <keyword><space><tab><name><tab><comment>).


# 1.163 06-Sep-2007 joerg

Enable CGD in GENERIC for amd64 and i386.


# 1.162 03-Sep-2007 xtraeme

Add uchcom(4) and uslsa(4).


# 1.161 29-Aug-2007 xtraeme

Add cdce(4).


# 1.160 26-Aug-2007 xtraeme

branches: 1.160.2;
Add ichlpcib commented out.


# 1.159 21-Aug-2007 kiyohara

Oops.
I mistook commit. sdmmc(4) is not commit yet. And I don't have this.


# 1.158 21-Aug-2007 kiyohara

Comment-out 'slhci at pcmcia' because comment-outed for the pcmcia.


# 1.157 21-Aug-2007 kiyohara

Add slhci at pcmcia.
And reorder.


# 1.156 20-Aug-2007 kiyohara

Add btbc(4).


# 1.155 18-Aug-2007 tnn

Enable spdmem(4) in ALL configuration. Add commented out entries to GENERIC


Revision tags: matt-mips64-base
# 1.154 06-Aug-2007 adrianp

Remove iso(4) from GENERIC kernels, as discussed on tech-net@
Ok'ed by core@


Revision tags: nick-csl-alignment-base mjf-ufs-trans-base
# 1.153 11-Jul-2007 kiyohara

branches: 1.153.2; 1.153.4; 1.153.8;
Add nfsmb(4).


# 1.152 10-Jul-2007 xtraeme

Add wpi(4).


# 1.151 03-Jul-2007 briggs

Add (commented-out) support for IPMI on amd64--pretty much copied straight
from i386.


# 1.150 16-Jun-2007 ad

-options I2OVERBOSE.


# 1.149 09-Jun-2007 kiyohara

Add zyd(4).


# 1.148 04-Jun-2007 martin

Add pseudo-device agr to all GENERIC kernels where it might make sense
(commented out in some).


# 1.147 03-Jun-2007 xtraeme

Add the options for Enhanced Speedstep commented out.


# 1.146 01-Jun-2007 blymn

Added smsc device.


# 1.145 29-May-2007 christos

Add compat 4.0


# 1.144 26-May-2007 briggs

Enable aac(4) and ld at aac.


Revision tags: yamt-idlelwp-base8
# 1.143 15-May-2007 bouyer

add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.


# 1.142 08-May-2007 xtraeme

Add "ug* at acpi?" following the current scheme in the files.


# 1.141 07-May-2007 jnemeth

PR/36234 - Joerg Niendorf -- xi -> xirc


# 1.140 07-May-2007 xtraeme

Enable rum(4).


# 1.139 01-May-2007 bouyer

Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.


# 1.138 23-Apr-2007 dyoung

branches: 1.138.2;
Add ATADEBUG so that a person can patch atadebug without having to
recompile the kernel.


Revision tags: thorpej-atomic-base
# 1.137 20-Mar-2007 xtraeme

ALL: Enable INTEL_ONDEMAND_CLOCKMOD.
GENERIC: Add INTEL_ONDEMAND_CLOCKMOD disabled by default.


# 1.136 14-Mar-2007 drochner

branches: 1.136.2;
It doesn't make sense to specify "configuration" and "interface"
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.


# 1.135 13-Mar-2007 xtraeme

Add aiboost* at acpi, enabled by default on i386/GENERIC and disable
in the other ones (to follow current scheme).


# 1.134 09-Mar-2007 xtraeme

branches: 1.134.2; 1.134.4;
Erm, remove local changes added in previous.


# 1.133 09-Mar-2007 xtraeme

Enable SMBFS, as we do on i386.


# 1.132 08-Mar-2007 njoly

Add hpet support to i386/amd64 kernels.
- `hpet* at acpi?' to kernels that already support ACPI.
- `hpet* at amdpcib?' (commented out) to amd64 GENERIC.


# 1.131 07-Mar-2007 bouyer

Revert local changes that went in accidentally with the "add ACPI" commit.


# 1.130 06-Mar-2007 bouyer

For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
(for thoses who want to build el-torito floppy emulation boot CD) and use
INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.


# 1.129 06-Mar-2007 dillo

Complete rename of hfsp to hfs, requested by thorpej.


# 1.128 05-Mar-2007 dillo

Add file-system HFSP (commented out) to GENERIC kernels of ports
on which Mac OS runs.


# 1.127 01-Mar-2007 kiyohara

Add btuart(4).


Revision tags: ad-audiomp-base post-newlock2-merge
# 1.126 09-Feb-2007 ad

branches: 1.126.2;
Merge newlock2 to head.


Revision tags: newlock2-nbase newlock2-base
# 1.125 24-Jan-2007 tls

Remove option COMPAT_386BSD_MBRPART from default kernels. NetBSD has
not used partition ID 0x165 for many, many years, and the presence of
this option in INSTALL kernels can cause overwriting of existing FreeBSD
installations when sysinst writes back the disklabel. Those with very,
very old NetBSD installations may find that they must update their fdisk
partition tables to use partition ID 0x169 for their NetBSD partitions.

This seems like the best of a number of lousy choices for dealing with
this problem. Sysinst should perhaps grow code that asks whether an
existing 0x165 partition should be converted.

~


# 1.124 06-Jan-2007 xtraeme

Add ug0 at isa? commented out (driver for the Abit uGuru
Hardware system monitor).


Revision tags: yamt-splraiseipl-base5 yamt-splraiseipl-base4
# 1.123 17-Dec-2006 bouyer

Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.


# 1.122 17-Dec-2006 bouyer

Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.


# 1.121 11-Dec-2006 yamt

- remove a static configuration, FILEASSOC_NHOOKS. do it dynamically instead.
- make fileassoc_t a pointer and remove FILEASSOC_INVAL.
- clean up kern_fileassoc.c. unify duplicated code.
- unexport fileassoc_init using RUN_ONCE(9).
- plug memory leaks in fileassoc_file_delete and fileassoc_table_delete.
- always call callbacks, regardless of the value of the associated data.

ok'ed by elad.


Revision tags: yamt-splraiseipl-base3 netbsd-4-base
# 1.120 30-Nov-2006 bouyer

branches: 1.120.2;
Add ahcisata(4), a driver for AHCI 1.0 and 1.1 controllers. Tested on the sata
ports of a Intel 63xxESB chipset. Does not support NCQ yet.


# 1.119 11-Nov-2006 jmmv

Enable TMPFS by default. OK'ed by core@.

I'm leaving those platforms with few users and those whose machines are
not very powerful untouched per uwe@'s suggestion. The port masters or
the real users of those ports are better suited to make the decision of
enabling it.


# 1.118 11-Nov-2006 jmmv

Remove tmpfs's experimental status. OK'ed by core@.


# 1.117 31-Oct-2006 perry

one more time. sigh.


# 1.116 31-Oct-2006 perry

reddo the last space/tab fix *correctly*


# 1.115 31-Oct-2006 perry

another space tab fix


# 1.114 30-Oct-2006 perry

note about UFS_DIRHASH from i386, and a couple of space tab fixes


# 1.113 26-Oct-2006 elad

Compile in Veriexec by default on some popular archs (amd64, i386, sparc64)
so it's more accessible and less of a hassle to put to use. Also enable
fileassoc(9) by default as a result, which for itself may open the door for
a lot of cool stuff. (stay tuned. :)

I recommend port masters of other archs to consider doing the same.
Personally I don't know which ports are considered more of a legacy than
in-production, so I'm leaving it for someone else for now...

No objections on tech-kern.


Revision tags: yamt-splraiseipl-base2
# 1.112 21-Oct-2006 bouyer

Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs


# 1.111 26-Sep-2006 elad

Oops! forgot "options" in previous commit. Pointed out by freza@, thanks!


# 1.110 26-Sep-2006 elad

Make PaX mprotect(2) restrictions more accessible.

On amd64, sparc64, i386, and alpha, they will be compiled in and disabled
by default. That means that to use them you either enable the "global"
knob with sysctl, or use paxctl(1) to enable it on a per-program basis.

On sparc and macppc just include a commentd out line in the GENERIC kernel.


# 1.109 23-Sep-2006 jmcneill

Add iteide(4) driver to GENERIC and INSTALL kernels; PR# 33426.


Revision tags: yamt-splraiseipl-base yamt-pdpolicy-base9
# 1.108 10-Sep-2006 plunky

branches: 1.108.2;
add bluetooth support to amd64 port, built by default in GENERIC kernels


# 1.107 10-Sep-2006 riz

Add msk and mskc.


Revision tags: yamt-pdpolicy-base8 rpaulo-netinet-merge-pcb-base
# 1.106 26-Aug-2006 christos

branches: 1.106.2;
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP


# 1.105 26-Aug-2006 tsutsui

Remove obsolete #options VERIFIED_EXEC, found by grep(1).


# 1.104 14-Aug-2006 skrll

s/adpater/adapter/

Prompted by PR/34195


# 1.103 12-Aug-2006 christos

Disable SYSTRACE by default on all kernels (discussed with core)


Revision tags: abandoned-netbsd-4-base yamt-pdpolicy-base7
# 1.102 06-Aug-2006 xtraeme

branches: 1.102.2;
AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
adapted from OpenBSD.

Tested on a few machines:

http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg

Thanks to cube, elad and others for testing and fixes.

Enabled by default on GENERIC.


# 1.101 31-Jul-2006 hubertf

spc(4) can also attach to pcmcia(4), as was already in hpcmips/GENERIC
for quite some time. Add it to all systems that have pcmcia SCSI.

Pointed out by Bj�rn Johannesson <rherdware@yahoo.com> in private mail,
OK'd by matt@


# 1.100 30-Jul-2006 bouyer

Add twa(4) and ld at twa


# 1.99 24-Jul-2006 gdt

Add UGEN_BULK_RA_WB, requested by cube@.


# 1.98 15-Jul-2006 elad

add (commented out) fileassoc(9) kernel options on some popular archs.


# 1.97 04-Jul-2006 christos

Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI


# 1.96 01-Jul-2006 xtraeme

Add commented out it(4) entry, per suggestion in PR kern/33886.


# 1.95 28-Jun-2006 liamjfoy

Add CARP to GENERIC kernel configs. CARP is not enabled by default.

ok: christos


Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base yamt-pdpolicy-base5 chap-midi-base elad-kernelauth-base simonb-timecounters-base
# 1.94 27-Apr-2006 jonathan

branches: 1.94.4;
Add entries for svwsata(4) to amd64 GENERIC and INSTALL kernels,
to support SATA ports on Serverworks HT-1000 (aka bcm5785) chips.


# 1.93 19-Apr-2006 drochner

adjust comments for the new location of wskbdmap_mfii.c,
addresses PR kern/33290 by henry nelson


# 1.92 15-Apr-2006 jmmv

Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.


# 1.91 12-Apr-2006 martti

Added ciss(4). Tested by Joseph Dacuma on HP DL-380 G3 with Smart Array 5i.


Revision tags: yamt-pdpolicy-base4 yamt-pdpolicy-base3
# 1.90 28-Mar-2006 pavel

Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".


# 1.89 25-Mar-2006 xtraeme

Enable rgephy(4), closes PR port-amd64/33117.


Revision tags: peter-altq-base yamt-pdpolicy-base2
# 1.88 12-Mar-2006 chs

branches: 1.88.2;
add nfe.


Revision tags: yamt-pdpolicy-base yamt-uio_vmspace-base5
# 1.87 19-Feb-2006 tls

branches: 1.87.2; 1.87.4;
Add amdpm -- without this, we're throwing away a good hardware random
number source on a huge set of machines. Also, now that amdpm has
support for the SMBus controller, add (commented-out, since we don't
always know what address the sensors are at) iic at amdpm and adt7463c
at iic, which is the configuration used on the Tyan S2881 and S2882-D
server boards. This should work in either 64-bit or 32-bit mode; it's
been tested in 64-bit mode. Addresses PR kern/32463 submitted by
Anil Gopinath.


# 1.86 09-Feb-2006 kleink

options<space><tab>name previous.


# 1.85 09-Feb-2006 manu

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64


# 1.84 05-Feb-2006 cube

Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).


# 1.83 04-Feb-2006 rpaulo

bpfilter doesn't accept count anymore.


# 1.82 02-Feb-2006 reinoud

branches: 1.82.2;
Add commented out UDF file-system entry in all GENERIC configurations.


# 1.81 31-Jan-2006 xtraeme

branches: 1.81.2;
Add ral(4) at pci/uhub and atu(4) at uhub.


# 1.80 31-Jan-2006 kochi

remove ACPI_DISABLE_ON_POWEROFF option, which was there just for
compatibility of our old driver behavior, which is not necessary.


# 1.79 04-Jan-2006 xtraeme

Enable rlphy(4).


# 1.78 20-Dec-2005 thorpej

branches: 1.78.2;
Remove the tablet line discipline.


Revision tags: ktrace-lwp-base
# 1.77 09-Dec-2005 elad

Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.


# 1.76 07-Dec-2005 tsutsui

Adjust comments for options FFS_NO_SNAPSHOT.

XXX: This option should be mentioned in options(4).


Revision tags: yamt-readahead-base3
# 1.75 25-Nov-2005 thorpej

swcr -> swcrypto


# 1.74 25-Nov-2005 thorpej

"pseudo-device crypto" really refers to the /dev/crypto API to the
opencrypto framework, not the framework itself. Update the comment
accordingly.


# 1.73 25-Nov-2005 thorpej

Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
commented out).


Revision tags: yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base
# 1.72 03-Nov-2005 rpaulo

branches: 1.72.2;
PR 31996: fix the comments for MPBIOS and MPACPI. By Damon Brodie.


Revision tags: yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base
# 1.71 14-Sep-2005 tron

Add 10 Gigabit Ethernet drivers dge(4) and xge(4).


# 1.70 10-Sep-2005 jmmv

Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).


# 1.69 09-Sep-2005 drochner

remove "dev" locators from cardbus device definitions, it doesn't
make sense technically and might be removed


# 1.68 09-Sep-2005 rpaulo

Enable WSDISPLAY_SCROLLSUPPORT by default.


# 1.67 06-Sep-2005 dogcow

after discussion with dyoung, add rtw* at cardbus


# 1.66 19-Aug-2005 christos

Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels


# 1.65 19-Aug-2005 christos

64 bit inode changes.


# 1.64 05-Aug-2005 skrll

Add (commented out) ucycom to various kernel configs.


# 1.63 31-Jul-2005 yamt

revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.


# 1.62 30-Jul-2005 yamt

add "options VMSWAP" to non INSTALL kernels.


# 1.61 17-Jul-2005 augustss

Remove obsolete comment about ehci.


# 1.60 17-Jul-2005 hubertf

Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.


# 1.59 14-Jul-2005 wiz

Fix typo in comment, from Nicolas Joly in PR 30743.


# 1.58 12-Jul-2005 sekiya

Add config goo for ath. Tested with a PCI card, detected as:

ath0 at pci0 dev 10 function 0
ath0: interrupting at ioapic0 pin 17 (irq 5)
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps
ath0: mac 5.9 phy 4.3 radio 3.6

Cardbus untested, so it is commented out.


# 1.57 11-Jul-2005 kiyohara

ieee1394 import from FreeBSD.


# 1.56 07-Jul-2005 tron

Add (commented out) IPSEC_NAT_T option.


# 1.55 05-Jul-2005 augustss

branches: 1.55.2;
Add auixp.


# 1.54 04-Jul-2005 martti

Added support for amr. Tested by Joseph A. Dacuma with Dell PowerEdge 2800.


# 1.53 04-Jul-2005 augustss

Uncomment ehci. It works fairly well now.


# 1.52 01-Jul-2005 augustss

Add ixpide so we handle ATI controllers specially.


# 1.51 25-Jun-2005 rpaulo

Add file-system PTYFS (commented out) so that people know its existence.

Ok'ed by Christos Zoulas and Hubert Feyrer.


# 1.50 23-Jun-2005 sekiya

ACPI_PCI_FIXUP -> PCI_INTR_FIXUP


# 1.49 22-Jun-2005 wiz

Remove duplicate apci at mainbus line, from Nicolas Joly in PR 30564.


# 1.48 21-Jun-2005 kent

add "azalia at pci"


# 1.47 09-Jun-2005 tsutsui

- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.

Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.


Revision tags: kent-audio2-base
# 1.46 15-Apr-2005 itohy

Add ukyopon(4).


Revision tags: yamt-km-base4
# 1.45 25-Mar-2005 cube

Add attimer(4) configurations everywhere pcppi(4) exists, with the
following rule:
If a pcppi device is enabled for an attachment, enable an attimer for the
same attachement, otherwise comment it.


# 1.44 21-Mar-2005 xtraeme

Add "pcppi* at acpi?" commented out.


# 1.43 21-Mar-2005 cgd

correctly alphabetize bce, skc/sk, inphy relative to their neighbors.
devices. correct typo in bce comment.


Revision tags: yamt-km-base3 netbsd-3-base
# 1.42 25-Feb-2005 simonb

branches: 1.42.2;
Add COMPAT_20 (and COMPAT_16 in some cases) to kernel config files
that didn't have those options but had other earlier compat options.


# 1.41 20-Feb-2005 jdolecek

add ciphy(4) and vge(4)


# 1.40 18-Feb-2005 dsl

Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT


Revision tags: yamt-km-base2
# 1.39 11-Feb-2005 dsl

Add 'option FFS_SNAPSHOT' to most of the config files.
Commented out for kernels that appear to hace space constraints.


# 1.38 31-Jan-2005 hannken

Add file system snapshots to kernel configs.

- Ffs internal snapshots get compiled in unconditionally.

- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>


# 1.37 28-Jan-2005 rumble

Sprinkle options UFS_DIRHASH on GENERIC kernels. It's presently
commented out and labeled experimental pending further review and
testing.


Revision tags: yamt-km-base
# 1.36 18-Jan-2005 scw

branches: 1.36.2;
Add "options PMS_SYNAPTICS_TOUCHPAD", commented out by default.


# 1.35 17-Jan-2005 cube

Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also. With the exception of i386's
GENERIC_TINY.

XXX: we _need_ some way of making this more simple.


Revision tags: kent-audio1-beforemerge kent-audio1-base
# 1.34 02-Dec-2004 xtraeme

branches: 1.34.4;
Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed and ok'ed by cube@ and martin@.


# 1.33 02-Dec-2004 xtraeme

Add ACPI mpu(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed by christos@, cube@ and martin@.

While here, remove a printf() in mpu_attach() (ic/mpu.c) to remove
an empty line in some frontends (mpu_isa.c, etc).


# 1.32 24-Nov-2004 bouyer

pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).


# 1.31 10-Nov-2004 christos

Add COMPAT_BSDPTY to the rest of the config files.


# 1.30 23-Oct-2004 augustss

s/uax/axe/


# 1.29 04-Sep-2004 manu

IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@


# 1.28 15-Jul-2004 atatat

Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.


# 1.27 26-Jun-2004 abs

Add (commented out) ALTQ options to all GENERIC-like files


# 1.26 22-Jun-2004 toshii

Add re; Realtek GbE.


# 1.25 22-Jun-2004 itojun

have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos


# 1.24 18-Jun-2004 christos

ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM


# 1.23 16-Jun-2004 christos

Add pseudo-device ptm on all the generic flavored kernels.


# 1.22 07-Jun-2004 kochi

Add ACPICA_PEDANTIC/ACPI_DISABLE_ON_POWEROFF options; follow the i386
changes.


Revision tags: netbsd-2-0-base
# 1.21 14-Jan-2004 jonathan

branches: 1.21.2;
Add support for opencrypto, PCI accelerators to sys/arch/*/conf/GENERIC
files for machines I know to have genuine PCI slots. As sent to tech-kern
for feedback in December 2003. Based on feedback, opencrypto is commented
out in the macppc GENERIC (due to absense of GENERIC_SOFTINT support),
and added to the sparc64 config (sys/arch/sparc64/conf/GENERIC32).


# 1.20 14-Dec-2003 thorpej

Split the Intel i31244 SATA controller ("Artisea") driver out of piixide
into its own driver (artsata).


# 1.19 13-Dec-2003 thorpej

Split out the Silicon Image SATALink support into its own driver,
"satalink".


# 1.18 22-Nov-2003 fvdl

Add and enable sk/skc drivers.


# 1.17 08-Nov-2003 fvdl

Add POSIX 1003.1b semaphores.


# 1.16 05-Nov-2003 fvdl

Add igphy.


# 1.15 25-Oct-2003 fvdl

Add ahd, bce, ataraid.


# 1.14 23-Oct-2003 fvdl

Add auvia.


# 1.13 18-Oct-2003 lukem

Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'


# 1.12 08-Oct-2003 bouyer

Add new per-chip pciide drivers.


# 1.11 08-Oct-2003 bouyer

Add atabus.


# 1.10 06-Oct-2003 fvdl

SIGINFO support.
Todo: 32bit compat support (COMPAT_NETBSD32 will not compile right now,
as it won't on other platforms).


# 1.9 01-Sep-2003 fvdl

Use MPBIOS_SCANPCI by default.


# 1.8 22-Aug-2003 itojun

add udav*


# 1.7 06-Aug-2003 bouyer

Add esiop at pci to GENERIC which already have siop at pci.
esiop has been tested enouth now.
esiop not added to INSTALL kernels because of possible space constraint.
siop should be able to drive all adapters supported by esiop.


# 1.6 06-Jul-2003 kochi

o cleanup usage of ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP
o delete usage of ENABLE_DEBUGGER

As ACPI_ACTIVATE_DEV/ACPI_PCI_FIXUP are defflag'ed in files.acpi,
these options don't have to have a value.


# 1.5 29-May-2003 fvdl

branches: 1.5.2;
Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.


# 1.4 21-May-2003 christos

Add ACPI gunk.


# 1.3 11-May-2003 fvdl

Add commented out acpi.


# 1.2 07-May-2003 fvdl

Enable LKM.


# 1.1 26-Apr-2003 fvdl

Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.