christos
b307b81829
ignore cvslatest errors in expert mode
2021-05-14 22:06:34 +00:00
rillig
e0df50670a
tests/lint: test bitwise mismatch in switch statement
2021-05-14 21:14:55 +00:00
rillig
b151bade28
tests/make: show that in ':S', '.' and '*' are ordinary characters
2021-05-14 19:37:16 +00:00
simonb
7efd30162c
Fix a missed bitmask to __SHIFTOUT conversion in rev 1.12.
...
Fixes negotiation problems on non-gige switches. Problem discovered and
tested by riastradh@.
2021-05-14 13:36:28 +00:00
jmcneill
af67ce95ae
Replace aprint_error with aprint_error_dev in config_interrupts callback.
2021-05-14 09:25:14 +00:00
yamaguchi
fe63e5c41b
Added a keyword to change keepalive interval
2021-05-14 09:08:59 +00:00
yamaguchi
409d08390a
Add a parameter to change keepalive interval in each PPPoE I/F
2021-05-14 08:41:25 +00:00
yamaguchi
542218674b
Added SPPP_NORECV_TIME option to change pp_max_noreceive
2021-05-14 08:31:14 +00:00
yamaguchi
aec75754e3
Send echo request even while user data is received
...
if pp_max_noreceive is 0
2021-05-14 08:11:08 +00:00
yamaguchi
5b036654ab
Introduce SPPP_KEEPALIVE_INTERVAL option
...
to change the interval between LCP echo requests
2021-05-14 08:06:32 +00:00
msaitoh
b60f751dde
Keep m_len and m_pkthdr.len consistent to prevent panic on arm.
...
Arm's bus_dmamap_load_mbuf() keeps a pointer to the original mbuf
and bus_dmamap_sync() refers it. ixgbe_rxeof() modified mbuf's m_len
inconsistently with m_pkthdr and dm_mapsize. "ifconfig down up" made
panic by referring the inconsistent mbuf length.
2021-05-14 05:15:17 +00:00
knakahara
72e3bcaa68
Comment out flow director processing in fast path.
...
ixgbe_xmit() is per-queue fast path. It should reduce access to
per-device data (adapter->feat_en).
2021-05-14 01:30:06 +00:00
nia
b4dc6216b2
this is not FreeBSD
2021-05-13 09:05:19 +00:00
nia
a7a8521793
zfs: this is not FreeBSD
2021-05-13 09:03:35 +00:00
hannken
618809e522
ntfs_loadntnode(): Use bread() when ntm_sysvn[NTFS_MFTINO] is NULL.
...
May happen when loading node 0 (MFT) during mount and some
attributes are stored in another ntnode.
PR kern/56160 (Mount ntfs usb disk)
2021-05-13 08:57:29 +00:00
hauke
256e7ebe22
We do not match machines whose SWIM does not support the IWM register
...
set used by this driver (SWIM II/III, SWIM behind IOP, AV models' DMA
based controllers). Unfortunately, this distinction does not run
cleanly along MACH_CLASS* lines, and we have to look at MACH_MAC{model} tags.
2021-05-13 08:47:21 +00:00
msaitoh
f4a6b95a0d
Use unsigned to avoid undefined behavior in GRF_GPIO_P_{CTL,WRITE_EN}.
...
Found by kUBSan.
2021-05-13 06:15:41 +00:00
simonb
b257d2aec5
Update ISA for some "L" variant instructions after checking the R4400 UM.
2021-05-13 06:15:29 +00:00
msaitoh
2f8b3c434e
Cast to uint32_t to avoid undefined behavior in dwc_gmac_write_hwaddr().
...
Found by kUBSan.
2021-05-13 05:56:39 +00:00
msaitoh
10f8ea68c3
Use unsigned to avoid undefined behavior in hwrite[12](). Found by kUBSan.
2021-05-13 05:54:14 +00:00
simonb
039568c3d5
Note which ISA the unimplemented instructions belong to.
2021-05-13 04:55:12 +00:00
yamaguchi
7fa77e9ff4
Drop PADS and PADT from unknown host for safety
2021-05-13 03:48:55 +00:00
simonb
28ef9100ec
If we're going to print a number in hex, at least put a 0x in front of it.
2021-05-13 03:41:46 +00:00
yamaguchi
6af4209c35
Fix the wrong state check
...
After disconnection from PPPoE server, the client waits for
reconnection in initial state or reconnects in PADI state.
2021-05-13 03:37:58 +00:00
yamaguchi
90be7a8a21
Change reconnect delay after PADT received (15 sec -> 5 sec)
...
5 sec is the same as minimum PADI resending interval
2021-05-13 03:28:36 +00:00
yamaguchi
5ea21c7cb4
Accept a frame like a PADT just containing PPPoE header
2021-05-13 01:01:10 +00:00
thorpej
8f4325f173
Add OFW PCI subroutines if PCI support is included in the kernel.
2021-05-12 23:48:41 +00:00
thorpej
4c5901a840
- Define a device call for PCI bus instances to fetch a direct child's
...
device handle given the device's device/function #s (extracted from
a pcitag_t). Use it to associate the handle with the child device
at config_found() time.
- Implement this device call for ACPI and OpenFirmware.
- Enable the OpenFirmware variant for evbarm FDT, macppc, ofppc, sparc64.
- Obsolete acpi_device_register(); it is no longer needed.
- Obsolete setting the OpenFirmware handle in PCI devices in the
sparc64 device_register(); it is no longer needed.
2021-05-12 23:22:32 +00:00
thorpej
74004eb8bd
In mpacpi_pci_attach_hook(), set the device handle of the PCI bus instance
...
to the associated ACPI handle if a device handle is not already set.
XXX This is a mess. Sure would be nice if it looked / worked more like
XXX the ARM code.
2021-05-12 22:17:40 +00:00
thorpej
c66d1ca552
Pass along our devhandle to the PCI bus instance we attach.
2021-05-12 21:56:13 +00:00
kre
dabfbe63eb
Adapt to recent change to ../snake/pathnames.h
2021-05-12 15:26:44 +00:00
nia
7570066346
snake: Avoid creating definitions prefixed with _ inside a program
2021-05-12 11:08:31 +00:00
knakahara
03a3778894
Fix i386 build failure with options WM_EVENT_COUNTERS.
...
pointed out by msaitoh@n.o.
2021-05-12 10:16:12 +00:00
mrg
201465fecc
push the FFSv1 superblock code into ffs_find_superblock() and
...
hide all the ugliness in this function, out of ufs_open().
NFC, objects same size if not identical.
2021-05-12 08:45:28 +00:00
cjep
ac6ba04d2d
Add macOS High Sierra to the list of verified build platforms
2021-05-12 06:39:28 +00:00
thorpej
d1083ec146
Pass along our device handle to the PCI bus instance we attach.
2021-05-12 04:07:34 +00:00
simonb
35f4fddec3
Whitespace nit.
2021-05-12 03:53:37 +00:00
nia
47f65e3eb4
doc: added Neo 2 keyboard layout
2021-05-11 14:52:22 +00:00
nia
694dad1773
wskbd.4: document neo layout
2021-05-11 14:51:34 +00:00
simonb
b8df08a1a4
Use "static" in the function intro if the function is static.
2021-05-11 14:41:08 +00:00
nia
68060a3e71
wscons: add support for the Neo 2 German keyboard layout
...
Neo is an optimized layout for German and English, similar to
Dvorak for English. It can be used to type most Latin-based languages
and has separate layers for symbols and directional commands.
2021-05-11 10:16:48 +00:00
simonb
9294f4a7d4
Revert rev 1.5 - put the NOFPU option back. Older cnMIPS cores don't
...
have an FPU.
2021-05-11 09:21:24 +00:00
skrll
d0fa619d08
Consistently have ALIGN sizes as the power of two size, i.e. change
...
FDT_ALIGN, and use the same math(s) to round.
In the process fix the load_offset for the kernel to use the EFIBOOT_ALIGN
aligned address if that's what we get from AllocatePages.
2021-05-11 07:15:10 +00:00
yamaguchi
428f5be81d
Make authproto not change when "authproto" is not in command option
2021-05-11 06:58:03 +00:00
yamaguchi
77103423a2
clear authentication protocol when SPPP_AUTHPROTO_NONE is specified
2021-05-11 06:42:42 +00:00
yamaguchi
99fdb9d66a
Drop packets that have no NCP not to start auto-dial
2021-05-11 06:33:17 +00:00
yamaguchi
0d7b654a12
Added missing if_oerror incrementing
2021-05-11 06:27:18 +00:00
yamaguchi
9500534129
Move RCA event after RCR event
...
A authentication failed by TO+ event between RCA and RCR events
1. RCA event in REQ-SENT state
- REQ-SENT => ACK-RCVD
2. TO+ event
- ACK-RCVD => REQ-SENT
3. RCR+ event
- REQ-SENT => ACK-SENT
By moving RCA after RCR, the state is transisted to OPENED
1. RCR event
- REQ-SENT => ACK-SENT
2. TO+ event
- state is not changed
3. RCA event
- ACK-SENT => OPENED
2021-05-11 06:21:28 +00:00
thorpej
ce4235044b
Forward the bridge's devhandle to the downstream bus.
2021-05-11 06:03:54 +00:00
yamaguchi
5416d07a0e
Add tests for "pppoectl {no}[ipcp|ipv6cp]"
2021-05-11 05:57:02 +00:00