Commit Graph

129277 Commits

Author SHA1 Message Date
pgoyette ef916064f1 Add an additional dependency on compat_sysv 2015-10-10 04:28:04 +00:00
pgoyette d4c18fb9c6 Regen 2015-10-10 03:30:17 +00:00
pgoyette b15990a499 Correctly mark syscalls 301, 302, 303 so that they will autoload the
compat_sysv module if not already built-in.
2015-10-10 03:27:30 +00:00
knakahara f80c449c4b remove quick hack code to avoid shared IRQ issue. 2015-10-09 13:03:55 +00:00
knakahara 9c5b1603ce fix: "intrctl list" causes panic when the device using pci_intr_alloc() shares IRQ. 2015-10-09 12:56:02 +00:00
bouyer 8a4f5ad97d revert previous (turn off tcon when disabling video output).
I found it's better to do it in the hdmi driver, but the hdmi audio issue
needs to be fixed as well.
2015-10-09 07:23:33 +00:00
christos a89334cd83 PR/50312: Robert Elz: Unconditionally include <sys/exec.h> to fix compilation
when PAX_ASLR is not defined.
2015-10-09 02:00:59 +00:00
ozaki-r 6a74db0c04 Fix LLE_TRY_UPGRADE when GATEWAY
It's expected to return a value.
2015-10-09 01:50:09 +00:00
joerg 2ccf9a9aba Don't check if an array is (not) NULL, check if the string is empty. 2015-10-08 20:58:13 +00:00
macallan eaf482297b fix build with INGENIC_DEBUG 2015-10-08 18:20:31 +00:00
macallan 5bd869b56d add efuse driver 2015-10-08 17:58:51 +00:00
macallan 816f56832b use the MAC address passed as a property if available instead of relying on
u-boot to program it into the chip for us ( which it may not do if we're not
netbooting )
2015-10-08 17:55:58 +00:00
macallan 56acaa063f add a driver for the chip's EFUSE interface, use it to find the MAC address
for the onboard ethernet controller
2015-10-08 17:54:30 +00:00
macallan 12be77a6d0 add mechanism to pass a MAC address to dme 2015-10-08 17:51:15 +00:00
msaitoh 7bca56aafa Fix a bug that LSC's interrupt storm occured when MSI-X is used.
It was observed only on 82575.
2015-10-08 09:28:13 +00:00
roy 620387577c Create a temporary define involving IFF_STATICARP if we have it
instead of just testing for __FreeBSD__.
No functional change.

ok: ozaki-r@
2015-10-08 08:17:37 +00:00
msaitoh 8cb6e19370 - ACK Accelerate Disable in the RFCTL register is not bit 13 but 12.
No binary change because this definition have not used yet.
- Add ACK data Disable bit's definition.
2015-10-08 04:30:25 +00:00
roy e600c51d95 Remove rt_ifa_localrequest().
In it's place, use rtrequest1() inside rt_ifa_addlocal() and
rtdeletemsg() inside rt_ifa_remlocal().

This removes the need for INET/INET6 specific code and allows
greater control over the creation of the local address route.
2015-10-07 09:44:26 +00:00
ozaki-r ef5da9a970 Enqueue frames to a curcpu's pktqueue
Currently RX can run on a CPU other than CPU#0, so always enqueuing
to a pktqueue of CPU#0 makes no sense. Let's use a curcpu's pktqueue,
although bridge_foward softint doesn't run in parallel without
NET_MPSAFE.

This is a temporal solution. We need a fundamental solution.
2015-10-07 08:48:04 +00:00
ozaki-r 98c468dd77 Create an llentry after fixing an interface to store
In case of RTF_LOCAL routes, we change an output interface
of a route from original one to lo0ifp. An llentry also
has to be stored to lo0ifp in such cases.

Problem reported by roy@
2015-10-07 00:33:27 +00:00
christos 2210ed24e7 provide curthread for dtrace 2015-10-07 00:32:34 +00:00
christos 8c1b3fd3c9 Expose struct kauth_cred for the benefit of the debugger. I can't convince gcc
to produce debug info for the structure if it does not appear in more than
one source file.
2015-10-06 22:13:39 +00:00
martin 27d8dabc37 Do not use #ifdef SUN4U when testing for cpu features of post-v8 CPUs,
it is not good for SUN4V-only kernels. Instead use __sparc_v9__ (which
is also defined by the sparc compiler when called with cpu=ultrasparc).
ok: mrg@
2015-10-06 20:03:05 +00:00
martin 7e689e2d4f Split auxio at ebus and auxio at sbus properly, so we can build kernels
without sbus support.
2015-10-06 16:40:36 +00:00
christos 3ca2aae874 CID/1325751: Avoid possible 32 bit overflow. 2015-10-06 15:06:05 +00:00
christos a3c9e9c899 CID/1325753: remove extra return. 2015-10-06 15:03:34 +00:00
mlelstv f30ec675b0 support hiding command timeout messages with a new command flag and use this
when probing for cards. Should fix PR 50302.
2015-10-06 14:32:51 +00:00
jmcneill d9483ce0a0 print wedge announcement in one line instead of two 2015-10-06 11:22:40 +00:00
prlw1 5a545d3afd Update comments to match previous change (avoid panic in SIOCGNATL) 2015-10-06 10:21:08 +00:00
knakahara b9c82b6871 quick hack for shared IRQ issue. 2015-10-06 09:44:31 +00:00
hannken 6495f9c3ba Remove dubious vhold()/holdrele() from write_logvol_dscr strategies.
The udf_node already gets locked with UDF_LOCK_NODE() and udf_reclaim()
will wait for the lock to clear.
2015-10-06 08:57:34 +00:00
christos 2a1508e4be Previous code was mis-indented but correct; simplify to make the intent clear. 2015-10-05 15:57:50 +00:00
bouyer 216147e0f1 When disabling video ouput also turn off the tcon. This will cause the
HDMI output to stop too, and the monitor will go to sleep.
2015-10-05 14:42:19 +00:00
ozaki-r a7ed97a295 Fix arplookup logic
It should first lookup and then create an entry if not found (and if
creation is requested).
2015-10-05 08:17:31 +00:00
ozaki-r 91afbd53fe Use satosin6 instead of its own macro 2015-10-05 04:15:42 +00:00
jym 48e186f20f Cache CPU index in the non-preemptible part otherwise it can be
unreliable (and report a CPU as patched while it was not).
2015-10-04 21:08:30 +00:00
jmcneill c7ce4b6914 Use sysmon_taskq instead of our own workqueue for submitting button events. 2015-10-04 18:35:44 +00:00
mrg 67805d58fa kmem_free() the address returned by kmem_alloc(). found by Brainy.
use the newly aligned location if we needed it.  found by kre.
2015-10-04 17:52:50 +00:00
skrll f0ac9058f1 Fix commented out USB HC debug options. RPI doesn't have [eo]hci. 2015-10-04 10:16:39 +00:00
joerg fa24cbf67e Drop unused (inline) function. 2015-10-04 08:20:24 +00:00
joerg 4930719b71 panic takes a format string. 2015-10-04 08:19:40 +00:00
joerg cae6a72ca2 Unsigned values can not be negative. 2015-10-04 08:19:13 +00:00
joerg 106e3b42b0 Use pointer computation for references outside an object. 2015-10-04 08:18:49 +00:00
joerg ac18bcbfd7 Don't check unsigned values for negativity. 2015-10-04 08:17:43 +00:00
joerg e35723c2c4 Arrays are never NULL. 2015-10-04 08:17:03 +00:00
joerg a6fbbeaa5f Avoid left-shifting negative values. 2015-10-04 08:16:13 +00:00
joerg bf3eb6d6df Panic takes a format string. 2015-10-04 08:15:46 +00:00
joerg 887bca8d3c Fix format string. 2015-10-03 15:22:14 +00:00
hannken 7de3300bb9 Remove dubious vhold()/holdrele() from lfs_reserve().
The vnodes are always referenced on entry.

If we changed ulfs_remove() and ulfs_rmdir() to return the locked dvp
the vnodes were always locked on entry.

Remove an outdated comment from lfs_reserveavail(), unlocking/relocking
the vnode was removed in rev 1.49.
2015-10-03 09:31:29 +00:00
dholland 896006c986 Drop an explicit sign-extension in fsck that shouldn't be needed any
more.
2015-10-03 08:29:48 +00:00