christos
354d41acbc
simplify
2015-10-22 00:29:58 +00:00
christos
0fe5419e98
Use the full buffer for the conversion; ideally we should be dynamically
...
allocating this. From Jilles Tjoelker
2015-10-21 21:45:30 +00:00
christos
2bf9792ea2
Fix dumping code (dk_dump):
...
- set DKF_TAKEDUMP on attach, otherwise we can never dump
- add DKF_DUMP debugging
- use __func__ instead of hard-coding names
- only allow dumps on swap partitions
2015-10-21 21:43:46 +00:00
jmcneill
d7fd9ef64a
Split out USB PHY support out of the ehci glue and into a separate driver.
2015-10-21 20:02:12 +00:00
macallan
c0e6781154
use mips3_ld() and mips3_sd() for all accesses if CHIP_ACCESS_SIZE == 8 and
...
we're on o32
Now serial console works on O2 with o32 kernels again
2015-10-21 15:47:19 +00:00
christos
9c2534e992
Fix typo
2015-10-21 15:37:35 +00:00
msaitoh
7a80439de2
Fix compile error...
2015-10-21 15:01:01 +00:00
christos
f3d98d7df9
CID 1328433: Anding with 0 and comparing != 0 will not work very will.
2015-10-21 14:11:07 +00:00
christos
d4aeb196d8
make too many struct or union members non-fatal.
2015-10-21 13:43:49 +00:00
nonaka
65f265cb5d
regen
2015-10-21 13:06:39 +00:00
nonaka
21b057568e
Add Samsung SM951 M.2 NVMe SSD.
2015-10-21 13:06:09 +00:00
msaitoh
00735cfb34
Decode SATA Capability and Multicast Extendeded Capability.
2015-10-21 12:54:59 +00:00
jmcneill
c9c9d26142
reduce the number of magic numbers in phy setup, pull settings from device properties instead.
2015-10-21 10:43:09 +00:00
jmcneill
d0859e2baa
axp20x is optional for allwinner boards
2015-10-21 09:25:16 +00:00
jmcneill
84a4a94eb8
needs-flag for axp20x
2015-10-21 09:03:13 +00:00
sjg
80c2cdd094
Ensure emsg initialized
2015-10-20 21:30:57 +00:00
maxv
2f8be1878d
Harmless alloc inconsistency; make sure the exact same argument is given to
...
kmem_alloc/kmem_free. Found by Brainy.
2015-10-20 14:46:45 +00:00
tnn
fca662958f
add ifnet attributes to vioif(4) so it can be config(8)ed as root device
2015-10-20 13:27:36 +00:00
ozaki-r
847c251da6
Stop callout in arp_rtrequest(RTM_DELETE)
...
This change fixes arptimer panic after removing an interface
(say by drvctl -d), which is reported by Takahiro Hayashi.
This change also fixes llentry's reference counting; we have
to take into account rtentry#rt_llinfo as well as arptimer.
2015-10-20 07:46:59 +00:00
ozaki-r
e4a5751875
Stop using softnet_lock (fix possible deadlock)
...
Using softnet_lock for mutual exclusion between lltable_free and
arptimer was wrong and had an issue causing a deadlock between
them; lltable_free waits arptimer completion by calling
callout_halt with softnet_lock that is held in arptimer, however
lltable_free also holds llentry's lock that is also held in
arptimer so arptimer never obtain the lock and both never go
forward eventually. We have to pass llentry's lock to
callout_halt instead.
2015-10-20 07:35:15 +00:00
jmcneill
1c995f393c
map stolen memory with BUS_DMA_COHERENT
2015-10-19 23:31:26 +00:00
jmcneill
b9f7b639d2
allow "hdmi.forcemode=dvi" kernel option to force HDMI transmitter into DVI mode
2015-10-19 22:00:09 +00:00
jmcneill
cb32722ac7
defflag TEGRA_HDMI_DEBUG
2015-10-19 21:18:36 +00:00
dholland
3adc6f5a85
because I'm feeling tetchy, implement "make describe" for everything that
...
has man pages.
2015-10-19 17:08:11 +00:00
pooka
fd591903fa
Allow "make describe" to descend into SUBDIRs.
2015-10-19 16:17:14 +00:00
pooka
b2b6f2602e
Add a COMMENT describing what each component roughly does.
...
"make describe" prints the comment.
Requested/inspired by Vincent Schwarzer on rumpkernel-users
2015-10-19 16:16:32 +00:00
macallan
150a0d4705
build some drivers for PCI graphics chips, now that they could be useful
...
TODO: fix up MMIO stuff to deal with MACE PCI's endianness twiddling
2015-10-19 15:09:39 +00:00
pooka
f9fe23489a
terminology police: rump -> rump kernel
2015-10-19 14:33:11 +00:00
tnn
947645581a
regen
2015-10-19 10:00:50 +00:00
tnn
a4b74b5caa
fix I219_LM2 entry
2015-10-19 09:57:37 +00:00
tnn
0cdf19ecfb
add I219 family Ethernet devices
2015-10-19 09:54:21 +00:00
martin
d041befd31
Ifdef npf_init() the same way as all it's callers are protected.
2015-10-19 09:28:24 +00:00
dholland
f942ea8941
fix stupid typo in the 64-bit branch of the d_namlen accessor
2015-10-19 04:22:28 +00:00
dholland
b53aa31418
Set the legacy ulfs fstype field to ULFS2 when mounting lfs64. Oops.
2015-10-19 04:22:18 +00:00
dholland
b7c7abea00
improve some panic messages
2015-10-19 04:21:48 +00:00
msaitoh
df71a53179
Add 6th gen Core, Xeon E3-1500 v5 and Xeon D-1500 from the latest Intel SDM.
2015-10-19 02:47:05 +00:00
msaitoh
9373f7bbba
Add some TLB entries from the latest Intel SDM. This change might be incorrect
...
because the document itself is very strange.
2015-10-19 02:45:26 +00:00
christos
234792da04
make sure we have space for NUL and NUL terminate buffer array (Jilles Tjoelker)
2015-10-19 00:36:27 +00:00
christos
a6022a4b9e
Fix the code so that it works in all 3 cases: non-modular, modular/builtin,
...
modular/filesystem. In the non-modular case we initialize through attach.
In the modular/builtin case we define the module to be class misc so it
attaches late (after percpu is initialized) since driver modules attach
too early. In the modular/filesystem case we define it to be a driver
module since we autoload it via /dev/npf open.
2015-10-19 00:29:57 +00:00
jmcneill
f0bb3f7042
Defer initialization of built-in npf module until other pseudo-devices
...
are initialized. MODULE_CLASS_DRIVER modules are now initialized before
autoconfiguration starts, but npf_init has a dependency on percpu(9) which
doesn't work until CPUs have attached (at least on ARM).
2015-10-18 20:39:53 +00:00
christos
635094c1f5
needs to be driver, otherwise it will not load!
2015-10-18 18:48:01 +00:00
christos
9ca3dc7d85
remove debugging test
2015-10-18 18:27:25 +00:00
christos
3075d03889
add code to dump the mbuf contents
2015-10-18 18:26:55 +00:00
maxv
389924615a
Add some {} when the meaning is too ambiguous. From Brainy.
2015-10-18 17:13:32 +00:00
jmcneill
e33e765e82
support passing nouveau.config= and nouveau.debug= on the kernel cmdline
2015-10-18 17:07:36 +00:00
maxv
6ad8aacf8e
Make sure we have space for the aout header.
2015-10-18 16:59:19 +00:00
christos
054ca2c181
add the pty ioctls to pass through.
2015-10-18 15:58:23 +00:00
jmcneill
dd0d2f10c2
Backport GK20A support from linux-3.16.
...
commits: 53d206bb4aadba255d20b70893ed5ba1d89f41e1
88ff3f5f63370a8ff5b0e34bdb58144bf1c2fa9b
90a5500c2bf0e83cd965128fce9ac1f5fa4f04f5
fef94f6272c6d1ce1c9177770f50f7281d61f5f6
86ebef722dab7f9ea4c5753640ef7d660c681985
b7c852a646b12051e61c4dde4ddaa6c14af9c80b
370eec76b67430f6055ebda07c820f02288d93b8
a4d4bbf130724c9a9a3dff673eb9342f1dbe2392
52e98f1a84094f9cfb36d02a73bc4271a71c70eb
ok riastradh@
2015-10-18 15:41:59 +00:00
jmcneill
4b8e1c344f
implement _bus_dmamap_load_raw, ok skrll@
2015-10-18 15:34:08 +00:00
christos
8c41569f24
handle the hardware layer tty ioctls directly so that we don't need to load
...
the compat module for normal operations.
2015-10-18 15:14:50 +00:00