Commit Graph

17400 Commits

Author SHA1 Message Date
martin 8e7bed6652 Pull up following revision(s) (requested by mrg in ticket #1049):
tools/gcc/mknative-gcc: revision 1.104
	tools/gcc/mknative-gcc: revision 1.105
	tools/gcc/gcc-version.mk: revision 1.19
	share/mk/bsd.own.mk: revision 1.1203
	tools/gcc/Makefile: revision 1.98
	tools/gcc/mknative-gcc.old: revision 1.7
	tools/gcc/mknative-gcc.old: revision 1.8

First pass at mknative for GCC 7.5.0
2020-08-14 11:02:42 +00:00
martin cf6ab5aace Pull up following revision(s) (requested by tsutsui in ticket #1028):
share/mk/bsd.x11.mk: revision 1.135
	external/mit/xorg/server/xorg-server/hw/xnest/Makefile: revision 1.22
	external/mit/xorg/server/xorg-server.old/hw/xnest/Makefile: revision 1.4

Fix typos in ${X11INCS.DIX} include paths. PR/55500
Remove extra "-I" for ${X11INCS.DIX} macro.
2020-07-26 10:59:47 +00:00
martin 91344bbdc0 Pull up following revision(s) (requested by kim in ticket #1013):
sys/arch/i386/stand/boot/boot2.c: revision 1.74
	share/man/man8/man8.x86/boot.8: revision 1.21

Let consdev command also set speed
Adapted from PR install/55490 by Sunil Nimmagadda

Document optional speed argument to consdev
2020-07-15 15:51:03 +00:00
martin 1cb614f71f Pull up following revision(s) (requested by nia in ticket #1012):
share/man/man4/wskbd.4: revision 1.20
	share/man/man4/wskbd.4: revision 1.21

Whitespace/macro usage fixes.
obviously wrong country code
2020-07-15 15:48:25 +00:00
martin 5370387bc5 Pull up following revision(s) (requested by riastradh in ticket #1007):
share/man/man9/rnd.9: revision 1.26
	share/man/man9/rnd.9: revision 1.27

Update rnd(9) man page to reflect reality since netbsd-7.
- Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync.
- Note user's obligation to serialize access to each rndsource.

Simplify macro usage.
2020-07-15 13:47:40 +00:00
martin 80bd499c1b Pull up following revision(s) (requested by nia in ticket #1002):
sys/dev/wscons/wsksymdef.h: revision 1.68
	sys/dev/wscons/wsksymdef.h: revision 1.69
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.28
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.29
	sys/dev/hid/hidkbdmap.c: revision 1.10
	share/man/man4/pckbd.4: revision 1.23
	share/man/man4/wskbd.4: revision 1.18
	share/man/man4/wskbd.4: revision 1.19
	share/man/man4/pckbd.4: revision 1.25
	sys/dev/wscons/wsksymdef.h: revision 1.70
	sys/dev/wscons/wsksymdef.h: revision 1.71
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.30
	sys/dev/wscons/wsksymdef.h: revision 1.72
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.31
	sys/dev/wscons/wsksymdef.h: revision 1.73
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.32
	sys/dev/pckbport/wskbdmap_mfii.c: revision 1.33
	sys/dev/hid/hidkbdmap.c: revision 1.4
	sbin/wsconsctl/wsconsctl.8: revision 1.30
	sys/dev/hid/hidkbdmap.c: revision 1.5
	etc/wscons.conf: revision 1.20
	sys/dev/hid/hidkbdmap.c: revision 1.6
	etc/wscons.conf: revision 1.21
	sys/dev/hid/hidkbdmap.c: revision 1.7
	sys/dev/hid/hidkbdmap.c: revision 1.8
	sys/dev/hid/hidkbdmap.c: revision 1.9

Add support for the Brazilian keyboard layout to pckbd and ukbd.

This is significantly different from the European Portugese layout,
and was pieced together from Wikipedia, X11 layout files, and to
some extent with trial and error.

Thanks to lun-4 for helping test this.

PR kern/44570
Update lists of keyboard layouts to add Turkish and Brazilian

Bring br.nodead closer to X11

Add Estonian layout as a variation of Swedish for ukbd and pckbd

Add KB_TR for uhid keyboards (it was PS/2 only, this seems wrong)

Add Icelandic keyboard layout to ukbd/pckbd.

Add keyboard layout for Latin American Spanish to ukbd/pckbd

Canadian French keyboard layout for ukbd/pckbd

Clarify that KB_TR is the "Q" layout - there's two standards for Turkish.

Move description of keyboard layouts to wskbd.4, add newer layouts

Previously, the best reference was pckbd.4. This does not make much
sense to read if you are on, say, an evbarm device with only USB.
wsconsctl.8 contained a vaguer description of supported language names,
which isn't very useful because you can't pass full language names
to the command. Point readers to wskbd.4 instead.

Note in the wskbd.4 page that while all layouts are generally supported
by pckbd(4) and ukbd(4), older keyboard interfaces might only support
a subset.

wskbd.4: Add KB_LA

Point readers at wskbd.4
2020-07-13 14:22:47 +00:00
martin fc997682c1 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.
2020-07-07 10:29:05 +00:00
martin 0833157d70 Pull up following revision(s) (requested by sevan in ticket #967):
share/misc/acronyms: revision 1.302
	share/misc/acronyms: revision 1.303
	share/misc/acronyms: revision 1.304
	share/misc/bsd-family-tree: revision 1.82
	share/misc/acronyms-o.real: revision 1.7
	share/misc/acronyms-o.real: revision 1.8
	share/misc/acronyms.comp: revision 1.302
	share/misc/acronyms.comp: revision 1.303
	share/misc/acronyms.comp: revision 1.304
	share/misc/acronyms.comp: revision 1.305
	share/misc/acronyms.comp: revision 1.306
	share/misc/acronyms.comp: revision 1.307
	share/misc/acronyms: revision 1.300
	share/misc/acronyms: revision 1.301

LSO   large send offload
Add OWASP
BMP, DGEMM, DIB, GEMM, WMF
Add FHRP, GLBP, HSRP
IME, SCIM
QOI
ACAB
FTP
ACAB (worksafe variant)
FQA GCHQ
URM
BAU
Sync with r359561
2020-06-21 10:28:20 +00:00
martin 70c6ca6df1 Pull up following revision(s) (requested by isaki in ticket #875):
sys/dev/audio/audio.c: revision 1.59
	share/man/man4/audio.4: revision 1.102
	share/man/man4/audio.4: revision 1.103
	sys/dev/audio/audio.c: revision 1.43

Limit the number of channels that userland apps can set (by AUDIO_SETINFO)
to the number of channels supported by the hardware or less, if the hardware
supports multi channels.
- On monaural or stereo hardware, userland apps can always set 1ch or 2ch.
  The kernel (audio layer) can convert mono-stereo each other.
- On 3ch (2.1ch) hardware, for example, userland apps can set 1, 2, or 3ch,
  but not 4ch or more.

This allows userland apps to know actual number of channels supported by
the hardware in the same way as before.

PR kern/54973.


Reinitialize the sticky parameters whenever the hardware format is changed.

When the number of the hardware channels becomes less than the number of
channels that sticky parameters remember, subsequent open("/dev/sound") will
fail without this treatment.  This is for rev 1.43.


Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.

Remove trailing whitespace.
2020-04-30 15:40:50 +00:00
martin 464241bb33 Pull up following revision(s) (requested by sevan in ticket #862):
share/misc/airport: revision 1.68
	share/misc/inter.phone: revision 1.32

Fix area code for Czestochowa and add area code for Tarnow.
While there, fix names for some other Polish cities.
Add LUZ and WMI airports (Poland).
2020-04-28 18:10:48 +00:00
martin 1950c84fb4 Pull up following revision(s) (requested by sevan in ticket #861):
share/misc/bsd-family-tree: revision 1.80
	share/misc/bsd-family-tree: revision 1.81
	share/misc/bsd-family-tree: revision 1.78
	share/misc/bsd-family-tree: revision 1.79

Sync with FreeBSD r358254
Sync with r358264 which fixes NetBSD 9.0 release
Update to r359157 from FreeBSD
Sync with FreeBSD r359561
2020-04-28 18:06:24 +00:00
martin 84d9855684 Pull up following revision(s) (requested by sevan):
share/misc/acronyms.comp: revision 1.295
	share/misc/acronyms.comp: revision 1.296
	share/misc/acronyms.comp: revision 1.297
	share/misc/acronyms.comp: revision 1.298
	share/misc/acronyms.comp: revision 1.299
	share/misc/acronyms: revision 1.292
	share/misc/acronyms: revision 1.293
	share/misc/acronyms: revision 1.294
	share/misc/acronyms: revision 1.295
	share/misc/acronyms: revision 1.296
	share/misc/acronyms: revision 1.297
	share/misc/acronyms: revision 1.298
	share/misc/acronyms: revision 1.299
	share/misc/acronyms.comp: revision 1.300
	share/misc/acronyms.comp: revision 1.301
	share/misc/inter.phone: revision 1.33

Add WP
From Rocky Hotas, thanks!

CCC, CPA, MDMA, SEO, WLW

SEO - already in comp

move some more to comp

Typo - heads up by Thorsten Glaser

LAG, MLAG, the G is for group, adjust MCLAG

Add RIF (reduction in force).

SSTP

Add TLDW
From Rocky Hotas, thanks!

Add HPD
From Rocky Hotas, thanks!

New Greek National Numbering Plan, according to the EETT decision published
in the Greek Government Gazette 127 B/8.2.2001

Add RFI, RFP

EPT	extended page tables

SCSI OSD

PCBC
2020-04-28 18:00:56 +00:00
martin ac3322cbfb Pull up following revision(s) (requested by jmcneill in ticket #864):
share/man/man4/rtsx.4: revision 1.6
	sys/dev/pci/pcidevs: revision 1.1410
	sys/dev/pci/rtsx_pci.c: revision 1.9

Add an eclectic mix of
GeForce GTX 680, RTS522A PCI-E Card Reader, intel wifi 9560
+ whitespace

Add support for Realtek RTS522A
2020-04-28 16:26:43 +00:00
martin 8b467d5fa1 Pull up following revision(s) (requested by simonb in ticket #851):
share/man/man4/man4.x86/amdzentemp.4: revision 1.7
	share/man/man4/man4.x86/amdsmn.4: revision 1.4
	sys/arch/x86/pci/amdsmn.c: revision 1.7
	sys/arch/x86/pci/amdsmn.c: revision 1.8
	sys/arch/x86/pci/amdsmn.c: revision 1.9
	sys/arch/x86/pci/amdzentemp.c: revision 1.10

Update to support Family 15h Model 60 temperature sensors.

Changes based on FreeBSD amdtemp driver changes by Conrad Meyer.
XXX: Some code duplication between this driver and amdtemp as
     parts of the 15h refresh code share more in common with
     older CPUs while accessing the device more like 17h.
--
Note that these drivers are present on some newer AMD Family 15h
processors.
--
Don't mix sign and unsigned operands. Just use size_t for the loop.
--
Apply previous change ("Don't mix sign and unsigned operands. Just use
size_t for the loop.") to another loop variable.
--
2020-04-24 17:46:44 +00:00
martin 23bccc516c Pull up following revision(s) (requested by kim in ticket #838):
share/man/man5/ifconfig.if.5: revision 1.20
	etc/rc.d/network: revision 1.78 (plus patch)
	usr.sbin/rtsold/rtsold.8: revision 1.42

Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA

Sort SEE ALSO.
Update date
2020-04-22 17:55:16 +00:00
martin 928b8e5b9f Pull up following revision(s) (requested by simonb in ticket #828):
share/man/man4/uxrcom.4: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1687
	share/man/man4/uxrcom.4: revision 1.2
	share/man/man4/ucom.4: revision 1.28
	sys/dev/usb/uxrcom.c: revision 1.1
	sys/dev/usb/umodem.c: revision 1.74
	sys/dev/usb/umodem_common.c: revision 1.33
	sys/dev/usb/ukyopon.c: revision 1.26
	sys/dev/usb/files.usb: revision 1.173
	share/man/man4/Makefile: revision 1.704
	sys/dev/usb/usbdevs: revision 1.781
	sys/dev/usb/usbdevices.config: revision 1.38

Add uxrcom driver for Exar XR21V141x USB serial adapters.  Based in part
on the OpenBSD single-port XR21V1410 uxrcom driver, but adds support
for multi-port chipsets and uses the common umodem framework instead of
being a standalone driver.

Thanks to skrll@ for much USB clue and mrg@ for financing the
development of this driver.

Add NetBSD CVS tag.
2020-04-12 08:44:42 +00:00
martin 895a2f4d53 Pull up following revision(s) (requested by nia in ticket #809):
sys/dev/pckbport/synaptics.c: revision 1.55
	sys/dev/pckbport/synaptics.c: revision 1.56
	share/man/man4/pms.4: revision 1.35
	share/man/man4/pms.4: revision 1.36

synaptics: Make up_down_emulation useful for single-button clickpads

On devices such as the Thinkpad X250, the clickpad can be pressed
to generate mouse button events 1 and 2. There are also additional
physical buttons which the pms(4) driver recognizes as "up/down" buttons
(mouse buttons 3 and 4). Allow these to be remapped to buttons 1 and 2
and used like normal touchpad buttons with the following sysctl:

While here, adjust the existing "middle button emulation"
(hw.synaptics.up_down_emulation=1) so it works with single-button
clickpads.

XXX: 3 may be a more useful default than the current default,
depending on hardware availability of touchpads with "up/down buttons".

Update the documentation accordingly.

synaptics: Set up_down_emulation=3 by default.

It's a less surprising default for modern hardware.
2020-03-30 18:45:16 +00:00
martin d3789dd7fd Pull up following revision(s) (requested by skrll in ticket #805):
share/man/man9/cprng.9: revision 1.11

Fix cprng_fast64 return type to match code
2020-03-30 18:31:03 +00:00
martin 222d89f104 Pull up following revision(s) (requested by kim in ticket #804):
share/locale/monetary/converted/fi_FI.ISO8859-1.src: revision 1.2
	share/locale/Makefile.common: revision 1.2

Fix the currency symbol for fi_FI.ISO8859-1

In the Finnish language, the recommended symbol for euro is the euro sign
where it is available, and the lowercase letter e otherwise.

The use of the ISO currency code EUR is not an abbreviation of the word
euro in the Finnish language, just like FIM is not an abbreviation of
the word markka.

Reference:
    <a  rel="nofollow" href="https://www.kielikello.fi/-/euro-">https://www.kielikello.fi/-/euro-</a>
    Euro
    Kielikello 3/1998
    Kotimaisten kielten keskus
    Institute for the Languages of Finland
    [Last retrieved 2020-03-23]
2020-03-30 18:29:39 +00:00
martin 74f3cfacde Pull up following revision(s) (requested by kim in ticket #803):
share/locale/locale.alias: revision 1.13

Add C.UTF-8
2020-03-30 18:25:43 +00:00
martin f33c81ffd0 Pull up following revision(s) (requested by christos in ticket #700):
share/man/man5/fstab.5: revision 1.45

fstab.5: add mention of zfs
2020-02-12 19:44:27 +00:00
martin 43b4d5c112 Pull up following revision(s) (requested by maya in ticket #689):
share/mk/sys.mk: revision 1.143

Don't special case aarch64 and add -fomit-frame-pointer to builds.

This behaviour is probably due to a past behaviour of clang, where it
always emitted frame pointer code.

This is no longer true for clang on netbsd, and I don't think it was true
for GCC.

Meanwhile, this flag bleeds into pkgsrc where it breaks random packages,
requiring workarounds like lang/ruby*-base/hacks.mk.
2020-02-10 19:07:22 +00:00
martin 5c49c16e5e Pull up following revision(s) (requested by maxv in ticket #688):
share/man/man4/nvmm.4: revision 1.5
	lib/libnvmm/libnvmm.3: revision 1.26
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.47

Mmh, as noted in PR/54847, this should be uint64_t, not uint16_t. Harmless
because we use only the two lowest bits anyway.

I believe this could be caught by KUBSAN; time to do another round of
NVMM+K_SAN testing.

Reference nvmmctl(8).
2020-02-10 19:05:05 +00:00
martin 7ab9913b42 Pull up following revision(s) (requested by uwe in ticket #652):
distrib/notes/Makefile.inc: revision 1.54
	distrib/notes/common/main: revision 1.561
	distrib/notes/common/main: revision 1.562
	share/tmac/doc2html: revision 1.71

Use .Os NetBSD/\*M \*V to get more informative footer.

Provide ability to override <title>

If \*[title-section] is non-empty, use it to override the title
instead of appending it.  Nothing in the tree uses title-section
currently, so it shouldn't affect any existing document.

This override will be used by the installation notes where the default
title is less than helpful.

Override HTML <title> to something more informative.
Requested by martin@

Use -mdoc2html to generate HTML TOC to avoids warnings.
2020-01-26 11:19:36 +00:00
martin fbce5c784a Pull up following revision(s) (requested by nia in ticket #635):
sys/dev/pckbport/wskbdmap_mfii.c: revision 1.27
	share/man/man4/pckbd.4: revision 1.22
	sys/dev/hid/hidkbdmap.c: revision 1.2

Support the combination of KB_SWAPCTRLCAPS and UK layout.
Note some more layouts that work with KB_SWAPCTRLCAPS.
2020-01-21 15:39:02 +00:00
martin e84cae6184 Pull up following revision(s) (requested by msaitoh in ticket #626):
sys/arch/amd64/conf/GENERIC: revision 1.552
	sys/dev/pci/if_casreg.h: revision 1.2
	sys/dev/pci/if_cas.c: revision 1.37
	share/man/man4/cas.4: revision 1.4
	sys/dev/pci/if_casvar.h: revision 1.7

 Update supported device list with part number. From FreeBSD.

 Fix a bug that the driver sometimes incorrectly attach gentbi(4) instead of
gphyter(4) on non-fiber device.

Tested with Sun Quad GigaSwift Ethernet UTP (QGE) (part no. 501-6522) on
amd64. On this environment, the problem frequently had occurred. I also
tested with other 4 cas(4) variants.

 Add cas(4).
2020-01-21 11:55:57 +00:00
martin 09dac0d30e Pull up following revision(s) (requested by sevan in ticket #621):
share/man/man9/callout.9: revision 1.29

Update callout_halt() to match src/sys/sys/callout.h
2020-01-21 11:21:52 +00:00
martin 91a7defb93 Pull up following revision(s) (requested by sevan in ticket #579):
share/misc/acronyms: revision 1.290
	share/misc/acronyms: revision 1.291
	share/misc/acronyms.comp: revision 1.284
	share/misc/acronyms.comp: revision 1.285
	share/misc/acronyms.comp: revision 1.286
	share/misc/acronyms.comp: revision 1.287
	share/misc/acronyms.comp: revision 1.288
	share/misc/acronyms.comp: revision 1.289
	share/misc/acronyms: revision 1.288
	share/misc/acronyms: revision 1.289
	share/misc/acronyms.comp: revision 1.290
	share/misc/acronyms.comp: revision 1.291
	share/misc/acronyms.comp: revision 1.292
	share/misc/acronyms.comp: revision 1.293
	share/misc/acronyms.comp: revision 1.294

RDP RFB VNC
ATF NURBS
SICP
GECOS
http://bitsavers.trailing-edge.com/pdf/ge/GE-6xx/CPB-1002A_GE-625_635_GECOS_Jan65.pdf
PPT
INODE STM
GFCI, RCD
CSU UTS
SDR
DAAP DLNA
AWDL, BLE, another NAN
CIA ISMS
Add UPC - universal product code
AVB
2019-12-24 17:42:18 +00:00
martin 045cd8b151 Pull up following revision(s) (requested by sevan in ticket #578):
share/misc/bsd-family-tree: revision 1.76
	share/misc/bsd-family-tree: revision 1.77

sync with FreeBSD r354417

Update to r355063
2019-12-24 17:39:23 +00:00
martin b81a197be0 Pull up following revision(s) (requested by christos in ticket #575):
share/mk/bsd.sys.mk: revision 1.298
	share/mk/sys.mk: revision 1.140

move MV to sys.mk because it is used there. Pointed out by joerg@
2019-12-24 17:32:20 +00:00
martin 725f92dd43 Pull up following revision(s) (requested by jmcneill in ticket #525):
external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
	distrib/sets/lists/modules/md.i386: revision 1.83
	share/mk/bsd.own.mk: revision 1.1168
	usr.bin/mkubootimage/mkubootimage.c: revision 1.25
	sys/modules/dtrace/Makefile: revision 1.7
	usr.bin/mkubootimage/mkubootimage.c: revision 1.26
	sys/modules/dtrace/Makefile: revision 1.8
	external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
	distrib/sets/lists/modules/mi: revision 1.128
	sys/arch/aarch64/include/frame.h: revision 1.3
	sys/arch/evbarm/conf/mk.generic64: revision 1.4
	external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
	sys/modules/cyclic/Makefile: revision 1.4
	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
	sys/arch/aarch64/aarch64/start.S: revision 1.3
	sys/arch/aarch64/aarch64/trap.c: revision 1.22
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
	external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
	distrib/sets/lists/modules/md.amd64: revision 1.82
	usr.bin/mkubootimage/mkubootimage.1: revision 1.13
	distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
2019-12-09 15:19:30 +00:00
martin f859e4c855 Pull up following revision(s) (requested by uwe in ticket #519):
share/tmac/doc2html: revision 1.69

Use groff -Tencoding argument to emit <meta charset="..."/>
2019-12-09 12:46:32 +00:00
martin 73dd29fc77 Pull up following revision(s) (requested by jmcneill in ticket #515):
external/cddl/osnet/dist/uts/common/fs/zfs/arc.c: revision 1.15
	share/mk/bsd.own.mk: revision 1.1167
	external/cddl/osnet/dist/uts/common/os/fm.c: revision 1.2

Provide a default ptob() implementation
Need sys/atomic.h on NetBSD
Enable ZFS support on aarch64
2019-12-08 15:54:34 +00:00
martin 6863550700 Pull up following revision(s) (requested by jmcneill in ticket #512):
share/mk/bsd.kmodule.mk: revision 1.63

Build aarch64 modules without fp or simd instructions.
2019-12-08 14:36:21 +00:00
martin a36acae13c Pull up following revision(s) (requested by riastradh in ticket #508):
distrib/sets/lists/comp/mi: revision 1.2294
	share/man/man9/Makefile: revision 1.443
	sys/sys/atomic.h: revision 1.18
	share/man/man9/atomic_loadstore.9: revision 1.1
	share/man/man9/atomic_loadstore.9: revision 1.2

New atomic load/store operations for the kernel.

Guarantee no fusing and no tearing, and can optionally impose
ordering relative to other memory operations.

Unordered:
- atomic_load_relaxed
- atomic_store_relaxed

Ordered:
- atomic_load_acquire
- atomic_load_consume
- atomic_store_release

These are intended to match C11 semantics, and can be defined in
terms of the C11 atomic API when ready.

Document relation to atomic_ops(3) and membar_ops(3).
2019-12-08 14:26:38 +00:00
martin cc49a2c0f8 Pull up following revision(s) (requested by riastradh in ticket #504):
share/man/man4/rnd.4: revision 1.26
	share/man/man4/rnd.4: revision 1.27
	share/man/man4/rnd.4: revision 1.28
	share/man/man4/rnd.4: revision 1.25

Update man page to reflect switch from CTR_DRBG to Hash_DRBG.

Replace slightly wrong rant by shorter and slightly less long rant.
(If X and Y in Z/2Z are independent, then so are X and X+Y.  What was
I thinking.)

Update NIST SP800-90A reference.

New sentence, new line. Use \(em.
2019-12-08 13:16:53 +00:00
martin 16ad58cacc Pull up following revision(s) (requested by kre in ticket #485):
share/tmac/doc2html: revision 1.68

PR toolchain/54715

Remove duplicate (incorrect) version of the .Lk macro, so the
earlier (fancier and functional) definition survives.

For now simply comment it out.  Sometime later this one should be
removed - but the two have been present since these macros were
first imported (1999) so leaving this visible (but removed) a
little longer shouldn't hurt.

I (believe) this one is the only duplicate of this form.
With this change the Lk macro in doc2html should work as it is designed
(but does not call other macros, and can only have punctuation following
the URL and (optional) anchor args (2nd arg is the anchor if it isn't
punctuation).

Tested by martin@
2019-11-26 08:56:51 +00:00
martin 1deaf2b152 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.
2019-11-25 20:47:24 +00:00
martin a07c462a62 Pull up following revision(s) (requested by msaitoh in ticket #479):
sys/dev/mii/micphy.c: revision 1.9
	sys/dev/mii/miidevs: revision 1.161
	share/man/man4/micphy.4: revision 1.3

 Add Micrel (now Microchip) KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and
KSZ9477.

 Add support for KSZ80[0456]1, KSZ8721, KSZ9[01]31, KS8731 and KSZ9477.
It also supports LAN7430's internal PHY. First wrote by nisimura@ and added
some device support by me. Not tested well.
2019-11-25 16:53:29 +00:00
martin 484a41e43d 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.
2019-11-25 16:44:31 +00:00
bouyer 59a4f95bd4 Pull up following revision(s) (requested by martin in ticket #462):
share/mk/bsd.README: revision 1.397
	etc/Makefile.params: revision 1.21
Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.
2019-11-22 15:26:28 +00:00
martin 374399213a Pull up following revision(s) (requested by sevan in ticket #454):
share/man/man7/ascii.7: revision 1.14
	share/man/man7/ascii.7: revision 1.15

Document standards and correct history.
via Free / OpenBSD.

Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.

Add a table with the full names for the control character set.
2019-11-19 13:20:07 +00:00
martin ebd8253b0d Pull up the following revisions, requested by msaitoh in ticket #451:
sys/dev/pci/if_re_pci.c 		1.50 (patch)
	share/man/man4/re.4			1.17-1.18 (patch)

Add D-Link DGE-530T Rev. C,D and TP-Link TG-3468 v2,v3.
Add note about UDP checksum offload feature to the document.
2019-11-19 13:10:50 +00:00
martin ca59bbe964 Pull up following revision(s) (requested by sevan in ticket #445):
share/examples/npf/host-npf.conf: revision 1.11

With bin/54124 fixed, the rule needs to be explicitly set to stateful.
2019-11-19 10:58:30 +00:00
martin c38f983177 Pull up following revision(s) (requested by sevan in ticket #444):
share/examples/npf/soho_gw-npf.conf: revision 1.13
	share/examples/npf/soho_gw-npf.conf: revision 1.14
	share/examples/npf/soho_gw-npf.conf: revision 1.15
	share/examples/npf/soho_gw-npf.conf: revision 1.16
	share/examples/npf/soho_gw-npf.conf: revision 1.17
	share/examples/npf/soho_gw-npf.conf: revision 1.18
	share/examples/npf/soho_gw-npf.conf: revision 1.19
	share/examples/npf/soho_gw-npf.conf: revision 1.20

Drop the final keyword to use the default policy of last matching rule wins
default policy is to blockall

Add descriptions for all rules and make use of localnet variable in
place of direct IP address
improve description

pastos

Passive FTP works as a client without this and we're not hosting an FTP
server (port are not listed in services_tcp)

Add support for blacklistd

Rename the block table to something else to make it easier to differentiate
between action and name. Use this table as the example for populating by
npfctl.

Drop the int-block table, it's quite cumbersome to have a firewall which
needs the internal network lists added if reboot. Use the localnet
variable to indicated which network we should pass in traffic from instead.
2019-11-19 10:56:35 +00:00
martin a9d1a4cdc0 Pull up following revision(s) (requested by nia in ticket #440):
share/man/man7/sysctl.7: revision 1.142

Document usage of KERN_ARND
2019-11-18 19:45:00 +00:00
martin 799801cc20 Pull up following revision(s) (requested by maxv in ticket #405):
usr.sbin/nvmmctl/nvmmctl.8: revision 1.2
	lib/libnvmm/libnvmm.3: revision 1.24
	sys/dev/nvmm/nvmm.h: revision 1.11
	lib/libnvmm/libnvmm.3: revision 1.25
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.16
	sys/dev/nvmm/nvmm.h: revision 1.12
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.17
	tests/lib/libnvmm/h_mem_assist.c: revision 1.12
	sys/dev/nvmm/x86/nvmm_x86.h: revision 1.18
	share/mk/bsd.hostprog.mk: revision 1.82
	lib/libnvmm/libnvmm.c: revision 1.15
	distrib/sets/lists/base/md.amd64: revision 1.281
	tests/lib/libnvmm/h_mem_assist.c: revision 1.13
	lib/libnvmm/libnvmm.c: revision 1.16
	tests/lib/libnvmm/h_mem_assist.c: revision 1.14
	lib/libnvmm/libnvmm_x86.c: revision 1.32
	lib/libnvmm/libnvmm.c: revision 1.17
	tests/lib/libnvmm/h_mem_assist.c: revision 1.15
	lib/libnvmm/libnvmm_x86.c: revision 1.33
	lib/libnvmm/libnvmm.c: revision 1.18
	usr.sbin/nvmmctl/Makefile: revision 1.1
	tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.7
	tests/lib/libnvmm/h_mem_assist.c: revision 1.16
	lib/libnvmm/libnvmm_x86.c: revision 1.34
	usr.sbin/nvmmctl/Makefile: revision 1.2
	tests/lib/libnvmm/h_mem_assist_asm.S: revision 1.8
	tests/lib/libnvmm/h_mem_assist.c: revision 1.17
	sys/dev/nvmm/nvmm_internal.h: revision 1.13
	lib/libnvmm/libnvmm_x86.c: revision 1.35
	lib/libnvmm/libnvmm_x86.c: revision 1.36
	usr.sbin/postinstall/postinstall.in: revision 1.8
	lib/libnvmm/libnvmm_x86.c: revision 1.37
	lib/libnvmm/libnvmm_x86.c: revision 1.38
	lib/libnvmm/libnvmm_x86.c: revision 1.39
	usr.sbin/Makefile: revision 1.282
	lib/libnvmm/nvmm.h: revision 1.13
	lib/libnvmm/nvmm.h: revision 1.14
	lib/libnvmm/nvmm.h: revision 1.15
	sys/dev/nvmm/nvmm.c: revision 1.23
	lib/libnvmm/nvmm.h: revision 1.16
	sys/dev/nvmm/nvmm.c: revision 1.24
	lib/libnvmm/nvmm.h: revision 1.17
	sys/dev/nvmm/nvmm.c: revision 1.25
	tests/lib/libnvmm/h_io_assist.c: revision 1.9
	etc/MAKEDEV.tmpl: revision 1.209
	tests/lib/libnvmm/h_io_assist.c: revision 1.10
	tests/lib/libnvmm/h_io_assist.c: revision 1.11
	etc/group: revision 1.35
	distrib/sets/lists/man/mi: revision 1.1660
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.40
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.41
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.42
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.43
	sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.44
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.51
	sys/dev/nvmm/nvmm_ioctl.h: revision 1.8
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.52
	sys/dev/nvmm/nvmm_ioctl.h: revision 1.9
	sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.53
	usr.sbin/nvmmctl/nvmmctl.c: revision 1.1
	lib/libnvmm/libnvmm.3: revision 1.20
	distrib/sets/lists/debug/md.amd64: revision 1.106
	lib/libnvmm/libnvmm.3: revision 1.21
	lib/libnvmm/libnvmm.3: revision 1.22
	usr.sbin/nvmmctl/nvmmctl.8: revision 1.1
	lib/libnvmm/libnvmm.3: revision 1.23

Fix incorrect parsing: the R/M field uses a special GPR map when the
address size is 16 bits, regardless of the actual operating mode. With
this special map there can be two registers referenced at once, and
also disp16-only.
Implement this special behavior, and add associated tests. While here
simplify a few things.
With this in place, the Windows 95 installer initializes correctly.
Part of PR/54611.
add missing initializer
Implement XCHG, add associated tests, and add comments to explain. With
this in place the Windows 95 installer completes successfuly.
Part of PR/54611.
Improve nvmm_vcpu_dump().
Put back 'default', because llvm apparently doesn't realize that all cases
are covered in the switch.
Miscellaneous changes in NVMM, to address several inconsistencies and
issues in the libnvmm API.
 - Rename NVMM_CAPABILITY_VERSION to NVMM_KERN_VERSION, and check it in
   libnvmm. Introduce NVMM_USER_VERSION, for future use.
 - In libnvmm, open "/dev/nvmm" as read-only and with O_CLOEXEC. This is to
   avoid sharing the VMs with the children if the process forks. In the
   NVMM driver, force O_CLOEXEC on open().
 - Rename the following things for consistency:
       nvmm_exit*              -> nvmm_vcpu_exit*
       nvmm_event*             -> nvmm_vcpu_event*
       NVMM_EXIT_*             -> NVMM_VCPU_EXIT_*
       NVMM_EVENT_INTERRUPT_HW -> NVMM_VCPU_EVENT_INTR
       NVMM_EVENT_EXCEPTION    -> NVMM_VCPU_EVENT_EXCP
   Delete NVMM_EVENT_INTERRUPT_SW, unused already.
 - Slightly reorganize the MI/MD definitions, for internal clarity.
 - Split NVMM_VCPU_EXIT_MSR in two: NVMM_VCPU_EXIT_{RD,WR}MSR. Also provide
   separate u.rdmsr and u.wrmsr fields. This is more consistent with the
   other exit reasons.
 - Change the types of several variables:
       event.type                  enum -> u_int
       event.vector                uint64_t -> uint8_t
       exit.u.*msr.msr:            uint64_t -> uint32_t
       exit.u.io.type:             enum -> bool
       exit.u.io.seg:              int -> int8_t
       cap.arch.mxcsr_mask:        uint64_t -> uint32_t
       cap.arch.conf_cpuid_maxops: uint64_t -> uint32_t
 - Delete NVMM_VCPU_EXIT_MWAIT_COND, it is AMD-only and confusing, and we
   already intercept 'monitor' so it is never armed.
 - Introduce vmx_exit_insn() for NVMM-Intel, similar to svm_exit_insn().
   The 'npc' field wasn't getting filled properly during certain VMEXITs.
 - Introduce nvmm_vcpu_configure(). Similar to nvmm_machine_configure(),
   but as its name indicates, the configuration is per-VCPU and not per-VM.
   Migrate and rename NVMM_MACH_CONF_X86_CPUID to NVMM_VCPU_CONF_CPUID.
   This becomes per-VCPU, which makes more sense than per-VM.
 - Extend the NVMM_VCPU_CONF_CPUID conf to allow triggering VMEXITs on
   specific leaves. Until now we could only mask the leaves. An uint32_t
   is added in the structure:
        uint32_t mask:1;
        uint32_t exit:1;
        uint32_t rsvd:30;
   The two first bits select the desired behavior on the leaf. Specifying
   zero on both resets the leaf to the default behavior. The new
   NVMM_VCPU_EXIT_CPUID exit reason is added.
Three changes in libnvmm:
 - Add 'mach' and 'vcpu' backpointers in the nvmm_io and nvmm_mem
   structures.
 - Rename 'nvmm_callbacks' to 'nvmm_assist_callbacks'.
 - Rename and migrate NVMM_MACH_CONF_CALLBACKS to NVMM_VCPU_CONF_CALLBACKS,
   it now becomes per-VCPU.
Update the libnvmm man page:
 - Sync the naming with reality.
 - Replace "relevant" by "desired" and "virtualizer" by "emulator", closer
   to what I meant.
 - Add a "VCPU Configuration" section.
 - Add a "Machine Ownership" section.
Add the "nvmm" group, and make nvmm_init() public. Sent to tech-kern@ a few
days ago.
Use the new PTE naming, and define CR3_FRAME_* separately. No functional
change.
Add a new VCPU conf option, that allows userland to request VMEXITs after a
TPR change. This is supported on all Intel CPUs, and not-too-old AMD CPUs.
The reason for wanting this option is that certain OSes (like Win10 64bit)
manage interrupt priority in hardware via CR8 directly, and for these OSes,
the emulator may want to sync its internal TPR state on each change.
Add two new fields in cap.arch, to report the conf capabilities. Report TPR
only on Intel for now, not AMD, because I don't have a recent AMD CPU on
which to test.
Mask CPUID leaf 0x0A on Intel, because we don't want the guest to try (and
fail) to probe the PMC MSRs. This avoids "Unexpected WRMSR" warnings in
qemu-nvmm.
Add PCID support in the guests. This speeds up most 64bit guests, because
since Meltdown, everybody uses PCID (including NetBSD).
Change the way root_owner works: consider the calling process as root_owner
not if it has root privileges, but if the /dev/nvmm device was opened with
write permissions. Introduce the undocumented nvmm_root_init() function to
achieve that.
The goal is to simplify the logic and have more granularity, eg if we want
a monitoring agent to access VMs but don't want to give this agent real
root access on the system.
A few changes:
 - Use smaller types in struct nvmm_capability.
 - Use smaller type for nvmm_io.port.
 - Switch exitstate to a compacted structure.
Add nram in struct nvmm_ctl_mach_info.
Add nvmmctl, with two commands for now.
Macro tidyness.
Sort SEE ALSO.
should be fork(2), noticed by wiz
Add debug entry for newly introduced nvmmctl utility.
Annotate a covering switch as such to avoid warnings about missing
returns.
Forgot to put nvmmctl in the "nvmm" group.
Add nvmm group.
2019-11-10 12:58:29 +00:00
martin 57d057d10f Pull up following revision(s) (requested by msaitoh in ticket #375):
sys/dev/pci/if_alc.c: revision 1.40
	sys/dev/pci/if_alc.c: revision 1.41
	sys/dev/pci/if_alc.c: revision 1.42
	sys/dev/pci/if_alc.c: revision 1.39
	sys/dev/pci/if_alcreg.h: revision 1.8
	share/man/man4/alc.4: revision 1.6

Apply FreeBSD r218141:
 > alc_rev was used without initialization such that it failed to
 > apply AR8152 v1.0 specific initialization code. Fix this bug by
 > explicitly reading PCI device revision id via PCI accessor.
 >
 > Reported by:	Gabriel Linder ( linder.gabriel <> gmail dot com )

 Move PCIe initialization code from alc_attach() to alc_init_pcie().
No functional change.

Some alc(4) fixes:
- Apply FreeBSD r218141:
 > alc_rev was used without initialization such that it failed to
 > apply AR8152 v1.0 specific initialization code. Fix this bug by
 > explicitly reading PCI device revision id via PCI accessor.
 >
 > Reported by:	Gabriel Linder ( linder.gabriel <> gmail dot com )

- Apply FreeBSD r304574:
 > Correct DMA channel number selection on AR816x family of
 > controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x
 > except L1D controller, use vendor recommended ASPM parameters.
 > While here, increase alc_dma_burst array size.  Broken H/W can
 > return bogus value in theory.

- Use static.

- Whitespace fix. Remove extra backslash.

Add support for Killer E2400 and E2500.
2019-10-24 16:23:17 +00:00
martin 765c8a998a Pull up following revision(s) (requested by maxv in ticket #336):
sys/dev/isa/tpm_isa.c: revision 1.6
	sys/dev/ic/tpm.c: revision 1.16
	sys/dev/isa/tpm_isa.c: revision 1.7
	sys/dev/acpi/tpm_acpi.c: revision 1.10
	sys/dev/acpi/tpm_acpi.c: revision 1.11
	sys/dev/ic/tpmreg.h: revision 1.5
	sys/dev/ic/tpmreg.h: revision 1.6
	sys/dev/acpi/tpm_acpi.c: revision 1.9
	sys/dev/ic/tpmvar.h: revision 1.5
	sys/dev/ic/tpmvar.h: revision 1.6
	sys/dev/ic/tpmvar.h: revision 1.7
	sys/dev/ic/tpm.c: revision 1.14
	share/man/man4/tpm.4: revision 1.5
	sys/dev/isa/tpm_isa.c: revision 1.5
	sys/dev/ic/tpm.c: revision 1.15

Improvements in tpm(4):
  - Remove interrupt support, do polling only, avoids unnecessary trouble.
  - Simplify a few things.
  - Fix the suspend function, the SaveState command is 0x98, not 0x9C.
  - Make the driver MP-safe.
  - Sync the man page with reality.

 -

Add suspend support for TPM 2.0 chips. Check the TPM response also for 1.2
chips. Unfortunately I cannot really test this change since ACPI suspend
does not work on any of my laptops.

 -

Provide a better abstraction for the TPM interface. Report it in the ioctl.
2019-10-16 09:52:38 +00:00
martin 2f4d2c0e06 Pull up the following revisions, requested by msaitoh in ticket #246:
sys/dev/pci/ixgbe/ixgbe_type.h			1.42-1.43
	sys/dev/pci/ixgbe/ixgbe.c			1.209-1.213
	sys/dev/pci/ixgbe/ixgbe_x550.c			1.16
	sys/dev/pci/ixgbe/ixv.c				1.131-1.138
	sys/dev/pci/ixgbe/ixgbe_vf.c			1.19-1.22
	sys/dev/pci/ixgbe/ixgbe_vf.h			1.14
	sys/dev/pci/ixgbe/ixgbe.h			1.57-1.58
	share/man/man4/ixv.4				1.5

- Fix a bug that MBSDC (Bad SFD Count) isn't counted on X550EM_X and
  X550EM_A. The register is for X550 and newer.
- ixv(4): Make SIOCADDMULTI returns ENOSPC and print error message
  when the Ethernet multicast address list exceeds the limit(30) and
  can't be ALLMULTI.
- ixv(4): SIOCZIFDATA clear the event counters as ixgbe.c.
- Reduce ixv(4)'s multicast table array size in ixv_set_multi from
  MAX_NUM_MULTICAST_ADDRESSES(128) to IXGBE_MAX_VF_MC(30).
- ixv(4): Add support ALLMULTI and PROMISC.
- if_flags is neither int nor short. It's unsigned short.
- ixg(4): Fix a bug that the multicast filter isn't correctly
  initialized when the total number of the Ethernet multicast
  addresses is just 128.
- Make ixv_set_multi() work correctly (especially for PROMISC) when the
  function is called from if_init().
- Remove *_set_promisc() and use *_set_multi(). And then, rename
  *_set_multi() to *_set_rxfilter().
- ixv(4): If a multicast entry has range, use ALLMULTI like others.
- Fix typo in comment. Found by Wataru Ashihara.
2019-09-26 19:07:22 +00:00