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
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
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
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
thorpej
63c2a287cf
All of the OFW-enumerated busses now associate the OFW node with the
...
device at config_found() time, so we can remove all of the stuff from
device_register() that does it, leaving only the @pci case to fix that
up (similar situation with ACPI on ARM and x86).
Adapt the boot device matching code to use the devhandle from the
device_t rather than the previous mechanism, and add some comments
explaining what's going on and some assertions to validate the
comments.
Collapse the sun4v vdsk boot device detection into the normal "sd"
case because it's almost identical to the normal "sd" case anyhow.
2021-05-11 03:43:30 +00:00
rin
282acd838f
Call bus_dmamap_unload(9) via ixgbe_dmamap_unload(), before freeing
...
DMA buffer. Also, when the buffer is already freed, do not call
bus_dmamap_unload(9) (no resource leaks with this change).
Otherwise, MMU fault occurs for some bus_dma(9) implementations.
With this fix, X550-T1 and X540-T1 work fine on alpha (at least
DS10 with PCI-PCIe reverse bridge).
Discussed with msaitoh. Thanks!
2021-05-11 01:30:30 +00:00
yamaguchi
bdaf362302
Added ioctl commands for configuring NCP of pppoe(4)
2021-05-11 01:27:45 +00:00
yamaguchi
daaf816306
back to r1.34 because of mistake of commit log
2021-05-11 01:23:21 +00:00
yamaguchi
8a818d09dc
Revert previous commit because of mistake of commit log
...
back to r1.230(if_spppsubr.c) and r1.31(if_sppp.h)
2021-05-11 01:15:11 +00:00
yamaguchi
6921f43579
Added keywords that are ipcp, noipcp, ipv6cp, noipv6cp
...
for configuring NCP
2021-05-11 01:00:49 +00:00
thorpej
495d41e946
Specify the "fdt" interface attribute when configuring via FDT, since
...
mainbus also carries the "mainbus" interface attribute.
2021-05-10 23:58:52 +00:00
thorpej
65c738d19c
Associate the OpenBoot / OpenFirmware node with attached devices
...
at config_found() time.
2021-05-10 23:53:44 +00:00
thorpej
964806864a
sparc{,64} promlib -> devhandle_t glue
2021-05-10 13:59:30 +00:00
skrll
4e15d77406
KNF
2021-05-08 13:10:29 +00:00
skrll
ae706e3c44
KNG
2021-05-08 13:09:58 +00:00
rin
b707b569c5
Catch up with this commit:
...
http://www.nerv.org/netbsd/?q=id:20210507T165558Z.d4aba9e0e053181f2a98ee4ee43012b50949921b
by which per slot tcs_used flag was obsoleted.
No need to initialize __BIT(0) of sc_slots_used here; it is zero anyway
before calling tcattach().
2021-05-08 09:03:30 +00:00
thorpej
c06247ced2
Use pci_compatible_match().
2021-05-08 00:27:02 +00:00
thorpej
c119c284e9
More symbol sanitizing.
2021-05-08 00:08:43 +00:00
thorpej
9db847685b
Static'ify more symbols.
2021-05-07 22:46:10 +00:00
thorpej
b7b2b8a3d8
Liberally sprinkle static around to get more symbols out of the
...
global namespace. A small bit of const poisoning in the TC code.
2021-05-07 16:58:33 +00:00
thorpej
e2840100a9
A small bit of const poisoning.
2021-05-07 16:55:58 +00:00
hannken
7d26170aba
Track the number of cdev and bdev opens and fail dm_detach()
...
on open devices unless detach is forced.
PR kern/54969 (Disk cache is no longer flushed on shutdown)
2021-05-07 09:54:43 +00:00
hannken
47c6510732
Make sure the unit number of device-mapper devices matches their minor number.
2021-05-07 09:53:39 +00:00
msaitoh
7a9d05b407
Print the error value of ixgbe_reset_hw() for debugging.
2021-05-07 09:15:52 +00:00
rin
735b9693ea
PR port-mvme68k/56146
...
Build wrtvid as tools.
2021-05-06 13:23:36 +00:00
rin
b7e3a91e98
Unhook elf2bb and txlt as they are built as tools.
2021-05-06 13:07:00 +00:00
yamaguchi
5d69fa28dc
do not clear destination address if there is no saved address
...
and add initialization of saved_hisaddr for safety
0.0.0.0 was sometimes configured to destination address when
ipcp close was occurred before ipcp tlu.
Following messages will be appeared when the issue is encountered and
debug for pppoe(4) is enabled.
tc-so:[ 1.890005] pppoe0: ipcp close(starting)
(snip)
tc-so:[ 1.890005] pppoe0: ipcp_open(): no IP interface
2021-05-06 06:18:16 +00:00
yamaguchi
a0c635c379
Added m_freem for safety
...
pointed out by knakahara@, thanks.
2021-05-06 02:05:09 +00:00
jmcneill
bf4c995c05
Fix GENERIC64 build
2021-05-05 20:58:03 +00:00
jdolecek
23c31e7fd3
disable MSI for SiI3124 - interrupts don't seem to work on this old board
...
when MSI is enabled, maybe because it's behind a PCI bridge
PR kern/55115 by John D. Baker
2021-05-05 19:30:51 +00:00
thorpej
d150dc8d01
Remove unneeded Makefile dependency for things which have long since
...
used opt_*.h headers.
2021-05-05 15:39:39 +00:00
thorpej
8c0088cdb7
Remove unused dot_conv() function.
2021-05-05 15:36:17 +00:00
thorpej
f19bd5bd6d
Disable preemption around the main work of badaddr_read() and delay();
...
they both use "current CPU" resources.
2021-05-05 15:34:54 +00:00
thorpej
9927e7a8be
Make scb_strat() static.
2021-05-05 14:58:57 +00:00
jmcneill
cd8fccb48b
Add loadfile_machdep.h for riscv
2021-05-05 12:47:02 +00:00
jmcneill
6c4affb922
Add support for Allwinner V3s, from Rui-Xiang Guo.
2021-05-05 10:24:04 +00:00
simonb
9067f6d4d2
Sprinkle some static.
2021-05-05 06:47:29 +00:00
simonb
cc8be526c0
The watchdog setup code isn't used (yet), so don't compile in the
...
octeon_nmi_stack that it uses either.
2021-05-05 06:46:37 +00:00
thorpej
efdf627147
Decorate cpu_info_list with __read_mostly; it's never modified once
...
all the CPUs are attached.
2021-05-05 03:54:16 +00:00
thorpej
0cdcacbb9b
Moar static.
2021-05-05 02:15:18 +00:00
thorpej
af8fe53583
Add a linker script for the kernel. The main difference vs the
...
standard built-in for "ld -N" is to actually process the
.data.cacheline_aligned and .data.read_mostly sections correctly.
2021-05-05 01:35:35 +00:00