Commit Graph

127611 Commits

Author SHA1 Message Date
jmcneill
c82d0cfd23 print some useful information at attach time 2015-05-03 22:37:27 +00:00
jmcneill
5e96a9e7b1 disable MULTIPROCESSOR for now 2015-05-03 18:49:28 +00:00
jmcneill
ec484ab4fe UART clock source is PLLP. Set com type to COM_TYPE_TEGRA. 2015-05-03 17:24:45 +00:00
jmcneill
ecb2b6ae4b add COM_TYPE_TEGRA 2015-05-03 17:22:54 +00:00
jmcneill
bcce07f3b2 add pllc and uart rate funcs 2015-05-03 16:40:12 +00:00
matt
40d5a9d580 On secondary cores, invalidate the caches to make them clean. 2015-05-03 16:18:51 +00:00
joerg
432881ad82 Make sure callout is halted, not just stopped, before freeing memory. 2015-05-03 15:07:12 +00:00
hsuenaga
4e3bd6105a add new ethernet driver mvxpe for recent MARVELL's SoC after ARMADA/XP.
this driver supports 'counter mode', and is disabled by default.

ARMADA SoC family has new ethernet controller acceleration mode called
'enhanced mode' or 'counter mode.' it seems that backward compatibility mode
used by if_mvgbe is still working, but the specification of the old mode
is completely disappeared from SoC's reference manual.

I tested the driver using MIRABOX(ARMADA/370).
2015-05-03 14:38:09 +00:00
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
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
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
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
866e96fa79 Appease gcc. 2015-05-02 15:22:03 +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
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
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
mlelstv
af081b6f30 correctly return -1 on error in dk_size 2015-05-01 12:30:28 +00:00