Commit Graph

12333 Commits

Author SHA1 Message Date
matt
a0ead35a8e uvm_page_physload takes paddr_t's not vaddr_t's. 2009-12-21 20:57:31 +00:00
gdt
daad9cefc2 In the introduction, point out that RA_WB is intended for recurring
fixed-sized transfers.  Clarification requested by pooka@.
2009-12-21 19:04:36 +00:00
pooka
ea5f9a0f11 Add a simple terminal program which uses a rump kernel for a ucom@usb
terminal and host terminal stdin/stdout for human interaction.
Tipsy just simply shovels bits between the two.  I can use my
JavaStation Krups (*) serial console with this ... without having
to worry abort those pesky usb drivers crashing my desktop kernel.

*) strictly speaking it's uwe's ;)
2009-12-20 19:50:29 +00:00
pooka
eb2ef0c632 Use RUMP_ACTION to avoid having to specify the same information
in the Makefiles of all the consumers.
2009-12-19 15:03:34 +00:00
snj
946a137e1d A couple small grammar fixes. From Constantine Aleksandrovich Murenin. 2009-12-19 00:16:51 +00:00
snj
bbbb5348d6 Small grammar fix. From Constantine Aleksandrovich Murenin. 2009-12-19 00:15:28 +00:00
christos
830b7bc6e9 We mustn't search in the path for ${dir}.${MACHINE}; make sure we only
find the ones relative to ${.CURDIR}.
2009-12-19 00:14:43 +00:00
dyoung
8d684555a6 Note in BUGS section that vnd(4) does not work on sparse files. 2009-12-18 23:37:38 +00:00
pooka
410d5e309e add dialout devices to FILES 2009-12-16 01:42:41 +00:00
pooka
bbf0fd9dc9 Add an example to show how to print with a rump ulpt driver. 2009-12-15 16:01:50 +00:00
mrg
6540a82b31 brace a --fatal-warnings with a NOGCCERROR check. 2009-12-15 04:03:55 +00:00
christos
05e0c68b9e commit the auto-generated file 2009-12-15 03:39:19 +00:00
christos
c76b1ab895 Add a script to update the countries ISO/FIPS list. 2009-12-15 03:38:58 +00:00
wiz
fcf6fd4722 Bump date for additional supported card. 2009-12-14 09:33:47 +00:00
cherry
f9f0b72acc Add reference to Qualcom Inc AC8700 / ZTE 1x EVDO interface. Thanks saysprasad@gmail.com 2009-12-14 09:06:37 +00:00
mrg
588b1ff87f use "${CC} -r" not "${CC} -Wl,-r" as the latter fools GCC on some targets
and it ends up passing "-r -relax" to ld, which causes ld to barf.
2009-12-14 08:51:16 +00:00
christos
2713ece13f don't need GENCMD anymore. 2009-12-14 05:25:21 +00:00
matt
1e301281a1 Merge from matt-nb5-mips64 2009-12-14 01:00:46 +00:00
christos
2561f2eece Don't add the .h rule for yacc if we are not really building (-n) 2009-12-13 18:40:50 +00:00
wiz
b287b9bcf2 Add Hama WLAN PCI Card 54 Mbps to recognized cards. Bump date. 2009-12-13 17:31:53 +00:00
mrg
bcd8d648d5 enable MAKEDIRTARGET to be called with a separate environment,
called $MAKEDIRTARGETENV, defaulting to nothing.
2009-12-13 09:10:16 +00:00
mrg
6af15ae20b if BSD_MK_COMPAT_FILE is defined, .include it. 2009-12-13 09:01:45 +00:00
nonaka
7ed8bf295b The support of X for zaurus is added. 2009-12-13 05:04:36 +00:00
nakayama
cdf5b45b9a 32-bit compat is CPU specific rather than machine.
So use MACHINE_ARCH instead.
2009-12-13 03:06:22 +00:00
snj
24e81c293f Switch cats to X.Org. 2009-12-12 23:45:36 +00:00
mrg
a6052e3b04 replace /usr/lib with ${_GCC_CRTDIR} or ${SHLIBDIR} as appropriate. 2009-12-12 21:33:50 +00:00
snj
6085ee1cdc Switch netwinder to X.Org. 2009-12-11 22:35:42 +00:00
tsutsui
a2c6d1c59d There is no NetBSD 4.1 (yet?) and 5.0 has been released before it. 2009-12-11 17:00:49 +00:00
uebayasi
bab9f7218a GENCMD: quote the string to eval in case it has spaces. 2009-12-11 16:09:03 +00:00
he
66597865fb Move the test for evbppc out of sets.subr and into bsd.own.mk, to
decide whether to make kernel modules: set MKKMOD to no for evbppc.
Use this in etc/Makefile to decide whether to do the "modules"
obsolete sets.  Move the ./var/db/obsolete/modules entry from the
"mi" to the "module.mi" file set.

Fixes the build for evbppc.

Discussed with uebayasi@
2009-12-11 15:22:33 +00:00
uebayasi
31dfbef56f ${GENCMD}:
Prefix tmp directories as /tmp/_gencmd.XXXXXX to give users a clue when it's
left accidentally.
2009-12-11 08:52:37 +00:00
uebayasi
bf4c37b84c ${GENCMD} is used to generate only one output from file generation commands
which potentially have multiple output files, which confuses make(1).

This wrapper copies all involved files into /tmp, execute the command, and
copy the wanted file back to ${.OBJDIR}.  If this is expensive, consider to
rewrite the generation command to output files individually.

XXX bsd.own.mk is too bloated.
2009-12-11 08:37:34 +00:00
uebayasi
cf4c152485 When PROGS / LIBS are used, you can pass each PROG / LIB specific parameters
to ${LD} via:

	${LDADD.${PROG}}
	${LDFLAGS.${PROG}}
	${LDSTATIC.${PROG}}
	${LDADD.${LIB}}
	${LDFLAGS.${LIB}}

OTOH you can't pass parameters to ${CC}, because in suffix rules make(1) only
knows the name of ${.IMPSRC} and ${.TARGET}; it's users' responsivility to
define ${CC} parameters to all the sources of a given ${PROG} / ${LIB}.

Should address bin/42381.

(Bug in this commit log was pointed out by mrg@.)
2009-12-08 15:18:42 +00:00
mbalmer
ea9e4b3733 Fix typographics errors. 2009-12-08 09:23:06 +00:00
joerg
8c11e3845e Fix typo. From Brad Tilley. 2009-12-08 02:40:04 +00:00
dyoung
8f3647df11 Don't mention the activate interface, since config_activate() has been
gone for a while, now.
2009-12-07 23:50:39 +00:00
wiz
103bd24819 Bump date for new sysctl. 2009-12-07 23:48:01 +00:00
christos
adf7e47145 PR/42243: Yasuoka Masahiko: Add "net.inet.icmp.bmcastecho" sysctl support,
to disable icmp replies to the broadcast address.
2009-12-07 18:47:24 +00:00
uebayasi
1675a3f293 Simplify how MKZFS is set. No functional changes. 2009-12-06 16:15:15 +00:00
pooka
4a2258a070 remove cv_wakeup.9 (it wasn't documented, just linked) 2009-12-05 22:43:34 +00:00
pooka
a3b4e31630 Use puffs_kernerr_abort as the error handler. 2009-12-05 20:54:40 +00:00
pooka
70d4493c77 Remove the portalfs kernel file system driver. Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.
2009-12-05 20:11:01 +00:00
pooka
d6224f4507 Remove support for NetBSD/playstation2. 2009-12-05 16:29:10 +00:00
haad
568f60a3ff Include public interface describing user-kernel interface from include/dev/dm. 2009-12-05 11:44:56 +00:00
haad
902928d6cd Fix some small bugs pointed out byt pooka@. Remove not needed -D defines and
do not include private kernel header files. Instead copy part of it to test
program.
2009-12-05 10:38:27 +00:00
haad
1a5d77acb9 Add small testing program which uses RUMP libdm to test device-mapper
functionality in userspace.
2009-12-04 22:18:30 +00:00
njoly
25d47bcec5 Remove unneeded ichsmb(4)/nfsmb(4) cross-references. 2009-12-04 13:53:38 +00:00
pooka
60c8f07a95 Remove no longer supported suspend code. 2009-12-04 13:43:28 +00:00
haad
e8e1233552 Switch MKLVM to default value to yes. There are only few bits missing and it
would be great if it can receive more testing.

Oked: core@, yamt@
2009-12-04 11:21:07 +00:00
tron
6a125b5c44 Add "MKZFS" to either "_MKVARS.yes" or "_MKVARS.no" depending on the
default of this platform. This fixed the build for NetBSD/amd64
and NetBSD/i386.

Yes, this horrible. There should be a better way to handle these
settings in general.
2009-12-03 15:57:18 +00:00
uebayasi
0cd6b4b257 Define lists of MK* variable names as _MKVARS.yes and _MKVARS.no. They're
referred to by syspkg.
2009-12-02 14:11:20 +00:00
kiyohara
c7dfb7bf39 Maybe supported LAN9218 Family. 2009-12-02 12:54:15 +00:00
uebayasi
f7393e813f Add ${TOOL_PKG_CREATE}. 2009-12-01 09:09:40 +00:00
explorer
7ba2798f6e Assign copyright to TNF 2009-12-01 01:33:25 +00:00
uebayasi
d166c4bf28 Support "extsrc", externally added programs and libraries. Users can write
their own reach-overs, cross-build, install, and get set files just like base
and X11 / X.org.  (These sets are not included as TNF releases.)
2009-11-30 16:13:22 +00:00
uebayasi
1dfaf75755 Remove an unneeded test (.if defined(V)) in .for v in ${V} ... .endfor.
Tested by running build.sh distribution.
2009-11-29 16:00:00 +00:00
mbalmer
228477b2fe Add the xf86-input-elographics driver to i386 builds. 2009-11-28 16:48:25 +00:00
mbalmer
d0bf5c8f87 Link the xf86-input-ws X.Org input driver to the build and add it to the lists
that also have the wsmouse driver.

xf86-input-ws adds support for touchpanels in X11 that report absolute position
data through wscons(4), e.g. the extended ums(4) driver.  xf86-input-ws was
written by Matthieu Herrb for OpenBSD.

Please remember to also update xsrc before the next system build.
2009-11-28 12:10:24 +00:00
nakayama
7db1a7f040 Add support for monitoring Fault LED and Alarms status. 2009-11-28 04:14:27 +00:00
pooka
972900e4ca Move -mcmodel=kernel CFLAGS from bsd.klinks.mk to amd64/include/Makefile.inc
to avoid having the kernel toolchain flags split over a billion different
files.
2009-11-27 13:50:29 +00:00
tsutsui
b00cd20126 If CPPFLAGS or CXXFLAGS already contains -nostdinc or -nostdinc++,
don't add ${CPPFLAGS_ISYSTEM} or ${CPPFLAGS_ISYSTEMXX} to refer
${DESTDIR}/usr/include or ${DESTDIR}/usr/include/g++.

This change might cause errors on some MD stand dir, but in that case
each Makefile should be fixed to search proper system include paths
by -Ipath option in own CPPFLAGS.
2009-11-27 11:44:36 +00:00
mbalmer
8a44b5e050 Add support for USB HID devices that report absolute coordinates instead
of relative movement data, i.e. touchpanels.  Please note that calibration
must be done outside the wsons(4) driver for now.
2009-11-27 08:35:05 +00:00
pooka
1b8aa8bae0 Fix rev 1.10 a bit: currently raw devices are correct for newfs/tunefs,
and the cooked one should be used for mount.
2009-11-23 16:41:26 +00:00
mbalmer
124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
pooka
16f3281f94 Remove extra crud which hasn't been up-to-date in eons. 2009-11-22 18:36:16 +00:00
mbalmer
a4ce4bde9a remove the the double the. 2009-11-22 18:02:22 +00:00
snj
c88ba29086 Kill space before a period. 2009-11-22 16:50:13 +00:00
christos
211ea3b037 don't use the raw device in example. From rudolph 2009-11-22 00:02:56 +00:00
wiz
0a08e1d808 Remove trailing space. Remove unnecessary Pp before Sh. 2009-11-17 19:34:29 +00:00
dyoung
de7882afa1 Describe spllower(9) and splraise(9). 2009-11-17 18:36:07 +00:00
dyoung
d6a7055744 Describe 'options SPLDEBUG'. 2009-11-17 17:54:14 +00:00
pgoyette
135ea6d8da Add a period at the end of a sentence. 2009-11-15 14:59:47 +00:00
tnozaki
591608f7a5 1. PR/42209 various problems with EBCDIC support in iconv(3)
part3: added CP114[0-9] support.
2. fix csmapper name separator.
2009-11-14 01:56:21 +00:00
tron
c3b1e69a6b Remove "USE_SSP_DEFAULT". 2009-11-12 14:46:37 +00:00
tron
d6e33297fb Revert SSP changes because at least rmind@, pooka@ and haad@ consider
5% more performance more important than the gain in security.
2009-11-12 14:30:34 +00:00
tron
559872b175 Invent a new flag "USE_SSP_DEFAULT" which defines whether we want to use
SSP for building the whole source tree. Set this to "yes" for
NetBSD/amd64 and NetBSD/i386. It is now possible to get the old
behavior (build libs and certain programs with SSP) by setting
"USE_SSP_DEFAULT" to "no".
2009-11-12 13:22:34 +00:00
tron
47db09157e Fix broken conditional to get manual builds (not using "build.sh")
working again.
2009-11-12 08:51:50 +00:00
tron
840a46601a Enable Stack Smash Protection (SSP) by default for NetBSD/amd64 and
NetBSD/i386 as previously discussed on the "port-amd64" and
"port-i386" mailing lists. No objections from the core team.

Thanks a lot to Tobias Nygren for helping me with the benchmarking
and to Christos Zoulas for fixing SSP problems in cgd(4).
2009-11-11 16:35:45 +00:00
rmind
66d36229df Sync declarations with reality, bump date. 2009-11-11 08:43:18 +00:00
macallan
e58b11d12a add igs driver for Xorg 2009-11-10 21:41:31 +00:00
tnozaki
a316eb20e2 update Unicode 5.2.0 2009-11-10 15:06:06 +00:00
skrll
25edd46c0c Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
2009-11-10 14:47:52 +00:00
skrll
29d2620fc4 IA64 doesn't have SSP. 2009-11-09 15:58:09 +00:00
mrg
3ebc75ef44 update for xorg-server 1.6.5 2009-11-09 07:38:14 +00:00
skrll
c93ac2bc84 Update for new binutils location.
XXX Why is kmodule under binutils anyway?
2009-11-08 22:27:09 +00:00
tnozaki
16bacb5c04 lib/42209 various problems with EBCDIC support in iconv(3)
1. RFC1345 have wrong conversion table, 0x00-0x1F is not EBCDIC but ISO-8.
  2. correct DST_INVALID.
CP1141 is not added yet.
2009-11-08 10:37:50 +00:00
wiz
b368ff1382 Remove leading zero from Dd. New sentence, new line. 2009-11-07 08:52:26 +00:00
cegger
7e7e0a568b Update pmap(9) manpage:
- Document new flags argument for pmap_kenter_pa
- Document new flags argument for pmap_enter as well
- Document the prot argument for pmap_kenter_pa. This is copy&pasted from
  pmap_enter.
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006436.html
Thanks to Martin Husemann for his comments to the original patch version.
2009-11-07 07:37:46 +00:00
skrll
3966cd5848 Switch everyone to binutils 2.19. 2009-11-05 20:06:29 +00:00
wiz
23a6db9cd7 Drop trailing whitespace; use full month name in Dd. 2009-11-05 09:55:38 +00:00
dyoung
8f33cec11c Document the device iteration routines.
I derived this manual page from pmf(9), hence my retention of Jared's
copyright notice.
2009-11-05 00:20:24 +00:00
skrll
130f3380aa Switch mips to binutils 2.19. 2009-11-04 17:02:19 +00:00
pooka
c2492298bf * use rump_boot_sethowto()
* fail in a nicer way if interface device is not probed
2009-11-03 18:24:21 +00:00
wiz
470b4b9167 Fix Dt, improve Nd, remove trailing whitespace. 2009-11-03 11:04:32 +00:00
dyoung
e5ffb6d32f Install the manual page return_address(9). 2009-11-03 05:12:10 +00:00
dyoung
3d5b001d3f Add return_address(9) for reading the Nth return address from the call
stack.
2009-11-03 05:08:18 +00:00
joerg
f79d98372f Use proper column markup. 2009-11-02 00:50:29 +00:00
tnozaki
4079756871 1. add new alias Window-31J -> CP932, IBM-932 -> CP942C.
2. change alias IBM-943 -> CP943 to CP943"C"(compatible).
for compatibility with AIX and glibc's iconv.
2009-10-31 15:15:42 +00:00
tnozaki
3c82a9bc85 lib/42209 various problems with EBCDIC support in iconv(3)
1. add EBCDIC-US conversion table.
2. RFC1345 have wrong conversion table, 0x00-0x1F is not EBCDIC but ISO-8.
(CP273 and CP1141 is not yet)
2009-10-31 15:06:52 +00:00
wiz
823d48dac8 Bump date for previous. 2009-10-29 01:52:39 +00:00
njoly
a53601df2e Remove callback_entry ce description which has nothing to do with
callback_run_roundrobin() function.
2009-10-28 18:20:41 +00:00
snj
b65156b03d As Mikael Magnusson notes, run_fsck_flags does not take a YES or NO
and it should be in the second listing of variables.  While here,
capitalize and make the description a little bit more explicit.
2009-10-28 02:31:44 +00:00
hubertf
152f316d0a This was replaced by a shell script quite some time ago, purge. 2009-10-27 08:58:04 +00:00
hubertf
762f1eaa09 regen 2009-10-27 08:55:44 +00:00
joerg
c943bacea0 Use .%U inside of .Rs/.Re. 2009-10-25 18:35:45 +00:00
wiz
1675d276fa Bump date for previous. 2009-10-25 01:30:48 +00:00
tsarna
6022b5b8d4 Major enhancements to mdnsd nsswitch support:
- nss_mdns renamed to nss_multicast_dns for clarity and less chance of
   confusion with nss_mdnsd (see next).
 - Support using mdnsd for all unicast too with new nss_mdnsd module
   (note: this mode requires an updated mdnsd too, not yet committed)
 - Implement resolv.conf "search" directive support. Needed for nss_mdnsd,
   potentially useful with nss_multicast_dns (you could now do
   "search example.com local" in resolv.conf if you wanted to and it would
   act as you might expect)
 - Add references in nsswitch.conf man page and sample file
 - Implement AI_CANONNAME
 - Various bug fixes
2009-10-25 00:17:06 +00:00
joerg
ee9832f794 Add lintmanpages later to target to ensure that MKMANDOC is set. 2009-10-24 13:34:50 +00:00
reed
2d10124c7e Refer to rpc.bootparamd instead of bootparamd. 2009-10-24 12:21:31 +00:00
reed
1b55e10f52 Change two man page references to use the official names.
(I define "official" as the Document Title name and original file name.)
2009-10-24 12:18:05 +00:00
reed
9e244eddde In SEE ALSO, refer to useradd instead of adduser.
(adduser is a man link, but no tool by that name.)
2009-10-24 11:24:19 +00:00
reed
c3d0604200 For the rpc* references use the full rpc.* names.
These match what is really installed.
I know the man links are there too. But this helps in the
case where someone has printed man pages but only has one
man page printed per inode -- so best to refer to the known Dt name.
2009-10-24 11:22:48 +00:00
joerg
cf15d921b1 Do not run mandoc for lintmanpages if MANPAGES is empty.
Add it to the list of targets to recurse for.
2009-10-23 23:12:10 +00:00
joerg
3b68c94681 Add MKMANDOC option to trigger building cat pages and HTML pages with
mdocml.  Add a lintmanpages target for developers to check man pages
with the strictest settings of mandoc.
2009-10-23 22:14:37 +00:00
wiz
dc0cd1890b Properly remove w95boot(8).
Hi Ty!
2009-10-23 08:32:06 +00:00
tsarna
0d5d5106f9 Take credit for original work. 2009-10-22 23:10:22 +00:00
tsarna
074b6b7f4d Remove w95boot(8) manpage, long past being useful. 2009-10-22 23:04:59 +00:00
skrll
b2084f243f Switch powerpc to binutils 2.19. 2009-10-22 21:55:34 +00:00
rmind
12cd0447c5 pmap(9): G/C pmap_collect, bump date. 2009-10-21 23:33:32 +00:00
joerg
940b6167fd Add tool definition for mandoc in ascii (plain text), html and lint
mode.
2009-10-21 22:36:28 +00:00
wiz
467a0fa1ae Bump date for uarea swap-out removal. 2009-10-21 22:18:37 +00:00
rmind
40cf6f3659 Remove uarea swap-out functionality:
- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code.  Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.
2009-10-21 21:11:57 +00:00
snj
176f5f951d Drop 3rd and 4th clauses. OK jmcneill (copyright holder). 2009-10-21 16:06:59 +00:00
snj
550147bd6a Remove 3rd and 4th clauses in christos' license. OK christos. 2009-10-21 01:07:44 +00:00
snj
7a9dfdb753 Remove 3rd and 4th clauses. OK'd by Tohru Nishimura and Reinoud Zandijk
(copyright holders).
2009-10-21 00:30:43 +00:00
snj
4988388746 Remove 3rd and 4th clause on Leo Weppelman's license. OK leo@. 2009-10-20 19:10:09 +00:00
pooka
8eb3e364e3 fix warnings, update interface to use rump_pub 2009-10-20 02:05:45 +00:00
dyoung
23f173616f Add missing text disclaiming any warranty, as pointed about by
rmind@.
2009-10-19 23:29:40 +00:00
dyoung
27ad740e98 Delete clauses 3 and 4. Thanks rmind@ for pointing out my mistake. 2009-10-19 23:28:02 +00:00
rmind
993cb03302 Drop 3rd and 4th clauses from David Young's license.
Reviewed and approved by dyoung@ (copyright holder).
2009-10-19 23:19:37 +00:00
dyoung
6f40c61d9b Add missing copyright notice, pointed out by rmind@. 2009-10-19 22:49:44 +00:00
bouyer
6d07b400dc Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
2009-10-19 18:41:07 +00:00
snj
065c5ae0d0 Move Matthias Pfaller's files to 2-clause license. OK matthias@. 2009-10-18 18:13:59 +00:00
jym
6ddc6bb7bf Remove pool_cache_invalidate_local(9) from the sets, and mark the
entries as obsolete.

Noted by haad@. Thanks!
2009-10-15 22:59:12 +00:00
thorpej
1f59a448f4 - pool_cache_invalidate(): broadcast a cross-call to drain the per-CPU
caches before draining the global cache.
- pool_cache_invalidate_local(): remove.
2009-10-15 20:50:12 +00:00
joerg
59da3d1cf9 Fix markup. 2009-10-14 23:55:26 +00:00
pooka
af40e60966 WARNS 2009-10-14 23:51:52 +00:00
pooka
8a435a0401 WARNS + make compile 2009-10-14 23:51:22 +00:00
joerg
77fe034dc2 Simplify markup. 2009-10-14 23:49:50 +00:00
joerg
29fcd46aba Fix and improve markup. 2009-10-14 23:40:05 +00:00
joerg
500521cf90 Garbage collect !NetBSD documentation. 2009-10-14 23:32:42 +00:00
joerg
ea35069b47 Do not indent twice. Do not use compact mode, it makes the list harder
to read.
2009-10-14 23:18:39 +00:00
joerg
8f0d7ce472 Indentation is an argument, not another option. 2009-10-14 23:10:27 +00:00
pooka
f75f5aae15 Try ffs is msdosfs mount fails -- I happened to have one USB stick
where the file system is ffs.
2009-10-13 18:41:06 +00:00
apb
87272391e8 If ${NETBDSRCDIR}/../xsrc exists, then use it as the default value
of X11SRCDIR.  If it doesn't exist, then use /usr/xsrc as before.

OK mrg
2009-10-10 19:05:28 +00:00
mbalmer
004f5b88b4 Sassari airport is actually in Alghero. 2009-10-10 17:17:37 +00:00
haad
3b6a60fe7d Enable MKZFS for i386 and amd64 so zfs tools and modules will be included in
a daily builds and anyone can test zfs for NetBSD easier.
2009-10-09 00:26:53 +00:00
wiz
6a3270412c Bump date for new pool_cache_invalidate_local(). 2009-10-08 23:15:26 +00:00
jym
31629a1342 Add pool_cache_invalidate_local() to the pool_cache(9) API, to permit
per-CPU objects invalidation when cached in the pool cache.

See http://mail-index.netbsd.org/tech-kern/2009/10/05/msg006206.html .

Reviewed by bouyer@. Thanks!
2009-10-08 21:54:45 +00:00
rmind
43533de20b Add callback(9) man page. Reviewed and improved by <wiz>, thanks! 2009-10-05 23:44:10 +00:00
haad
fbd1c01117 Add zfs sets and needed veriables to hook zfs into the build. ZFS on i386
need still one fix othervise it should be ready for testing.
2009-10-05 22:32:58 +00:00
pooka
78869832a2 Add an example program which shows how to do "ifconfig rum0 up".
What makes this special is that the USB driver stack, the rum
driver, network subroutines and net80211 are running in userspace
in a rump kernel instead of in the host kernel.
2009-10-05 13:07:28 +00:00
pooka
27fd3f6531 Add an example program which shows how to mount and read files from
an msdos file system which is located on a usb stick.  What makes
this special is that the USB driver stack (and the file system
driver, of course) is run in rump instead of in the host kernel.
2009-10-05 13:05:31 +00:00
wiz
3dbfcffea8 Punctuation fix (separate punctuation from marked-up work to avoid it being
marked up as well).
2009-10-05 10:47:52 +00:00
apb
7222c07e1c Typo in macro name (.Is -> .Ic), noticed by joerg@ 2009-10-05 09:57:18 +00:00
elad
fa3aa43ab2 Slightly restructure vfs level documentation. 2009-10-04 22:57:46 +00:00
zafer
efcbcb0cf3 remove trailing whitespace. (hi wiz!) 2009-10-03 12:45:15 +00:00
wiz
0fe31f2e87 Drop trailing whitespace. 2009-10-03 07:37:01 +00:00
elad
1df9608023 Centralize documentation about exported sysctl variables in the relevant
secmodel's man-page.
2009-10-02 20:31:19 +00:00
elad
52734536eb Bump date to today's date (rather than when the changes were made). 2009-10-02 19:50:37 +00:00
elad
53ca19a3b3 First part of secmodel cleanup and other misc. changes:
- Separate the suser part of the bsd44 secmodel into its own secmodel
    and directory, pending even more cleanups. For revision history
    purposes, the original location of the files was

        src/sys/secmodel/bsd44/secmodel_bsd44_suser.c
        src/sys/secmodel/bsd44/suser.h

  - Add a man-page for secmodel_suser(9) and update the one for
    secmodel_bsd44(9).

  - Add a "secmodel" module class and use it. Userland program and
    documentation updated.

  - Manage secmodel count (nsecmodels) through the module framework.
    This eliminates the need for secmodel_{,de}register() calls in
    secmodel code.

  - Prepare for secmodel modularization by adding relevant module bits.
    The secmodels don't allow auto unload. The bsd44 secmodel depends
    on the suser and securelevel secmodels. The overlay secmodel depends
    on the bsd44 secmodel. As the module class is only cosmetic, and to
    prevent ambiguity, the bsd44 and overlay secmodels are prefixed with
    "secmodel_".

  - Adapt the overlay secmodel to recent changes (mainly vnode scope).

  - Stop using link-sets for the sysctl node(s) creation.

  - Keep sysctl variables under nodes of their relevant secmodels. In
    other words, don't create duplicates for the suser/securelevel
    secmodels under the bsd44 secmodel, as the latter is merely used
    for "grouping".

  - For the suser and securelevel secmodels, "advertise presence" in
    relevant sysctl nodes (sysctl.security.models.{suser,securelevel}).

  - Get rid of the LKM preprocessor stuff.

  - As secmodels are now modules, there's no need for an explicit call
    to secmodel_start(); it's handled by the module framework. That
    said, the module framework was adjusted to properly load secmodels
    early during system startup.

  - Adapt rump to changes: Instead of using empty stubs for securelevel,
    simply use the suser secmodel. Also replace secmodel_start() with a
    call to secmodel_suser_start().

  - 5.99.20.

Testing was done on i386 ("release" build). Spearated module_init()
changes were tested on sparc and sparc64 as well by martin@ (thanks!).

Mailing list reference:

	http://mail-index.netbsd.org/tech-kern/2009/09/25/msg006135.html
2009-10-02 18:50:12 +00:00
wiz
feb0e0a3b5 Fix Dd argument. 2009-10-02 17:48:39 +00:00
nakayama
d61a38f649 Port lom(4) driver for LOMlite lights out management hardware monitor
and watchdog timer from OpenBSD.

It supports the LOMlite found on Sun Netra t1 and the LOMlite2 found
on Sun Netra T1/X1 and Sun Fire V100/V120.
2009-10-02 15:09:16 +00:00
cegger
c108d28f64 fix grammar: a -> an 2009-10-02 09:38:29 +00:00
skrll
d7567abc6b Switch amd64 to binutils 2.19.1. 2009-10-01 09:12:44 +00:00
wiz
074d401449 Add Xref and config line for wb(4). 2009-10-01 05:42:22 +00:00
wiz
fea6ba46fc Sort SEE ALSO. 2009-10-01 05:42:09 +00:00
jmcneill
521589e2d5 add wb(4) man page. 2009-09-30 22:32:04 +00:00
apb
db5a8e6176 Document the fact that wpa_supplicant won't start properly unless
/usr is mounted by mountcritlocal.
2009-09-30 18:17:22 +00:00
tsarna
a8bcd3b5c3 Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. 2009-09-29 23:56:26 +00:00
sborrill
21e3c4b6e7 Add support for playback- or capture-only devices by adding
AUDIO_PROP_PLAYBACK and AUDIO_PROP_CAPTURE properties.

From jmcneill@.

Fixes PR#42050
2009-09-29 15:58:54 +00:00
apb
8e181d0741 .Xs -> .Dq.
There's no such thing as ".Xs"; it was a typo for ".Sx".  However,
.Sx is intended for references to another section of the same man page,
not for references to sections of a different man page.
2009-09-28 18:28:59 +00:00
joerg
e3d4da1b77 Do not use a list in the synopsis, groff doesn't like that. 2009-09-28 14:11:56 +00:00
wiz
91b16df666 Bump date for today's changes. 2009-09-27 21:05:55 +00:00
jakllsch
bd5cb77445 gpio(4) support for Intel ICH southbridges.
Tested on Intel SS4200-E (ICH7), and Acorp 6A815EPD (ICH2) motherboards,
on amd64 and i386 ports respectively.

It should be noted that the majority of boards with ICH chips do not
expose the GPIO pins for off-board use.  For instance, aside from the
three exposed-on-a-header pins on the 6A815EPD, another pin is also
used to control write protect on the FWH.  The SS4200 exposes the GPIO
on a header that connects to the 10 LEDs on the front panel, as well
as a tact switch on the back panel.
2009-09-27 17:55:31 +00:00
dholland
8d36057243 Move a big wodge of symlink-following code from nfsd to inside
lookup_for_nfsd(). This code is, or at least should be, the same as
the regular symlink-following code plus an extra flag nfsd needs.

The two lots of code can/will be merged in the future.
2009-09-27 17:23:53 +00:00
dholland
fb458255a3 Rename lookup() to lookup_for_nfsd(), to make it clear just whose
private backdoor entry point this is.

Also, clone the lookup_for_nfsd() entry point as
lookup_for_nfsd_index(), for use by a different call site in nfsd that
does different unclean things with nameidata.
2009-09-27 17:19:07 +00:00
jmcneill
137f29ee98 HP sensing is supported now. 2009-09-26 11:52:16 +00:00
skrll
61d74f6e74 Switch arm and armeb to binutils 2.19.
Tested on my cats and all other platforms build tested.
2009-09-26 07:28:38 +00:00
wiz
ac3d1204b9 New sentence, new line. 2009-09-26 06:47:55 +00:00
elad
86d8eb1d76 PR/35795: Greg A. Woods: bge(4) doesn't describe the sysctl it uses
Use a slightly adjusted version of the diff in the PR. For proper credits,
the information in the added bit comes from a posting by Jonathan Stone.
2009-09-26 04:51:21 +00:00
plunky
c0e76aa63e mention dynamic PSM usage 2009-09-25 19:47:09 +00:00
mbalmer
e5d5fe6e06 Jonatha Kollasch has a GPIO device that can pulse the output lines.
Support it wuth the GPIO_PIN_PULSE attribute and the 'pulse' paramater
to gpioctl.  Discussed with Jonathan.
2009-09-25 19:37:03 +00:00
skrll
bceded4e69 Switch m68k to binutils 2.19.
Tested on mac68k by martin@. All other m68k platforms build tested.
2009-09-22 09:57:28 +00:00
uwe
d85ac884c9 Switch sh3eb to binutils 2.19.
Compile-tested for mmeye.
2009-09-22 01:28:50 +00:00
uwe
d04b778cf5 Switch sh3el to binutils 2.19.
Boot-tested on landisk.
2009-09-21 17:20:16 +00:00
skrll
905441e356 Switch vax to binutils 2.19. 2009-09-19 14:53:12 +00:00
skrll
d50428f757 Switch sparc and sparc64 to binutils 2.19.
Thanks to martin@ for testing.
2009-09-19 09:00:58 +00:00
snj
b53bfce489 Sync with reality. 2009-09-19 07:06:55 +00:00
skrll
25242842fd Move alpha to binutils 2.19. 2009-09-17 18:21:38 +00:00
dyoung
a823c63033 Don't install config_activate links such as config_activate.9 ->
autoconf.9.  In the set list, mark the config_activate links
obsolete.
2009-09-16 22:52:40 +00:00
dyoung
55270c28ac Delete documentation for config_activate(9), it does not exist any
more.
2009-09-16 22:47:29 +00:00
mrg
cdca6f8c29 switch port-sparc over to Xorg by default. 2009-09-16 06:10:52 +00:00
jnemeth
5fe591a2c9 bump date for previous 2009-09-15 01:20:42 +00:00
jnemeth
b313b03dff mention the new modules.tgz set 2009-09-15 01:12:38 +00:00
wiz
f08a1819c1 Punctuation nits. 2009-09-14 12:37:08 +00:00
apb
70472a4826 Add the ability for file systems mounted via mount_critical_filesystems()
in rc.subr to be marked as optional.  This means that it's not an
error if the file system is not mentioned in /etc/fstab.  It is
still an error if something else goes wrong.

Change the defaults for these two variables in /etc/defaults/rc.conf:
critical_filesystems_local="OPTIONAL:/var"
critical_filesystems_remote="OPTIONAL:/usr"
2009-09-14 12:05:12 +00:00
snj
e29431f37a Use \*[Lt] and \*[Gt] instead of < and >. 2009-09-13 18:57:36 +00:00
jmcneill
42b8a9234e PR# port-i386/39463: boot.cfg(8) does not mention about relative path for
the 'load' option

Document the search behaviour of the 'load' directive when an absolute
path is not specified.
2009-09-13 18:39:20 +00:00
skrll
08d80ad4aa Switch hppa to binutils 2.19.
There is a lot of rump breakage for hppa. Hopefully it will be fixed soon.
2009-09-12 07:21:09 +00:00
wiz
0b645b22fc Bump date for previous. Whitespace nit. Use Nm instead of Xr to itself. 2009-09-11 19:48:52 +00:00
wiz
31bddcb483 Bump date for previous. 2009-09-11 19:47:27 +00:00
wiz
c384d22d4b Bump date for previous; add comma in enumeration. 2009-09-11 19:44:03 +00:00
wiz
10f3ba9af1 Bump date for previous. 2009-09-11 19:43:26 +00:00
apb
89fd535731 Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode.  Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:17:04 +00:00
apb
7ab65de0a9 Expose the kernel's boothowto(9) variable through the sysctl
kern.boothowto variable.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.
2009-09-11 18:14:58 +00:00
skrll
3c21953b90 Switch i386 to binutils 2.19. 2009-09-09 10:38:35 +00:00
pooka
d6331b9a6e * fix error print
* adjust resulting image minsize
2009-09-08 21:51:33 +00:00
pooka
676351e4c4 Add a simple proof-of-concept program which shows how to use the
kernel cgd driver in an application which encrypts and decrypts
files.  The cgd driver is running completely in userspace and
requires no special access privileges.

For example:

golem> dmesg > dmesg.txt

# write encrypted dmesg.txt to encrypted.img
golem> ./img2cgd write encrypted.img dmesg.txt
/cryptfile's passphrase:

# read encrypted.img and output decrypted contents to decrypted.txt
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt

# but when entering a different password:
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt
Binary files dmesg.txt and decypted.txt differ

Currently the utility writes the data length in a proprietary
format, but I'll convert it to use a real disklabel RSN.  Then it
can be used to create cgd-encrypted disk images.

This program can later be used as a base for a utility to create
cgd-encrypted images of a standard NetBSD build.  Idea for such a
tool and hence the inspiration for this simple example program from
Roland Dowdeswell.
2009-09-08 21:48:25 +00:00
wiz
5946cee966 Fix Dd string, remove trailing whitespace. 2009-09-08 07:54:49 +00:00
skrll
d5bd20ae03 Bump date for previous. 2009-09-08 07:48:14 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
jmcneill
d7beaf12d7 - adjust description ("Generic" is redundant)
- rates != 48kHz are now supported
- bump date
2009-09-07 16:22:46 +00:00
jym
1390556a02 Fix typo. 2009-09-06 19:46:24 +00:00
wiz
0192905bb1 Whitespace cleanup, sort sections, fix list. 2009-09-06 17:59:09 +00:00
sborrill
b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
sborrill
d7f624cfd8 Regen 2009-09-06 15:31:04 +00:00
apb
ed9a80fd00 Sort bzero to the correct position 2009-09-05 16:13:21 +00:00
wiz
ed449c067d New sentence, new line. 2009-09-05 11:37:52 +00:00
wiz
2f1a87b0ee Various fixes; be more kind to mdoclint. 2009-09-05 11:32:36 +00:00
apb
d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb
a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
apb
6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
macallan
3555383568 add sunleo 2009-09-04 20:19:04 +00:00
plunky
e28378f7d1 confusing pooka.
manpage improvements,
sunshine returns.
2009-09-04 11:34:38 +00:00
wiz
30adde5448 Fix incorrect wording. From Bug Hunting in PR 41989. 2009-09-04 10:34:16 +00:00
apb
482c8f25c8 * Boolean values may be specified with any of YES/TRUE/ON/1 or
NO/FALSE/OFF/0, so explain that.
* Change all "Foo:  YES or NO.  If not set to YES then ..." to
  "Foo:  Boolean value.  If false then ...".
* Some rewording for clarity.
2009-09-03 20:06:39 +00:00
ahoka
b9e737479b Mention sched_m4. 2009-09-02 10:54:20 +00:00
ahoka
2638650e6f Document the vesa command. 2009-09-01 21:30:17 +00:00
dyoung
71fe64733e Let us use MKKMOD=yes to leave the kernel modules out of the
distribution.
2009-08-30 01:49:41 +00:00
tsutsui
53c1e123cc Fix typo. 2009-08-24 12:55:16 +00:00
joerg
0c7b475101 Do not use tabs in references. Tab has special meaning in roff(7), even
though it is not visible in this context.
2009-08-24 10:15:25 +00:00
jmcneill
eff736611c Update BUGS section; genfb works on i386 and amd64 now. 2009-08-24 02:25:18 +00:00
plunky
90e0b0e5de make a small mention how to configure the tty line as a bluetooth device 2009-08-23 19:44:39 +00:00
joerg
ff97d10661 Rewrite the sentence about the socket options to avoid questionable
typographic layout and to be more inline with the wording of the rest of
the man page.
2009-08-23 19:32:16 +00:00
wiz
7bc157d9a3 Reword slightly so I can understand it more easily. 2009-08-23 15:41:28 +00:00
mbalmer
b43d918df8 Mention that defining the GPIO layout is subject to kauth(9) auhtorization.
Suggested by Elad Efrat.
2009-08-23 10:20:41 +00:00
mrg
207f7c3b4c update for xorg-server 1.6.3. 2009-08-22 01:41:03 +00:00
joerg
f2c45439cf Fix markup. 2009-08-22 01:18:56 +00:00
joerg
b90505158a Kill empty lines. 2009-08-22 00:17:03 +00:00
joerg
a35cefcec6 Fix markup. 2009-08-22 00:04:22 +00:00
joerg
97a6d834d7 Use semantic markup. 2009-08-21 23:55:13 +00:00
joerg
dde7508f88 Fix markup. 2009-08-21 23:46:20 +00:00
joerg
4fefe2ca0a Do not use -indent without option, aka without actually indenting. 2009-08-21 23:45:15 +00:00
joerg
caddf4b194 Fix markup. 2009-08-21 23:43:51 +00:00
mbalmer
6b6e87fc9f This will appear in .Nx 6, not 5. Prodded by wiz. 2009-08-21 08:20:30 +00:00
wiz
13d5139b34 Bump date for BTF_MASTER. 2009-08-21 06:12:16 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
wiz
0462dcb75b Fix typo and improve English. 2009-08-20 15:58:31 +00:00
tsutsui
0228fe92d4 Rewrite binpatch(8) utility to add support for ELF binaries,
using implementation of old src/usr.sbin/mdsetimage sources
which supports misc executable formats without LGPL'ed libbfd.

No particular comments on port-atari@.

XXX1: amiga also has the similar utility in amiga/stand/binpatch
      but it has slightly different options.
XXX2: Is it worth to put this utility into MI src/usr.sbin to patch
      rtc_offset etc. in GENERIC kernel binaries in distribution?
2009-08-20 15:14:49 +00:00