Commit Graph

206869 Commits

Author SHA1 Message Date
christos cb23ae6f47 add netbsd id 2011-11-14 14:37:13 +00:00
christos 58214e6f51 - fix boot block building (-D_STANDALONE)
- explain why we cast.
2011-11-14 14:36:40 +00:00
tnozaki dcbcd554a0 nvi cannot display international character(west european accented chars).
reported by Ian D. Leroux at current-users, thanks a lot!
2011-11-14 13:29:07 +00:00
tteras 84d53e8c5d From Marcelo Leitner <mleitner@redhat.com>: do not shrink pfkey socket
buffers (if system default is larger than what we want as minimum)
2011-11-14 13:24:04 +00:00
jmcneill ab7c274655 add machdep.dmi.bios-date 2011-11-14 11:29:48 +00:00
njoly cbcd12b119 Define RUMP_DISKFS to provide getdiskinfo from rumpdev_disk library. 2011-11-14 11:28:05 +00:00
mbalmer e6dceed514 Initialize ga.ga_dvname in gpio_search to prevent a stack fault in config_match 2011-11-14 07:45:54 +00:00
jmcneill bd2d899c84 add a machdep.dmi sysctl tree with the following read-only keys:
system-vendor, system-product, system-version, system-serial, system-uuid
 bios-vendor, bios-version
 board-vendor, board-product, board-version, board-serial
the *-serial and *-uuid keys are marked with CTLFLAG_PRIVATE

a few of the pmf platform key names changed so update callers to match
2011-11-14 02:44:59 +00:00
jym f83fbb4ade Document pool_sethardlimit. 2011-11-14 02:38:05 +00:00
chs 81742ac3ab fix crashes caused by using the results of getcontext()
after the caller returns.
2011-11-14 01:27:42 +00:00
sekiya 42f3df52bc Increase SYMTAB_SPACE. 2011-11-14 00:12:37 +00:00
wiz 180ddec981 Remove trailing dot; slightly improve wording. 2011-11-13 23:49:39 +00:00
christos a96ee3ab95 use getdiskinfo() 2011-11-13 23:10:34 +00:00
christos 1058c21f81 use getdisksize() 2011-11-13 23:08:47 +00:00
christos 3cc8e640ed remove unused call to DIOCGPART that was only used for debugging.
malloc M_WAITOK, does not fail.
2011-11-13 23:07:11 +00:00
christos 05bbfb83a3 use getdisksize() 2011-11-13 23:03:55 +00:00
christos 9fc82cfc97 use getdisksize() instead of homebrew() 2011-11-13 23:03:24 +00:00
christos e839ec30fc use getdisksize 2011-11-13 23:02:46 +00:00
christos 96b6da2490 use getdiskinfo() 2011-11-13 23:02:06 +00:00
christos d103aa656f Add getdiskinfo() to centralize the DIOCGPART mess in one place. 2011-11-13 22:54:05 +00:00
christos 02e7ae4899 add getfstypename 2011-11-13 22:25:21 +00:00
christos 7569228a97 the kernel does not have util.h 2011-11-13 22:21:29 +00:00
christos 38d2e81837 s/info/name 2011-11-13 22:19:09 +00:00
christos fd091bf3da Sync the disklabel fstype info with the wedge partition info.
From now on these will stay synchronized because if they don't
getfstypeinfo will not compile.
2011-11-13 22:07:00 +00:00
christos 17c5859747 add getdiskinfo a companion utility to getdisksize. 2011-11-13 22:05:58 +00:00
christos 29c49ee745 use getfstypename 2011-11-13 22:04:51 +00:00
christos da80e3ab34 add manual page 2011-11-13 22:03:34 +00:00
christos 80b0f3a562 getfstypename addition 2011-11-13 21:57:14 +00:00
christos fb75d15e0f Add a function to convert from a disklabel p_fstype integer to a
dkw_ptype name.
2011-11-13 21:56:53 +00:00
wiz f4eb12076c add dircategory/direntry for vi, so texinfo stops complaining 2011-11-13 19:53:53 +00:00
wiz 7405dbf494 Fix a few typos and Xrefs, use Dq, comment out Xr to non-existent gpioattach(4),
sort SEE ALSO.
2011-11-13 19:31:05 +00:00
christos 3aa8e3d303 use getdisksize, M_ZERO, and malloc M_WAITOK doesn't fai. 2011-11-13 18:29:08 +00:00
dholland 9851fd89b4 Fix xref to the PSD; PR 45568 from Petri Laakso. 2011-11-13 18:18:35 +00:00
dholland 0b69cddad2 Avoid panic on error path, from PR 45607. The error path is exercised
because this is using DIOCGPART to get the volume size, which doesn't
work on wedges. It should be calling getdisksize() instead.
2011-11-13 17:22:51 +00:00
mbalmer f735fe77b9 Bring up to reality. 2011-11-13 17:00:04 +00:00
mbalmer afd38e42d9 Remove an unused constant. 2011-11-13 16:56:15 +00:00
phx eeb50b3333 Add DS-106j. 2011-11-13 16:22:18 +00:00
tsutsui 2556fadeae Read-modify-write instead of read-modify-read. (not sure if this was fatal) 2011-11-13 15:57:57 +00:00
dholland 78108b8ccc Split up excessively large main().
Fix -d behavior to match documentation.
2011-11-13 15:42:35 +00:00
dholland 26b9d6b1f1 Cleanup for edquota.
Factor out common malloc and linked list code. Distinguish lists of
quota info from single records.
2011-11-13 15:41:34 +00:00
christos b9c2e08099 make use we don't touch memory past the end of the buffer. Pointed out
by tnozaki.
2011-11-13 15:24:04 +00:00
mbalmer 5d1027619d Fix a "lonely name". 2011-11-13 14:39:42 +00:00
tsutsui 003722c716 Note NetBSD/luna68k LUNA-II support. 2011-11-13 14:39:02 +00:00
mbalmer 092935d865 Remove an unused variable. 2011-11-13 14:02:01 +00:00
mbalmer 6e210c20d3 Remove software pulsing. 2011-11-13 13:37:24 +00:00
mbalmer a2091c8232 Remove software pulsing in gpio(4), this functionality is now provided
by the gpiopwm(4) driver.
2011-11-13 13:20:02 +00:00
mbalmer 0826f67b74 On detach, set the pin to low state. 2011-11-13 13:16:33 +00:00
mbalmer c668574f04 Add gpiopwm(4). 2011-11-13 12:47:54 +00:00
mbalmer 2b7e7be22d Add commented out entry for gpiopwm(4). 2011-11-13 12:46:40 +00:00
mbalmer 29e0bcb44b Note gpiopwm(4) addition. 2011-11-13 12:44:18 +00:00