msaitoh
33a7e10081
Fix device_t/softc split bug.
2015-08-16 19:22:33 +00:00
msaitoh
706bba66ba
Fix a buffer pointer check in iop_msg_unmap(). The number of im_xfer
...
is IOP_MAX_MSG_XFERS and it's three. iop_systab_set() makes three ximit
buffers. In this case, iop_msg_unmap() overrruns by "if((++ix)->ix_size == 0)".
Check overrun first.
This change fixes a bug that iop(4) panics while attaching iopsp(4).
2015-08-16 19:21:33 +00:00
mlelstv
28e124faa7
Two changes to the dksubr interface.
...
- d_diskstart callback now processes a single buffer only.
The new wrapper function dk_start processes the queue,
performs other buffer handling and also provides locking
for the the data structures.
- add d_discard callback to handle device specific function inside
the new dk_discard helper function.
Replace splbio with mutex to protect queue and disk structure.
Refactor common code in dk_strategy and dk_discard into dk_translate.
Adjust and simplify ld(4), cgd(4) and xbd(4) drivers accordingly.
ld(4) now becomes MP_SAFE.
Bump kernel version.
2015-08-16 18:00:03 +00:00
macallan
710e19a438
add ffb_accel_common.c
2015-08-16 17:48:24 +00:00
mlelstv
975ae63de7
missed wakeup -> cv_broadcast conversion.
2015-08-16 17:32:31 +00:00
mlelstv
3ac924a9b6
require write access to delete a wedge
2015-08-16 17:28:28 +00:00
mlelstv
49664ba565
move FWRITE checks to a common place
2015-08-16 17:26:16 +00:00
mlelstv
1cc5f2a75e
use device_printf
2015-08-16 17:22:00 +00:00
mlelstv
f0f7e7a642
replace tsleep with condvar
2015-08-16 14:07:19 +00:00
mlelstv
f7d15a6b0d
replace spl and tsleep with mutex and condvar.
2015-08-16 14:02:52 +00:00
pooka
9ee0427c6e
Hurd support, part 1
...
from Robert Millan <rmh@gnu.org> via rumpkernel-users
2015-08-16 11:37:39 +00:00
pooka
015ffe5bef
Don't use KASSERT() to test for external return values, use panic()
...
from Robert Millan <rmh@freebsd.org>
2015-08-16 11:06:54 +00:00
pooka
2c3e118367
Fix return value inspection for clock_nanosleep() (not displayed in the
...
diff, need to look at the entire file for context).
from Robert Millan <rmh@freebsd.org> via rumpkernel-users
2015-08-16 11:05:06 +00:00
jdc
4139ed58a3
Make these compile again after changes to LFS.
2015-08-16 10:58:54 +00:00
christos
9d1da10b43
merge conflicts
2015-08-16 09:52:55 +00:00
christos
57d153c7c7
fix glue for gdb-7.9.1
2015-08-16 09:51:58 +00:00
christos
c51dc1d472
add double quotes for consistency
2015-08-16 09:17:49 +00:00
christos
d0e1037b7b
handle gdb-7.9.1
2015-08-16 09:14:53 +00:00
christos
c0ef042b29
switch amd64 to gdb 7.9.1
2015-08-16 09:13:30 +00:00
mrg
5414ce041b
for now, use gdb.old.
2015-08-15 21:12:28 +00:00
mrg
4a7a9971a5
add a bunch of missing CLEANDIRFILES, since the implicit rules they
...
come from are not entirely simple to generate.
remove old DIST= setting that was wrong.
this subdir builds again for me now.
2015-08-15 21:11:37 +00:00
mrg
0249ef23ac
this is gdb.old, not gdb.
...
XXX: put this in bsd.own.mk?
2015-08-15 20:57:37 +00:00
mrg
67a23d995b
re-run mknative binutils for powerpc.
2015-08-15 19:54:02 +00:00
wiz
7b9a747246
Mark up NULL with Dv.
2015-08-15 16:39:58 +00:00
maxv
812c7f05b0
Mention UVM_KMF_EXEC.
2015-08-15 10:31:41 +00:00
christos
968cf8f21f
import new gdb
2015-08-15 10:24:36 +00:00
maxv
73ef0e67c2
Remove pax_adjust() (does not exist).
2015-08-15 10:24:29 +00:00
christos
837edd6b4e
import new gdb
2015-08-15 10:18:10 +00:00
maxv
13c3729cf1
Remove POOL_INIT() (does not exist).
2015-08-15 10:18:07 +00:00
christos
b23b258258
import new gdb
2015-08-15 09:56:15 +00:00
christos
9d2109275e
import new gdb
2015-08-15 09:46:14 +00:00
christos
8986534fbd
switch everyone to gdb.old
2015-08-15 09:34:17 +00:00
uebayasi
2d6876178b
Whitespace.
2015-08-15 09:33:55 +00:00
christos
0ab5b34041
import the head of gdb in gdb.old in preparation for the new gdb import.
2015-08-15 09:27:49 +00:00
nonaka
159e64b751
regen
2015-08-14 16:50:15 +00:00
nonaka
c4a9fc464c
Added ASMedia ASM1042A USB 3.0 Host Controller.
2015-08-14 16:49:43 +00:00
martin
46b12960f1
Make it compilable without DIAGNOSTIC
2015-08-14 15:27:28 +00:00
nakayama
3a8c4b6cb5
pckbc@ebus: match "kb_ps2" device to make keyboard and mouse work
...
on qemu-sparc64.
XXX OpenBIOS doesn't provide interrupts for pckbc currently, so use
the interrupt numbers described in QEMU's hw/sparc64/sun4u.c::isa_irq_handler.
2015-08-14 10:59:27 +00:00
msaitoh
ab295c3e51
- Add Hardware-Controlled Performance States (HWP) bits.
...
- Use __BIT()
2015-08-14 06:54:22 +00:00
knakahara
f60a13e999
fix pci_get_ht_capability(9).
2015-08-14 06:48:11 +00:00
msaitoh
5f784f1f39
- Fix uninitialized data.
...
- include vlan.h and check NVLAN.
2015-08-14 06:05:40 +00:00
knakahara
1d72faad3b
fix: missing pci_get_ht_capability(9) to distrib/sets/lists.
2015-08-14 02:35:32 +00:00
nakayama
e863f737b3
Detect a boot device more precisely on QEMU by checking the device
...
name.
2015-08-14 02:28:18 +00:00
knakahara
ae22aa76b8
Add pci_get_ht_capability(9) man.
2015-08-14 02:04:16 +00:00
knakahara
104d6d9fe1
regen
2015-08-14 01:26:38 +00:00
knakahara
a3c8dd6d16
Add Marvell 88E1512.
2015-08-14 01:23:17 +00:00
knakahara
95cf80e14d
regen
2015-08-14 01:15:38 +00:00
knakahara
a50d5a0768
Add Marvell Armada38x.
2015-08-14 01:11:49 +00:00
rjs
314f76f867
Add gem versions of collision counters.
2015-08-13 14:51:35 +00:00
leot
ea36dfc342
Add myself.
2015-08-13 13:21:04 +00:00