Commit Graph

235849 Commits

Author SHA1 Message Date
christos a7328ae62a add VIS_NOLOCALE flag 2015-05-23 11:48:31 +00:00
christos 4245319fac use VIS_NOLOCALE 2015-05-23 11:48:13 +00:00
christos 24bc27d78e Add VIS_NOLOCALE to avoid ambiguous conversions. 2015-05-23 11:47:56 +00:00
mlelstv b4b5970a1f strvisx is used here to encode binary data, but the encoding
depends on locale settings and the result might not be accepted
or even misinterpreted by the strunvis decoder. As a workaround
encode manually as a string of octal numbers.

strvisx should learn how enforce such an encoding by itself.
2015-05-23 09:18:01 +00:00
matt 62bd03ee9c Regen for N32 target vectors. 2015-05-23 01:45:08 +00:00
matt 3a9ce77d41 Add the mips n32 target vectors. 2015-05-23 01:41:02 +00:00
rtr 7d22c643f0 pass connect address directly to soconnect()
instead of allocating an mbuf, copying the address into it and then
mtod()'ing it back to a sockaddr * for soconnect.
2015-05-22 22:05:32 +00:00
snj 5f0c69637a bah. this time without a typo. 2015-05-22 18:27:03 +00:00
snj 965778fdec restore rcsid accidentally deleted in previous 2015-05-22 18:26:19 +00:00
nonaka 3dc626ead2 Limit the number of dma segments used for transmitting packets to
IWM_NUM_OF_TBS - 2.  We have IWM_NUM_OF_TBS slots, but use two of those
for sending commands to the firmware.

From OpenBSD rev. 1.41.
2015-05-22 15:32:21 +00:00
bouyer c0b49688f8 Fix off by one error, pointed out by Wei Liu in port-xen/49919 2015-05-22 10:34:13 +00:00
ozaki-r 423491c235 Replace NARC with NARCNET to follow renaming at 2007
Hmm, is anyone using this?
2015-05-22 07:44:46 +00:00
skrll dc934802df Whitespace. 2015-05-22 06:27:17 +00:00
msaitoh 0f0a08756d - Currently, WM_F_EEE bit is not set on all chips. it's intended to not
to use all of EEE fuctions but wm_set_eee_i350() leaves IPCNFG_10BASE_TE
  bit and it causes link negotiation problem on some old switches. Disable
  10BASE-Te function, too.
- Call wm_set_eee_i350() on some chips, too.
2015-05-22 03:15:43 +00:00
jmcneill e37dd27486 add JETSONTK1 to armv7.img 2015-05-22 01:18:22 +00:00
jmcneill 17d5ed1b23 define TOOL_MKUBOOTIMAGE for mkimage 2015-05-22 01:18:05 +00:00
jmcneill 70ebdf428f sdmmc_task_thread isn't MPSAFE so instead of just wrapping the callback
in KERNEL_LOCK/KERNEL_UNLOCK_ONE, remove KTHREAD_MPSAFE. While here, use
PRI_BIO instead of PRI_NONE for the task thread priority. Since this is
how all transfers are queued, and we have a 1 second timeout on the task
being picked up off the queue (!), better not to rely on a PRI_NONE thread.
2015-05-21 23:40:02 +00:00
rtr b04e6730c1 bump to 7.99.18 for change to nfs_boot_sendrecv 2015-05-21 22:24:24 +00:00
riastradh 6543027a39 Adapt ww_mutex to use LOCKDEBUG.
Should help track down PR 49862.
2015-05-21 21:55:55 +00:00
skrll 728b01dfee Before spinning up the secondary cpus flush the dcache otherwise the
dcache invalidate in cortex_mpstart makes bad things happen.

I have no idea why.

RPI2 boots again
2015-05-21 20:50:57 +00:00
htodd eabea260ea Fix debug build lists. 2015-05-21 19:53:11 +00:00
htodd 02ee24c5e7 Fix debug build lists. 2015-05-21 18:03:09 +00:00
christos 2d38ee4936 Avoid dereferencing NULL tp crashing the kernel (brad harder)
XXX: pullup 7
2015-05-21 12:00:59 +00:00
jmcneill 8987f28bba re-enable multiprocessor support now that sdmmc has been fixed 2015-05-21 10:35:08 +00:00
jmcneill 4f61b7b867 add drvctl 2015-05-21 09:53:05 +00:00
ozaki-r b41c75c271 Use LIST_FOREACH{,_SAFE}
The first loop doesn't remove any items in it, so we can use
LIST_FOREACH instead of LIST_FOREACH_SAFE.
2015-05-21 09:29:51 +00:00
ozaki-r 442b227d9f Use NULL instead of 0 for pointers 2015-05-21 09:27:10 +00:00
ozaki-r 2c0e34375a Make arp_init, in_revarpinput and revarprequest static 2015-05-21 09:26:18 +00:00
mrg 8b5b0b5a2a only call the on-enter commands if we're not recursing.
avoids having a fault in the on-enter commands repeating.
2015-05-21 08:23:22 +00:00
rtr d458601fe5 change nfs_boot_sendrecv to take sockaddr_in * instead of mbuf *
fixes m_serv (single mbuf leak) leak in kern/subr_tftproot.c
2015-05-21 02:04:22 +00:00
christos 06f2d20635 use reallocarr (Ingo Schwarze) 2015-05-21 01:29:13 +00:00
ozaki-r 8f82f57c45 Remove obsolete interfaces: eon (netiso) and nsip (netns)
Pointed out by Kamil Rytarowski
2015-05-21 01:09:00 +00:00
ozaki-r 5ca2652f3f Remove description of netns/
Pointed out by Kamil Rytarowski
2015-05-21 01:05:33 +00:00
rtr e46203ce86 remove duplicated assignment of mh->m_len 2015-05-21 00:45:27 +00:00
rjs b596b9b9be Add xf86-video-intel-old to the build. 2015-05-21 00:12:10 +00:00
riastradh 16adabdccc Initialize dma.dma_sizereg to avoid copying uninitialized data later.
This field is not actually used here -- not clear it should be in
the hdaudio_dma structure at all.

Noted by Coverity, CID 979553.
2015-05-20 18:28:32 +00:00
riastradh 6d6f14f9de memcpy di_extb/db/ib separately. Noted by Coverity, CID 974636. 2015-05-20 18:21:17 +00:00
riastradh 9a70a528ec Don't (harmlessly) overrun di_db array; copy di_ib separately.
Noted by Coverity, CID 974635.

While here, simplify size calculation for memcpy.
2015-05-20 18:19:09 +00:00
riastradh 565bd38756 Add XXX comment for previous. 2015-05-20 18:13:23 +00:00
riastradh c4db66d4bf Don't pass along null encoder. Noted by Coverity, CID 113253. 2015-05-20 18:12:01 +00:00
christos f845fc8e2c MKRUMP=no fixes (Robert Swindells) 2015-05-20 17:39:04 +00:00
jmcneill bd5210904b need to call lddone with splbio and kernel lock held 2015-05-20 13:09:34 +00:00
pooka 521e7b5ba9 Add a rump kernel components for USB PCI host controllers. 2015-05-20 12:21:38 +00:00
pooka 1e2e59a64c Rename usb_at_ugenhc.c to the more generic usb_at_hc.c now that
host controllers beyond ugenhc are attached.
2015-05-20 11:53:08 +00:00
pooka 65e29fe174 also attach usb@{e,o,u}hci 2015-05-20 11:51:32 +00:00
riastradh 66cbe3320e Fix kassert: npdp may be GEN8_LEGACY_PDPS exactly.
Tripped over by msaitoh, our first Broadwell user, apparently.
2015-05-20 11:29:45 +00:00
pooka 44fa683b9a build dev_verbose.c 2015-05-20 11:22:54 +00:00
pooka 6e547c6725 Don't log kern.msgbuf* sysctls. it's rather pointless, nobody can
unload subr_log.c
2015-05-20 11:18:36 +00:00
pooka f67bb039d4 group msgbuf sysctls with the msgbuf code
(init_sysctl.c -> subr_log.c)
2015-05-20 11:17:24 +00:00
pooka e63dc818ef call loginit() later, a lot later 2015-05-20 11:02:54 +00:00