231974 Commits

Author SHA1 Message Date
mrg
e4e7131a68 use --disable-shared on m68000 for mknative. 2014-11-22 19:41:27 +00:00
riastradh
9d31117bb7 Move all PCI/AGP code back to drmkms_pci module where it belongs. 2014-11-22 19:18:07 +00:00
joerg
c2aaccdb97 Drop casts in favour of expressions that actually give the right
pointer.
2014-11-22 18:50:49 +00:00
jmcneill
24d51e99b6 - Add MII flow control support
- Set "disable jabber" and "auto padding/CRC stripping" bits in MAC conf
- Write intr mask to intr mask register, not status
- Setup both TX and RX burst modes
- Setup both TX and RX store & forward modes
- Correct an issue with the "end" descriptor passed to dwc_gmac_txdesc_sync
  in dwc_gmac_tx_intr

ok martin@
2014-11-22 18:31:03 +00:00
njoly
854606c981 Do not define LINUX_EDEADLK more than once. 2014-11-22 15:47:42 +00:00
macallan
a36351c4b7 initial support for CI20 / Ingenic JZ4780
not much there yet, it loads, attaches a serial port and you can drop into
ddb
2014-11-22 15:17:01 +00:00
macallan
4f148df791 deal with quirk in Ingenic UARTs
( they have a bit in the FIFO control register which turns the entire
  port off if not set )
2014-11-22 15:14:35 +00:00
ozaki-r
5a85ab2f56 Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete. And also we make sure that SME_CALLOUT_INITIALIZED
is unset before calling callout_halt to prevent the callout from calling
callout_schedule. This is the same as what we did in sys/netinet6/mld6.c@1.61.

Reviewed by riastradh@.
2014-11-22 15:09:30 +00:00
macallan
a85f210ee9 deal with Ingenic XBurst CPUs 2014-11-22 15:02:39 +00:00
ozaki-r
881a9e1b06 Kill sme_callout_mtx and use sme_mtx instead
We can use sme_mtx for the callout as well. Actually we should do so
because sme_events_list and some other data that are touched in the
callout should be protected by sme_mtx, not sme_callout_mtx.

Discussed with riastradh@ in http://mail-index.netbsd.org/tech-kern/2014/11/11/msg017956.html
2014-11-22 15:00:05 +00:00
njoly
9405b4121e Regen for Atheros AR3012 2014-11-22 14:31:53 +00:00
njoly
dd4b487ba9 Add Atheros AR3012 2014-11-22 14:30:57 +00:00
njoly
cedf843908 Regen for ppoll signature fix 2014-11-22 13:20:35 +00:00
njoly
cc18605e8e Fix ppoll signature (int ->u_int) 2014-11-22 13:18:45 +00:00
njoly
aee571df11 Regen for ppoll(2) 2014-11-22 13:13:10 +00:00
njoly
f43d462ab6 Add ppoll(2) for compat linux32. 2014-11-22 13:12:22 +00:00
mlelstv
c3fa2622e8 fix iobuf setup, cleanup 2014-11-22 11:59:33 +00:00
mlelstv
1ce49d85e0 If the boot argument "root" cannot be parsed as a device name, pass the
string untranslated to MI code. Due to limits in the boot argument parser
the string is terminated by whitespace.
2014-11-22 11:10:22 +00:00
mlelstv
68774bf92e Let MD code provide boot disk information as spec string that can be
parsed by MI code. The format is the same as provided by an embedded
'root on <rootspec>' string in the config file. An embedded string
(other than a wildcard) still takes precedence.
2014-11-22 11:04:57 +00:00
mlelstv
16fb494383 don't crash if rootspec is invalid 2014-11-22 10:24:02 +00:00
cherry
57125a688b Wait until all cpus are online, before using the codepath
which syncs all per-cpu cached copies of L4 tables.
(On both x86_64 and i386/pae)

This avoids an early bootup mutex use before mutex init situation.

Reported by manu@
2014-11-22 06:45:08 +00:00
pettai
eddde6d369 Add kdigest(8) manpage 2014-11-22 01:28:13 +00:00
joerg
295c2661e0 Drop unnecessary-but-harmful casts. 2014-11-22 00:17:07 +00:00
joerg
c1bb8c29b0 No reason not to make the string const. 2014-11-21 23:37:25 +00:00
joerg
5444c684df Preserve const. 2014-11-21 23:36:20 +00:00
joerg
ebdc245554 Explicitly compare to NULL to show clang that the bool conversion is
intentional, even if it is always true in case of the arrays.
2014-11-21 23:28:57 +00:00
jmcneill
fa2843b696 Change internal temperature base from -267.7C to -243.7C. The AXP223
datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C,
but this doesn't make sense for a 12-bit field. If we take the maximum value
and subtract 4095 we get -243.7C, effectively adding +24C to the reported
temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.
2014-11-21 22:31:09 +00:00
riastradh
9a10d51413 Fix = -> == in conditional in example. Oops! 2014-11-21 20:53:35 +00:00
christos
c8da6eb49b Use proper index types, delete casts, use correct sizeof() in allocations. 2014-11-21 20:46:56 +00:00
christos
57b864bc85 We don't need a special rule now that the file is called .S (having a
just .o rule before broke the MKDEBUG build).
2014-11-21 20:21:08 +00:00
christos
1b89ed2b88 Add libkern for umoddi3 needed for correct leap yar computation in is_leap_year. 2014-11-21 20:13:18 +00:00
christos
437ea53be7 rename to bugstart.S 2014-11-21 20:10:28 +00:00
riastradh
6687f07d58 Use membar_consumer until we have membar_datadep_consumer. 2014-11-21 16:21:13 +00:00
riastradh
3e2082f994 Elaborate comment before pserialize_perform. 2014-11-21 15:44:42 +00:00
riastradh
558d1d8a9d Fix typo: pserialize_read_exit(s), not s = pserialize_read_exit(). 2014-11-21 15:42:57 +00:00
riastradh
11887e69a3 Bump date. 2014-11-21 15:40:38 +00:00
riastradh
df0d780638 Expand pserialize(9) example to include publish, read, and destroy. 2014-11-21 15:28:33 +00:00
christos
9010cfb72a kill the dropped privs info message 2014-11-21 13:31:19 +00:00
ozaki-r
0edc16ce4f Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete.

Reviewed by riastradh@.
2014-11-21 09:40:10 +00:00
shm
60a0878843 Fixed memory leak in case of multiple authentication headers sent by the
client.

OK mrg@
2014-11-21 08:58:28 +00:00
shm
b8c713d1a2 Fixed off-by-one in virtualhost processing. Previous code was checking if
Host header is a prefix of any existing vhost. This behaviour might be used to
uncover existing vitual hosts from the remote.

OK @mrg
2014-11-21 08:54:12 +00:00
ozaki-r
758341eedc Tweak linux_getifhwaddr
No functional change.
2014-11-21 06:03:04 +00:00
ozaki-r
326aa300a4 Add missing file entries of tests/usr.bin/xlint/lint1
This unbreaks the build.
2014-11-21 01:39:09 +00:00
christos
7435ccdc0f put back missing paren. 2014-11-21 01:18:39 +00:00
christos
49b7958945 need clock_subr.h for bcdtobin() 2014-11-21 01:16:04 +00:00
joerg
153b8c97fc Restrict workaround to GCC 4.8 as intended. 2014-11-21 01:11:50 +00:00
christos
487e3c0732 need clock_subr.h for bcdtobin() 2014-11-21 00:51:09 +00:00
joerg
06da94bf06 Merge upstream d840c081f8082e8b9e63fead5306643975a97bb3 to fix
UB as seen by a clang compiled as.
2014-11-20 21:44:56 +00:00
christos
e45a1decc7 test for c99 flexible packed arrays 2014-11-20 21:18:47 +00:00
christos
bf68803d37 allow c99 flexible arrays for packed structures. 2014-11-20 21:17:18 +00:00