Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/i386/conf/ALL
RevisionDateAuthorComments
 1.524  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.523  18-Aug-2025  andvar Fix various typos, mainly in comments:
s/invaid/invalid/
s/instad/instead/
s/wich/with/
s/tranform/transform/
s/tranmist/transmit/
s/tranceiver/transceiver/
s/Tranparent/Transparent/
s/tranlated/translated/
s/tranfer/transfer/
s/tranmissions/transmissions/
s/condtions/conditions/
s/Recient/Recent/
 1.522  27-Mar-2025  riastradh branches: 1.522.2;
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.521  26-Aug-2024  riastradh acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.

TBD: Add to all ACPI-supporting GENERIC kernels.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
 1.520  16-Jul-2024  riastradh viocon(4): Add to various kernel configs.
 1.519  30-Apr-2024  andvar branches: 1.519.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.518  02-Apr-2024  charlotte dk(4): Add support for discovering Atari TOS partitions as wedges

Any partitioning scheme which conforms to the Atari AHDI 3.00 spec should be
recognized by the new DKWEDGE_METHOD_TOS.
 1.517  21-Mar-2024  riastradh acpihed(4): New driver for PNP0C33 to notify apei(4).

PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.

PR kern/58046
 1.516  20-Mar-2024  riastradh apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.

PR kern/58046
 1.515  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.
 1.514  13-Dec-2023  andvar Removing obsolete TTY_DEBUG option from ALL kernels.
 1.513  05-Dec-2023  thorpej Add btvmei + btvmeii and vme to ALL.
 1.512  02-Sep-2023  andvar newsmips/sn(4): rename SONIC_DEBUG to SNDEBUG for consistency.

nix this option from i386/amd64 ALL configs, it isn't used anywhere anymore.
 1.511  18-Jul-2023  riastradh acpiec(4): New ACPIEC_DEBUG option.

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.
 1.510  16-Jul-2023  riastradh i386: Re-enable HEARTBEAT.
 1.509  16-Jul-2023  mrg revert previous change to enable HEARTBEAT.

the new code has a "needs 64-bit atomic ops" trigger:

ci->ci_heartbeat_uptime_cache = atomic_load_relaxed(&time_uptime);

but time_uptime is a 64-bit value, and this trips CTASSERT().
 1.508  15-Jul-2023  riastradh i386/ALL: Enable HEARTBEAT.
 1.507  22-May-2023  riastradh i386/ALL: Enable EFI runtime support.

PR kern/57076

XXX pullup-10
 1.506  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.505  22-Dec-2022  jakllsch Add missing virtio devices to x86 ALL kernels
 1.504  22-Dec-2022  nat Driver for DaynaPORT SCSI/Link (dse.4).

Written by Hiroshi Noguchi, of which an updated version was posted to
port-mac68k in 2001.

Attachments were added to kernel configs for platforms that already had
the Cabletron (se.4) driver added, although other platorms may benefit.

Reviewed on tech-net by Izumi Tsutsui.
 1.503  24-Sep-2022  riastradh branches: 1.503.4;
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.502  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.501  13-May-2022  msaitoh Add MFI_DEBUG and MFII_DEBUG.
 1.500  23-Dec-2021  hannken Disable amdgpu as it uses floating point arithmetics and subr_kcov
doesnt handle it.

Ok: riastradh@
 1.499  29-Jun-2021  nia Remove uscanner(4) driver

This exists for compatibility with a Linux interface which was apparently
deprecated in Linux 2.6. There are various mailing list threads going
back to 2004 where the usefulness of this driver is discussed, but
the conclusion is that scanner software has all moved to using ugen(4)
instead, and enabling this driver will not help you scan things.
 1.498  01-Mar-2021  jakllsch branches: 1.498.4;
add rge(4) to x86 ALL kernels
 1.497  27-Sep-2020  roy branches: 1.497.2;
vether: Add to kernel configurations

It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
 1.496  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.495  01-Aug-2020  maxv Remove references to BRIDGE_IPF, it is now compiled in by default.
 1.494  14-Jul-2020  yamaguchi Introduce per-cpu IDTs

This is realized by following modifications:
- Add IDT pages and its allocation maps for each cpu in "struct cpu_info"
- Load per-cpu IDTs at cpu_init_idt(struct cpu_info*)
- Copy the IDT entries for cpu0 to other CPUs at attach
- These are, for example, exceptions, db, system calls, etc.

And, added a kernel option named PCPU_IDT to enable the feature.
 1.493  25-May-2020  yamaguchi Obsolete VIOIF_SOFTINT_INTR

The kernel option is introduced to realize softint-based if_input.
Since the same scheme has been implemented in if_percpuq_enqueue(),
the option is no longer needed.

pointed out by ozaki-r@n.o.
 1.492  16-May-2020  maya Remove uyap, USB YAP phone firmware loader.

And the associated ezload EZ-USB code, which is only used by uyap.
It could theoretically be used by other drivers, but none of them are
in tree.

I suspect that this device isn't in use, as phone technology has improved
a lot since 2001 when uyap(4) was added to the tree.

Proposed with no objections on netbsd-users on 13 April 2020
 1.491  01-May-2020  hannken Remove wd* at umass?, it was dropped.
 1.490  25-Mar-2020  jdolecek remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configs
to prepare for their eventual removal
 1.489  09-Feb-2020  jmcneill Retire azalia(4).
 1.488  03-Feb-2020  maya Remove more urio(4) traces.

Pointed out by maxv, thanks.
 1.487  29-Jan-2020  maya remove urio(4), a driver for the Rio500 MP3 player.

At this point it is highly unlikely this 1999 device still has users,
but it still comes up in the context of maxv's USB-fuzzing (and any device
could pretend to be a urio(4)), so it's best to get rid of it.

Renamed all major entries to obsolete, as was done in previous removals.

This still requires an update to sanitizers, but they're located in
"external", perhaps it should be first committed upstream?

Proposed on tech-kern a month ago.
 1.486  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.485  20-Jan-2020  thorpej Remove FDDI support.
 1.484  19-Jan-2020  riastradh Remove filemon(4).

Discussed on tech-kern:
https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html

This was never (intentionally) enabled by default, and the design has
some shortcomings. You can get mostly the same results with ktrace,
as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead
of filemon for make's meta mode.

If applications require higher performance than ktrace, or nesting
that ktrace doesn't support, we might consider adding something back
into the vfs system calls themselves, without hijacking the syscall
table. (Might want a more reliable output format too, e.g. one that
can handle newlines in file names.)
 1.483  19-Jan-2020  thorpej Remove Token Ring support.
 1.482  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.481  19-Jan-2020  thorpej Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It is
long since obsolete.
 1.480  17-Jan-2020  maya Remove uyurex(4).

This is a driver for a "nonsense machine" made by the art group Maywa-Denki
in 2008. It was disabled by default.

Unfortunately even so it draws development attention (flaws found in the
code, MP-ification needs) and it is best not to continue to maintain this
driver.

Proposed without objections on tech-kern.
 1.479  01-Jan-2020  ryo branches: 1.479.2;
add aq(4)
 1.478  23-Dec-2019  maxv Revert the removal of filemon.
 1.477  18-Dec-2019  maxv Retire filemon, discussed on tech-kern@.
 1.476  15-Dec-2019  riastradh Add vhci to x86/ALL.
 1.475  10-Dec-2019  yamaguchi Ported driver for Intel Ethernet 700 series

reviewed by msaitoh and knakahara
 1.474  01-Nov-2019  msaitoh Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.
 1.473  30-Oct-2019  msaitoh Add jmphy(4) from OpenBSD.
 1.472  08-Oct-2019  maxv No I/O ports for TPM-ISA, only MMIO, so remove commented-out options.
 1.471  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.470  19-Aug-2019  ozaki-r Add MBUFTRACE to ALL configs
 1.469  24-Jul-2019  tnn branches: 1.469.2;
add ssdfb(4) to ALL
 1.468  07-May-2019  mrg obsolete moscom(4). it was never in any default configs, did
not work for some cases.

umcs(4) supports everything it does plus one additional chipset,
has been in default configurations since netbsd 7.
 1.467  26-Apr-2019  sevan Use veriexec.config to reduce duplication
 1.466  12-Apr-2019  msaitoh Add the following debug options:

AI_DEBUG
ATHN_DEBUG
ATU_DEBUG
AXEN_DEBUG
BGE_DEBUG
BNX_DEBUG
BWFM_DEBUG
CAS_DEBUG
CBB_DEBUG
CMALO_DEBUG
EF_DEBUG
IWN_DEBUG
IX_DEBUG
LII_DEBUG
MSK_DEBUG
OTUS_DEBUG
RUM_DEBUG
RUN_DEBUG
UMB_DEBUG
UPGT_DEBUG
URAL_DEBUG
URNDIS_DEBUG
URTW_DEBUG
URTWN_DEBUG
WPI_DEBUG
ZYD_DEBUG
 1.465  16-Mar-2019  isaki Remove duplicated option.
 1.464  24-Feb-2019  kamil Enable kUBSan and KCOV in NetBSD/i386 kernel=ALL
 1.463  06-Feb-2019  rin Add ure(4) to kernel config files. Also add PHY drivers where necessary.
 1.462  27-Jan-2019  maxv Remove the satlink driver. It was disabled everywhere, had no man page and
no use either. Spotted by thorpej in PR/21345, ok christos.
 1.461  29-Dec-2018  maxv Retire compat_ibcs2, as discussed on tech-kern@. FreeBSD did the same
recently.
 1.460  14-Dec-2018  jakllsch add cardbus malo(4) to x86 GENERIC and ALL kernels
 1.459  12-Dec-2018  maxv Remove references to "lmc" in the kernel configurations.
 1.458  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.457  23-Sep-2018  maxv Remove ISDN from the kernel. It has remained unmaintained for a long time,
is of poor quality, and is now an obstacle to MP-ification. It was removed
ten years ago from FreeBSD for the same reason.

This retires a big user of the mbuf API, and will ease maintenance of the
kernel.
 1.456  22-Sep-2018  maxv Remove isic(4). It is part of ISDN, which we are now retiring.
 1.455  22-Sep-2018  maxv Remove iwic(4). It is part of ISDN, which we are now retiring. This driver
was still marked as experimental (its man page dates back to 2002).
 1.454  22-Sep-2018  maxv Remove the "ifritz" driver (no man page). It is part of ISDN, which we are
retiring.
 1.453  22-Sep-2018  maxv Remove ifpci(4). It is part of ISDN, which we are retiring.
 1.452  21-Sep-2018  maxv Remove iavc(4).
 1.451  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.
 1.450  27-Aug-2018  riastradh Add amdgpu to i386/ALL.
 1.449  25-Aug-2018  rin Add (commented out) mue(4) to where appropriate.
Also add MII/PHY drivers for USB NICs if missing.
 1.448  25-Aug-2018  maxv Retire NDIS. It appears that it has never worked, after 13 years it was
still marked as "experimental", and nowadays it may be one more obstacle
to MPification of the network stack.

Discussed on tech-net@.
 1.447  14-Aug-2018  maxv Replace references to etherip by l2tp. Etherip was already not enabled
anyway.
 1.446  14-Aug-2018  maxv Enable L2TP on all x86 configurations, not just native amd64.
 1.445  01-Aug-2018  khorben Build the umb(4) driver in the ALL kernels (amd64, i386)

As suggested by Robert Swindells; thank you!
 1.444  26-Jul-2018  maxv Retire XENDEBUG_LOW, and switch its only user to XENDEBUG.
 1.443  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.442  10-Jul-2018  maya Remove unused macro.
 1.441  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.
 1.440  07-Jun-2018  thorpej branches: 1.440.2;
Revert changes that pinned-down i2c parent specs. The i2c subsystem
has been enhanced to make this unnecessary.
 1.439  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.438  01-May-2018  maya Fix ALL configs following MPVERBOSE becoming a defparam

XXX i386 ALL kernel build is failing
 1.437  08-Apr-2018  mrg turn on GCC spectre v2 mitigation options.

XXX: amd64 ALL doesn't build for me right now
 1.436  29-Mar-2018  maxv Remove TCPREASS_DEBUG. It was introduced 20 years ago when the reassembler
was being developed, but it's irrelevant today. Makes the code clearer.
 1.435  16-Mar-2018  maxv Remove ipkdb from i386. Also remove unused references in amd64.

I already talked about doing that six months ago on port-i386@. Back then
it was as general cleanup, but now, with SVS etc, we do actually have
good reasons for simplifying the entry points.

Ok kamil@. (christos@ was in the conversation too)
 1.434  25-Feb-2018  pgoyette branches: 1.434.2;
As requested by chuq@, add the new imc devices to the i386 and amd64
ALL kernels.
 1.433  10-Dec-2017  hannken Add option XHCI_DEBUG.
 1.432  10-Dec-2017  bouyer Add dwiic, ihidev and ims
 1.431  30-Nov-2017  jmcneill add qemufwcfg(4)
 1.430  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.429  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
 1.428  30-Aug-2017  maxv Don't allow userland to create 286/386 call gates anymore - they are not
used by Wine. While here, don't allow it to overwrite the static entries
either, don't allow unknown entry types, remove LDT_DEBUG, and style.
 1.427  13-Aug-2017  christos Add ALPS pms support
 1.426  12-Aug-2017  maxv Remove support for vm86 on i386. It is bug-friendly, and there is no point
in having kernel support for this: the instruction set of the CPU is small,
and it can easily be emulated in userland entirely. There are also several
assumptions in the code that are not respected, and the slightest confusion
in the trap frame can lead to ring0 exploits.

vm86 has received zero maintenance. As far as I can tell, it was added
20 years ago in order to make doscmd work. But doscmd has not been
maintained either, and was removed from pkgsrc in 2011. dosbox can be used
instead: it does not require kernel support, and will produce better
results than our flimsy implementation.

Pass 1. (many pieces still in the tree)
 1.425  09-Aug-2017  maxv Remove compat_ibcs2 from i386. After a discussion on port-vax, it turns
out that compat_ibcs2 does not implement the iBCS2 standard - which is
x86-specific - but rather SVR3. Our real iBCS2 implementation was a
mixture of compat_ibcs2 and compat_svr4, and was only partial. Keeping
support for this in i386 is totally irrelevant today. I also asked on
port-i386 but didn't wait long.

The main issue is that compat_ibcs2 should have been called compat_svr3.
But CVS does not support renaming files, and moving things around is both
painful and tiring, even more so when no one seems to be interested in
doing this work or in the feature at all. For now compat_ibcs2 is available
on Vax and will stay, until someone (not me) cleans it up.
 1.424  29-Jul-2017  maxv Remove TCP_COMPAT_42 from the config files. Pass 3.
 1.423  29-Jul-2017  maxv Remove svr4 from the config files.
 1.422  29-Jul-2017  maxv Remove DEBUG_HPUX (does not exist).
 1.421  29-Jul-2017  maxv Remove IBCS2_DEBUG (does not exist).
 1.420  14-Jun-2017  pgoyette Add wsbell
 1.419  27-May-2017  bouyer branches: 1.419.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.418  24-May-2017  christos rename u3ginit driver to umodeswitch
 1.417  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.416  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.)
 1.415  08-Mar-2017  maxv A few changes:
* Use markers to reduce false sharing.
* Remove XENDEBUG_SYNC and several debug messages, they are just useless.
* Remove xen_vcpu_*. They are unused and not optimized: if we really
wanted to flush ranges we should pack the VAs in a mmuext_op array
instead of performing several hypercalls in a loop.
* Start removing PG_k.
* KNF, reorder, simplify and remove stupid comments.
 1.414  26-Feb-2017  rin Add DKWEDGE_METHOD_RDB option, which is enabled for x86, commented out for
other platforms by default.
 1.413  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.412  18-Feb-2017  maxv There is currently an ugly mix between the PERFCTRS subsystem (MI), and
i386's own PMC interface (MD). Stop using PERFCTRS and use PMC instead.
While here remove some unused flags, which are wrong on the latest CPUs
anyway.
 1.411  12-Jan-2017  ryo branches: 1.411.2;
white space police
 1.410  27-Dec-2016  pgoyette Add BIOHIST (and belatedly, UVMHIST) to the ALL kernels for i386 and amd64.

XXX Perhaps it should be added to others as well? Perhaps just as comments?
 1.409  23-Dec-2016  maya add SCTP_DEBUG to ALL kernels
 1.408  15-Dec-2016  ozaki-r Add SCTP to ALL configs to keep it buildable anyway
 1.407  13-Dec-2016  christos wildcard speaker attachments, now that we can handle many of them.
 1.406  10-Dec-2016  christos remove VAUDIOSPEAKER for now, will be done differently.
 1.405  09-Dec-2016  christos PCPPISPEAKER
 1.404  08-Dec-2016  nat Add a synthesized pc beeper and keyboard bell for platforms with an audio
device.
 1.403  26-Nov-2016  christos mention PAX_SEGVGUARD dependency on FILEASSOC
 1.402  11-Oct-2016  ozaki-r Add IFA_STATS to ALLs
 1.401  07-Aug-2016  christos rename ifmpls to mpls, so we don't have if_ifmpls...
 1.400  27-Jul-2016  msaitoh Add sdtemp(4)
 1.399  11-Jul-2016  msaitoh branches: 1.399.2;
Add tcpcib, gpioiic, gpiopwm and bwi into i386/conf/ALL.
 1.398  11-May-2016  riastradh Enable nouveau in i386/ALL. Omit incorrect option NV_DEBUG.

NV_DEBUG does not appear except as a macro function in nouveau, which
is broken by defining it on the command line.

From coypu.
 1.397  25-Oct-2015  khorben Remove references to SPLASHSCREEN_PROGRESS

To my knowledge this feature is no longer supported at the moment. The
manual page for wsdisplay(4) should probably also be updated to reflect
this situation.
 1.396  26-Sep-2015  maxv Disable PAX_SEGVGUARD.

We actually have a big problem: the fileassocs are never deleted.
Therefore, if a user generates a lot of buggy binaries and launches them
all, the kernel will allocate memory again again and again for all these
entries and will never free them (unless the files are deleted from the
disk). Which means that a user can too easily put the kernel under memory
pressure.
 1.395  26-Sep-2015  maxv Remove KMEMSTATS. Normally it's ok now.
 1.394  03-May-2015  pgoyette Update to include the tco driver (it was previously included as part of
ichlpcib).
 1.393  29-Apr-2015  riastradh Hook up viadrmums and include it it i386/ALL.
 1.392  28-Apr-2015  rjs Add DCCP.
 1.391  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.390  19-Dec-2014  ozaki-r Add SOFTINT_INTR to ALL
 1.389  16-Nov-2014  manu branches: 1.389.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.388  02-Nov-2014  christos switch to DRMKMS drivers
 1.387  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.386  19-Sep-2014  christos Add HDAUDIOVERBOSE
 1.385  19-Sep-2014  christos Disable BSDLABEL and MBR DKWEDGE methods again since sysinst does not work
with wedges.
 1.384  23-Aug-2014  dholland Add options COMPAT_44, which controls mostly MD code but should be in
here anyway.
 1.383  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.382  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.381  16-Aug-2014  apb Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
 1.380  25-Jul-2014  dholland branches: 1.380.2;
Fix description of DIAGNOSTIC in x86 kernels.
 1.379  02-Jul-2014  ozaki-r Add NET_MPSAFE to ALL
 1.378  29-Jun-2014  tsutsui Add gffb(4) at pci.
 1.377  24-Jun-2014  maxv Remove dead code. The kernel already checks for PT_INTERP sections, and puts
their content into "itp". There's no need for re-reading the whole binary and
trying to find this section again. Just use "itp".

DEBUG_FREEBSD_ELF is now unused, so remove its references in amd64/conf/ALL
and i386/conf/ALL.
 1.376  10-Jun-2014  hikaru Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4).
 1.375  02-Jun-2014  dholland add MPVERBOSE, noted missing in PR 48733.
 1.374  25-Apr-2014  riastradh Add applesmc(4) to {i386,amd64}/ALL.
 1.373  21-Apr-2014  chs add malo at pcmcia.
 1.372  08-Apr-2014  riastradh Remove FFS_NO_SNAPSHOT from x86/ALL so we do compile the snapshot code.
 1.371  08-Apr-2014  christos add ixg
 1.370  24-Mar-2014  szptvlfn branches: 1.370.2;
fix manual section numbering of sysctl.
thanks wiz@
 1.369  19-Mar-2014  nonaka Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.
 1.368  16-Mar-2014  martin Add umcs(4)
 1.367  26-Jan-2014  dsl Remove support for 'external' floating point units and the MS-DOS
compatible method of handling floating point exceptions.
Make kernel support for teh fpu non-optional (486SX should still work).
Only 386 cpus support external fpu, and i386 support was removed years ago.
This means that the npx code no longer uses port 0xf0 or interupt 13.
All the "npx at isa" lines go from the configs, arch/i386/isa/npx.c
is now mandatory for all i386 kernels.
I've renamed npxinit() to fpuinit() and npxinit_cpu() to fpuinit_cpu()
to match the very similar amd64 functions.
The fpu of the boot cpu is now initialised by a direct call from
cpu_configure(), this enables FP emulation for a 486SX.
(for amd64 the cr0 values are set in locore.S and similar).
This fixes a long-standing bug in linux_setregs() - which did not
save the fpu regsiters if they were active.
I've test booted a single cpu i386 kernel (using anita).
amd64 builds - none of teh changes should affect it.
The i386 XEN kernels build, but I'm not sure where they set cr0, and
it might have got lost!
 1.366  23-Nov-2013  riz Add RAID_DIAGNOSTIC so that code gets built.

ok oster@
 1.365  22-Nov-2013  riz Comment out npf for now, as we can't have both NPF and PF in the
same kernel - rmind has said he'll address this eventually,
and for now PF is more likely to have unnoticed breakage. ALL now
builds again!
 1.364  26-Oct-2013  nonaka Add driver for ASIX AX88178a and AX88179 Ethernet interface.
Ported from OpenBSD.
 1.363  14-Sep-2013  jakllsch Add xhci(4).
 1.362  30-Jun-2013  rmind G/C PFIL_HOOKS from the kernel configs.
 1.361  18-Jun-2013  dholland branches: 1.361.2;
Add LFS_KERNEL_RFW, a preexisting lfs option that should have been
here all along.
 1.360  10-Jun-2013  kardel adjust soekrisgpio driver to NetBSD
 1.359  08-Jun-2013  dholland Add the new LFS options.
 1.358  05-Jun-2013  christos remove obsolete networking options
 1.357  28-May-2013  kiyohara Add udsir.
 1.356  27-Apr-2013  christos more bogus number removal
 1.355  27-Apr-2013  christos the bogus number police
 1.354  27-Apr-2013  christos remove confusing numeric locators where they are unused.
 1.353  06-Apr-2013  martin Add athn
 1.352  02-Mar-2013  christos Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
 1.351  01-Mar-2013  joerg Retire OSI network stack. OK core@
 1.350  27-Dec-2012  skrll Add some usb devices.
 1.349  17-Dec-2012  mbalmer Adding ibmcd(4), a device driver for the IBM 4810 BSP cash drawer port as
found e.g. in SurePOS 300 series point of sale terminals. The driver
provides a gpio(4) device with three pins: pin 0 to open drawer, pin 1
to read the status and pin 2 to read whether a cash drawer is connected or
not.
 1.348  16-Dec-2012  mbalmer Add ptcd(4).
 1.347  17-Oct-2012  apb Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
 1.346  03-Oct-2012  dsl Remove all references to KVM86.
It was only ever used by APMBIOS - and then only if an option was selected.
Probably didn't work well at all!
 1.345  30-Sep-2012  dsl Remove code from dev/apm/apm.c for setting global variables to parameterise
the i386 bios apm code (now removed).
Remove the same code from the clone dev/hpc/apm/apmdev.c
Remove some not-used options from dev/apm/files.apm and the commented out
lines in ALL and GENERIC.
Maybe the APM_V10_ONLY and APM_NO_V12 could also be shot, but they are
further entwined in the code.
 1.344  23-Sep-2012  chs add some more devices and options.
 1.343  01-Sep-2012  jakllsch branches: 1.343.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.342  04-Aug-2012  riastradh Add uatp(4) to i386 ALL kernel configuration.
 1.341  30-Jul-2012  degroote Add malo(4) entry in various kernel configuration
 1.340  22-Jul-2012  matt Add a few missing devices.
 1.339  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.
 1.338  19-Apr-2012  wiz Correct option name for hdaudio debugging.
Reported by Dave Tyson in PR 46357.
 1.337  19-Apr-2012  bouyer Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.
 1.336  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.335  10-Apr-2012  christos Add apple partition recognition.
 1.334  10-Mar-2012  joerg P1003_1B_SEMAPHORE is no longer optional.
 1.333  28-Feb-2012  tron Add Chip File System.
 1.332  03-Feb-2012  christos branches: 1.332.2;
add tpm
 1.331  29-Jan-2012  jakllsch options MALLOC_DEBUG is no longer expected to compile,
but has not yet been removed. Avoid compiling it here.
 1.330  14-Jan-2012  tron Add "CPU_UCODE" option.
 1.329  31-Dec-2011  christos add uipad
 1.328  18-Dec-2011  dholland WABPL is no longer considered experimental (has not been for some time)
so update its comment in config files.
 1.327  22-Nov-2011  tls branches: 1.327.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.
 1.326  18-Nov-2011  jmcneill remove Xbox support
 1.325  30-Oct-2011  hannken branches: 1.325.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.324  17-Oct-2011  jmcneill add vmt(4)
 1.323  15-Oct-2011  sjg Add the plumbing so one could compile filemon(4) into a kernel.
 1.322  02-Oct-2011  jmcneill Install dev/i2c/i2c_io.h and implement the API in the iic(4) driver.
Obsolete the I2C_SCAN option as this can now be done from userland.
 1.321  26-Sep-2011  jakllsch options PMS_DISABLE_POWERHOOK is obsolete.
 1.320  22-Sep-2011  jakllsch valz(4) is superseded entirely by acpivga(4) these days.
 1.319  18-Aug-2011  jakllsch Attach amdtemp(4) at pchb(4) instead of in place of pchb(4).

Should fix PR#45268.
 1.318  11-Aug-2011  mbalmer Add entries for pwdog(4).
 1.317  04-Aug-2011  jakllsch Add coram(4).
 1.316  30-Jul-2011  jmcneill remove xboxcontroller; use the uhidev driver instead
 1.315  23-Jul-2011  jakllsch Enable or note aubtfwl(4) wherever ubt(4) is enabled or noted.
 1.314  20-Jul-2011  jakllsch Add cxdtv(4) and urndis(4). Also, two slight cosmetic changes.
 1.313  19-Jul-2011  jmcneill add irmce
 1.312  19-Jul-2011  tron Build 7th Edition(V7) File System.
 1.311  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.310  11-Jul-2011  jmcneill add emdtv at uhub
 1.309  09-Jul-2011  jmcneill add dtv at dtvbus
 1.308  14-Jun-2011  jruoho Try to attach hpet(4) also via a specific HPET table. Fixes PR kern/43702.
 1.307  28-May-2011  ryo branches: 1.307.2;
many whitespace cleanup.
confirmed "cvs diff -b" are identical.
 1.306  26-Apr-2011  joerg Remove PECOFF/Win32 emulation.
 1.305  26-Apr-2011  joerg Remove IRIX emulation
 1.304  26-Apr-2011  joerg Remove Darwin, MACH and Mach-O support.
 1.303  04-Apr-2011  bouyer Add a driver for RDC's vortex86/PMX-1000 SoC PCI/ISA bridge, with support
for the integrated watchdog timer.
 1.302  04-Apr-2011  bouyer Add rdcide(4), a driver for the IDE controller found in RDC's
vortex86/PMX-1000 system-on-chip.
 1.301  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.
 1.300  04-Mar-2011  jruoho Move INTEL_ONDEMAND_CLOCKMOD -- or odcm(4) -- to the cpufeaturebus.
 1.299  27-Feb-2011  jruoho Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".
 1.298  26-Feb-2011  ahoka Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
- Flash layer, which gives a common API to access flash devices
- NAND controller subsystem for the flash layer
- An example OMAP driver which is used on BeagleBoard or alike ARM boards
 1.297  24-Feb-2011  macallan Some cleanup:
- voyagerfb has no business on x86, so throw it out
- add igsfb, unlike the above it exists in real life on PC graphics cards
- remove duplicate genfb and machfb entries
- remove duplicate wsdisplay entries
 1.296  24-Feb-2011  jruoho Move VIA_C7TEMP to the cpufeaturebus.
 1.295  24-Feb-2011  jruoho Move PowerNow! to the cpufeaturebus.
 1.294  23-Feb-2011  jruoho Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus.
 1.293  23-Feb-2011  jmcneill add alc@pci
 1.292  22-Feb-2011  dyoung Add CardBus to PCI bridge, ppb at cardbus, but comment it out for now.
 1.291  20-Feb-2011  jmcneill add vboxdrm* at drm?
 1.290  20-Feb-2011  jruoho Modularize coretemp(4). Ok jmcneill@.
 1.289  19-Feb-2011  jmcneill modularize VIA PadLock support
- retire options VIA_PADLOCK, replace with 'padlock0 at cpu0'
- driver supports attach & detach
- support building as a module
 1.288  16-Feb-2011  jruoho Add a skeleton driver for Asus EeePC acpiwmi(4) mappings.
 1.287  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.286  11-Feb-2011  jmcneill attach drm hw drivers to 'drm' not 'vga'
 1.285  17-Jan-2011  jmcneill branches: 1.285.2;
add acpiwdrt
 1.284  09-Jan-2011  jruoho branches: 1.284.2;
Add a dummy-driver for ACPI fans.
 1.283  03-Jan-2011  tsutsui Xref module(7) in comments.
 1.282  27-Dec-2010  jmcneill add auvitek at uhub
 1.281  16-Dec-2010  cegger add PCI VGA drivers
 1.280  27-Nov-2010  christos add ihphy
 1.279  23-Nov-2010  hannken Remove unused count from pseudo-device md.
 1.278  13-Nov-2010  pgoyette Add pseudo-device dmoverio(4) to ALL
 1.277  13-Nov-2010  jnemeth Add new et(4)/etphy(4) devices.
 1.276  06-Nov-2010  jakllsch fwhrng(4) is in i386 GENERIC already, add it to ALL too.
 1.275  06-Nov-2010  jakllsch Enable schide(4), Intel SCH IDE controller driver from PR#42310.
 1.274  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.273  05-Nov-2010  rmind Add pfsync to ALL kernel.
 1.272  03-Nov-2010  dyoung Add to ALL some USB drivers that are never compiled, otherwise:
moscom(4), uark(4), uhmodem(4), uyurex(4).
 1.271  03-Nov-2010  christos add otus
 1.270  24-Oct-2010  jruoho Add wmimsi(4).
 1.269  19-Oct-2010  pgoyette Include swsensor(4) in ALL
 1.268  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@
 1.267  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@
 1.266  21-Aug-2010  tsutsui Add upgt(4), Intersil PrismGT USB 802.11b/g adapter.
 1.265  08-Aug-2010  chs add more spdmem instances for HP xw-series workstations.
add se (scsi ethernet).
 1.264  07-Aug-2010  jruoho Remove the last ACPI driver -specific #ifdef, ACPI_FDC_DEBUG.
 1.263  07-Aug-2010  jruoho Remove ACPI_MADT_DEBUG.
 1.262  26-Jul-2010  jym Add PAE to ALL kernel, so that most paddr_t format string errors get caught
during compilation.

While here, fix the compilation for ALL.
 1.261  18-Jul-2010  jruoho Add ACPI CPU.
 1.260  26-Jun-2010  kefren Fix build for MPLS import: add options MPLS, changed pseudo-device mpls
to pseudo-device ifmpls
 1.259  26-Jun-2010  kefren add pseudo-device mpls - commented in GENERIC for now
 1.258  22-May-2010  plunky add btmagic(4) where other Bluetooth drivers are listed
 1.257  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.
 1.256  02-May-2010  chs add alipm and its iic bus.
 1.255  16-Apr-2010  pooka Remove unused count (invariably "4") from pseudo-device fss.
 1.254  11-Apr-2010  jakllsch Add valz(4), a simple driver to handle the backlight keys on some
Toshiba laptops. As of yet only tested on a Satellite A135-S4527.
 1.253  08-Apr-2010  jruoho Add wmidell(4) and wmihp(4).
 1.252  01-Apr-2010  jakllsch Add support for Domex 536 PCI SCSI controller to nca(4).
This truly remarkable chip is found on the Domex DMX-3191D SCSI adapter.
 1.251  27-Mar-2010  nonaka Added sdhc at cardbus support.
 1.250  19-Mar-2010  cnst Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).

http://mail-index.netbsd.org/tech-kern/2010/03/06/msg007458.html

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.
 1.249  06-Mar-2010  plunky branches: 1.249.2;
add uhso(4)
 1.248  04-Mar-2010  jruoho Remove ACPI_BUT_DEBUG.
 1.247  04-Mar-2010  jruoho VALD_ACPI_DEBUG is dead.
 1.246  04-Mar-2010  jruoho Enable (uncomment) ACPI_DEBUG, ACPI_DEBUG_ALLOC, and ACPI_MUTEX_DEBUG.
 1.245  03-Mar-2010  jruoho Remove ACPI_EXTRA_DEBUG.
 1.244  28-Feb-2010  jruoho Add ACPI_DEBUG_ALLOC.
 1.243  28-Feb-2010  jruoho Remove ACPI_LID_DEBUG.
 1.242  22-Feb-2010  pgoyette Correct spelling of smscmon and add (commented out) to GENERICs
 1.241  22-Feb-2010  pgoyette Specify the correct default address for smscmon
 1.240  22-Feb-2010  pgoyette Add smscmon(4)
 1.239  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.238  12-Feb-2010  hubertf Add PPPOE_SERVER
- disabled (commented out) in GENERIC,
- enabled in ALL
 1.237  10-Feb-2010  tonio Fix typo in TEMPer comment, spotted by Patrick Welche
 1.236  09-Feb-2010  tonio Add TEMPer and TERMPerHUM driver
 1.235  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.234  08-Feb-2010  pgoyette Add flags to all instances of lm(4), add a reference to man page
 1.233  06-Feb-2010  pgoyette branches: 1.233.2;
Enable acpismbus(4) for ALL kernel, per discussion on tech-kern
 1.232  06-Feb-2010  pgoyette Add acpismbus enries - commented out!
 1.231  31-Jan-2010  jruoho Remove ACPICA_PEDANTIC. Appears to be no longer in use.
 1.230  31-Jan-2010  jruoho No more ACPI_ACAD_DEBUG.
 1.229  23-Jan-2010  jruoho ACPI_BAT_DEBUG is no more.
 1.228  18-Jan-2010  pooka include ISDN support
 1.227  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.226  07-Jan-2010  martin Add the u3ginit driver to all configs which have the u3g driver
 1.225  03-Jan-2010  dholland Whitespace. Portions from Igor Sobrado in PR kern/22595.
Deploy <space><tab> where needed so columns don't teleport when
commenting or uncommenting things.
 1.224  03-Jan-2010  dholland Assorted spelling/capitalization fixes from Igor Sobrado in PR kern/22595.
Merged by yours truly as the set of configs has changed quite a bit since
the PR was filed in 2003, and I may have missed some stuff. These changes
should probably be merged into other arches' configs; I'm not going to do
that now though.
 1.223  23-Dec-2009  pooka unifdef -D UGEN_BULK_RA_WB

Default behaviour unchanged, the feature must still be explicitly
enabled for a ugen fd.
 1.222  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.221  30-Nov-2009  tsutsui Add udl(4) and wsdisplay(4) as its child.
 1.220  21-Nov-2009  tsutsui Reduce diffs against GENERIC.
 1.219  12-Nov-2009  tron Turn on Stack Smash Protection (SSP) for the "ALL" kernel to get at least
compile time coverage during a full release build.

Suggested by Mindaugas Rasiukevicius.
 1.218  02-Oct-2009  jmcneill Add and enable options VIA_C7TEMP
 1.217  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.216  30-Sep-2009  jmcneill Need sdmmc* at wb?
 1.215  30-Sep-2009  jmcneill add and enable wb(4)
 1.214  29-Sep-2009  pooka remove the tempting VNODE_LOCKDEBUG option
 1.213  27-Sep-2009  tsutsui +jme* at pci?
 1.212  27-Sep-2009  jmcneill add viadrm at pci
 1.211  22-Sep-2009  tsutsui +cs* at isapnp?
 1.210  14-Sep-2009  tsutsui Enable options IPKDB.
 1.209  12-Sep-2009  tsutsui Add MI and ISA gpib(4) stuff. (compile test only)
 1.208  12-Sep-2009  tsutsui +options RTSOCK_DEBUG
 1.207  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.206  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
 1.205  26-Aug-2009  elad Build NiLFS(2).
 1.204  15-Aug-2009  mbalmer Move the keylock.h header from sys/sys to sys/dev where it really belongs.
Add keylock options to the ALL kernel configuration.
 1.203  29-Jul-2009  mbalmer Add pseudo-device gpiosim, fix gpioow usage.
 1.202  27-Jul-2009  kiyohara Support Marvell Hercules-I/II SATA Controllers.
 1.201  25-Jul-2009  cegger add GPIO_DEBUG
 1.200  19-Jul-2009  kiyohara Support siisata@cardbus.
It tested on amd64 and i386 only.
 1.199  10-May-2009  elad Add IPKDB options, but commented out as it doesn't build at the moment.
 1.198  09-May-2009  pgoyette Initial implementation of sdtemp(4) driver for on-DIMM temp sensor.

(These optional sensors are specified by JEDEC Standard No. 21-C
Section 4-7 and implemented by multiple vendors. Tested on my
amd64 machine with Kingston KVR1066D3E7S/2G memory which includes
a STMicro STTS424E02 sensor.)
 1.197  21-Apr-2009  nonaka Add SD/MMC related devices.
 1.196  20-Apr-2009  cegger add ale(4)
 1.195  06-Mar-2009  joerg Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.194  27-Feb-2009  dyoung Add isv(4).
 1.193  19-Feb-2009  jmcneill Remove vesafb, it has been replaced by genfb on x86.
 1.192  14-Feb-2009  jmcneill Add genfb(4)
 1.191  24-Jan-2009  cegger branches: 1.191.2;
add bwi(4)
 1.190  24-Jan-2009  haad Add dm driver to ALL kernel.
 1.189  24-Jan-2009  cegger add age(4) and atphy(4).
Requested by cube@
 1.188  21-Jan-2009  tsutsui Add esp at mca, so that daily build will detect botches in it.
 1.187  28-Dec-2008  jmcneill PR# port-i386/40284: add AMD Geode CS5536 audio driver; add gcscaudio(4)
to i386 GENERIC and ALL kernels
 1.186  14-Dec-2008  jmcneill add options PMS_ELANTECH_TOUCHPAD
 1.185  24-Nov-2008  ad Remove softdep, pass 1. We are focused on improving journalling.

Proposed on tech-kern@.
 1.184  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.183  13-Oct-2008  pgoyette branches: 1.183.2; 1.183.4;
Add lm0 at iic?
 1.182  07-Oct-2008  pgoyette Move all platforms to new dbCool driver in preparation for removal of
chip-specific drivers
 1.181  30-Sep-2008  jmcneill Remove esl(4)
 1.180  19-Sep-2008  jmcneill Add pseye, uvideo, video, UVIDEO_DEBUG
 1.179  11-Sep-2008  pgoyette Include new I2C_SCAN option in ALL.
 1.178  09-Sep-2008  ober Adding iwn(4) to GENERIC
 1.177  07-Sep-2008  tron Remove references to non-existant kernel option NO_TSC_TIME.
This fixes PR port-i386/39460 by Juan RP.
 1.176  31-Jul-2008  cegger backout rev. 1.175:
options VGA_POST already existed which makes config barf.
 1.175  31-Jul-2008  joerg Include VGA_POST by default in GENERIC and ALL on x86 now that the code
is conditional.
 1.174  31-Jul-2008  simonb Add "options WAPBL" to standard GENERIC/INSTALL type configs.
 1.173  26-May-2008  christos branches: 1.173.4;
Add uberry.
 1.172  23-May-2008  jnemeth add siisata(4) -- SiI SteelVine SATA2
 1.171  13-May-2008  ad PR kern/35296 option PIC_DELAY not use
 1.170  01-May-2008  cegger branches: 1.170.2;
hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks
 1.169  30-Apr-2008  ad For PR kern/38537:

- Make MULTIPROCESSOR mandatory on i386.

Installation changes:

- Update installation section of release notes to match reality.
- Rename INSTALL to INSTALL_FLOPPY, retire INSTALL_LARGE.
- Build INSTALL kernel from GENERIC, like on amd64.
- Update boot menu to allow disabling ACPI and/or SMP.
- Remove GENERIC.NOACPI from the installed kernel list.
- TODO: install default boot.cfg in etc.tgz.
- TODO: possibly enable PCI fixup stuff at runtime if ACPI is disabled.

Build changes:

- No longer build ALL, it's for verification, is slow to build and the
build process is already crippled by the number of kernels built.
- No longer build GENERIC.NOACPI.
 1.168  30-Apr-2008  ad Fold DEBUG into ALL.
 1.167  22-Apr-2008  cegger branches: 1.167.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
 1.166  13-Apr-2008  tsutsui branches: 1.166.2;
Add esp(4) at isa. (though I doubt it has ever worked)
 1.165  09-Apr-2008  dyoung Attach elansc at mainbus instead of at pci.
 1.164  04-Apr-2008  tsutsui Add nca at pcmcia (53C400 based SCSI).
 1.163  03-Apr-2008  xtraeme Enable finsio(4).
 1.162  31-Mar-2008  jmcneill Enable asus(4)
 1.161  29-Mar-2008  cube Add and enable lii(4).
 1.160  09-Feb-2008  jmmv branches: 1.160.6;
Add 'options MODULAR'. Does not seem to conflict with anything else
(aka ALL builds fine).
 1.159  30-Jan-2008  ad +UFS_EXTATTR
 1.158  23-Jan-2008  jmcneill Add XBOX specific device drivers and options.
 1.157  21-Jan-2008  ichiro enable 'uhmodem'
 1.156  21-Jan-2008  dyoung Attach two new devices to the AMD Elan SC520 System Controller,
elansc(4).

elanpex(4) is for PCI exception reporting. I've already found some
kernel bugs by reading the exceptions reported. Beware that it
will spam the console a lot while the kernel and pcictl(8) probe
non-existing addresses in PCI configuration space.

elanpar(4) protects the kernel text from writes by the CPU and by
PCI bus masters. As you might guess, this is not compatible with
setting breakpoints using a debugger; detach the device using
'drvctl -d elanpar0' before you try to set breakpoints. In the
future, I hope to extend elanpar(4) to provide general-purpose RAM
write-protection.
 1.155  16-Jan-2008  ad Remove options MATH_EMULATE.
 1.154  09-Jan-2008  xtraeme Add gcscpcib(4).
 1.153  07-Jan-2008  martti Fixed indentation, it should be

option<space><tab>
makeoption<space><tab>
 1.152  31-Dec-2007  ad Remove systrace. Ok core@.
 1.151  29-Dec-2007  xtraeme Update itesio(4) comments.
 1.150  26-Dec-2007  christos Add missing PAX defines
 1.149  25-Dec-2007  joerg Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.
 1.148  21-Dec-2007  jmcneill Add thinkpad at acpi
 1.147  13-Dec-2007  joerg Add glue for x86emu and build it as part of i386/ALL.
 1.146  09-Dec-2007  jmcneill branches: 1.146.2;
Merge jmcneill-pm branch.
 1.145  05-Dec-2007  xtraeme branches: 1.145.2;
arc(4) -> arcmsr(4)
 1.144  04-Dec-2007  xtraeme Enable arc(4), reminded by riz@.
 1.143  02-Dec-2007  kiyohara branches: 1.143.2;
Add bcsp(4).
 1.142  20-Nov-2007  pooka pud (userspace char/block drivers) build goo
 1.141  15-Nov-2007  ad Remove support for 80386 level CPUs. PR port-i386/36163.
 1.140  15-Nov-2007  xtraeme Update for it(4) -> itesio(4) rename.
 1.139  14-Nov-2007  ad - Remove I486_CPU, I586_CPU, I686_CPU options. They buy us nothing and
clutter the code significantly.
- Remove pccons.
 1.138  12-Nov-2007  njoly Add missing hpet@acpi.
 1.137  11-Nov-2007  jmcneill Enable pad(4)
 1.136  10-Nov-2007  pooka add pseudo-device putter
 1.135  10-Nov-2007  dsl Re-instate COMPAT_PECOFF, it is largely userspace and can use the standard
syscall table.
 1.134  09-Nov-2007  dsl Remove COMPAT_PECOFF from all - I suspect is doesn't build anymore,
and isn't worth fixing :-)
 1.133  01-Nov-2007  xtraeme branches: 1.133.2;
Revert previous, thanks wikipedia :-)
 1.132  01-Nov-2007  xtraeme Fix typo "iff" -> "if" reported by leot via freenode@irc.
 1.131  30-Oct-2007  xtraeme options<space><tab>FOO
 1.130  29-Oct-2007  xtraeme Enable "options INTEL_CORETEMP".
 1.129  26-Oct-2007  xtraeme Add amdpcib(4).
 1.128  25-Oct-2007  dogcow oh, for lack of a query...
 1.127  24-Oct-2007  xtraeme Add jmide(4).
 1.126  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.
 1.125  10-Oct-2007  ad branches: 1.125.2;
+DEBUG, +VNODE_LOCKDEBUG
 1.124  05-Oct-2007  joerg Add re* at cardbus.
 1.123  22-Sep-2007  xtraeme branches: 1.123.2;
Add DDB_VERBOSE_HELP.
 1.122  11-Sep-2007  xtraeme GENERIC_LAPTOP -> add aps(4) commented out
ALL -> add aps(4)
 1.121  06-Sep-2007  martti Fixed indentation (it should be <keyword><space><tab><name>tab><comment>).
 1.120  03-Sep-2007  xtraeme Add uchcom(4).
 1.119  01-Sep-2007  dyoung Add se(4).
 1.118  21-Aug-2007  kiyohara branches: 1.118.2;
Add slhci at pcmcia.
And reorder.
 1.117  20-Aug-2007  kiyohara Add btbc(4).
 1.116  18-Aug-2007  tnn Enable spdmem(4) in ALL configuration. Add commented out entries to GENERIC
 1.115  28-Jul-2007  kiyohara branches: 1.115.4;
Add ichsmb(4).
 1.114  20-Jul-2007  rumble Comment FILECORE and add ADOSFS.
 1.113  17-Jul-2007  daniel branches: 1.113.2; 1.113.4;
Add VIA_PADLOCK.
 1.112  15-Jul-2007  dsl Add the FILECORE filesystem so it gets test compiled.
 1.111  14-Jul-2007  kiyohara Alphabetical reorder.
 1.110  11-Jul-2007  kiyohara Add nfsmb(4).
 1.109  08-Jul-2007  jmcneill Enable gcscehci(4)
 1.108  29-Jun-2007  rumble Add read-only support for SGI's Extent File System.

Reviewed by pooka@.
 1.107  28-Jun-2007  tsutsui Add file-system SYSVBFS.
 1.106  27-Jun-2007  xtraeme Add gcscide(4).
 1.105  16-Jun-2007  ad -options I2OVERBOSE.
 1.104  15-Jun-2007  jmcneill Enable glxsb(4)
 1.103  09-Jun-2007  kiyohara Add zyd(4).
 1.102  01-Jun-2007  blymn Add smsc device
 1.101  29-May-2007  christos Add COMPAT_40 for struct ifreq changes.
 1.100  24-May-2007  xtraeme Indentation.
 1.99  20-May-2007  dogcow as pointed out by juan RP, uslsa should be in ALL as well.
 1.98  18-May-2007  riz Add 'options TCP_SIGNATURE' to hopefully keep this code from
invisibly breaking periodically, as it's done a couple times.
 1.97  15-May-2007  xtraeme Add agr(4).
 1.96  08-May-2007  xtraeme Add "ug* at acpi?" following the current scheme in the files.
 1.95  26-Apr-2007  dyoung branches: 1.95.2;
Add ATADEBUG to ease debugging.
 1.94  19-Apr-2007  xtraeme ALL: add ug(4).
GENERIC/GENERIC_LAPTOP: add ug(4) commented out.
 1.93  29-Mar-2007  dillo Now that all DRM drivers build (thanks jmcneill), readd them.
 1.92  29-Mar-2007  dillo Revert previous, mgadrm does not compile.
 1.91  29-Mar-2007  dillo Add DRI drivers.
 1.90  20-Mar-2007  xtraeme ALL: Enable INTEL_ONDEMAND_CLOCKMOD.
GENERIC: Add INTEL_ONDEMAND_CLOCKMOD disabled by default.
 1.89  15-Mar-2007  dogcow Comment out VGA_RASTEROPS; even the fine manpage says that it's deprecated
in favor of wscons(4).
 1.88  14-Mar-2007  drochner branches: 1.88.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.87  13-Mar-2007  xtraeme ALL: add unichromefb.
GENERIC: add unichromefb (disabled by default).
GENERIC_LAPTOP: add unichromefb and vesafb (disabled by default).
 1.86  13-Mar-2007  xtraeme Add aiboost* at acpi.
 1.85  06-Mar-2007  dillo branches: 1.85.2; 1.85.4;
Complete rename of hfsp to hfs, requested by thorpej.
 1.84  05-Mar-2007  dillo Integrate apmlabel and HFS+ file system.
 1.83  01-Mar-2007  kiyohara Add btuart(4).
 1.82  19-Feb-2007  xtraeme Add options SYSCALL_{STATS,TIMES,TIMES_HASCOUNTER}.
 1.81  10-Feb-2007  xtraeme branches: 1.81.2;
Add pseudo-device cmos - see cmos(4)
Remove unit number in pseudo-device swwdog, by default it is 1.
 1.80  04-Feb-2007  xtraeme Add the following pseudo-devices:

* lockstat - see lockstat(8)
* swwdog - see swwdog(4)
 1.79  28-Jan-2007  pooka add puffs
 1.78  27-Jan-2007  hubertf Enable Altq and some others, sinced from GENERIC
 1.77  20-Jan-2007  xtraeme viaenv(4) does not need anymore viapm.
 1.76  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.75  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.74  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.
 1.73  29-Nov-2006  xtraeme branches: 1.73.2;
Add pseudo-device drvctl... needed for drvctl -p <device> to show
device properties dictionary.

IMHO this should be enabled by default in GENERIC.
 1.72  23-Nov-2006  rpaulo Add pseudo-device etherip.
 1.71  11-Nov-2006  jmmv Remove tmpfs's experimental status. OK'ed by core@.
 1.70  31-Oct-2006  joerg Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
 1.69  25-Oct-2006  jmmv Remove the usage of Multiboot's "a.out kludge" to tell the boot loader to
reserve some more space for the BSS section than the binary says. This
trick was used to leave room after the kernel's image to copy the symbol
table following the format required by ksyms_init. (It was also used to
workaround a bug in the physical address fields of the binary, but this has
been long fixed.) Yes, the MULTIBOOT_SYMTAB_SPACE option goes away; yay!

Instead, copy the required data after the kernel in a way that avoids having
to reserve space and use the new ksyms_init_explicit function to avoid the
need to construct a minimal ELF image.

Fixes ksyms when using an "unpatched" GRUB (one that does not contain the
fix to honour the "a.out kludge" for ELF images, even when present) -- i.e.
ddb and lkms. As a side effect, the new code is much clearer to read and
digest.

Closes PR port-i386/32865.
 1.68  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.67  13-Oct-2006  christos remove debug options
 1.66  13-Oct-2006  christos merge in 1.787
 1.65  08-Oct-2006  rpaulo Add kttcp.
 1.64  01-Oct-2006  itohy Use ATA timing, instead of busmaster wait, for adding waits.
Use default wait value 0x01.
 1.63  19-Sep-2006  jmmv Fix definition of some options to be 'options<space><tab>' for consistency.
 1.62  10-Sep-2006  plunky branches: 1.62.2;
update to bluetooth device attachment:

remove pseudo-device btdev(4) and inherent limitations

add bthub(4) which autoconfigures at bluetooth controllers as they
are enabled. bluetooth devices now attach here.

btdevctl(8) and its cache is updated to handle new semantics

etc/rc.d/btdevctl is updated to configure devices from a list
in /etc/bluetooth/btdevctl.conf
 1.61  10-Sep-2006  riz Add msk and mskc.
 1.60  07-Sep-2006  itohy branches: 1.60.2;
Add njata* at cardbus?
 1.59  26-Aug-2006  christos PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
 1.58  17-Aug-2006  christos the kernels Arnaud and I used to fix the debugging options.
 1.57  03-Nov-1994  mycroft branches: 1.57.30; 1.57.40; 1.57.44;
Clean up deleted files.
 1.56  27-Oct-1994  cgd new RCS ID format.
 1.55  25-Oct-1994  cgd add COMPAT_10
 1.54  04-Jul-1994  cgd ISOFS -> CD9660
 1.53  01-Jul-1994  mycroft is0 --> le0, and give trinity one.
 1.52  21-May-1994  cgd kiss maxfdescs goodbye
 1.51  19-May-1994  mycroft Add network foo.
 1.50  19-May-1994  cgd kill all sysv compat stuff, for a bit...
 1.49  09-May-1994  cgd no more SYSVSHM; commented out
 1.48  05-May-1994  cgd comment out hp0; at charles's prompting
 1.47  20-Apr-1994  mycroft Remove all `bio', `tty', `net', and `vector' specifications.
 1.46  15-Apr-1994  cgd add COMPAT_09 to all kernels, Pentium support to generic kernels
 1.45  13-Apr-1994  deraadt ep driver doesn't need port/irq, figures out by itself
 1.44  29-Mar-1994  mycroft Update for new code.
 1.43  09-Mar-1994  hpeyerl Make ep0 reflect factory default settings rather than my own.
 1.42  09-Mar-1994  ws Make FFS optional
 1.41  09-Mar-1994  cgd add I586_CPU at the suggestion of mike.long@analog.com
 1.40  18-Feb-1994  mycroft Update for new lpt.
 1.39  26-Jan-1994  hpeyerl ne0 goes away.
 1.38  25-Jan-1994  hpeyerl (woops; forgot this one) make ec and we go away.
 1.37  22-Jan-1994  hpeyerl Add ep driver
 1.36  16-Jan-1994  cgd turn on SYSVSHM and note the default value of SHMMAXPGS
 1.35  09-Jan-1994  cgd add entries for the 'audio' pseudo-dev and for the new soundblaster driver
 1.34  06-Jan-1994  cgd add 'maxfdescs 2048' to everything. i'm sick of the warning...
 1.33  21-Dec-1993  brezak Add pseudo-device vn
 1.32  14-Nov-1993  cgd add SYSVMSG and SYSVSEM
 1.31  04-Nov-1993  cgd add mcd: Mitsumi CD driver by Holger Veit and Brian Moore
 1.30  02-Nov-1993  glass tablet line discipline compiles and probably works now.
 1.29  20-Oct-1993  cgd get rid of ACCOUNTING option. it's mandatory, and there's no define any more.
 1.28  19-Sep-1993  brezak Add USER_LDT option.
 1.27  14-Sep-1993  brezak No need to lospecifiy load address at 1M, now the default for any kernel.
 1.26  07-Sep-1993  mycroft Add a bunch more shit that was missing.
 1.25  07-Sep-1993  mycroft Rearrange SCSI probing to actually work.
 1.24  06-Sep-1993  mycroft Rearrange ethernet probing in the vain hope that maybe, just maybe, the ne0
probe's effect on ed0 will be reversed when the latter is reset.
 1.23  06-Sep-1993  mycroft Comment out we0 and ec0, and add equivalent ed0 and ed1.
 1.22  06-Sep-1993  mycroft Add a generous dose of comments.
 1.21  06-Sep-1993  mycroft Change `NFS' to `NFSSERVER,NFSCLIENT'.
 1.20  06-Sep-1993  mycroft Correct I/O ports for mice.
 1.19  05-Sep-1993  mycroft Second wd0 should be wd1.
 1.18  30-Aug-1993  deraadt pagers are not options, not pseudo-devices
 1.17  29-Aug-1993  mycroft There is no longer any good reason to allocate a small number of ptys.
Increased to 32 so people will not bitch at me next time around.
 1.16  27-Aug-1993  brezak Load at 1M and turn-on MACHINE_NONCONTIG option.
 1.15  24-Aug-1993  mycroft Add ACCOUNTING and GATEWAY options.
 1.14  14-Aug-1993  deraadt ppp from paul mackerras
 1.13  07-Aug-1993  cgd merge in changes from netbsd-0-9-ALPHA2
 1.12  27-Jun-1993  andrew branches: 1.12.2;
Added bus mice.
 1.11  06-Jun-1993  cgd cleanup, add DDB to dist. floppy kernels, and get rid of f*@#ing "as"
 1.10  06-Jun-1993  cgd incorporate Bruce Evans' interrupt changes, as hacked by Rod grimes,
for patchkit patch 158. it appears to work well.
 1.9  03-Jun-1993  cgd add 'options "COMPAT_NOMID"' for compatibility w/i386 binaries w/no
a_mid in their exec structure (and therefore, in the NWO, having
an a_mid of MID_ZERO)
 1.8  20-May-1993  cgd update config files for correct "cpu" usage
 1.7  07-May-1993  cgd add PC speaker driver pseudo-device
 1.6  04-May-1993  cgd make serial ports have right numbers, and add slip to generic kernels
 1.5  28-Apr-1993  cgd bsd->netbsd
 1.4  28-Apr-1993  cgd get rid of the silly quotes
 1.3  28-Apr-1993  cgd new kernel name is bsd
 1.2  10-Apr-1993  glass Added ISO,CITTT,NS stuff. still missing a few things. up to 798k
 1.1  10-Apr-1993  glass fixed to be compliant, subservient, and to take advantage of the newly
hacked config(8)
ALL config file should gradually get all the configurable options,drivers,etc
 1.12.2.1  06-Aug-1993  cgd bms -> mms
 1.57.44.2  14-Sep-2006  yamt sync with head.
 1.57.44.1  03-Sep-2006  yamt sync with head.
 1.57.40.1  09-Sep-2006  rpaulo sync with head
 1.57.30.9  11-Feb-2008  yamt sync with head.
 1.57.30.8  04-Feb-2008  yamt sync with head.
 1.57.30.7  21-Jan-2008  yamt sync with head
 1.57.30.6  07-Dec-2007  yamt sync with head
 1.57.30.5  15-Nov-2007  yamt sync with head.
 1.57.30.4  27-Oct-2007  yamt sync with head.
 1.57.30.3  03-Sep-2007  yamt sync with head.
 1.57.30.2  26-Feb-2007  yamt sync with head.
 1.57.30.1  30-Dec-2006  yamt sync with head.
 1.60.2.4  09-Feb-2007  ad Sync with HEAD.
 1.60.2.3  01-Feb-2007  ad Sync with head.
 1.60.2.2  12-Jan-2007  ad Sync with head.
 1.60.2.1  18-Nov-2006  ad Sync with head.
 1.62.2.3  18-Dec-2006  yamt sync with head.
 1.62.2.2  10-Dec-2006  yamt sync with head.
 1.62.2.1  22-Oct-2006  yamt sync with head
 1.73.2.11  24-Mar-2009  bouyer Pullup the following revisions (requested by msaitoh in ticket #1284):
distrib/sets/lists/base/mi 1.706-707,1.797
distrib/sets/lists/man/mi 1.1006
etc/mtree/NetBSD.dist 1.340
share/man/man4/Makefile 1.432
sys/arch/amd64/conf/GENERIC 1.149 via patch
sys/arch/i386/conf/ALL 1.103
sys/arch/i386/conf/GENERIC 1.832
sys/arch/i386/conf/GENERIC_LAPTOP 1.237
sys/arch/macppc/conf/GENERIC 1.257
sys/arch/sparc64/conf/GENERIC 1.86
sys/dev/usb/usbdevs 1.468,1.479-480 via patch
sys/dev/usb/usbdevs.h regen
sys/dev/usb/usbdevs_data.h regen
sys/dev/microcode/Makefile 1.7
sys/dev/usb/files.usb patch
share/man/man4/zyd.4 1.1 via patch
sys/dev/microcode/zyd/Makefile 1.1-1.2
sys/dev/microcode/zyd/build.c 1.1
sys/dev/microcode/zyd/microcode.h 1.1
sys/dev/microcode/zyd/zd1211-license 1.1
sys/dev/microcode/zyd/zyd-zd1211 1.1
sys/dev/microcode/zyd/zyd-zd1211b 1.1
sys/dev/usb/if_zyd.c patch
sys/dev/usb/if_zydreg.h 1.1-1.2

Add ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device support
 1.73.2.10  19-Apr-2008  bouyer Pull up following revision(s) (requested by sborrill in ticket #1128):
sys/dev/pci/if_lii.c: revisions 1.1, 1.3 via patch
sys/arch/i386/conf/ALL: revision 1.161 via patch
share/man/man4/lii.4: revision 1.1 via patch
sys/dev/pci/files.pci: revision 1.303 via patch
sys/dev/DEVNAMES: revision 1.238 via patch
sys/arch/i386/conf/GENERIC: revision 1.885 via patch
distrib/sets/lists/man/mi: revisions 1.1062, 1.1063 via patch
sys/arch/i386/conf/XEN2_DOM0: revision 1.43 via patch
share/man/man4/Makefile: revision 1.460 via patch
sys/arch/i386/conf/INSTALL: revision 1.323 via patch
sys/dev/pci/if_liireg.h: revision 1.1 via patch
Add a driver for the Atheros/Attansic L2 Fast-Ethernet chip found on a
series of hardware that includes Asus's famous EeePC.
 1.73.2.9  27-Sep-2007  xtraeme Pull up following revision(s) (requested by mlelstv in ticket #895):
sys/dev/usb/uslsa.c: revision 1.1
sys/dev/usb/uslsa.c: revision 1.2
sys/dev/usb/uslsa.c: revision 1.3
sys/dev/usb/usbdevs: revision 1.466 (via patch)
share/man/man4/uslsa.4: revision 1.1
share/man/man4/Makefile: revision 1.429
sys/arch/i386/conf/GENERIC: revision 1.828
distrib/sets/lists/man/mi: revision 1.1002
sys/dev/usb/files.usb: revision 1.77
sys/arch/i386/conf/ALL: revision 1.99

From PR kern/33496 - add uslsa(4), a CP210x USB-RS232 ucom driver.
 1.73.2.8  29-Aug-2007  liamjfoy Pull up following (requested by xtraeme ticket #846):

Import i386/gcscide(4). A driver for the IDE Controller of the
AMD CS5535 Companion device found in the decTOP.

gcscide0 at pci0 dev 15 function 2
gcscide0: National Semiconductor/AMD CS5535 IDE Controller (rev. 0x00)

Supports Ultra DMA mode 4, Pio Mode 4 and MDMA mode 2.

"Go for it" jmcneill@.
 1.73.2.7  19-Jun-2007  liamjfoy Pull up following revision(s) (requested by riz in ticket #734):
sys/arch/i386/pci/glxsb.c: revision 1.1
sys/arch/i386/conf/GENERIC: revision 1.833
share/man/man4/man4.i386/glxsb.4: revision 1.1
sys/arch/i386/conf/ALL: revision 1.104
share/man/man4/man4.i386/Makefile: revision 1.66
sys/arch/i386/conf/files.i386: revision 1.309
distrib/sets/lists/man/mi: revision 1.1007
Import driver for the AMD Geode LX AES Security Block, from OpenBSD. The
glxsb(4) driver provides random numbers and AES acceleration.
Add man page for AMD Geode LX AES Security Block driver.
Enable glxsb(4)
 1.73.2.6  25-May-2007  pavel Pull up following revision(s) (requested by riz in ticket #670):
sys/netinet/tcp_input.c: revision 1.265
sys/netinet/tcp_input.c: revision 1.266
sys/arch/i386/conf/ALL: revision 1.98
Revert a small part of revision 1.254 - remove const qualifier from
the struct tcphdr * argument of tcp_dooptions(). RFC2385 support
(options TCP_SIGNATURE) needs to modify the header during options
processing, and this revision broke it.
OK yamt@.

Fix compilation in the TCP_SIGNATURE case:
- don't use void * for pointer arithmetic
- don't try to modify const parameters
A kernel with 'options TCP_SIGNATURE' works as well as it ever did, now.
(ie, clunky, but passable)

Add 'options TCP_SIGNATURE' to hopefully keep this code from
invisibly breaking periodically, as it's done a couple times.
 1.73.2.5  13-May-2007  pavel branches: 1.73.2.5.2;
Pull up patch (requested by xtraeme in ticket #633):
sys/arch/amd64/conf/GENERIC: patch
sys/arch/i386/conf/ALL: patch
sys/arch/i386/conf/GENERIC: patch
sys/conf/files: patch
sys/dev/acpi/files.acpi: patch
sys/dev/acpi/ug_acpi.c: patch
sys/dev/ic/ug.c: patch
sys/dev/ic/ugreg.h: patch
sys/dev/ic/ugvar.h: patch
sys/dev/isa/files.isa: patch
sys/dev/isa/ug_isa.c: patch
share/man/man4/ug.4: patch
doc/CHANGES: patch
sys/dev/isa/ug.c: delete
sys/dev/isa/ugvar.h: delete

Add an acpi attachement for the ug hardware monitor driver.
 1.73.2.4  20-Feb-2007  tron Remove entry for srt(4) pseudo device which isn't supported in the
"netbsd-4" branch.

This fixes build problems caused by ticket #434.
 1.73.2.3  18-Feb-2007  tron Pull up following revision(s) (requested by hubertf in ticket #434):
sys/arch/i386/conf/ALL: revision 1.78
Enable Altq and some others, sinced from GENERIC
 1.73.2.2  21-Dec-2006  tron Pull up following revision(s) (requested by bouyer in ticket #287):
sys/arch/i386/conf/INSTALL: revision 1.299
sys/arch/i386/conf/XEN2_DOM0: revision 1.20
sys/arch/i386/conf/GENERIC: revision 1.803
sys/dev/pci/files.pci: revision 1.275
sys/arch/i386/conf/GENERIC_LAPTOP: revision 1.218
sys/arch/amd64/conf/GENERIC: revision 1.123
sys/dev/pci/if_bnx.c: revision 1.1
share/man/man4/bnx.4: revision 1.1
distrib/sets/lists/man/mi: revision 1.959
sys/arch/amd64/conf/INSTALL: revision 1.62
sys/dev/microcode/bnx/bnxfw.h: revision 1.1
sys/arch/i386/conf/ALL: revision 1.76
sys/dev/pci/if_bnxreg.h: revision 1.1
share/man/man4/Makefile: revision 1.417
sys/arch/i386/conf/INSTALL_LAPTOP: revision 1.112
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.73.2.1  21-Dec-2006  tron Pull up following revision(s) (requested by bouyer in ticket #286):
sys/arch/i386/conf/INSTALL: revision 1.298
sys/arch/i386/conf/GENERIC: revision 1.802
sys/dev/pci/files.pci: revision 1.274
sys/arch/amd64/conf/GENERIC: revision 1.122
sys/dev/pci/mfi_pci.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.958
sys/arch/amd64/conf/INSTALL: revision 1.61
sys/arch/i386/conf/ALL: revision 1.75
sys/dev/ic/mfireg.h: revision 1.1
share/man/man4/Makefile: revision 1.416
sys/dev/ic/mfi.c: revision 1.1
sys/arch/i386/conf/XEN2_DOM0: revision 1.19
sys/dev/ic/mfivar.h: revision 1.1
sys/conf/files: revision 1.821
share/man/man4/mfi.4: revision 1.1
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
Ported from OpenBSD, tested on i386 and amd64.
 1.73.2.5.2.4  03-Jun-2008  skrll Sync with netbsd-4.
 1.73.2.5.2.3  30-Sep-2007  wrstuden Catch up on netbsd-4 as of a few days ago.
 1.73.2.5.2.2  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.73.2.5.2.1  04-Jun-2007  wrstuden Update to today's netbsd-4.
 1.81.2.6  17-May-2007  yamt sync with head.
 1.81.2.5  07-May-2007  yamt sync with head.
 1.81.2.4  15-Apr-2007  yamt sync with head.
 1.81.2.3  24-Mar-2007  yamt sync with head.
 1.81.2.2  12-Mar-2007  rmind Sync with HEAD.
 1.81.2.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.85.4.1  11-Jul-2007  mjf Sync with head.
 1.85.2.10  03-Dec-2007  ad Sync with HEAD.
 1.85.2.9  03-Dec-2007  ad Sync with HEAD.
 1.85.2.8  12-Oct-2007  ad Sync with head.
 1.85.2.7  09-Oct-2007  ad Sync with head.
 1.85.2.6  20-Aug-2007  ad Sync with HEAD.
 1.85.2.5  15-Jul-2007  ad Sync with head.
 1.85.2.4  09-Jun-2007  ad Sync with head.
 1.85.2.3  27-May-2007  ad Sync with head.
 1.85.2.2  10-Apr-2007  ad Sync with head.
 1.85.2.1  13-Mar-2007  ad Sync with head.
 1.88.2.2  29-Mar-2007  reinoud Pullup to -current
 1.88.2.1  18-Mar-2007  reinoud First attempt to bring branch in sync with HEAD
 1.95.2.4  16-Oct-2007  garbled Sync with HEAD
 1.95.2.3  03-Oct-2007  garbled Sync with HEAD
 1.95.2.2  26-Jun-2007  garbled Sync with HEAD.
 1.95.2.1  22-May-2007  matt Update to HEAD.
 1.113.4.3  10-Sep-2007  skrll Sync with HEAD.
 1.113.4.2  03-Sep-2007  skrll Sync with HEAD.
 1.113.4.1  15-Aug-2007  skrll Sync with HEAD.
 1.113.2.1  07-Aug-2007  matt Sync with HEAD.
 1.115.4.15  09-Dec-2007  jmcneill Sync with HEAD.
 1.115.4.14  03-Dec-2007  joerg Sync with HEAD.
 1.115.4.13  21-Nov-2007  joerg Sync with HEAD.
 1.115.4.12  14-Nov-2007  joerg Sync with HEAD.
 1.115.4.11  11-Nov-2007  joerg Sync with HEAD.
 1.115.4.10  04-Nov-2007  jmcneill Sync with HEAD.
 1.115.4.9  31-Oct-2007  joerg Sync with HEAD.
 1.115.4.8  29-Oct-2007  joerg Sync with HEAD.
 1.115.4.7  28-Oct-2007  joerg Sync with HEAD.
 1.115.4.6  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.115.4.5  07-Oct-2007  joerg Sync with HEAD.
 1.115.4.4  02-Oct-2007  joerg Rewrite the ACPI Embedded Controller handler to use pure event driven
operation. On suspend a special flag is set to force explicit polling
as AcpiLeaveSleep accesses the interrupt before GPE handling is
restored. The driver uses a kernel thread to handle GPE queries and
mutex/condvar for synchronisation.

Split the ACPI EC into two drivers, one that is attached directly by
acpi.c for the ECDT driven attachment and the normal acpiec for late
attachment. Share almost all code between this two drivers. If acpiecdt
is attached, acpiec is returning. This was discussed with cube@ and is
the best solution so far.
 1.115.4.3  02-Oct-2007  joerg Sync with HEAD.
 1.115.4.2  04-Sep-2007  joerg Don't use a global variable to decide whether this is a ICH6+,
use a variable in the softc to determine whether the RCBA is supported.
Add generic HPET support for ICH5 and ICH6+.

This is not (yet) enabled by default, until someone adds the code to
not use the direct attachment if hpet was configured via ACPI.
 1.115.4.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.118.2.3  23-Mar-2008  matt sync with HEAD
 1.118.2.2  09-Jan-2008  matt sync with HEAD
 1.118.2.1  06-Nov-2007  matt sync with HEAD
 1.123.2.1  14-Oct-2007  yamt sync with head.
 1.125.2.3  21-Nov-2007  bouyer Sync with HEAD
 1.125.2.2  18-Nov-2007  bouyer Sync with HEAD
 1.125.2.1  13-Nov-2007  bouyer Sync with HEAD
 1.133.2.4  18-Feb-2008  mjf Sync with HEAD.
 1.133.2.3  27-Dec-2007  mjf Sync with HEAD.
 1.133.2.2  08-Dec-2007  mjf Sync with HEAD.
 1.133.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.143.2.2  26-Dec-2007  ad Sync with head.
 1.143.2.1  08-Dec-2007  ad Sync with head.
 1.145.2.1  11-Dec-2007  yamt sync with head.
 1.146.2.6  23-Jan-2008  bouyer Sync with HEAD.
 1.146.2.5  19-Jan-2008  bouyer Sync with HEAD
 1.146.2.4  10-Jan-2008  bouyer Sync with HEAD
 1.146.2.3  08-Jan-2008  bouyer Sync with HEAD
 1.146.2.2  02-Jan-2008  bouyer Sync with HEAD
 1.146.2.1  13-Dec-2007  bouyer Sync with HEAD
 1.160.6.5  17-Jan-2009  mjf Sync with HEAD.
 1.160.6.4  05-Oct-2008  mjf Sync with HEAD.
 1.160.6.3  28-Sep-2008  mjf Sync with HEAD.
 1.160.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.160.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.166.2.2  04-Jun-2008  yamt sync with head
 1.166.2.1  18-May-2008  yamt sync with head.
 1.167.2.8  09-Oct-2010  yamt sync with head
 1.167.2.7  11-Aug-2010  yamt sync with head.
 1.167.2.6  11-Mar-2010  yamt sync with head
 1.167.2.5  16-Sep-2009  yamt sync with head
 1.167.2.4  19-Aug-2009  yamt sync with head.
 1.167.2.3  16-May-2009  yamt sync with head
 1.167.2.2  04-May-2009  yamt sync with head.
 1.167.2.1  16-May-2008  yamt sync with head.
 1.170.2.4  10-Oct-2008  skrll Sync with HEAD.
 1.170.2.3  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.170.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.170.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.173.4.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.173.4.1  19-Oct-2008  haad Sync with HEAD.
 1.183.4.11  23-Jun-2013  bouyer Pull up following revision(s) (requested by mbalmer in ticket #1863):
distrib/sets/lists/man/mi: revision 1.1411
share/man/man4/gpio.4: revision 1.24
sys/arch/i386/conf/ALL: revision 1.348
sys/arch/i386/conf/files.i386: revision 1.369
sys/dev/isa/ptcd.c: revision 1.1
share/man/man4/Makefile: revision 1.593
share/man/man4/ptcd.4: revision 1.1, 1.3, 1.4
ptcd(4) is a device driver for the cash drawer port found on Protech PS3100
point of sale terminals. It controls the cash drawer using a gpio(4) device
that attaches at ptcd0: Pin 0 controls the drawer, pin 1 reports the current
state. For details read the manual page.
Mention ptcd(4) in the synopsis.
 1.183.4.10  19-Jun-2013  bouyer Pullup the following revisions via patch, requested by msaitoh in ticket #1850:
sys/dev/pci/if_wm.c 1.201, 1.203-1.204,
1.207-1.212, 1.215,
1.217-1.218, 1.220-1.223,
1.228, 1.232-245
sys/dev/pci/if_wmreg.h 1.40-1.45, 1.47-1.48
sys/dev/pci/if_wmvar.h 1.11-1.13
sys/dev/pci/pcidevs 1.1074, 1.1077, 1.1117
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/igphyreg.h 1.6
sys/dev/mii/ihphy.c 1.1-1.2
sys/dev/mii/ihphyreg.h 1.1
sys/dev/mii/inbmphyreg.h 1.3
sys/dev/mii/files.mii 1.47 via patch
sys/dev/mii/miidevs 1.97 and 1.100
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
sys/arch/i386/conf/ALL 1.280
sys/arch/i386/conf/GENERIC 1.1001
sys/arch/i386/conf/INSTALL_FLOPPY 1.11
sys/arch/i386/conf/XEN2_DOM0 patch
sys/arch/amd64/conf/GENERIC 1.293
sys/arch/amd64/conf/XEN3_DOM0 1.61
share/man/man4/wm.4 1.21-1.24

Apply almost all fixes and improvements from netbsd-6 except for
the rev. 1.196's iqdrops' change.

- Add the detach code.
- Add code for WOL, ASF, IPMI and Intel AMT. WOL is disabled by default
- Add Yet another workaround for ICH8.
- 82576 is dual port, so check the FUNCID and increment the MAC address for
the 2nd port.
- Fix the names of 82577L[MC] LAN controllers (for mobile).
- Fix CTRL_EXT_SWDPIN() and CTRL_EXT_SWDPIO() macros. The bit order of the
SW definable pin is not 6543 but 3654!!!
- Rewrite the code to read MAC address from eeprom.
- Add 82580 support.
- 82571 quirk. Only 82571 shares port 0 of EEMNGCTL_CFGDONE.
- The document says that the TDH register must be set after
TCL.EN is set on 82575 and newer devices.
- Fix some register names. No functional change.
- Omit U+00AE "REGISTERED SIGN" in a product name due to its non-ASCII nature.
- Stop wm(4) from needlessly resetting when you add or delete a vlan(4).
- Fix MAC address check on 8257[156] and 80003 case. Some cards have non 0xffff
pointer but those don't use alternative MAC address in reality. So we check
whether the broadcast bit is set or not like Intel's e1000 driver.
Fixes PR kern/44072 reported by Jean-Yves Moulin.
- Add PCH2(and 82579) support. Fixes PR#46487
- Add yet another 82567V support.
- Add ICH10+HANKSVILL support.
- Add support Intel I350 Ethernet.
- Make vlan and all ip/ip6 checksum offload work for the I350.
- Fix compile error with WM_DEBUG.
- Fix a bug that PHY isn't set to low-power mode on PCH and PCH2.
- Add WM_DEBUG_NVM. If WM_DEBUG_NVM is enabled, dump the FLASH ROM data.
- Skip 64bit BAR correctly.
- Fix RAL_TABSIZE for ICH8, 82576, 82580 and I350.
- Use 82580(and I350) specific PHY read/write functions. Fixes PR#47542.
- Style fix. Fix typo in comment. Fix comments. Add comments.
 1.183.4.9  25-Jan-2012  riz Pull up following revision(s) (requested by hannken in ticket #1715):
- Be robust against an invalid timer period value.
sys/dev/ic/hpetreg.h Rev. 1.4
sys/dev/ic/hpet.c Rev. 1.8

- Fix wrong definition of LAPIC_LEVEL_ASSERT / _MASK
sys/arch/x86/include/i82489reg.h Rev. 1.11

- Add virtio driver - speed up disk and network access in virtual environments
sys/arch/i386/conf/GENERIC Rev. 1.1055
sys/arch/i386/conf/ALL Rev. 1.325
sys/arch/amd64/conf/GENERIC Rev. 1.338
sys/dev/pci/files.pci Rev. 1.350
sys/dev/pci/if_vioif.c Rev. 0-1.2
sys/dev/pci/ld_virtio.c Rev. 0-1.4
sys/dev/pci/viomb.c Rev. 0-1.1
sys/dev/pci/virtio.c Rev. 0-1.3
sys/dev/pci/virtioreg.h Rev. 0-1.1
sys/dev/pci/virtiovar.h Rev. 0-1.1
distrib/sets/lists/man/mi Rev. 1.1352 and 1.1358
share/man/man4/Makefile Rev. 1.573 and 1.575
share/man/man4/ld.4 Rev. 1.19
share/man/man4/virtio.4 Rev. 0-1.4
share/man/man4/vioif.4 Rev. 0-1.2
share/man/man4/viomb.4 Rev. 0-1.2

Allow NetBSD to run unmodified under Linux/kvm.
 1.183.4.8  21-Nov-2010  riz Pull up following revision(s) (requested by plunky in ticket #1407):
sys/dev/bluetooth/btdev.h: revision 1.9
sys/arch/iyonix/conf/GENERIC: revision 1.60
sys/arch/sparc64/conf/GENERIC: revision 1.129
sys/dev/usb/hid.c: revision 1.30
sys/dev/usb/hid.h: revision 1.13
sys/arch/i386/conf/GENERIC: revision 1.983
usr.sbin/btdevctl/print.c: revision 1.10
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.16
sys/arch/alpha/conf/GENERIC: revision 1.337
sys/dev/bluetooth/files.bluetooth: revision 1.14
sys/arch/evbarm/conf/GUMSTIX: revision 1.49
sys/dev/usb/usbdevs: revision 1.550
sys/arch/evbppc/conf/OPENBLOCKS266_OPT: revision 1.14
sys/arch/hpcsh/conf/GENERIC: revision 1.91
sys/dev/bluetooth/btmagic.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.1210
sys/arch/amd64/conf/GENERIC: revision 1.279
sys/arch/i386/conf/ALL: revision 1.258
sys/arch/amd64/conf/XEN3_DOM0: revision 1.54
sys/arch/hpcarm/conf/JORNADA720: revision 1.78
sys/dev/usb/hid.c: revision 1.29
share/man/man4/btmagic.4: revision 1.1
hid_get_data() does not work if the size of data is less than
a byte and crosses a byte boundary, and it always returns a
sign-extended value.
fix this by using the algorithm from libusbhid to read bytes,
and provide a hid_get_udata() function to return unsigned data
values.
while here, const args
update DPRINTF to reflect actual function name
add Apple Magic Mouse product-id
regen for Magic Mouse id
allow for vendor-id and product-id properties, passing them
through to child devices
add Magic Mouse driver and manpage btmagic(4)
additionally query the "PnP Information" service record to discover
any USB Forum vendor-id and product-id values and store them in the
property list if found.
add btmagic(4) where other Bluetooth drivers are listed
 1.183.4.7  28-Oct-2009  bouyer Pull up the following revisions, requested by sborrill in ticket #1114:
share/man/man4/sdhc.4 1.1-1.2
sys/dev/pci/sdhc_pci.c 1.1-1.3
distrib/sets/lists/man/mi patch
share/man/man4/Makefile patch
sys/arch/amd64/conf/GENERIC patch
sys/arch/i386/conf/ALL patch
sys/arch/i386/conf/GENERIC patch
sys/dev/pci/files.pci patch
sys/dev/pci/pcidevs patch
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen

Add sdhc(4), a driver for SD controllers following the SD Host
Controller Standard Simplified Specification.
 1.183.4.6  08-Oct-2009  sborrill Pull up the following revisions(s) (requested by jmcneill in ticket #1045):
distrib/sets/lists/man/mi: revision 1.1160
share/man/man4/Makefile: revision 1.499
share/man/man4/wb.4: revision 1.1-1.2
share/man/man4/ld.4: revision 1.17
sys/arch/i386/conf/ALL: revision 1.215-1.216 + patch
sys/arch/i386/conf/GENERIC: revision 1.946-1.947 + patch
sys/arch/amd64/conf/GENERIC: revision 1.254-1.256 + patch
sys/conf/files: revision 1.958
sys/dev/acpi/files.acpi: revision 1.59
sys/dev/acpi/wb_acpi.c: revision 1.1
sys/dev/ic/w83l518d.c: revision 1.1
sys/dev/ic/w83l518d_sdmmc.c: revision 1.1
sys/dev/ic/w83l518d_sdmmc.h: revision 1.1
sys/dev/ic/w83l518dreg.h: revision 1.1
sys/dev/ic/w83l518dvar.h.c: revision 1.1

wb(4): Add a driver for Winbond W83L518D SD/MMC readers.
 1.183.4.5  05-Oct-2009  sborrill Pull up the following revisions(s) (requested by jmcneill in ticket #1061):
sys/arch/x86/conf/files.x86: revision 1.53
sys/arch/x86/include/cpuvar.h: revision 1.31
sys/arch/x86/x86/identcpu.c: revision 1.17
sys/arch/x86/x86/viac7temp.c: revision 1.1
sys/arch/i386/conf/ALL: revision 1.218
sys/arch/i386/conf/GENERIC: revision 1.949
Add support for VIA C7 temperature sensors (options VIA_C7TEMP) and enable
in i386 GENERIC kernel.
 1.183.4.4  26-Sep-2009  snj Pull up following revision(s) (requested by jmcneill in ticket #946):
distrib/sets/lists/man/mi: revision 1.1155
doc/CHANGES: revision 1.1285
etc/MAKEDEV.tmpl: revision 1.128
share/man/man4/Makefile: revision 1.498 via patch
share/man/man4/hdaudio.4: revision 1.1-1.3
share/man/man8/MAKEDEV.8: revision 1.36
sys/arch/amd64/conf/GENERIC: revision 1.250-1.251
sys/arch/amd64/conf/XEN3_DOM0: revision 1.44-1.45
sys/arch/i386/conf/ALL: revision 1.206-1.207
sys/arch/i386/conf/GENERIC: revision 1.942-1.943
sys/arch/i386/conf/XEN3_DOM0: patch
sys/conf/majors: revision 1.47 via patch
sys/dev/pci/hdaudio/files.hdaudio: revision 1.1-1.2
sys/dev/pci/hdaudio/hdaudio.c: revision 1.1-1.4
sys/dev/pci/hdaudio/hdaudio_afg.c: revisions 1.1-1.14
sys/dev/pci/hdaudio/hdaudio_mixer.h: revisions 1.1-1.3
sys/dev/pci/hdaudio/hdaudio_pci.c: revisions 1.1-1.2
sys/dev/pci/hdaudio/hdaudioio.h: revisions 1.1-1.2
sys/dev/pci/hdaudio/hdaudioreg.h: revisions 1.1-1.3
sys/dev/pci/hdaudio/hdaudiovar.h: revisions 1.1-1.4
sys/dev/pci/files.pci: revisions 1.319 and 1.322 via patch
hdaudio(4) is a standards-compliant driver for 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:
hdaudio* at pci? dev ? function ?
hdafg* at hdaudiobus?
You should also:
cd /dev
sh MAKEDEV audio
 1.183.4.3  13-Sep-2009  snj Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/arch/i386/conf/ALL: revision 1.186
sys/arch/i386/conf/GENERIC: revision 1.921
add options PMS_ELANTECH_TOUCHPAD
 1.183.4.2  01-May-2009  snj Pull up following revision(s) (requested by jmcneill in ticket #260):
sys/arch/i386/conf/ALL: revision 1.187
sys/arch/i386/conf/GENERIC: revision 1.922
PR# port-i386/40284: add AMD Geode CS5536 audio driver; add gcscaudio(4)
to i386 GENERIC and ALL kernels
 1.183.4.1  18-Nov-2008  snj branches: 1.183.4.1.4;
Apply patch (requested by bouyer in ticket #65):
Add i386-specific COMPAT_30_PTHREAD option (enabled where COMPAT_30
is enabled), which restore binary compatibility with netbsd-3 libpthread.
 1.183.4.1.4.1  21-Apr-2010  matt sync to netbsd-5
 1.183.2.3  28-Apr-2009  skrll Sync with HEAD.
 1.183.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.183.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.191.2.7  27-Aug-2011  jym Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.
 1.191.2.6  02-May-2011  jym Sync with head.
 1.191.2.5  29-Mar-2011  jym More sync fixes. And add the mbr_gpt files.
 1.191.2.4  28-Mar-2011  jym Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.
 1.191.2.3  01-Nov-2009  jym Sync with HEAD.
 1.191.2.2  23-Jul-2009  jym Sync with HEAD.
 1.191.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.233.2.5  09-Nov-2010  uebayasi Sync with HEAD.
 1.233.2.4  06-Nov-2010  uebayasi Sync with HEAD.
 1.233.2.3  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.233.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.233.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.249.2.5  31-May-2011  rmind sync with head
 1.249.2.4  21-Apr-2011  rmind sync with head
 1.249.2.3  05-Mar-2011  rmind sync with head
 1.249.2.2  03-Jul-2010  rmind sync with head
 1.249.2.1  30-May-2010  rmind sync with head
 1.284.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.285.2.3  05-Mar-2011  bouyer Sync with HEAD
 1.285.2.2  17-Feb-2011  bouyer Sync with HEAD
 1.285.2.1  08-Feb-2011  bouyer Add QUOTA2 where QUOTA is enabled (and QUOTA2 commented out where QUOTA
is commented out)
 1.307.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.325.2.5  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.325.2.4  23-Jan-2013  yamt sync with head
 1.325.2.3  30-Oct-2012  yamt sync with head
 1.325.2.2  23-May-2012  yamt sync with head.
 1.325.2.1  17-Apr-2012  yamt sync with head
 1.327.2.6  29-Apr-2012  mrg sync to latest -current.
 1.327.2.5  11-Mar-2012  mrg sync to latest -current
 1.327.2.4  06-Mar-2012  mrg sync to -current
 1.327.2.3  06-Mar-2012  mrg sync to -current
 1.327.2.2  04-Mar-2012  mrg sync to latest -current.
 1.327.2.1  18-Feb-2012  mrg merge to -current.
 1.332.2.5  16-Apr-2015  snj Pull up following revision(s) (requested by mbalmer in ticket #891):
distrib/sets/lists/man/mi: revision 1.1411
share/man/man4/Makefile: revision 1.593
share/man/man4/gpio.4: revision 1.24
share/man/man4/ptcd.4: revision 1.1-1.4
sys/arch/i386/conf/ALL: revision 1.348
sys/arch/i386/conf/files.i386: revision 1.369
sys/dev/isa/ptcd.c: revision 1.1
ptcd(4) is a device driver for the cash drawer port found on Protech PS3100
point of sale terminals. It controls the cash drawer using a gpio(4) device
that attaches at ptcd0: Pin 0 controls the drawer, pin 1 reports the current
state. For details read the manual page.
--
Mention ptcd(4) in the synopsis.
--
Add ptcd(4).
--
Mention ibmcd(4).
--
Sort sections.
--
Sort SEE ALSO.
 1.332.2.4  27-Oct-2014  msaitoh Pull up following revision(s) (requested by riastradh in ticket #1128):
sys/arch/i386/conf/ALL: revision 1.372
Remove FFS_NO_SNAPSHOT from x86/ALL so we do compile the snapshot code.
 1.332.2.3  12-Jun-2012  riz Pull up following revision(s) (requested by abs in ticket #311):
sys/arch/netwinder/conf/GENERIC: revision 1.112
sys/arch/i386/conf/GENERIC: revision 1.1074
sys/arch/atari/conf/MILAN.in: revision 1.26
sys/arch/zaurus/conf/GENERIC: revision 1.54
sys/arch/shark/conf/GENERIC: revision 1.101
sys/arch/hpcmips/conf/MPC303: revision 1.60
sys/arch/i386/conf/XEN3_DOM0: revision 1.67
sys/arch/evbarm/conf/MPCSA_GENERIC: revision 1.29
sys/arch/vax/conf/GENERIC: revision 1.181
sys/arch/sparc/conf/KRUPS: revision 1.59
sys/arch/evbarm/conf/BEAGLEBOARD: revision 1.27
sys/arch/i386/conf/INSTALL_FLOPPY: revision 1.16
sys/arch/prep/conf/GENERIC: revision 1.163
sys/arch/hpcmips/conf/GENERIC: revision 1.216
sys/arch/sparc/conf/TADPOLE3GX: revision 1.56
sys/arch/shark/conf/INSTALL: revision 1.50
sys/arch/next68k/conf/GENERIC: revision 1.127
sys/arch/evbppc/conf/VIRTEX_GSRD2: revision 1.16
sys/arch/evbppc/conf/VIRTEX_DFC: revision 1.17
sys/arch/evbppc/conf/EXPLORA451: revision 1.48
sys/arch/bebox/conf/INSTALL: revision 1.54
sys/arch/next68k/conf/SLAB: revision 1.46
sys/arch/i386/conf/GENERIC_TINY: revision 1.132
sys/arch/bebox/conf/GENERIC: revision 1.131
sys/arch/amd64/conf/XEN3_DOM0: revision 1.84
sys/arch/amd64/conf/GENERIC: revision 1.356
sys/arch/evbarm/conf/MMNET_GENERIC: revision 1.6
share/man/man4/wscons.4: revision 1.31
sys/arch/hpcmips/conf/TX3912: revision 1.79
sys/arch/evbarm/conf/ARMADILLO9: revision 1.35
sys/arch/hpcsh/conf/GENERIC: revision 1.97
sys/arch/i386/conf/ALL: revision 1.339
sys/arch/hpcmips/conf/TX3922: revision 1.93
sys/arch/cats/conf/INSTALL: revision 1.82
sys/arch/sparc64/conf/GENERIC: revision 1.151
sys/arch/i386/conf/INSTALL_TINY: revision 1.135
sys/arch/evbppc/conf/VIRTEX_GSRD1: revision 1.15
sys/arch/evbarm/conf/TS7200: revision 1.49
sys/arch/hpcmips/conf/VR41XX: revision 1.55
sys/arch/hp700/conf/GENERIC: revision 1.115
sys/arch/cats/conf/GENERIC: revision 1.140
Mention wsconscfg(8) needs WSDISPLAY_COMPAT_USL
If a port is going to have wscons for virtual terminals then it really make=
s
sense to enable WSDISPLAY_COMPAT_USL so the system can switch between the
virtual terminals...
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.
 1.332.2.2  23-Apr-2012  riz Pull up following revision(s) (requested by bouyer in ticket #193):
sys/arch/i386/conf/GENERIC: revision 1.1072
sys/dev/pci/mpii.c: revision 1.1
sys/arch/i386/conf/XEN3_DOM0: revision 1.66
sys/dev/pci/files.pci: revision 1.357
share/man/man4/Makefile: revision 1.584
distrib/sets/lists/man/mi: revision 1.1387
share/man/man4/mpii.4: revision 1.1
sys/arch/amd64/conf/GENERIC: revision 1.354
sys/arch/amd64/conf/XEN3_DOM0: revision 1.83
sys/arch/i386/conf/ALL: revision 1.337
Add mpii(4), a driver for LSI Logic Fusion-MPT Message Passing Interface II
SAS controllers. Ported from OpenBSD.
 1.332.2.1  02-Mar-2012  riz Pull up following revision(s) (requested by tron in ticket #63):
sys/ufs/chfs/chfs_inode.h: revision 1.2
sys/ufs/chfs/chfs_malloc.c: revision 1.2
sys/arch/i386/conf/ALL: revision 1.333
sys/ufs/chfs/chfs_pool.c: revision 1.2
Make this compile again. From Paul Fleischer.
Add Chip File System.
 1.343.2.5  03-Dec-2017  jdolecek update from HEAD
 1.343.2.4  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.343.2.3  23-Jun-2013  tls resync from head
 1.343.2.2  25-Feb-2013  tls resync with head
 1.343.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.361.2.2  18-May-2014  rmind sync with head
 1.361.2.1  28-Aug-2013  rmind sync with head
 1.370.2.1  10-Aug-2014  tls Rebase.
 1.380.2.4  05-Apr-2017  snj Pull up following revision(s) (requested by skrll in ticket #1395):
share/man/man4/axe.4: netbsd-7-nhusb
share/man/man4/axen.4: netbsd-7-nhusb
share/man/man4/cdce.4: netbsd-7-nhusb
share/man/man4/uaudio.4: netbsd-7-nhusb
share/man/man4/ucom.4: netbsd-7-nhusb
share/man/man4/uep.4: netbsd-7-nhusb
share/man/man4/urtw.4: netbsd-7-nhusb
share/man/man4/usb.4: netbsd-7-nhusb
share/man/man4/uyap.4: netbsd-7-nhusb
share/man/man4/xhci.4: netbsd-7-nhusb
share/man/man9/usbdi.9: netbsd-7-nhusb
sys/arch/amd64/conf/ALL: netbsd-7-nhusb
sys/arch/amd64/conf/GENERIC: netbsd-7-nhusb
sys/arch/amiga/dev/slhci_zbus.c: netbsd-7-nhusb
sys/arch/arm/allwinner/awin_otg.c: netbsd-7-nhusb
sys/arch/arm/allwinner/awin_usb.c: netbsd-7-nhusb
sys/arch/arm/amlogic/amlogic_dwctwo.c: netbsd-7-nhusb
sys/arch/arm/at91/at91ohci.c: netbsd-7-nhusb
sys/arch/arm/broadcom/bcm2835_dwctwo.c: netbsd-7-nhusb
sys/arch/arm/broadcom/bcm53xx_usb.c: netbsd-7-nhusb
sys/arch/arm/ep93xx/epohci.c: netbsd-7-nhusb
sys/arch/arm/gemini/obio_ehci.c: netbsd-7-nhusb
sys/arch/arm/imx/files.imx23: netbsd-7-nhusb
sys/arch/arm/imx/imxusb.c: netbsd-7-nhusb
sys/arch/arm/imx/imxusbreg.h: netbsd-7-nhusb
sys/arch/arm/omap/obio_ohci.c: netbsd-7-nhusb
sys/arch/arm/omap/omap3_ehci.c: netbsd-7-nhusb
sys/arch/arm/omap/omapl1x_ohci.c: netbsd-7-nhusb
sys/arch/arm/omap/tiotg.c: netbsd-7-nhusb
sys/arch/arm/s3c2xx0/ohci_s3c24x0.c: netbsd-7-nhusb
sys/arch/arm/samsung/exynos_usb.c: netbsd-7-nhusb
sys/arch/arm/xscale/pxa2x0_ohci.c: netbsd-7-nhusb
sys/arch/arm/zynq/zynq_usb.c: netbsd-7-nhusb
sys/arch/hpcarm/dev/nbp_slhci.c: netbsd-7-nhusb
sys/arch/hpcmips/dev/plumohci.c: netbsd-7-nhusb
sys/arch/i386/conf/ALL: netbsd-7-nhusb
sys/arch/i386/conf/GENERIC: netbsd-7-nhusb
sys/arch/i386/pci/gcscehci.c: netbsd-7-nhusb
sys/arch/luna68k/conf/GENERIC: netbsd-7-nhusb
sys/arch/mips/adm5120/dev/ahci.c: netbsd-7-nhusb
sys/arch/mips/adm5120/dev/ahcivar.h: netbsd-7-nhusb
sys/arch/mips/alchemy/dev/ohci_aubus.c: netbsd-7-nhusb
sys/arch/mips/atheros/dev/ehci_arbus.c: netbsd-7-nhusb
sys/arch/mips/atheros/dev/ohci_arbus.c: netbsd-7-nhusb
sys/arch/mips/conf/files.adm5120: netbsd-7-nhusb
sys/arch/mips/ralink/ralink_ehci.c: netbsd-7-nhusb
sys/arch/mips/ralink/ralink_ohci.c: netbsd-7-nhusb
sys/arch/mips/rmi/rmixl_ehci.c: netbsd-7-nhusb
sys/arch/mips/rmi/rmixl_ohci.c: netbsd-7-nhusb
sys/arch/playstation2/dev/ohci_sbus.c: netbsd-7-nhusb
sys/arch/powerpc/booke/dev/pq3ehci.c: netbsd-7-nhusb
sys/arch/powerpc/ibm4xx/dev/dwctwo_plb.c: netbsd-7-nhusb
sys/arch/x68k/dev/slhci_intio.c: netbsd-7-nhusb
sys/conf/files: netbsd-7-nhusb
sys/dev/cardbus/ehci_cardbus.c: netbsd-7-nhusb
sys/dev/cardbus/ohci_cardbus.c: netbsd-7-nhusb
sys/dev/cardbus/uhci_cardbus.c: netbsd-7-nhusb
sys/dev/ic/sl811hs.c: netbsd-7-nhusb
sys/dev/ic/sl811hsvar.h: netbsd-7-nhusb
sys/dev/isa/slhci_isa.c: netbsd-7-nhusb
sys/dev/marvell/ehci_mv.c: netbsd-7-nhusb
sys/dev/pci/ehci_pci.c: netbsd-7-nhusb
sys/dev/pci/ohci_pci.c: netbsd-7-nhusb
sys/dev/pci/uhci_pci.c: netbsd-7-nhusb
sys/dev/pci/xhci_pci.c: netbsd-7-nhusb
sys/dev/pcmcia/slhci_pcmcia.c: netbsd-7-nhusb
sys/dev/usb/Makefile.usbdevs: netbsd-7-nhusb
sys/dev/usb/TODO: netbsd-7-nhusb
sys/dev/usb/TODO.usbmp: netbsd-7-nhusb
sys/dev/usb/aubtfwl.c: netbsd-7-nhusb
sys/dev/usb/auvitek.c: netbsd-7-nhusb
sys/dev/usb/auvitek_audio.c: netbsd-7-nhusb
sys/dev/usb/auvitek_dtv.c: netbsd-7-nhusb
sys/dev/usb/auvitek_i2c.c: netbsd-7-nhusb
sys/dev/usb/auvitek_video.c: netbsd-7-nhusb
sys/dev/usb/auvitekvar.h: netbsd-7-nhusb
sys/dev/usb/ehci.c: netbsd-7-nhusb
sys/dev/usb/ehcireg.h: netbsd-7-nhusb
sys/dev/usb/ehcivar.h: netbsd-7-nhusb
sys/dev/usb/emdtv.c: netbsd-7-nhusb
sys/dev/usb/emdtv_dtv.c: netbsd-7-nhusb
sys/dev/usb/emdtv_ir.c: netbsd-7-nhusb
sys/dev/usb/emdtvvar.h: netbsd-7-nhusb
sys/dev/usb/ezload.c: netbsd-7-nhusb
sys/dev/usb/ezload.h: netbsd-7-nhusb
sys/dev/usb/files.usb: netbsd-7-nhusb
sys/dev/usb/hid.c: netbsd-7-nhusb
sys/dev/usb/hid.h: netbsd-7-nhusb
sys/dev/usb/if_athn_usb.c: netbsd-7-nhusb
sys/dev/usb/if_athn_usb.h: netbsd-7-nhusb
sys/dev/usb/if_atu.c: netbsd-7-nhusb
sys/dev/usb/if_atureg.h: netbsd-7-nhusb
sys/dev/usb/if_aue.c: netbsd-7-nhusb
sys/dev/usb/if_auereg.h: netbsd-7-nhusb
sys/dev/usb/if_axe.c: netbsd-7-nhusb
sys/dev/usb/if_axen.c: netbsd-7-nhusb
sys/dev/usb/if_axenreg.h: netbsd-7-nhusb
sys/dev/usb/if_axereg.h: netbsd-7-nhusb
sys/dev/usb/if_cdce.c: netbsd-7-nhusb
sys/dev/usb/if_cdcereg.h: netbsd-7-nhusb
sys/dev/usb/if_cue.c: netbsd-7-nhusb
sys/dev/usb/if_cuereg.h: netbsd-7-nhusb
sys/dev/usb/if_kue.c: netbsd-7-nhusb
sys/dev/usb/if_kuereg.h: netbsd-7-nhusb
sys/dev/usb/if_otus.c: netbsd-7-nhusb
sys/dev/usb/if_otusvar.h: netbsd-7-nhusb
sys/dev/usb/if_rum.c: netbsd-7-nhusb
sys/dev/usb/if_rumreg.h: netbsd-7-nhusb
sys/dev/usb/if_rumvar.h: netbsd-7-nhusb
sys/dev/usb/if_run.c: netbsd-7-nhusb
sys/dev/usb/if_runvar.h: netbsd-7-nhusb
sys/dev/usb/if_smsc.c: netbsd-7-nhusb
sys/dev/usb/if_smscreg.h: netbsd-7-nhusb
sys/dev/usb/if_smscvar.h: netbsd-7-nhusb
sys/dev/usb/if_udav.c: netbsd-7-nhusb
sys/dev/usb/if_udavreg.h: netbsd-7-nhusb
sys/dev/usb/if_upgt.c: netbsd-7-nhusb
sys/dev/usb/if_upgtvar.h: netbsd-7-nhusb
sys/dev/usb/if_upl.c: netbsd-7-nhusb
sys/dev/usb/if_ural.c: netbsd-7-nhusb
sys/dev/usb/if_uralreg.h: netbsd-7-nhusb
sys/dev/usb/if_uralvar.h: netbsd-7-nhusb
sys/dev/usb/if_url.c: netbsd-7-nhusb
sys/dev/usb/if_urlreg.h: netbsd-7-nhusb
sys/dev/usb/if_urndis.c: netbsd-7-nhusb
sys/dev/usb/if_urndisreg.h: netbsd-7-nhusb
sys/dev/usb/if_urtw.c: netbsd-7-nhusb
sys/dev/usb/if_urtwn.c: netbsd-7-nhusb
sys/dev/usb/if_urtwn_data.h: netbsd-7-nhusb
sys/dev/usb/if_urtwnreg.h: netbsd-7-nhusb
sys/dev/usb/if_urtwnvar.h: netbsd-7-nhusb
sys/dev/usb/if_urtwreg.h: netbsd-7-nhusb
sys/dev/usb/if_zyd.c: netbsd-7-nhusb
sys/dev/usb/if_zydreg.h: netbsd-7-nhusb
sys/dev/usb/irmce.c: netbsd-7-nhusb
sys/dev/usb/moscom.c: netbsd-7-nhusb
sys/dev/usb/motg.c: netbsd-7-nhusb
sys/dev/usb/motgvar.h: netbsd-7-nhusb
sys/dev/usb/ohci.c: netbsd-7-nhusb
sys/dev/usb/ohcireg.h: netbsd-7-nhusb
sys/dev/usb/ohcivar.h: netbsd-7-nhusb
sys/dev/usb/pseye.c: netbsd-7-nhusb
sys/dev/usb/slurm.c: netbsd-7-nhusb
sys/dev/usb/stuirda.c: netbsd-7-nhusb
sys/dev/usb/u3g.c: netbsd-7-nhusb
sys/dev/usb/uark.c: netbsd-7-nhusb
sys/dev/usb/uatp.c: netbsd-7-nhusb
sys/dev/usb/uaudio.c: netbsd-7-nhusb
sys/dev/usb/uberry.c: netbsd-7-nhusb
sys/dev/usb/ubsa.c: netbsd-7-nhusb
sys/dev/usb/ubsa_common.c: netbsd-7-nhusb
sys/dev/usb/ubsavar.h: netbsd-7-nhusb
sys/dev/usb/ubt.c: netbsd-7-nhusb
sys/dev/usb/uchcom.c: netbsd-7-nhusb
sys/dev/usb/ucom.c: netbsd-7-nhusb
sys/dev/usb/ucomvar.h: netbsd-7-nhusb
sys/dev/usb/ucycom.c: netbsd-7-nhusb
sys/dev/usb/udl.c: netbsd-7-nhusb
sys/dev/usb/udl.h: netbsd-7-nhusb
sys/dev/usb/udsbr.c: netbsd-7-nhusb
sys/dev/usb/udsir.c: netbsd-7-nhusb
sys/dev/usb/uep.c: netbsd-7-nhusb
sys/dev/usb/uftdi.c: netbsd-7-nhusb
sys/dev/usb/uftdireg.h: netbsd-7-nhusb
sys/dev/usb/ugen.c: netbsd-7-nhusb
sys/dev/usb/ugensa.c: netbsd-7-nhusb
sys/dev/usb/uhci.c: netbsd-7-nhusb
sys/dev/usb/uhcireg.h: netbsd-7-nhusb
sys/dev/usb/uhcivar.h: netbsd-7-nhusb
sys/dev/usb/uhid.c: netbsd-7-nhusb
sys/dev/usb/uhidev.c: netbsd-7-nhusb
sys/dev/usb/uhidev.h: netbsd-7-nhusb
sys/dev/usb/uhmodem.c: netbsd-7-nhusb
sys/dev/usb/uhso.c: netbsd-7-nhusb
sys/dev/usb/uhub.c: netbsd-7-nhusb
sys/dev/usb/uipad.c: netbsd-7-nhusb
sys/dev/usb/uipaq.c: netbsd-7-nhusb
sys/dev/usb/uirda.c: netbsd-7-nhusb
sys/dev/usb/uirdavar.h: netbsd-7-nhusb
sys/dev/usb/ukbd.c: netbsd-7-nhusb
sys/dev/usb/ukbdmap.c: netbsd-7-nhusb
sys/dev/usb/ukyopon.c: netbsd-7-nhusb
sys/dev/usb/ukyopon.h: netbsd-7-nhusb
sys/dev/usb/ulpt.c: netbsd-7-nhusb
sys/dev/usb/umass.c: netbsd-7-nhusb
sys/dev/usb/umass_isdata.c: netbsd-7-nhusb
sys/dev/usb/umass_isdata.h: netbsd-7-nhusb
sys/dev/usb/umass_quirks.c: netbsd-7-nhusb
sys/dev/usb/umass_quirks.h: netbsd-7-nhusb
sys/dev/usb/umass_scsipi.c: netbsd-7-nhusb
sys/dev/usb/umass_scsipi.h: netbsd-7-nhusb
sys/dev/usb/umassvar.h: netbsd-7-nhusb
sys/dev/usb/umcs.c: netbsd-7-nhusb
sys/dev/usb/umct.c: netbsd-7-nhusb
sys/dev/usb/umidi.c: netbsd-7-nhusb
sys/dev/usb/umidi_quirks.c: netbsd-7-nhusb
sys/dev/usb/umidi_quirks.h: netbsd-7-nhusb
sys/dev/usb/umodem.c: netbsd-7-nhusb
sys/dev/usb/umodem_common.c: netbsd-7-nhusb
sys/dev/usb/umodemvar.h: netbsd-7-nhusb
sys/dev/usb/ums.c: netbsd-7-nhusb
sys/dev/usb/uplcom.c: netbsd-7-nhusb
sys/dev/usb/urio.c: netbsd-7-nhusb
sys/dev/usb/urio.h: netbsd-7-nhusb
sys/dev/usb/usb.c: netbsd-7-nhusb
sys/dev/usb/usb.h: netbsd-7-nhusb
sys/dev/usb/usb_mem.c: netbsd-7-nhusb
sys/dev/usb/usb_mem.h: netbsd-7-nhusb
sys/dev/usb/usb_quirks.c: netbsd-7-nhusb
sys/dev/usb/usb_quirks.h: netbsd-7-nhusb
sys/dev/usb/usb_subr.c: netbsd-7-nhusb
sys/dev/usb/usbdevices.config: netbsd-7-nhusb
sys/dev/usb/usbdevs: netbsd-7-nhusb
sys/dev/usb/usbdevs.h: netbsd-7-nhusb
sys/dev/usb/usbdevs_data.h: netbsd-7-nhusb
sys/dev/usb/usbdi.c: netbsd-7-nhusb
sys/dev/usb/usbdi.h: netbsd-7-nhusb
sys/dev/usb/usbdi_util.c: netbsd-7-nhusb
sys/dev/usb/usbdi_util.h: netbsd-7-nhusb
sys/dev/usb/usbdivar.h: netbsd-7-nhusb
sys/dev/usb/usbhid.h: netbsd-7-nhusb
sys/dev/usb/usbhist.h: netbsd-7-nhusb
sys/dev/usb/usbroothub.c: netbsd-7-nhusb
sys/dev/usb/usbroothub.h: netbsd-7-nhusb
sys/dev/usb/usbroothub_subr.c: delete
sys/dev/usb/usbroothub_subr.h: delete
sys/dev/usb/uscanner.c: netbsd-7-nhusb
sys/dev/usb/uslsa.c: netbsd-7-nhusb
sys/dev/usb/usscanner.c: netbsd-7-nhusb
sys/dev/usb/ustir.c: netbsd-7-nhusb
sys/dev/usb/uthum.c: netbsd-7-nhusb
sys/dev/usb/utoppy.c: netbsd-7-nhusb
sys/dev/usb/uts.c: netbsd-7-nhusb
sys/dev/usb/uvideo.c: netbsd-7-nhusb
sys/dev/usb/uvisor.c: netbsd-7-nhusb
sys/dev/usb/uvscom.c: netbsd-7-nhusb
sys/dev/usb/uyap.c: netbsd-7-nhusb
sys/dev/usb/uyap_firmware.h: netbsd-7-nhusb
sys/dev/usb/uyurex.c: netbsd-7-nhusb
sys/dev/usb/x1input_rdesc.h: netbsd-7-nhusb
sys/dev/usb/xhci.c: netbsd-7-nhusb
sys/dev/usb/xhcireg.h: netbsd-7-nhusb
sys/dev/usb/xhcivar.h: netbsd-7-nhusb
sys/dev/usb/xinput_rdesc.h: netbsd-7-nhusb
sys/external/bsd/common/conf/files.linux: netbsd-7-nhusb
sys/external/bsd/common/include/linux/err.h: netbsd-7-nhusb
sys/external/bsd/common/include/linux/kernel.h: netbsd-7-nhusb
sys/external/bsd/common/include/linux/workqueue.h: netbsd-7-nhusb
sys/external/bsd/common/linux/linux_work.c: netbsd-7-nhusb
sys/external/bsd/drm2/dist/drm/radeon/atombios_encoders.c: netbsd-7-nhusb
sys/external/bsd/drm2/dist/drm/radeon/radeon_legacy_encoders.c: netbsd-7-nhusb
sys/external/bsd/drm2/drm/files.drmkms: netbsd-7-nhusb
sys/external/bsd/drm2/i915drm/files.i915drmkms: netbsd-7-nhusb
sys/external/bsd/drm2/include/linux/err.h: delete
sys/external/bsd/drm2/include/linux/workqueue.h: delete
sys/external/bsd/drm2/linux/files.drmkms_linux: netbsd-7-nhusb
sys/external/bsd/drm2/linux/linux_work.c: delete
sys/external/bsd/dwc2/dwc2.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dwc2.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dwc2var.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dwctwo2netbsd: netbsd-7-nhusb
sys/external/bsd/dwc2/conf/files.dwc2: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_core.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_core.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_coreintr.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcd.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcd.h: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdddma.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdintr.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hcdqueue.c: netbsd-7-nhusb
sys/external/bsd/dwc2/dist/dwc2_hw.h: netbsd-7-nhusb
sys/modules/drmkms_linux/Makefile: netbsd-7-nhusb
sys/modules/i915drmkms/Makefile: netbsd-7-nhusb
sys/rump/dev/lib/libugenhc/ugenhc.c: netbsd-7-nhusb
sys/rump/dev/lib/libusb/Makefile: netbsd-7-nhusb
sys/rump/dev/lib/libusb/USB.ioconf: netbsd-7-nhusb
sys/rump/dev/lib/libusb/usb_at_ugenhc.c: delete
sys/rump/dev/lib/libusb/opt/opt_usb.h: delete
sys/rump/dev/lib/libusb/opt/opt_usbverbose.h: delete
sys/sys/mbuf.h: netbsd-7-nhusb
usr.sbin/usbdevs/usbdevs.8: netbsd-7-nhusb
usr.sbin/usbdevs/usbdevs.c: netbsd-7-nhusb
Merge netbsd-7-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
- Change the SOFTINT level from NET to SERIAL for the USB softint handler.
This gives the callback a chance of running when another softint handler
at SOFTINT_NET has blocked holding a lock, e.g. softnet_lock and most of
the network stack.
- kern/49065 - ifconfig tun0 ... sequence locks up system / lockup:
softnet_lock held across usb xfr
- kern/50491 - unkillable wait in usbd_transfer while using usmsc0
on raspberry pi 2
- kern/51395 - USB Ethernet makes xhci hang
- Various improvements to slhci(4)
- Various improvements to dwc2(4)
 1.380.2.3  09-Dec-2016  snj Pull up following revision(s) (requested by msaitoh in ticket #1297):
sys/arch/amd64/conf/ALL: revision 1.37
sys/arch/amd64/conf/GENERIC: revision 1.436
sys/arch/amd64/conf/XEN3_DOM0: revision 1.120
sys/arch/i386/conf/ALL: revision 1.400
sys/arch/i386/conf/GENERIC: revision 1.1138
sys/arch/i386/conf/XEN3_DOM0: revision 1.99
Add sdtemp(4)
--
Add ichsmb(4), spdmem(4) and sdtemp(4).
 1.380.2.2  18-Mar-2015  snj branches: 1.380.2.2.4;
Apply patch (requested by christos in ticket #542):
- Enable intel and radeon DRM/KMS drivers in GENERIC
- Disable all of the old DRM drivers in GENERIC
- Remove the separate DRMKMS kernel
 1.380.2.1  18-Nov-2014  snj Pull up following revision(s) (requested by manu in ticket #251):
sys/arch/acorn26/conf/GENERIC: revision 1.81
sys/arch/acorn32/conf/GENERIC: revision 1.116
sys/arch/alpha/conf/GENERIC: revision 1.362
sys/arch/amd64/conf/ALL: revision 1.23
sys/arch/amd64/conf/GENERIC: revision 1.404
sys/arch/amd64/conf/XEN3_DOM0: revision 1.112
sys/arch/amd64/conf/XEN3_DOMU: revision 1.60
sys/arch/amiga/conf/GENERIC.in: revision 1.129
sys/arch/amiga/conf/GENERIC: revision 1.311
sys/arch/amigappc/conf/GENERIC: revision 1.24
sys/arch/arc/conf/GENERIC: revision 1.184
sys/arch/bebox/conf/GENERIC: revision 1.145
sys/arch/cats/conf/GENERIC: revision 1.155
sys/arch/cesfic/conf/GENERIC: revision 1.65
sys/arch/cobalt/conf/GENERIC: revision 1.147
sys/arch/dreamcast/conf/GENERIC: revision 1.121
sys/arch/emips/conf/GENERIC: revision 1.15
sys/arch/epoc32/conf/GENERIC: revision 1.8
sys/arch/ews4800mips/conf/GENERIC: revision 1.51
sys/arch/hp300/conf/GENERIC: revision 1.190
sys/arch/hpcmips/conf/GENERIC: revision 1.229
sys/arch/hpcsh/conf/GENERIC: revision 1.106
sys/arch/hppa/conf/GENERIC: revision 1.6
sys/arch/i386/conf/ALL: revision 1.389
sys/arch/i386/conf/GENERIC: revision 1.1118
sys/arch/i386/conf/XEN3_DOM0: revision 1.93
sys/arch/i386/conf/XEN3_DOMU: revision 1.65
sys/arch/ibmnws/conf/GENERIC: revision 1.46
sys/arch/iyonix/conf/GENERIC: revision 1.88
sys/arch/landisk/conf/GENERIC: revision 1.45
sys/arch/luna68k/conf/GENERIC: revision 1.119
sys/arch/mac68k/conf/GENERIC: revision 1.220
sys/arch/macppc/conf/GENERIC: revision 1.320
sys/arch/macppc/conf/MAMBO: revision 1.24
sys/arch/macppc/conf/POWERMAC_G5: revision 1.25
sys/arch/mipsco/conf/GENERIC: revision 1.88
sys/arch/mmeye/conf/GENERIC: revision 1.120
sys/arch/mvme68k/conf/GENERIC: revision 1.94
sys/arch/mvmeppc/conf/GENERIC: revision 1.24
sys/arch/netwinder/conf/GENERIC: revision 1.126
sys/arch/news68k/conf/GENERIC: revision 1.125
sys/arch/newsmips/conf/GENERIC: revision 1.129
sys/arch/next68k/conf/GENERIC: revision 1.139
sys/arch/ofppc/conf/GENERIC: revision 1.157
sys/arch/pmax/conf/GENERIC64: revision 1.21
sys/arch/pmax/conf/GENERIC: revision 1.185
sys/arch/prep/conf/GENERIC: revision 1.174
sys/arch/rs6000/conf/GENERIC: revision 1.33
sys/arch/sandpoint/conf/GENERIC: revision 1.88
sys/arch/sbmips/conf/GENERIC: revision 1.101
sys/arch/sgimips/conf/GENERIC32_IP12: revision 1.28
sys/arch/sgimips/conf/GENERIC32_IP2x: revision 1.104
sys/arch/sgimips/conf/GENERIC32_IP3x: revision 1.106
sys/arch/shark/conf/GENERIC: revision 1.121
sys/arch/sparc/conf/GENERIC: revision 1.248
sys/arch/sparc/conf/TADPOLE3GX: revision 1.65
sys/arch/sparc64/conf/GENERIC: revision 1.177
sys/arch/sparc64/conf/NONPLUS64: revision 1.44
sys/arch/sun2/conf/GENERIC: revision 1.94
sys/arch/sun3/conf/GENERIC: revision 1.171
sys/arch/vax/conf/GENERIC: revision 1.193
sys/arch/vax/conf/VAX780: revision 1.19
sys/arch/x68k/conf/GENERIC: revision 1.179
sys/arch/zaurus/conf/GENERIC: revision 1.65
sys/ufs/files.ufs: revision 1.38
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.380.2.2.4.1  18-Jan-2017  skrll Sync with netbsd-5
 1.389.2.8  28-Aug-2017  skrll Sync with HEAD
 1.389.2.7  05-Feb-2017  skrll Sync with HEAD
 1.389.2.6  05-Dec-2016  skrll Sync with HEAD
 1.389.2.5  05-Oct-2016  skrll Sync with HEAD
 1.389.2.4  29-May-2016  skrll Sync with HEAD
 1.389.2.3  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.389.2.2  06-Jun-2015  skrll Sync with HEAD
 1.389.2.1  06-Apr-2015  skrll Sync with HEAD
 1.399.2.5  26-Apr-2017  pgoyette Sync with HEAD
 1.399.2.4  20-Mar-2017  pgoyette Sync with HEAD
 1.399.2.3  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.399.2.2  04-Nov-2016  pgoyette Sync with HEAD
 1.399.2.1  06-Aug-2016  pgoyette Sync with HEAD
 1.411.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.419.2.4  07-Dec-2018  martin Pull up following revision(s) (requested by bouyer in ticket #1129):

sys/arch/amd64/conf/XEN3_DOM0: revision 1.159
sys/arch/amd64/conf/GENERIC: revision 1.508
sys/arch/i386/conf/ALL: revision 1.458
sys/dev/ic/mfi.c: revision 1.60
sys/dev/pci/mpiireg.h: revision 1.1
distrib/sets/lists/man/mi: revision 1.1628
sys/dev/pci/mfii.c: revision 1.1,1.2 (adapted)
sys/arch/i386/conf/GENERIC: revision 1.1194
sys/dev/pci/mpii.c: revision 1.13
sys/dev/ic/mfireg.h: revision 1.9
share/man/man4/mfii.4: revision 1.1
share/man/man4/Makefile: revision 1.673 (patch)
sys/dev/pci/files.pci: revision 1.410
share/man/man4/mfii.4: revision 1.2
sys/arch/amd64/conf/ALL: revision 1.108
sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.8 (patch, in XEN3_DOM0)

Add some definitions from OpenBSD, needed by the upcoming mfii driver.
No functionnal change.

-

Move registers definitions to a separate file, needed for the upcomning mpii
driver. No functionnal change.

-

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.

-

Add my name in copyright list

-

add a man page for the new mpii, mostly from OpenBSD.

-

Sort SEE ALSO. Fix date. Whitespace fixes.
 1.419.2.3  11-Apr-2018  martin Pull up following revision(s) (requested by mrg in ticket #731):
sys/arch/i386/conf/files.i386: revision 1.392
sys/arch/i386/conf/GENERIC: revision 1.1175
sys/arch/i386/conf/GENERIC: revision 1.1176
sys/arch/amd64/conf/files.amd64: revision 1.102
sys/arch/i386/conf/GENERIC: revision 1.1177
share/man/man4/options.4: revision 1.485 (patch)
sys/arch/i386/conf/Makefile.i386: revision 1.190
sys/arch/amd64/conf/GENERIC: revision 1.487
sys/arch/amd64/conf/ALL: revision 1.85
sys/arch/amd64/conf/GENERIC: revision 1.488
sys/arch/amd64/conf/GENERIC: revision 1.489
sys/arch/amd64/conf/Makefile.amd64: revision 1.67
sys/arch/i386/conf/ALL: revision 1.437

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.

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

turn on GCC spectre v2 mitigation options.
XXX: amd64 ALL doesn't build for me right now
 1.419.2.2  09-Sep-2017  snj Pull up following revision(s) (requested by maxv in ticket #258):
sys/arch/amd64/conf/ALL: 1.68
sys/arch/i386/conf/ALL: 1.428
sys/arch/i386/i386/i386_trap.S: 1.12
sys/arch/i386/i386/locore.S: 1.149-1.150
sys/arch/x86/x86/sys_machdep.c: 1.38
Remove undocumented hack.
--
Switch to the temporary stack right away when booted via multiboot. GRUB
happens to give a correct stack, but it is not guaranteed by the spec. This
temporary stack will be reset later, which is fine.
Fixes PR/50245.
--
Pfff, use %ss and not %ds. The latter is controlled by userland, the former
contains the kernel value (flat); FreeBSD fixed this too a few weeks ago.
As I said earlier, this dtrace code is complete bullshit.
--
Don't allow userland to create 286/386 call gates anymore - they are not
used by Wine. While here, don't allow it to overwrite the static entries
either, don't allow unknown entry types, remove LDT_DEBUG, and style.
 1.419.2.1  31-Aug-2017  bouyer apply paych, requested by maxv in ticket #237:
sys/arch/amiga/conf/DRACO patch
sys/arch/amiga/conf/GENERIC patch
sys/arch/amiga/conf/GENERIC.in patch
sys/arch/i386/conf/ALL patch
sys/arch/i386/conf/GENERIC patch
sys/arch/i386/conf/XEN3_DOM0 patch
sys/arch/i386/conf/XEN3_DOMU patch
sys/arch/sparc/conf/GENERIC patch
sys/arch/sparc/conf/KRUPS patch
sys/arch/sparc/conf/MRCOFFEE patch
sys/arch/sparc/conf/TADPOLE3GX patch
sys/arch/sparc64/conf/GENERIC patch
sys/arch/sparc64/conf/NONPLUS64 patch
sys/kern/kern_exec.c patch

Disables compat_svr4 and compat_svr4_32 on each architecture,
and removes the associated module autoload entries.
 1.434.2.12  18-Jan-2019  pgoyette Synch with HEAD
 1.434.2.11  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.434.2.10  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.434.2.9  30-Sep-2018  pgoyette Ssync with HEAD
 1.434.2.8  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.434.2.7  28-Jul-2018  pgoyette Sync with HEAD
 1.434.2.6  25-Jun-2018  pgoyette Sync with HEAD
 1.434.2.5  21-May-2018  pgoyette Sync with HEAD
 1.434.2.4  02-May-2018  pgoyette Synch with HEAD
 1.434.2.3  16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.434.2.2  30-Mar-2018  pgoyette Resolve conflicts between branch and HEAD
 1.434.2.1  22-Mar-2018  pgoyette Synch with HEAD, resolve conflicts
 1.440.2.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.440.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.440.2.1  10-Jun-2019  christos Sync with HEAD
 1.469.2.3  07-Jul-2020  martin Pull up following revision(s) (requested by jmcneill in ticket #980):

sys/dev/pci/if_aq.c: revision 1.4
sys/dev/pci/if_aq.c: revision 1.5
sys/arch/amd64/conf/GENERIC: revision 1.553
sys/dev/pci/files.pci: revision 1.419
sys/arch/amd64/conf/XEN3_DOM0: revision 1.170
sys/dev/pci/if_aq.c: revision 1.9
share/man/man4/Makefile: revision 1.693
sys/dev/pci/pcidevs: revision 1.1411
share/man/man4/aq.4: revision 1.1
share/man/man4/aq.4: revision 1.3
sys/arch/i386/conf/ALL: revision 1.479
share/man/man4/aq.4: revision 1.4
sys/dev/pci/if_aq.c: revision 1.10
sys/dev/pci/files.pci: revision 1.421
sys/dev/pci/if_aq.c: revision 1.11
sys/dev/pci/if_aq.c: revision 1.12
sys/dev/pci/if_aq.c: revision 1.13
sys/dev/pci/if_aq.c: revision 1.14
sys/dev/pci/if_aq.c: revision 1.15
sys/dev/pci/if_aq.c: revision 1.16
sys/dev/pci/pcidevs: revision 1.1408
sys/arch/amd64/conf/ALL: revision 1.135
sys/net/ethertypes.h: revision 1.19
sys/arch/i386/conf/GENERIC: revision 1.1218
distrib/sets/lists/man/mi: revision 1.1668
sys/dev/pci/if_aq.c: revision 1.1
sys/dev/pci/if_aq.c: revision 1.2
sys/dev/pci/pcidevs: revision 1.1395
sys/dev/pci/if_aq.c: revision 1.3
sys/arch/evbarm/conf/GENERIC64: revision 1.125

Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking

add Aquantia AQC 10G network adapters
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.

add aq(4)

Add Aquantia AQC100, AQC100S and D100.

add support VLAN HW filter

set/clear IFF_OACTIVE flag only on txring 0

make counters per queue

support internal PHY temperature sensor

Found by kUBSan:
- Use unsigned to avoid undefined behavior in aq_hw_init().
- Cast to unsigned to avoid undefined behavior in aq_set_mac_addr().

fix descriptions of register map in comment

return the ifmedia active status correctly even while the link is not up after attach.
pointed out by msaitoh@. thanks.

On FIBRE devices, there are times when linkstat interrupt doesn't occur?
reported from Andrius V. thanks.
- use polling instead of linkstat interrupt when FIBRE
- add AQ_FORCE_POLL_LINKSTAT options (not by default)

sort product table, and tabify

add support AQC100S and D100.
not tested, but they are probably the same as the AQC100.
 1.469.2.2  25-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #478):

sys/dev/mii/smscphy.c: revision 1.1
sys/arch/amd64/conf/ALL: revision 1.127
sys/arch/amd64/conf/ALL: revision 1.128
sys/dev/mii/files.mii: revision 1.52
sys/dev/mii/files.mii: revision 1.53
sys/arch/i386/conf/ALL: revision 1.473
share/man/man4/mii.4: revision 1.29
sys/arch/i386/conf/ALL: revision 1.474
sys/arch/amd64/conf/GENERIC: revision 1.543
sys/arch/amd64/conf/GENERIC: revision 1.544
sys/dev/mii/jmphyreg.h: revision 1.1
share/man/man4/Makefile: revision 1.687
share/man/man4/smscphy.4: revision 1.1
share/man/man4/Makefile: revision 1.688
sys/dev/mii/jmphy.c: revision 1.1
sys/dev/DEVNAMES: revision 1.324
sys/dev/DEVNAMES: revision 1.325
distrib/sets/lists/man/mi: revision 1.1661
sys/arch/i386/conf/GENERIC: revision 1.1214
distrib/sets/lists/man/mi: revision 1.1662
sys/arch/i386/conf/GENERIC: revision 1.1215
share/man/man4/jmphy.4: revision 1.1
share/man/man4/jme.4: revision 1.8

Add jmphy(4) from OpenBSD.

Add jmphy.4.

Port SMSC LAN87xx 10/100 Ethernet PHY driver from FreeBSD with some cleanup
and IFM_NONE support.
 1.469.2.1  25-Nov-2019  martin Pull up following revision(s) (requested by msaitoh in ticket #476):

sys/dev/pci/if_stgereg.h: revision 1.6
sys/arch/amd64/conf/ALL: revision 1.124
sys/dev/mii/files.mii: revision 1.51
share/man/man4/vge.4: revision 1.8
share/man/man4/vge.4: revision 1.9
distrib/sets/lists/man/mi: revision 1.1656
sys/arch/i386/conf/ALL: revision 1.471
share/man/man4/mii.4: revision 1.28
sys/dev/pci/if_stge.c: revision 1.71
sys/dev/mii/ipgphy.c: revision 1.1
sys/dev/mii/ipgphy.c: revision 1.2
share/man/man4/Makefile: revision 1.684
sys/dev/mii/ipgphy.c: revision 1.3
sys/dev/mii/ipgphyreg.h: revision 1.1
sys/dev/mii/ipgphy.c: revision 1.4
sys/dev/mii/ipgphyreg.h: revision 1.2
sys/dev/mii/ipgphy.c: revision 1.5
sys/dev/mii/ipgphyreg.h: revision 1.3
sys/dev/DEVNAMES: revision 1.322
sys/arch/i386/conf/GENERIC: revision 1.1211
sys/arch/amd64/conf/GENERIC: revision 1.537
share/man/man4/ipgphy.4: revision 1.1
share/man/man4/ipgphy.4: revision 1.2

Add support IC Plus IP1000* PHYs. PR/kern 42314 first reported by

Tomokazu HARADA and patch provided by Andrius V.

New sentence, new line.
Fix date. Add RCS Id.

KNF. No functional change.

STGE_PhyCtrl is not PHY register but MAC register, so use ukphy_status()
for IP1000A device.

- Use auto-negotiation when forcing 1000BASE-T.
- Add XXX comment for strange pause setting code. I suspect this is wrong.
- On my environments, 1000BASE-T half duplex doesn't work, so we might remove
IFM_1000T_HDX from this device in future.
- Define IPGPHY_SCR's address.
- Whitespace fix.

Add missing NetBSD RCS Id. Reported by Andrius V.
 1.479.2.3  29-Feb-2020  ad Sync with head.
 1.479.2.2  25-Jan-2020  ad Sync with head.
 1.479.2.1  17-Jan-2020  ad Sync with head.
 1.497.2.1  03-Apr-2021  thorpej Sync with HEAD.
 1.498.4.1  01-Aug-2021  thorpej Sync with HEAD.
 1.503.4.5  09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #939):

distrib/sets/lists/debug/module.md.amd64: revision 1.18
sys/modules/Makefile: revision 1.292
lib/libc/gen/arc4random.c: revision 1.34
lib/libc/gen/arc4random.c: revision 1.35
lib/libc/gen/arc4random.c: revision 1.36
lib/libc/gen/arc4random.c: revision 1.37
sys/kern/kern_entropy.c: revision 1.70
lib/libc/gen/arc4random.c: revision 1.38
sys/kern/kern_entropy.c: revision 1.71
lib/libc/gen/getentropy.3: revision 1.8
distrib/sets/lists/modules/md.amd64: revision 1.103
share/man/man4/rnd.4: revision 1.42
share/man/man4/rnd.4: revision 1.44
lib/libc/include/arc4random.h: revision 1.1
distrib/sets/lists/man/mi: revision 1.1786
sys/arch/i386/conf/GENERIC: revision 1.1258
sys/modules/acpivmgenid/acpivmgenid.ioconf: revision 1.1
sys/arch/amd64/conf/ALL: revision 1.190
distrib/sets/lists/debug/mi: revision 1.446
sys/arch/i386/conf/ALL: revision 1.521
lib/libc/gen/Makefile.inc: revision 1.219
distrib/sets/lists/debug/module.md.i386: revision 1.12
sys/dev/acpi/acpi_vmgenid.c: revision 1.1
sys/dev/acpi/acpi_vmgenid.c: revision 1.2
lib/libc/include/reentrant.h: revision 1.22
sys/arch/evbarm/conf/GENERIC64: revision 1.219
share/man/man4/Makefile: revision 1.735
distrib/sets/lists/modules/md.i386: revision 1.100
distrib/sets/lists/tests/mi: revision 1.1334
lib/libc/gen/arc4random.3: revision 1.22
sys/dev/acpi/files.acpi: revision 1.133
lib/libc/gen/arc4random.3: revision 1.23
tests/lib/libc/gen/t_arc4random.c: revision 1.1
sys/sys/entropy.h: revision 1.6
sys/arch/amd64/conf/GENERIC: revision 1.614
sys/modules/acpivmgenid/Makefile: revision 1.1
share/man/man4/acpivmgenid.4: revision 1.1
lib/libc/gen/Makefile.inc: revision 1.220
tests/lib/libc/gen/Makefile: revision 1.56
share/man/man4/acpivmgenid.4: revision 1.2
share/man/man4/acpivmgenid.4: revision 1.3

(all via patch)

Catch up with all the lint warnings since exit on warning was disabled.

Disable 'missing header declaration' and 'nested extern' warnings for now.
acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.
TBD: Add to all ACPI-supporting GENERIC kernels.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Factor out subroutines to reset and gather entropy.
`Reset' means we keep the data in the pool, but assume it had zero
entropy. `Gather' means we request samples from all on-demand
sources and wait for the synchronous ones to complete.

No functional change intended, other than to expose new symbols --
just preparation to expose these to acpivmgenid(4), so it can use
these when the VM host notifies us that we, the guest, have been
cloned.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Reset and gather entropy on VM clone notification.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Reseed if system entropy epoch changes.
This can happen, for example, if the system is a VM instance, and the
VM is cloned.

This incurs the cost of a system call on every arc4random call, which
is unfortunate, but
1. we don't currently have a (machine-independent) mechanism for
exposing a read-only page to userland shared by the kernel to
enable a cheaper access path to the entropy epoch; and
2. the algorithm here -- a simple application of ChaCha -- is likely
also a bottleneck and could be much cheaper by
(a) using sys/crypto/chacha for machine-dependent vectorized
ChaCha code, and
(b) filling a buffer (somewhere between a cipher block and a page)
in a batch at a time, instead of running ChaCha to generate
only 32 bytes at a time.
So although this might be a performance hit, the security benefit is
worthwhile and we have a clear path to do better than reversing the
performance hit later.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Nix BUGS that have been squashed.
Reference kern.entropy.epoch for the remaining bug (which is a
performance issue, not a security issue).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Allow unprivileged reads of sysctl kern.entropy.epoch.

Applications need this in order to know when to reseed. (We should
also expose it through a page shared read-only with userland for
cheaper access, but until we do, let's let applications get at it
through sysctl.)
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random.c: Fix test program.

This isn't wired up anywhere, but let's reduce the bitrot. It was
helpful in reminding me that kern.entropy.epoch was, for reasons I
can't remember, restricted to privileged access.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

rnd(4): Document kern.entropy.epoch is unprivileged and elaborate.
Cross-reference acpivmgenid(4).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Note that arc4random respects kern.entropy.epoch.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
Add debug info for new acpivmgenid module

arc4random(3): Add automatic tests.

This verifies that:
- arc4random zeroes its state and reseeds itself on fork
- arc4random reseeds itself on entropy consolidation (e.g., VM clone)
- arc4random falls back to global state if it can't allocate local
state because address space limits cause mmap to fail

NOTE: This adds a new libc symbol __arc4random_global, but it's in
the reserved namespace and only used by t_arc4random, so no libc
minor bump.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

getentropy(3): Note intent to reseed on VM clone, and caveats.

Tidy markup and pacify some mandoc -Tlint complaints while here.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

Bump dates on man pages recently updated to mention VM clones.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Pacify some of lint's complaints.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random: suppress another lint warning
 1.503.4.4  09-Oct-2024  martin Pull up following revision(s) (requested by riastradh in ticket #936):

sys/dev/acpi/apei_einjvar.h: revision 1.1
sys/dev/acpi/apei_cper.h: revision 1.2
distrib/sets/lists/debug/module.md.i386: revision 1.9
sys/dev/acpi/apei_hest.c: revision 1.1
sys/modules/apei/Makefile: revision 1.1
sys/dev/acpi/apei_hest.c: revision 1.2
distrib/sets/lists/modules/md.amd64: revision 1.101
sys/dev/acpi/apei_hest.c: revision 1.3
distrib/sets/lists/modules/md.amd64: revision 1.102
sys/modules/apei/apei.ioconf: revision 1.1
sys/dev/acpi/apei_bert.c: revision 1.1
distrib/sets/lists/man/mi: revision 1.1785
sys/dev/acpi/apei_bertvar.h: revision 1.1
sys/dev/acpi/apei.c: revision 1.1
sys/dev/acpi/apei.c: revision 1.2
sys/dev/acpi/apei.c: revision 1.3
sys/modules/Makefile: revision 1.283
sys/modules/Makefile: revision 1.284
sys/dev/acpi/apei_reg.c: revision 1.1
sys/dev/acpi/apei_hestvar.h: revision 1.1
distrib/sets/lists/debug/module.md.i386: revision 1.10
sys/dev/acpi/apei_reg.c: revision 1.2
sys/dev/acpi/apei_reg.c: revision 1.3
sys/dev/acpi/apei_reg.h: revision 1.1
sys/dev/acpi/apei_reg.h: revision 1.2
sys/dev/acpi/apei_reg.h: revision 1.3
sys/dev/acpi/acpi_hed.c: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.1
sys/dev/acpi/apeivar.h: revision 1.1
sys/dev/acpi/apei_einj.c: revision 1.2
sys/dev/acpi/apei_einj.c: revision 1.3
sys/dev/acpi/apei_einj.c: revision 1.4
sys/dev/acpi/apei_einj.c: revision 1.5
share/man/man4/Makefile: revision 1.734
sys/dev/acpi/apei_einj.c: revision 1.6
sys/dev/acpi/apei_einj.c: revision 1.7
sys/dev/acpi/files.acpi: revision 1.131
sys/dev/acpi/files.acpi: revision 1.132
sys/dev/acpi/apei_interp.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.2
share/man/man4/acpihed.4: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.3
share/man/man4/acpihed.4: revision 1.2
distrib/sets/lists/modules/md.i386: revision 1.98
sys/dev/acpi/apei_mapreg.c: revision 1.2
sys/dev/acpi/apei_interp.h: revision 1.1
sys/dev/acpi/apei_interp.c: revision 1.4
distrib/sets/lists/modules/md.i386: revision 1.99
sys/modules/acpihed/Makefile: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.3
sys/dev/acpi/apei_interp.h: revision 1.2
sys/arch/amd64/conf/ALL: revision 1.185
sys/dev/acpi/apei_mapreg.h: revision 1.1
sys/dev/acpi/apei_mapreg.c: revision 1.4
sys/arch/amd64/conf/ALL: revision 1.186
sys/dev/acpi/apei_erstvar.h: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.1
sys/dev/acpi/apei_erst.c: revision 1.2
sys/dev/acpi/apei_erst.c: revision 1.3
sys/arch/i386/conf/ALL: revision 1.516
share/man/man4/apei.4: revision 1.1
sys/arch/i386/conf/ALL: revision 1.517
share/man/man4/apei.4: revision 1.2
distrib/sets/lists/debug/module.md.amd64: revision 1.15
sys/modules/acpihed/acpihed.ioconf: revision 1.1
sys/dev/acpi/apei_hed.h: revision 1.1
distrib/sets/lists/debug/module.md.amd64: revision 1.16
sys/dev/acpi/apei_cper.h: revision 1.1

(all via patch)

apei(4): New driver for ACPI Platform Error Interfaces.

For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.
PR kern/58046

apei(4): Pacify -Wsign-compare.
Assert that the parsing made forward progress too while here.
PR kern/58046

apei(4): Tweak some comments about the APEI interpreter language.
No functional change intended.
PR kern/58046

apei(4): Fix parsing checks for TRIGGER_ERROR action table.
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
apei(4): Note some TODOs for EINJ and HEST.
No functional change intended, comments only.
PR kern/58046

acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046

acpihed(4): fix name in Dt, use Ql
apei(4): Plug memory leak on teardown of instruction interpreter.
PR kern/58046
apei(4): Fix indexing of multi-unit register access.
PR kern/58046

apei(4): Fix register chunk counting.
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046

apei(4): Allow pre-mapping I/O registers too.
PR kern/58046

apei(4): Pre-map registers when compiling interpreter.
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed. Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046

apei(4): Simplify EINJ/ERST register access now that it's pre-mapped.
PR kern/58046
apei(4): Make sure to initialize *fatalp in apei_gesb_report.
PR kern/58046

apei: fix typos in comments

apei: fix typos in comments and snprintb bitfmt

apei(4): Fix uninitialized stack access in error branch.
PR kern/58046

apei(4), acpihed(4): Wire up man pages to build.
PR kern/58046: Missing APEI (ACPI Platform Error Interface) support
 1.503.4.3  20-Jun-2024  martin Pull up following revision(s) (requested by andvar in ticket #700):

sys/arch/i386/conf/GENERIC: revision 1.1256
share/man/man4/man4.x86/viac7temp.4: revision 1.1
sys/arch/x86/x86/viac7temp.c: revision 1.11
share/man/man4/man4.x86/Makefile: revision 1.24
share/man/man4/man4.i386/viac7temp.4: file removal
share/man/man4/man4.i386/Makefile: revision 1.81
distrib/sets/lists/man/mi: revision 1.1773
sys/arch/amd64/conf/GENERIC: revision 1.612
sys/arch/amd64/conf/ALL: revision 1.188
sys/arch/i386/conf/ALL: revision 1.519

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.

Patch mainly reviewed by riastradh.
 1.503.4.2  01-Aug-2023  martin Pull up following revision(s) (requested by riastradh in ticket #293):

sys/arch/i386/conf/ALL: revision 1.507
sys/arch/i386/conf/GENERIC: revision 1.1247

i386/ALL: Enable EFI runtime support.
PR kern/57076

i386/GENERIC: Enable EFI runtime support.
PR kern/57076
 1.503.4.1  30-Jul-2023  martin Pull up following revision(s) (requested by riastradh in ticket #259):

sys/dev/acpi/acpi_ec.c: revision 1.102
sys/dev/acpi/acpi_ec.c: revision 1.103
sys/dev/acpi/acpi_ec.c: revision 1.104
sys/dev/acpi/acpi_ec.c: revision 1.105
sys/dev/acpi/acpi_ec.c: revision 1.106
sys/dev/acpi/acpi_ec.c: revision 1.107
sys/dev/acpi/acpi_ec.c: revision 1.108
sys/dev/acpi/acpi_ec.c: revision 1.90
sys/dev/acpi/acpi_ec.c: revision 1.91
sys/dev/acpi/acpi_ec.c: revision 1.92
sys/dev/acpi/acpi_ec.c: revision 1.93
sys/dev/acpi/acpi_ec.c: revision 1.94
sys/dev/acpi/files.acpi: revision 1.128
sys/dev/acpi/acpi_ec.c: revision 1.95
sys/dev/acpi/acpi_ec.c: revision 1.96
sys/dev/acpi/acpi_ec.c: revision 1.97
sys/arch/amd64/conf/ALL: revision 1.179
sys/dev/acpi/acpi_ec.c: revision 1.98
sys/dev/acpi/acpi_ec.c: revision 1.99
sys/dev/acpi/acpi_ec.c: revision 1.87
sys/dev/acpi/acpi_ec.c: revision 1.88
sys/dev/acpi/acpi_ec.c: revision 1.89
sys/arch/i386/conf/ALL: revision 1.511
sys/dev/acpi/acpi_ec.c: revision 1.100
sys/dev/acpi/acpi_ec.c: revision 1.101

acpiec(4): Record device_t self.

Not used yet, to be used soon for device_printf and to allow making
some of the internal functions a little more type-safe later.
acpiec(4): New ACPIEC_DEBUG option.

Value is bit mask of debug messages to enable.

Enable in x86/ALL kernels.

No functional change intended when the option is off.

acpiec(4): Clarify lock order and sprinkle lock assertions.
No functional change intended.

acpiec(4): Sprinkle comments.
Note where this code is abusing cv_wait and needs a loop to handle
spurious wakeups.
No functional change intended.

acpiec(4): Assert state is free when we start a transaction.
No functional change intended.

acpiec(4): Set sc_got_sci only when a transaction is over.

Before, when the acpiec thread noticed an SCI had been requested and
entered acpiec_gpe_state_machine to send the query command, it would
see the SCI is still requested -- because it had yet to acknowledge
it by setting the query command! -- and think the EC was asking for a
_second_ SCI.

So once the first SCI transaction was over, it would start a second
one, even though the EC hadn't asked for another -- and this would
wedge on some ECs.

Now, acpiec_gpe_state_machine waits to see what state we transition
to before taking the SCI bit to mean we need to notify the acpiec
thread to handle another query.

That way, when the acpiec thread enters acpiec_gpe_state_machine with
EC_STATE_QUERY, it can send the query command first, with the side
effect of clearing the SCI bit in subsequent reads of the status
register, and it won't think another SCI has been requested until it
returns to EC_STATE_FREE and sees the SCI bit set again in the status
register.

Possibly relevant PRs:
PR kern/53135
PR kern/52763
PR kern/57162

acpiec(4): Fix cv_wait loop around sc->sc_got_sci.

That is, make it actually loop as required, so it gracefully handles
spurious wakeups instead of barging into invalid states.

acpiec(4): Fix interrupt wait loop in acpiec_gpe_query thread.

acpiec(4): Fix cv_timedwait abuse in acpiec_read/write.

acpiec(4): Don't touch sc->sc_state outside sc->sc_mtx.

acpiec(4): Merge returns in acpiec_read/write.
No functional change intended.

acpiec(4): Factor wait logic out.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_state_machine.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_callout.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_handler.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_lock/unlock.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_read/write.
Simpler, type-safer.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_gpe_query thread.
Simpler.
No functional change intended.

acpiec(4): Pass softc, not device_t, to acpiec_space_handler.
Better to keep the device_t isolated to public interfaces. Simpler
internally this way.
No functional change intended.

acpiec(4): Factor out if (state == FREE) cv_signal(sc_cv).

In principle this could have a functional change, but at worst, it is
to signal more wakeups than needed, which should always be safe.
acpiec(4): Take a lock around acpiec_cold updates.

Otherwise we race with readers -- probably harmlessly, but let's
avoid the appearance of problems.
XXX Maybe acpiec_suspend and acpiec_shutdown should interrupt
transactions and force them to fail promptly?
XXX This looks bad because acpiec_cold is global and sc->sc_mtx
doesn't look like it's global, but we expect to have only one
acpiec(4) device anyway from what I understand. Maybe we should move
acpiec_cold into the softc?

acpiec(4): One more debug message about read/write polling timeout.
 1.519.2.1  02-Aug-2025  perseant Sync with HEAD
 1.522.2.1  20-Oct-2025  martin Pull up following revision(s) (requested by riastradh in ticket #66):

sys/arch/x86/include/mpacpi.h: revision 1.12
sys/arch/x86/x86/mpacpi.c: revision 1.112
sys/arch/amd64/conf/ALL: revision 1.194
sys/arch/i386/conf/ALL: revision 1.524
sys/arch/x86/acpi/acpi_machdep.c: revision 1.40
sys/arch/i386/conf/GENERIC: revision 1.1261
sys/dev/acpi/acpi_mcfg.h: revision 1.6
sys/arch/amd64/conf/GENERIC: revision 1.618

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

RSS XML Feed