235145 Commits

Author SHA1 Message Date
jmcneill
64afd1ea16 when setting sdmmc divisor, do a full reset / enable sequence 2015-05-03 11:47:15 +00:00
jmcneill
10c0159579 set SDHC_FLAG_SINGLE_POWER_WRITE 2015-05-03 11:46:44 +00:00
jmcneill
e974ccfaa2 Add SDHC_FLAG_SINGLE_POWER_WRITE flag, that tells the driver to update
the SDHC_POWER_CTL register with a single write rather than in multiple
steps. Required for Tegra K1 SDHC.
2015-05-03 11:46:25 +00:00
justin
f5df4fc799 Rename delay variable as it shadows a global on arm. 2015-05-03 10:44:04 +00:00
pgoyette
5929e90778 Fix typo, fix the build-break. One '/' is enough in path names. 2015-05-03 07:30:52 +00:00
msaitoh
560d01237b regen. 2015-05-03 06:29:48 +00:00
hsuenaga
3cf6633124 write back unaligned boundary of L2 cache even if invalidate operation
is requested.
2015-05-03 06:29:31 +00:00
msaitoh
38b43c2941 Add some NVIDIA devices. 2015-05-03 06:29:21 +00:00
rtr
5f2c7f7738 flip (NULL == addr) to (addr == NULL) use in conditional from previous
commit.
2015-05-03 04:18:45 +00:00
pgoyette
6fb6cabb23 Include the new tco module on i386 and amd64 builds 2015-05-03 02:55:04 +00:00
pgoyette
90df75aa93 Build the tco watchdog module 2015-05-03 02:54:07 +00:00
pgoyette
5b9fcd9abb Update to include the tco driver (it was previously included as part of
ichlpcib).
2015-05-03 02:52:50 +00:00
pgoyette
ed77961ac5 Separate the watchdog code from the pcib code, and make the watchdog
a loadable module.
2015-05-03 02:50:59 +00:00
jmcneill
e114a7d535 coherent dma tag doesnt quite work 2015-05-03 01:26:44 +00:00
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