Commit Graph

287365 Commits

Author SHA1 Message Date
yamaguchi
90e5cc3774 Fix the wrong CHAP option length in conf-nak
RFC 1994 defines that the CHAP option length in conf-nak is 5.
However, 4 was used when CHAP is cofigured and PPP is proposed
by a peer.
2021-04-26 08:45:57 +00:00
yamaguchi
c58fde1d88 Avoid updating of the state if the state is not changed
not to reset the timer for state machine
2021-04-26 08:42:19 +00:00
yamaguchi
a672d72767 Reset LCP fail counter when doing "ifconfig pppoe* up" 2021-04-26 08:37:54 +00:00
yamaguchi
648856a579 Added ipcp option name for logging 2021-04-26 08:34:22 +00:00
yamaguchi
e1bdd0a24f Ignore 0.0.0.0 offered from PPPoE server 2021-04-26 08:31:21 +00:00
mrg
76786797bf if raidframe sets booted_device, log a debug message about it. 2021-04-26 07:27:24 +00:00
mrg
1feec5b355 iommu_enter() and iommu_remove() are static to iommu.c. 2021-04-26 07:18:01 +00:00
mrg
1c682a68c9 use GCC_NO_IMPLICIT_FALLTHRU. 2021-04-26 07:17:30 +00:00
yamaguchi
121b27d0d0 Fix locking order since IFNET_LOCK must be held
before acquiring SPPP_LOCK
2021-04-26 02:36:45 +00:00
christos
ef70f9b69b Revert the AFLAGS change since it affects kernels. 2021-04-26 00:38:23 +00:00
christos
68c1751d5e Produce elf32 images for mipsn64eb too 2021-04-26 00:28:01 +00:00
christos
885f4c70a1 Copied from mips64el 2021-04-25 23:58:23 +00:00
christos
6b942a58a1 copied from mips64eb 2021-04-25 23:57:47 +00:00
christos
ef96cd7f1c Handle mipsn64 2021-04-25 23:52:59 +00:00
christos
e8ee02e023 Use ${MACHINE_MIPS64} 2021-04-25 23:43:20 +00:00
christos
d25e0fedfb Handle mipsn64 2021-04-25 23:40:51 +00:00
christos
8c90f798cc handle mipsn64 2021-04-25 23:40:05 +00:00
christos
2beb407a26 regen for mipsn64eb 2021-04-25 23:38:40 +00:00
christos
f6c4e00751 Add a mipsn64 target 2021-04-25 23:35:52 +00:00
christos
fa2958e45d use ${MACHINE_MIPS64} 2021-04-25 23:24:00 +00:00
christos
9caec56aae handle mipsn64el 2021-04-25 23:23:19 +00:00
christos
b5bf390898 regen for mipsn64eb 2021-04-25 23:21:08 +00:00
christos
4d74c4e283 add mipsn64 targets 2021-04-25 23:18:42 +00:00
christos
fc046893c7 regen for mipsn64eb 2021-04-25 23:16:26 +00:00
christos
cfe96b2e15 Add support for mipsn64 targets which build 64 bit binaries by default
on instead of n32
2021-04-25 23:12:53 +00:00
christos
742eb06965 use ${MACHINE_MIPS64} 2021-04-25 22:45:16 +00:00
christos
817c6be628 Choose the right compat sets for the platform:
mipsn64 -> o32 n32
mips64 -> o32 64
2021-04-25 22:30:29 +00:00
christos
609e726869 Add mipsn64e[bl] targets which use 64 bit binaries instead of n32 ones. 2021-04-25 22:29:22 +00:00
christos
25aecf51e6 All mips64 has compat_netbsd32 2021-04-25 22:27:08 +00:00
christos
bb13676ffd Limit no-error to stack-protector 2021-04-25 22:25:55 +00:00
christos
e751f111c8 - Disable stack-protector errors like we did for cc1plus
- use ${MACHINE_MIPS64}
2021-04-25 22:25:00 +00:00
mrg
85c5fb6120 fix a comment to match the code. 2021-04-25 21:59:38 +00:00
christos
617e25cc45 make MACHINE_MIPS a boolean not a condition 2021-04-25 21:55:58 +00:00
rillig
2bf1c0cbcf tests/make: add tests for ${...} without operator in conditions
These tests are already covered in cond-cmp-unary.mk, but my first guess
was to search for these tests in cond-token-var.mk, so keep them in both
tests.
2021-04-25 21:05:38 +00:00
rillig
3e4a0edf9f cgram: use ASCII-only implementation of <ctype.h> functions
The function 'encode' already assumes that all letter characters are
contiguous and that there are only 26 letters of each case.  At the
moment, cgram cannot handle UTF-8 anyway since it reads the input
byte-wise, assuming that each byte is exacty one character.
2021-04-25 20:38:03 +00:00
rillig
0721cc8d68 cgram: provide usage on incorrect invocation 2021-04-25 20:19:19 +00:00
rillig
1f36a02f91 cgram: conform to lint's strict bool mode, KNF 2021-04-25 20:14:29 +00:00
christos
1075ff19ce define BFD_MACHINE_ARCH. This worked by accident before since the default
64 bit target was 32 bits.
2021-04-25 18:44:04 +00:00
thorpej
f951576efa it8368_attach_socket(): Pass the device_t to config_found(), not the
softc.  This was missed due to a (void *) cast when the device_t / softc
split changes occurred.
2021-04-25 18:26:15 +00:00
thorpej
dd5b3b4c32 Document thorpej-i2c-spi-conf branch. 2021-04-25 18:16:25 +00:00
rin
3fce5ffb9d Add missing \ for previous. 2021-04-25 15:33:15 +00:00
rin
7b81801bbc Update as(1) failure on armv6; it occurs also for earmv6hfeb, whereas it
does not for earmv6{,eb}.
2021-04-25 15:32:24 +00:00
christos
3c0adb8bc4 mips64 -> o32 64
mipsn64 -> o32 n32
2021-04-25 15:18:23 +00:00
christos
e21885fc4c use MACHINE_MIPS64 2021-04-25 15:16:56 +00:00
christos
2e3d1ab31f mipsn64* is native 64 2021-04-25 15:12:02 +00:00
christos
433776ffe2 Make mips-elf2ecoff available for all mips 2021-04-25 15:11:28 +00:00
christos
2b59ea2015 fix cargo-cult 2021-04-25 15:09:08 +00:00
christos
ff47a56302 - include <bsd.init.mk>
- use MACHINE_MIPS64
2021-04-25 15:08:28 +00:00
christos
962e2e4b64 MACHINE_CPU is always mips (no functional change) 2021-04-25 15:06:49 +00:00
christos
8c4355e24e - since we are using regex already, shorten by merging arm and mips entries
- add a MACHINE_MIPS64 macro shorthand
- pass -m{soft,hard}-float to the assembler when we are passing it to the
  compiler
2021-04-25 14:32:20 +00:00