Commit Graph

235131 Commits

Author SHA1 Message Date
jmcneill
e1b20f2837 Add Tegra K1 PCIE support. 2015-05-03 01:07:44 +00:00
matt
99f92b6303 Deal with 64-bit BARs 2015-05-03 00:04:06 +00:00
rtr
f6bef303da compare mbuf * pointer to NULL instead of 0 2015-05-02 23:46:04 +00:00
christos
a6b82aa2c6 grow it a bit. 2015-05-02 23:21:40 +00:00
rtr
c027610558 remove unnecessary check that nam != NULL before deref in soconnect()
(added in previous commit).

sockargs copyin() makes sure we don't get NULL here
2015-05-02 21:15:33 +00:00
joerg
5cad40c933 Fix !ARP build. 2015-05-02 20:22:12 +00:00
rtr
487c8ce86e make soconnect() fail with EAFNOSUPPORT if the domain of the socket does
not match family received in the sockaddr.

* connect() now fails as documented in connect(2).
* atf test t_connect:connect_foreign_family now passes.
2015-05-02 20:10:26 +00:00
matt
f1588c096e For mips64, build kmodules using N64 ABI 2015-05-02 18:18:13 +00:00
matt
e27ef76d92 mips_{l,s}d_a64 only valid for !O32 2015-05-02 18:16:17 +00:00
matt
313761704f Don't define MIPS1/MIPS32/MIPS32R2 if ABI is N32 or N64. 2015-05-02 17:39:31 +00:00
rtr
fd12cf39ee make connect syscall use sockaddr_big and modify pr_{send,connect}
nam parameter type from buf * to sockaddr *.

final commit for parameter type changes to protocol user requests

* bump kernel version to 7.99.15 for parameter type changes to pr_{send,connect}
2015-05-02 17:18:03 +00:00
jmcneill
581102ab39 jetsontk1 specific gpio setup for sdhc 2015-05-02 17:15:20 +00:00
jmcneill
a1d68d25dd hook up power, card detect, write protect gpios 2015-05-02 17:07:55 +00:00
jmcneill
661ea74b3f simplify gpio kpi 2015-05-02 17:06:53 +00:00
skrll
3e7abb15ef Remove unintended commit 2015-05-02 16:20:41 +00:00
skrll
081bd3c0df Move /* A5.2.10 Synchronisation primitives */ block earlier so it
matches correctly
2015-05-02 16:18:49 +00:00
roy
df4214b3bd Note import of dhcpcd-6.8.2 2015-05-02 15:23:49 +00:00
roy
866e96fa79 Appease gcc. 2015-05-02 15:22:03 +00:00
roy
4d6391b4f4 Sync 2015-05-02 15:18:36 +00:00
macallan
372b3c16e6 build Loongson-MMI support only on mips64el 2015-05-02 14:54:18 +00:00
roy
641376cc16 Note addition of IN_IFF_TENTATIVE and friends. 2015-05-02 14:54:10 +00:00
roy
fc8c67611d Don't bind to IN_IFF_TENTATIVE or IN_IFF_DETACHED addresses. 2015-05-02 14:46:51 +00:00
roy
dbb6db0ed0 Report IN_IFF_TENTATIVE and friends.
Wait for IN_IFF_TENTATIVE to be removed with the -w flag.
2015-05-02 14:43:51 +00:00
roy
505639d2f3 Add IPv4 address flags IN_IFF_TENTATIVE, IN_IFF_DUPLICATED and
IN_IFF_DETATCHED to mimic the IPv6 address behaviour.
Add SIOCGIFAFLAG_IN ioctl to retrieve the address flag via the
ifreq structure.
Add IPv4 DAD detection via the ARP methods described in RFC 5227.
Add sysctls net.inet.ip.dad_count and net.inet.arp.debug.

Discussed on tech-net@
2015-05-02 14:41:32 +00:00
roy
eb8ede6a66 Fix compile on clang. 2015-05-02 14:30:27 +00:00
roy
9cdef53c9c Mitigate Local Denial of Service with IPv6 Router Advertisements and
log attack attempts.

Fixes CVE-2015-2923, taken from FreeBSD.
2015-05-02 14:28:30 +00:00
jmcneill
1121495b06 SDMMC clock input is PLLP (408 MHz). Set input divisor to 2 to get a
204 MHz input for the SDHC, which is just below the maximum supported
frequency for SDR104.
2015-05-02 14:10:03 +00:00
mlelstv
1cd9710165 Merge dk_intf and dkdriver interfaces.
Merge common disk driver functionality in ld.c with dksubr.c.
Adjust the two previous users of dk_intf (cgd and xbd) to
the changes.

This file was missing from the commit.
2015-05-02 12:57:19 +00:00
jmcneill
3497e015bb support SDHC 4.0, allow for overriding clk base frequency 2015-05-02 12:10:24 +00:00
jmcneill
834fa49e7b enable tegragpio 2015-05-02 12:09:34 +00:00
jmcneill
08fb0bfed4 hook in gpio driver 2015-05-02 12:09:04 +00:00
jmcneill
d89042e974 add GPIO support 2015-05-02 12:08:32 +00:00
mrg
56ba1ad0cf fix content type handling to not hard code (wrong) values for length,
but just call strlen() as needed.  call this 20150501.

reported by Jan Danielsson for ".svg".
2015-05-02 11:35:48 +00:00
mlelstv
5f99165065 Merge dk_intf and dkdriver interfaces.
Merge common disk driver functionality in ld.c with dksubr.c.
Adjust the two previous users of dk_intf (cgd and xbd) to
the changes.

bump kernel version to 7.99.14
2015-05-02 08:00:08 +00:00
matt
ee4600c1cb Build ERLITE and INSTALL_ERLITE if mips64eb 2015-05-01 23:55:14 +00:00
matt
44371503dd Make sure .init and .fini are word (4byte) aligned. 2015-05-01 21:35:56 +00:00
matt
463c1ec60d Add md_root.c 2015-05-01 21:34:17 +00:00
matt
37e78a9a0c Add INSTALL kernel for ERLITE 2015-05-01 20:15:43 +00:00
christos
784dba5c8e change #error to KASSERT 2015-05-01 18:37:40 +00:00
roy
126f457bb0 Note import of openresolv-3.7.0 2015-05-01 18:26:58 +00:00
roy
9d0b84c4a5 Sync 2015-05-01 18:23:11 +00:00
roy
4ac8d7d2d2 Import openresolv-3.7.0 with the following change:
*  -x marks the resolv.conf as exclusive.
     Only the latest resolv.conf will be processed, if none then
     as normal.
2015-05-01 18:21:17 +00:00
martin
aeb2cdc99a As pointed out by John D. Baker: replace all / characters in packnames
(which might be automatically generated from controller names like
"PERC 5/i") with a space before using the string as a file name.
2015-05-01 17:48:36 +00:00
christos
78d721faf9 Simplify by splitting the "simple" mode setting and the "special" ones. 2015-05-01 17:01:08 +00:00
christos
9ea25eca93 make bigger. 2015-05-01 16:22:49 +00:00
christos
35d355f3ea - new test for strtoi
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski
2015-05-01 14:17:56 +00:00
gson
6b28ba7844 Shorten the message "System configuration files (/etc)" to just
"Configuration files (/etc)" so that it doesn't overflow into the
"Selected" column, overwriting the "Yes" or "No" so that there is
no way to know if the set is selected or not.
2015-05-01 13:48:05 +00:00
mlelstv
af081b6f30 correctly return -1 on error in dk_size 2015-05-01 12:30:28 +00:00
skrll
990b408b90 Disable non-boot CPUs on RPI2 - there are still issues with interrupt
handling.
2015-05-01 09:59:11 +00:00
hikaru
1e45f134c1 Use dwc2 instead of octeon_usbc, and unify octeon_usbn to new octeon_dwctwo.
Internal USB memory stick of EdgeRouter Lite works now.
2015-05-01 07:23:47 +00:00