227599 Commits

Author SHA1 Message Date
christos
72feb6a6b9 PR/48880: Ryo ONODERA: Unapply one of our patches that broke 'G'. 2014-06-07 16:36:54 +00:00
he
e2ec351127 Include <netinet/in.h> before <netinet/in_var.h> to avoid build failure
for the COMPUTEX7750 kernel of evbsh3-eb.
Also, don't reference ip_pktq if INET isn't defined (found by the same
kernel).
2014-06-07 13:25:33 +00:00
rmind
ebd0b29ba9 Make kpreempt_disabled() always return true in RUMP kernels for now.
May revisit once RUMP provides better splfoo/splx() handling.
2014-06-07 11:08:09 +00:00
rmind
319afc4c4a lostart: silence gcc warning (XXX: gcc is not right though). 2014-06-07 11:00:29 +00:00
kiyohara
5d58a3abba Fix reset parameters for omap3_ehci. 2014-06-07 10:30:13 +00:00
martin
b46d62604d Remove reference to (no longer) fixed 4 mbyte kernel memory being reserved,
it is now dynamic.
2014-06-07 10:03:44 +00:00
martin
c7dd06b6bb Remove the hardcoded 4 MB free kernel memory limit and replace it
by uvmexp.freetarg, as discussed on tech-kern.
Main purpose is to make tmpfs usable (as far as possible) on small memory
machines.
This is a bit experimental, but we need to give it some real world exposure
to see how well it works.
2014-06-07 09:54:34 +00:00
martin
db893a74ff Try to untangle the ifdef mess a bit more 2014-06-07 09:34:02 +00:00
ryoon
83acbdf28c Restore G command 2014-06-07 06:02:27 +00:00
rmind
0cf67a7dfd sppp_input: handle pktqueue case correctly (fix for the previous). 2014-06-06 22:15:32 +00:00
wiz
15b8d8629f Renumber so that 3 follows 2. 2014-06-06 21:56:39 +00:00
skrll
90a8b32c92 Switch sh3 to gcc 4.8. My landisk just survived two atf runs through
/usr/tests with

Summary for 587 test programs:
    3691 passed test cases.
    50 failed test cases.
    27 expected failed test cases.
    137 skipped test cases.
2014-06-06 21:04:02 +00:00
martin
84d9bd2e1d Switch ia64 to gcc 4.8 2014-06-06 20:24:03 +00:00
christos
bcd3afec62 Although the kernel handles non-NUL terminated interface names, it is better
to avoid this, and all other places that create ifdr_name use strlcpy anyway
so make it conform.
2014-06-06 15:33:14 +00:00
reinoud
86522c848c Add gpio, i2c and USB devices to ODROID and clean it up a bit too.
Since its a SoC, some devices might just as well move to std.odroid but are
kept here for now.

I got confirmation from Hardkernel, the company that creates the Odroid's that
*all* Samsung SoC's that are used in products other than Samsungs own have the
trustzone firmware mandatory. Its also part of the bootloading step and
Hardkernel has to digitally sign part of the bootloaders to be allowed to have
it boot at all.
2014-06-06 15:00:20 +00:00
reinoud
1c2bfcff1e Implement Lan9730 powerycle for Exynos4 to make it attach; its not that
trivial though as it relies on talking iic to the pmu and enabling lan_power
pin.

Some pins for the Odroid-XU boards have been added too.
2014-06-06 14:42:26 +00:00
reinoud
bf149a1d6f Correct c&p error on XHCI* registers and remove old cruft copied from the
datasheet that apparently is not used.
2014-06-06 14:37:04 +00:00
christos
26bea92f67 After 2 comes... 2014-06-06 14:36:38 +00:00
christos
af46c9781f Always use the reentrant rpc_createerr. Otherwise every threaded program
that uses rpc needs to define _REENTRANT to work properly. We'll keep
compatibility but setting the old variable in the library, but we are not
advertising it anymore.
2014-06-06 14:31:24 +00:00
reinoud
962ac63d3f Revisit Exynos USB system implementing usb2phy support for Exynos4. 2014-06-06 14:28:58 +00:00
reinoud
b794c9f473 Add constants for USB3 XHCI{0,1} and their PHYs. Taken from the relevant
Exynos5 dti from linux
2014-06-06 14:25:19 +00:00
joerg
6457787c51 usage is __dead. Kill useless sccsid. 2014-06-06 12:46:54 +00:00
joerg
86ed47b359 Fix conditionals. 2014-06-06 11:38:41 +00:00
shm
a3f6a15448 PR/48517 do not add extra '>' to string-converted value when nothing matches 2014-06-06 07:08:37 +00:00
shm
fc03103b46 PR/48517 testcase provided by Felix Deichmann 2014-06-06 06:59:21 +00:00
christos
81af4b3486 Prefer setvbuf for those who have it. 2014-06-06 01:45:11 +00:00
christos
955a80396c be friendlier to nbcompat 2014-06-06 01:41:00 +00:00
christos
453a5cc5a8 Deal with errc/warnc 2014-06-06 01:40:40 +00:00
rmind
e0e5184593 rtfree: let's assert for a non-negative reference count and see what happens. 2014-06-06 01:27:32 +00:00
rmind
32293d340f - Eliminate RTFREE() macro in favour of rtfree() function.
- Make rtcache() function static.
2014-06-06 01:02:47 +00:00
rmind
bc5cc9055a Adjust previous change for the #ifdef mess and fix the build. 2014-06-06 00:25:28 +00:00
christos
186a5e22f3 add netbsd 2014-06-06 00:14:55 +00:00
christos
ef24ec4ecc Merge our changes. 2014-06-06 00:13:13 +00:00
rmind
1d79f6aae3 ip_output: zero iproute structure only when needed; reduce the scope
of some variables.
2014-06-06 00:11:19 +00:00
rmind
60d350cf6d - Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.
2014-06-05 23:48:16 +00:00
rmind
06dd4db047 librump: add kpreempt_disabled(9) and softint_schedule_cpu(9). 2014-06-05 23:43:04 +00:00
rmind
9c5de97f11 librump: include pcq(9) interface. 2014-06-05 23:42:25 +00:00
wiz
abf14c83e2 Remove trailing whitespace. 2014-06-05 22:09:50 +00:00
christos
78dc8159da PR/48876: Dmitriy Grigoryev: Core dump in readline lib on attempted expansion
Make sure we have 2 matches before calling strcmp().
2014-06-05 22:07:42 +00:00
christos
78d38aa25c Bring getopt(3) inline with getopt_long(3): recognize option:: as an optional
option.
2014-06-05 22:00:22 +00:00
matt
17e219d407 Note switch of VAX to GCC 4.8 2014-06-05 21:06:47 +00:00
matt
96c7d9c422 Switch VAX to default to GCC 4.8 2014-06-05 21:05:42 +00:00
matt
ce9623f76a Fix a problem with reloading the inner reg of a subreg when it's a
mode dependent address.
2014-06-05 21:00:36 +00:00
palle
58c23046de sun4v: note missing handling in cpu_match() 2014-06-05 19:49:04 +00:00
palle
bea690648e sun4v: note missing handling in pmap_calculate_colors() 2014-06-05 19:47:24 +00:00
palle
2fd31a2c0c sun4v: ensure that it is possible to include the hypervisor.h file more than once 2014-06-05 18:36:44 +00:00
christos
ee557bb8ce CID 1220169: Reverse NULL 2014-06-05 17:18:19 +00:00
christos
50ea030be5 CID 1220167: NULL Deref 2014-06-05 17:17:26 +00:00
christos
96991fb554 CID 274353: Forward NULL 2014-06-05 17:11:54 +00:00
roy
0398025216 Add IPV6CTL_AUTO_LINKLOCAL and ND6_IFF_AUTO_LINKLOCAL toggles which
control the automatic creation of IPv6 link-local addresses when an
interface is brought up.

Taken from FreeBSD.
2014-06-05 16:06:49 +00:00