Commit Graph

239006 Commits

Author SHA1 Message Date
kamil
71ae6a01f6 Define man page links of the libpanel functions 2015-11-22 04:21:39 +00:00
kamil
596a81a358 Update the list of libpanel man pages 2015-11-22 04:16:22 +00:00
kamil
0fcafa04c2 + aligned_alloc.0 2015-11-22 03:31:00 +00:00
pgoyette
28b908ec33 Fix return-code handling for execve and chdir wrappers.
Fixes PR kern/50309
2015-11-22 01:20:52 +00:00
uebayasi
e1ddff408d A few more. 2015-11-22 01:20:36 +00:00
jmcneill
e2e02058ba enable tegrasoctherm 2015-11-21 22:55:46 +00:00
jmcneill
0af3fdefa2 Add SOC_THERM temperature sensor driver:
# envstat -d tegrasoctherm0
        Current  CritMax  WarnMax  WarnMin  CritMin  Unit
CPU0:    27.500                                      degC
CPU1:    27.500                                      degC
CPU2:    29.500                                      degC
CPU3:    29.000                                      degC
MEM0:    26.500                                      degC
MEM1:    27.000                                      degC
 GPU:    27.000                                      degC
PLLX:    28.000                                      degC
2015-11-21 22:55:32 +00:00
jmcneill
e7f77e44de Apply initial fuse offset in tegra_fuse_read instead of in each reg def 2015-11-21 22:52:31 +00:00
jakllsch
77011a5640 Add error interrupt handler to for Tegra MC. 2015-11-21 16:50:29 +00:00
jakllsch
81bc32ac74 Add a bunch of hopefully-useful Tegra MC register bits. 2015-11-21 16:48:33 +00:00
martin
0d8f679638 Fix an off by one in the bit definition for RX store and forward mode.
Pointed out by ganbold.
While there add a few other bits of the same register.
2015-11-21 16:04:11 +00:00
christos
e9836e5e7e fix format 2015-11-21 15:22:17 +00:00
christos
301b67f323 WARNS=6 2015-11-21 15:01:43 +00:00
christos
2ea5bc272a PR/50454: Timo Buhrmester: Fix wrong allocation for wall(1) -g
Modernize.
2015-11-21 14:59:51 +00:00
maxv
a84a9bb93c Remove the amd64 implementation of fuword and suword. They are not used in
the MI+amd64 code - Christos replaced them yesterday by copy*.

They are both buggy:
 - suword does not properly check the userspace limit: 64 bits are copied,
   but the max address checked is VM_MAXUSER_ADDRESS-4, which means that 4
   bytes may overflow. Reported by Ed Schouten.
 - fuword is supposed to be symmetrical with suword. But it uses 32bit
   registers, so it stores 32bit values! Spotted by Chuck (chs@).
2015-11-21 12:34:48 +00:00
jmcneill
fd21f708a1 Try to reboot with the PMIC if available, falling back to PMC.
When the PMIC watchdog is armed and we reboot via PMC, the watchdog stays
armed on the next boot (and we end up being reset mid-boot the second time).
By rebooting with PMIC, we can ensure that the watchdog is not armed after
reset.
2015-11-21 12:22:25 +00:00
jmcneill
b1573d55e6 expose pmic reset functionality 2015-11-21 12:19:47 +00:00
pgoyette
b094e9b9cd Add the filemon(4) device. 2015-11-21 12:11:56 +00:00
jmcneill
b2b0f53c9f Add FUSE driver, use it to determine maximum CPU frequency for the board.
Retire CPUFREQ_BOOT option and always use highest available CPU frequency.
2015-11-21 12:09:39 +00:00
tsutsui
4c7d10a0b1 Disable UIThrStubs.c, which is unnecessary on NetBSD.
This fixes xterm startup failure on NetBSD/m68k 7.0.
See PR/50386 for details.

Should be pulled up to netbsd-7 and netbsd-7-0.
2015-11-21 11:15:31 +00:00
jmcneill
853a0aa0c8 add sysmon_wdog dependency to as3722pmic 2015-11-21 10:57:32 +00:00
jmcneill
6d134f2ab4 add watchdog support 2015-11-21 10:56:40 +00:00
mlelstv
92be9a2428 Provide additional flags to control alternate functions
and interrupts.
2015-11-21 09:06:03 +00:00
wiz
a539bee556 Add missing word. 2015-11-21 09:02:31 +00:00
wiz
234f27c5ee Fix some typos. Use more markup. 2015-11-21 09:01:35 +00:00
pgoyette
eb9db23cbe If a second call to the SET_FD ioctl occurs, release the reference we
hold on the earlier outout file.
2015-11-21 07:45:30 +00:00
mlelstv
f59d56db18 Add drivers to access the clock manager and pulse width modulator. 2015-11-21 07:41:29 +00:00
pgoyette
eab5fcbc7e The correct default return value from a module's xxx_modcmd() routine
is ENOTTY, not EOPNOTSUPP!  The former will allow the module to be
auto-unloaded, while the latter will prevent it.

Note that manual unloading of the filemon module is unaffected, as
that is controlled by actual usage of the module.
2015-11-21 03:34:28 +00:00
jmcneill
e79a56c90e Add watchdog timer support. 2015-11-21 00:54:57 +00:00
pgoyette
4023d6c003 Fix typo in sample program 2015-11-21 00:50:15 +00:00
pgoyette
9cf490690d Fix sample code fragment 2015-11-21 00:35:59 +00:00
christos
bc0d7f41c8 fix type 2015-11-20 23:43:52 +00:00
christos
23a15ec846 reflect reality. 2015-11-20 20:41:58 +00:00
christos
3a9f77c250 add some const 2015-11-20 20:37:08 +00:00
christos
d432193098 keep value as an int. 2015-11-20 20:27:20 +00:00
christos
a5c147c83f update to size_t 2015-11-20 20:24:49 +00:00
christos
bfad2cbbc6 kill subyte. 2015-11-20 19:09:23 +00:00
christos
8b8cf48b88 get rid of the suword {m,j}umbo and check return of copyout. 2015-11-20 18:34:17 +00:00
bouyer
5221e2003b Turn off more bits when turning off the display. Saves about 50ma on the
5V supply.
2015-11-20 18:32:13 +00:00
christos
46295be3ca cross reference bridge; mention VLAN tagging. 2015-11-20 17:02:58 +00:00
christos
9272ae0e87 mention VLAN change. 2015-11-20 17:00:48 +00:00
jakllsch
5157d96810 Fix up tegrausbphy attach args and stuff from previous.
From jmcneill.
2015-11-20 16:44:23 +00:00
christos
b27365e960 use copyout instead of suword. 2015-11-20 14:56:56 +00:00
maxv
5b63704f89 A few changes:
- remove cpu_id and cpu_brand_id (unused)
 - copy a comment from i386 about fillkpt
 - define PDE_SIZE (i386)
2015-11-20 11:58:00 +00:00
dholland
306f0df124 Add two more items: tls-maxphys and nvme support. 2015-11-20 08:13:41 +00:00
ozaki-r
a84874a1a0 Remove an ifnet object from the global list before destructing it 2015-11-20 08:10:36 +00:00
dholland
4207ed816b Update the storage roadmap. Please review/comment... 2015-11-20 07:20:21 +00:00
ozaki-r
911c3d16a0 Set timeout of ping to reduce execution time 2015-11-20 05:05:40 +00:00
pgoyette
26e2800d71 Update for recent filemon(4) changes, and add additional information on
invoking filemon.
2015-11-20 03:13:35 +00:00
pgoyette
53ffed1b78 Ensure that the PID specified in the FILEMON_SET_PID ioctl() call
belongs to the caller or one of its descendants.
2015-11-20 02:58:19 +00:00