skrll
7c2a9a0993
Improve USB debugging with USBHIST based on KERNHIST.
...
Convert some DPRINTFs to USBHIST_LOG and allow usbdebug, ehcidebug and
umassdebug to be changed via sysctl.
Remove the #define mess in usb.h.
This was started by mrg@ and updated by reinoud@
2014-09-12 16:40:38 +00:00
skrll
f6dcbec3a9
Trailing whitespace.
2014-09-12 16:25:55 +00:00
skrll
e52f4ab9a5
Print the cpu in the kernhist record.
2014-09-12 16:25:29 +00:00
jmcneill
89022a47a8
trust the firmware and use whatever it advertises between DMA0-DMA11
2014-09-12 16:06:29 +00:00
jmcneill
c3ace1825b
not sure how this compiles for me, but remove extra * on prop_dictionary_t decl
2014-09-12 15:41:02 +00:00
jmcneill
616673a221
use dma channel mask from firmware
2014-09-12 15:29:30 +00:00
roy
5758b155c1
Remove more rtsol references.
2014-09-12 14:46:33 +00:00
nonaka
953d3a57a3
Remove rtsol.
2014-09-12 14:39:49 +00:00
msaitoh
966fce455d
KNF. No binary change.
2014-09-12 12:30:20 +00:00
mlelstv
d144aaa341
use the passed parameter instead of PATH_MAX. Change signedness
...
of nlen.
2014-09-12 11:38:23 +00:00
martin
459d37a82b
Mark /etc/rc.d/rtsold and /rescue/rtsol as obsolete
2014-09-12 10:03:32 +00:00
martin
58001a8b3d
Initialize timespec "end" for the benefit of some gcc versions getting
...
"may be used uninitialized" warnings wrong.
2014-09-12 08:54:26 +00:00
mlelstv
26dae55653
- use a private buffer to resolve symlinks, the previous code was broken
...
- factored out symlink handling
- handle relative symlinks now
- handle device paths that do not contain a '/'.
2014-09-12 07:59:36 +00:00
ozaki-r
0e7abd5a0f
Call if_input of vlan interface itself, not parent's one
...
And also we need to drop M_PROMISC before calling if_input;
it was originally at just before bridge_input in ether_input.
Then we can bridge vlan interfaces again.
2014-09-12 04:10:24 +00:00
ozaki-r
af918e150a
Restore vlan_ioctl overwritten by ether_ifdetach in vlan_unconfig
...
This fixes PR 49112.
2014-09-12 03:44:27 +00:00
wiz
d762b67d80
Use Nx.
2014-09-11 21:04:34 +00:00
dholland
83a65169bb
Visit the Bureau of Redundancy Department.
...
From Henning Petersen in PR 49191.
2014-09-11 18:25:30 +00:00
msaitoh
43ebf58e10
- Add two more bit definitions
...
- XINUSE -> XGETBV
2014-09-11 18:11:59 +00:00
roy
f542fd2122
Don't try and install rc.d/rtsold
2014-09-11 18:01:22 +00:00
riastradh
103f4fccb9
Switch default accelmethod back to UXA until we import a stabler SNA.
2014-09-11 17:26:30 +00:00
msaitoh
6fcc8c5545
It's not required to print "failed to detect NVM bank" with
...
aprint_error_dev(). Use DPRINTF(). Same as {Free,Open}BSD.
2014-09-11 17:09:04 +00:00
christos
fdbbaf2d5a
PR/49192: remove dup assignment.
2014-09-11 13:30:04 +00:00
roy
c6314d6139
Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
...
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.
As discussed on tech-net@
2014-09-11 13:10:03 +00:00
jmcneill
e8cd4b633c
correct softreset reg for allwinner boards
2014-09-11 11:14:44 +00:00
wiz
3ca7a10cff
Use false/true on boolean, not increment.
...
From Henning Petersen in PR 49194.
2014-09-11 08:22:03 +00:00
matt
d52e397207
Make sure the data in the descritors is little endian.
2014-09-11 08:20:52 +00:00
matt
35af25c08f
Fix (I hope) ram size calculation.
2014-09-11 08:01:31 +00:00
manu
209370b3d8
PUFFS fixes for size update ater write plus read/write sanity checks
...
- Always update kernel metadata cache for size when writing
This fixes situation where size update after appending to a file lagged
- Make read/write nilpotent when called with null size, as FFS does
- Return EFBIG instead of EINVAL for negative offsets, as FFS does
2014-09-11 07:59:14 +00:00
skrll
c00d94e0d9
Initialise bsciichist only once, otherwise the kern_histories list
...
never ends.
2014-09-11 07:06:13 +00:00
martin
6224bda15f
Simplify device property handling by moving it into the core driver.
...
Overriding the MAC address now works again.
2014-09-11 06:56:05 +00:00
manu
e6dc4d2455
Avoid a file resize serialization deadlock when writing with
...
PUFFS_IO_APPEND flag. The symptom was a hang when appending to
a file with a null size.
2014-09-11 04:05:52 +00:00
jmcneill
3ca2cb1449
work in progress HDMI driver, so far it can detect display presence and read the display EDID
2014-09-11 02:21:19 +00:00
jmcneill
dd027ee771
PLL7 setup for HDMI on A20
2014-09-11 02:16:15 +00:00
jmcneill
f812315f7a
add some HDMI regs
2014-09-11 00:50:39 +00:00
matt
25d15b759f
Uncomment/fix the eabihf compat entries
2014-09-10 22:50:25 +00:00
ryo
4c91708145
add __diagused
2014-09-10 22:46:34 +00:00
matt
a5887d4e99
Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
...
use the proper variant of arm*--netbsdelf-eabihf
2014-09-10 22:43:36 +00:00
christos
afdd00276d
Fix the index building which got completely broken after the last update.
2014-09-10 21:44:22 +00:00
wiz
c48417e269
Fix pasto.
2014-09-10 21:13:50 +00:00
riastradh
3393ff7dbb
Sternly advise against `pcictl read/write'. Use .Cm, not .Nm, while here.
2014-09-10 21:09:32 +00:00
christos
59bf05d0af
fix grammar stupidity: ipandport takes an optional port but has 2 grammar
...
productions, one with and one without an optional port. make the port
not optional and kill reduce-reduce conflicts.
2014-09-10 21:04:08 +00:00
christos
52f10dbca1
remove dup
2014-09-10 21:01:33 +00:00
riastradh
53f64d0bd0
We dropped vmobjlock, so reacquire it before uvmfault_unlockall.
2014-09-10 18:24:16 +00:00
martin
71482329d7
Adapt to recent changes.
2014-09-10 14:28:02 +00:00
jakllsch
3e95dd9f46
Drop unused local-softc variable.
2014-09-10 13:45:52 +00:00
jnemeth
e3f4016378
- dump all partitions, not just ones that are in use
...
- while here, squash a memory leak
It shouldn't be necessary to backup unused partitions, however
the partition GUID is created at the time the GPT is created and
is never changed. It shouldn't matter if the GUID of an unused
partition changes, but there may be some special case where it
does. Since it isn't a big deal to record the unused partitions,
might as well do it.
2014-09-10 10:49:44 +00:00
matt
941d53493d
options GTTWSI_ALLWINNER
2014-09-10 09:55:09 +00:00
macallan
8cdf481320
handle WSDISPLAYIO_GET_EDID and WSDISPLAYIO_GET_FBINFO only if the bus
...
frontend doesn't ( as in, returns EPASSTHROUGH or doesn't register a
handler )
Now flags passed from things like bcm2835_genfb.c are actually seen by
xf86-video-wsfb again and automatically disabling shadowfb works again,
which results in a major speedup on this kind of hardware.
2014-09-10 07:40:52 +00:00
skrll
243f794ede
Don't grab the ubootinfo structure and try to determine the mac address
...
from it. Rely on reading the mac from the chip.
2014-09-10 07:39:17 +00:00
matt
50ba60c0f2
g/u_int[0-9]*_t/ s/u_int/uint/g
2014-09-10 07:04:48 +00:00