235120 Commits

Author SHA1 Message Date
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
hkenken
85ce02e169 remove DIAGNOSTIC 2015-05-01 07:22:42 +00:00
hikaru
e427b2e5a6 Support external DMA mode and provide an interface for DMA address configuration 2015-05-01 06:58:40 +00:00
msaitoh
38c1b17ca1 Add some workaround code for BGE_ASICREV_BCM5784 from Linux. 2015-05-01 03:42:15 +00:00
msaitoh
988569ba91 Remove PCI_PRODUCT_BROADCOM_BCM5724 and PCI_PRODUCT_BROADCOM_BCM5750M.
These devices have not released to public. Same as OpenBSD and Linux.
2015-05-01 03:26:43 +00:00
nat
68235452a4 Forgot RCS ID header. 2015-05-01 02:35:16 +00:00
nat
05dec8ff13 Include splash with genfb.
splash.o is only included with options SPLASHSCREEN.
splash_image.o target moved to Makefile.kern.inc.

This commit was approved by matt@
2015-05-01 02:00:41 +00:00
msaitoh
36903b682e Use another firmware command in bge_asf_driver_up(). Same as Linux.
This change fixes a bug that watchdog timeout occurs every 25-30 minutes
on HP ML110 G6 reported enami@ in PR#49657.
2015-04-30 16:09:06 +00:00
christos
087f193c39 Fix more memory leaks by changing the transmit routines to always free the
mbuf to send.
2015-04-30 16:01:51 +00:00
msaitoh
4f1ae97bea - BGE_CHIPID_BCM5784_A1 is not 0x5784100 but 0x5784001. Only dmesg output
is affected.
- Add BGE_CHIPREV_5784_AX and BGE_CHIPID_BCM5784_B0.
2015-04-30 15:48:46 +00:00
nat
0fbcd67289 Remove unintended whitespace. 2015-04-30 15:22:32 +00:00
nat
65a1cf7fa9 Added a new option for embedding a splash screen into kernel.
Add: options SPLASHSCREEN
     makeoptions SPLASHSCREEN_IMAGE="path/to/image"
to your config file.  So far it will work on amd64 and RPI/RPI2.

This commit was with ideas, help, and OK from jmcneill@.
2015-04-30 13:46:47 +00:00