Commit Graph

251833 Commits

Author SHA1 Message Date
jmcneill
f9f219dd71 Add i2c glue. 2017-06-29 19:16:08 +00:00
joerg
f2faadd888 Mark a few more things as not-for-clang. While the sanitizers would
likely build, there are ordering issues relative to the libc++ build
right now.
2017-06-29 18:52:23 +00:00
jmcneill
7e5cfd7c2e Synopsys DesignWare APB UART needs "options COM_AWIN" for now. 2017-06-29 17:20:59 +00:00
jmcneill
1e6185e470 Add USB stuff. Doesn't quite work yet. 2017-06-29 17:08:52 +00:00
jmcneill
255d8d6900 Support parents in different clock domains. 2017-06-29 17:06:21 +00:00
jmcneill
2c2482e57c Rename a variable, NFC. 2017-06-29 17:05:26 +00:00
jmcneill
7f75a995d0 Add glue for generic ehci/ohci bindings. 2017-06-29 17:04:53 +00:00
jmcneill
612ef4c93a Add FDT PHY interface. 2017-06-29 17:04:17 +00:00
jmcneill
68166010ca SD/MMC clock fixes 2017-06-29 10:53:59 +00:00
jmcneill
11d415cdd2 Add H3 MMC support 2017-06-29 09:26:06 +00:00
knakahara
e3753d8251 reduce rump waring message. pointed out by ozaki-r@n.o, thanks. 2017-06-29 08:51:27 +00:00
ozaki-r
5bd67db98a Tweak outputs of netstat -s for IPsec
- Get rid of "Fast"
- Use ipsec and ipsec6 for titles to clarify protocol
- Indent outputs of sub protocols

Original outputs were organized like this:

(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:
(Fast) IPsec:
IPsec ah:
IPsec esp:
IPsec ipip:
IPsec ipcomp:

New outputs are organized like this:

ipsec:
	ah:
	esp:
	ipip:
	ipcomp:
ipsec6:
	ah:
	esp:
	ipip:
	ipcomp:
2017-06-29 07:15:27 +00:00
ozaki-r
8f43f955ac Apply C99-style struct initialization to xformsw 2017-06-29 07:13:41 +00:00
kre
2977f4314f Fix an obvious, but almost invisible typo (avoid some core dumps). 2017-06-29 02:54:40 +00:00
jmcneill
fa6dc6255f ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.

Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
2017-06-29 00:11:28 +00:00
jmcneill
a07e90f375 Add initial support for Allwinner H3 SoC. 2017-06-28 23:51:29 +00:00
jmcneill
758590fd30 Support interrupt sharing. 2017-06-28 23:49:29 +00:00
jmcneill
16ab290372 Add support for ARM Power State Coordination Interface (PSCI). 2017-06-28 23:48:22 +00:00
jmcneill
d0a5c1902d Attach fdtbus to a /clocks node with no compatible string. 2017-06-28 23:45:20 +00:00
skrll
269ccc7668 Revert the KERNHIST for now it causes problems 2017-06-28 20:46:35 +00:00
rjs
07da4681ec Pack assoc structs. 2017-06-28 14:39:33 +00:00
rjs
603784a405 Put back some commented out code. 2017-06-28 14:38:18 +00:00
kre
4754b1e8f4 Now libedit supports embedded mode switch sequence, improve sh
support for them (adds PSlit variable to set the magic character).
2017-06-28 13:46:06 +00:00
rjs
5a941ae679 Whitespace. 2017-06-28 13:22:28 +00:00
christos
c4c3d29fe2 PR/52346: Frank Kardel: Fix checksumming for NAT-T
See XXX for improvements.
2017-06-28 13:12:37 +00:00
ozaki-r
3f42983046 Enable to remove multiple ARP/NDP entries for one destination
The kernel can have multiple ARP/NDP entries which have an indentical
destination on different interfaces. This is normal and can be
reproduce easily by ping -I or ping6 -S. We should be able to remove
such entries.

arp -d <ip> and ndp -d <ip> are changed to fetch all ARP/NDP entries
and remove matched entries. So we can remove multiple entries
described above. This fetch all and selective removal behavior is
the same as arp <ip> and ndp <ip>; they also do fetch all entries
and show only matched entries.

Related to PR 51179
2017-06-28 08:17:50 +00:00
ozaki-r
da803ed70d Restore ARP/NDP entries to route show and netstat -r
Requested by dyoung@ some time ago
2017-06-28 04:14:53 +00:00
ozaki-r
fcbd6bf4fa Drop RTF_LLINFO flag (now it's RTF_LLDATA) from local routes
They don't have llinfo anymore. And also the change fixes unexpected
behavior of ARP proxy.
2017-06-28 04:10:47 +00:00
msaitoh
2faedc36df Add IXGBE_TIPG_IPGT_MASK and IXGBE_PAP_PACE_MASK for packet pacing. 2017-06-28 03:57:36 +00:00
manu
de828cbdf9 Make DHCP programs compatible with crunchgen(1)
DHCP programs are incompatible with crunchgen(1) so far, because
libdhcp uses callbacks with the same function names for dhclient,
dhcrelay, dhcpd, and omshell. As a result, it is impossible to
link correctly in a single binary.

The offending symbols are classify, check_collection, dhcp, dhcpv6,
bootp, find_class, parse_allow_deny, and dhcp_set_control_state, and
the local_port and remote_port variables.

This change make each program register an array of callbacks at
main() start. libdhcp then uses callbacks through registered
function and variable pointers, and DHCP programs can now go
trough crunchgen(1).

Submitted upstream as ISC-Bugs #45330 with a patch against latest ISC git.
The soon to be released 4.3.6 will not include the change, but it is
likely to be included in 4.3.7
2017-06-28 02:46:30 +00:00
christos
f51c99da13 fix comment 2017-06-27 23:29:12 +00:00
christos
650f73e320 Add literal prompt support this allows one to do:
CA="$(printf '\1')"
PS1="${CA}$(tput bold)${CA}\$${CA}$(tput sgr0)${CA} "
2017-06-27 23:27:03 +00:00
christos
9abf018dda add literal escape sequence support, patterned after the tcsh ones. 2017-06-27 23:25:13 +00:00
christos
bec29a0714 remove unused variable 2017-06-27 23:24:19 +00:00
christos
3d09ba7b3f - add literal sequence handling. 2017-06-27 23:23:48 +00:00
christos
06d596a8e9 - handle literal escape sequence printing.
- factor out common code in allocation and freeing of the display.
2017-06-27 23:23:09 +00:00
christos
0a321818f6 mention the limitation of the literal sequence delimiter. 2017-06-27 23:22:20 +00:00
rjs
5c6f04e07f Use host byte order for a debug message. 2017-06-27 13:54:56 +00:00
rjs
5c08ce632a Check outgoing cookie size before accessing any contents.
Spotted in FreeBSD by maya.
2017-06-27 13:27:54 +00:00
kre
8ca5565bc1 Make one example more like a real world possibility (it still isn't, but
is closer) - though the actual content is irrelevant to the point being made.
2017-06-27 12:43:44 +00:00
roy
b256d63efb Use if_get_bylla() instead of just looking at the lla of the interface
the address belongs to.
This allows any ARP message we receieved from another interface to
be correctly dropped.

While here, move the protocol length check higher up the food chain.
2017-06-27 12:21:54 +00:00
roy
1cc8ff0c37 Introduce if_get_bylla to find an interface with the active
local link address.
2017-06-27 12:17:27 +00:00
rjs
849d01719d Pack structs. 2017-06-27 11:55:07 +00:00
msaitoh
be03e41fee Fix a bug of ixg(4)'s media setting.
Before:
 ifconfig ixg0 media 100baseTX	-> advertise 100Mbps only
 ifconfig ixg0 media 1000baseT	-> advertise 1Gbps and 1000Mbps (NG)
 ifconfig ixg0 media 10Gbase-T	-> advertise all (NG)
 ifconfig ixg0 media auto	-> advertise all

After:
 ifconfig ixg0 media 100baseTX	-> advertise 100Mbps only
 ifconfig ixg0 media 1000baseT	-> advertise 1Gbps only
 ifconfig ixg0 media 10Gbase-T	-> advertise 10Gbps only
 ifconfig ixg0 media auto	-> advertise all
2017-06-27 10:33:09 +00:00
nat
af8b3fed23 Ensure to close open file descriptors.
Patch by pgoyette@.
2017-06-27 09:44:13 +00:00
nat
d5748a48aa KNF. NFCI. 2017-06-27 09:35:05 +00:00
hannken
ad2fab4568 Add missing check for dead or dying vnode to the entry of genfs_getpages(). 2017-06-27 08:40:53 +00:00
wiz
30b9dfc881 Get rid of workarounds for ancient groff html backend.
Simplify macro usage.
2017-06-27 08:30:40 +00:00
wiz
8ee64d3cbe regen (comment change only) 2017-06-27 08:09:50 +00:00
wiz
209f6b7bb5 Add verb to sentence. 2017-06-27 08:09:14 +00:00