Commit Graph

126280 Commits

Author SHA1 Message Date
roy
a3c36dcba4 Fix IPV6_USE_MIN_MTU set by setsockopt(2) being ignored when
IPV6_PKTINFO is set as a control with sendmsg(2).
2015-01-20 21:42:36 +00:00
roy
9daa8a6db0 Add net.inet6.ip6.prefer_tempaddr sysctl knob so that we can prefer
IPv6 temporary addresses as the source address.

Fixes PR kern/47100 based on a patch by Dieter Roelants.
2015-01-20 21:27:36 +00:00
macallan
a2db4fbd86 - remove scratch area, it's been unused since we're drawing characters by
hardware
- don't sync the rendering engine unless we have to, watch FIFO levels
  instead
- support anti-aliased fonts and let the drawing engine do all the work
2015-01-20 12:13:04 +00:00
christos
2d5fa36159 add void casts to CMSG_ 2015-01-20 01:10:16 +00:00
christos
56b380299e add lint comment 2015-01-20 01:02:25 +00:00
phx
2ba2ab2e09 Make it compile with -DDEBUG again. 2015-01-19 20:10:27 +00:00
palle
9b99954a80 sun4v: Add two new functions to the mdesc api: mdesc_find_node_by_idx() and mdesc_next_node() 2015-01-19 19:46:08 +00:00
christos
827e5bc251 CID 1245802: Result always 0. 2015-01-19 15:07:25 +00:00
njoly
3cb8375991 Regen for Realtek ALC280. 2015-01-19 14:32:08 +00:00
njoly
b4cc026c4e Add Realtek ALC280. 2015-01-19 14:31:32 +00:00
rmind
2472877a60 Implement ipi_trigger_multi(9); requested by cherry@. 2015-01-18 23:16:35 +00:00
jakllsch
026c5d5a6d While the old gpt.S mbr code looks at both primary and alternate GPT
partition tables, mbrgpt.S and DKWEDGE_METHOD_GPT only look in the
primary.  Align the bootxx/boot2 biosdisk code with this so as to avoid
situations where the disk becomes unbootable when it has an undestroyed
secondary GPT.
2015-01-18 20:18:07 +00:00
skrll
38deceeb5f Remove incorrect entries 2015-01-18 18:23:25 +00:00
justin
3a953aac64 Revert removal of opt_inet.h as many cases may still require it 2015-01-18 17:33:08 +00:00
justin
863783fab4 Move defines of INET and INET6 from opt_inet.h to Makefile.inc
As discussed with pooka@
fixes current issues with ipv6 on rump being broken
2015-01-18 17:06:24 +00:00
christos
5c44b67399 regen 2015-01-18 15:31:10 +00:00
christos
afcbf6727b PR/49584: Leonardo Taccari: alc(4): add support for AR816x/AR817x chipsets 2015-01-18 15:30:03 +00:00
skrll
58f2cc8363 Document 'e' 2015-01-17 19:47:34 +00:00
skrll
dfff4c953c Remove duplicate entry 2015-01-17 19:46:41 +00:00
jmcneill
dd577e705a fix previous 2015-01-17 19:32:50 +00:00
jmcneill
8e09791013 improve intr reg debugging 2015-01-17 19:10:18 +00:00
jmcneill
fa0429db0e fix VERBOSE_INIT_ARM; cant call rockchip_chip_name() this early 2015-01-17 17:30:26 +00:00
jmcneill
274dbaaa6a Add dwctmr glue, from FUKAUMI Naoki <fun@naobsd.org> 2015-01-17 17:21:55 +00:00
jmcneill
de8b484268 Add Rockchip PX2 support, from FUKAUMI Naoki <fun@naobsd.org> 2015-01-17 15:05:24 +00:00
jmcneill
07e5ed13c4 Add driver for DesignWare 32-bit timer as found in Rockchip RK3066/PX2,
from FUKAUMI Naoki <fun@naobsd.org>
2015-01-17 15:04:47 +00:00
phx
daeff8a9d2 Fixed crash of A4000 IDE due to uninitialised bus_space_tag and bus_space
handle for the interrupt status register.
2015-01-16 23:34:11 +00:00
dennis
a533f08417 Regen. 2015-01-16 21:41:07 +00:00
dennis
1bb4a517c1 Don't nest structure definitions.
This modification was made directly to sys/sys/namei.h (1.90) but
was inadvertently lost as a result of the previous revision here.
Restore the lost change here instead.
2015-01-16 21:38:26 +00:00
dennis
938f7fdfb0 Add a membar_datadep_consumer() before dereferencing the pointer
to a cache entry in cache_lookup_entry().  The entries are being
added to the list it is looking at without mutually-exclusive locking,
so this is necessary to keep some Alphas from seeing stale data
when the pointer is newly-updated.

XXX this is doing lockless adds to a list maintained with LIST_* macros.
2015-01-16 20:10:25 +00:00
christos
d36e0de1e1 strtoi and strtou for the kernel 2015-01-16 18:36:31 +00:00
maxv
ec1a3951d6 Fix a node leak.
Sent on tech-kern@, tested by martin@
2015-01-16 17:02:12 +00:00
ozaki-r
0ea58c0e8c Remove an outdated snippet for NET_MPSAFE 2015-01-16 10:37:51 +00:00
ozaki-r
d850ab5089 Introduce defflag for NET_MPSAFE 2015-01-16 10:36:14 +00:00
msaitoh
fae2a582df regen. 2015-01-16 09:57:11 +00:00
msaitoh
35d3528163 Add some devices
- Add COMPAQ iLOs.
- Add HP IPMI device.
- Add some Intel devices.
- Fix product ID of INTEL 5000_PCIE_4.
- Add some VIATECH devices.
2015-01-16 09:56:53 +00:00
nonaka
1b7941c205 Fix various conditions with setting IMASK. 2015-01-16 07:48:16 +00:00
nonaka
7f75e37ab3 Added missing tx bpf_mtap(). 2015-01-16 06:38:27 +00:00
nonaka
c78b078a2a Replace if_attach with if_initialize and if_register. 2015-01-16 05:50:15 +00:00
nonaka
1296cd7938 Use IFQ_* macro instead of IF_*. 2015-01-16 05:36:47 +00:00
christos
bb54e0e08c PR/39371: Tobias Nygren: Don't fail mounting root if WAPBL log is corrupt.
Patch from Sergio L. Pascual.
XXX: pullup-7
2015-01-16 03:57:52 +00:00
christos
2975c78d57 Restore previous behavior: "boot -s" == "boot netbsd -s"
Instead of ignoring the flags and doing the default boot. Merge some
extraneous code.
XXX: Find the PR for this, close it and pullup to -7
2015-01-16 03:45:53 +00:00
christos
3eceacff0e rename variable to avoid conflict with "div" 2015-01-15 16:31:05 +00:00
christos
4075d124b6 make unsigned constants that. 2015-01-14 22:21:00 +00:00
pooka
547f1a3188 Execute softints in the order in which they are scheduled (per level). 2015-01-14 18:51:56 +00:00
pooka
e82a50e44e Implement softint_schedule_cpu() for rump kernels.
While distributing processing all over the place is not relevant for
high-performance rump kernel I/O stacks (and downright counterproductive),
the mechanism is used e.g. to reach a quiescent state when detaching
an interface, and therefore a semantically correct implementation is
required.

Fixes at least an uncommon race in the ifconfig destroy case.
reported & patch tested by Justin Cormack.
2015-01-14 18:46:38 +00:00
chs
b4b3a81a2a remove BIOS-mapping code that was #if-0'd in the previous commit. 2015-01-14 17:45:27 +00:00
msaitoh
3d12c324ea regen. 2015-01-14 15:28:18 +00:00
msaitoh
e62cfb1b0b Sort VIATECH's entries in the device ID's order. 2015-01-14 15:26:08 +00:00
hannken
2547f8421a Change mfs to use an anonymous vnode obtained with bdevvp()
for the specdev it mounts on.
2015-01-14 11:21:31 +00:00
manu
5fc94787c1 Make sure reads on empty files reach PUFFS filesystems
Sending a read through the page cache will get the operation
short-circuited. This is a problem with some filesystems that
expect to receive the read operation in order to update atime.

We fix that by bypassing the page cache when reading a file
wich a size known to be zero.
2015-01-13 16:39:51 +00:00