Commit Graph

2163 Commits

Author SHA1 Message Date
dyoung
38c5ac17f7 Update manual page for constification of pci_attach_args. 2011-04-05 14:57:33 +00:00
jruoho
bb2c5893fc Remove a duplicate word, .Fn for functions, .Vt. 2011-03-30 21:40:01 +00:00
jruoho
5fe4360942 Fix xref; security(8) -> security(7). 2011-03-18 16:18:45 +00:00
jruoho
231352d485 Remove the bulk "this section describes places within [...]" -paragraph. 2011-03-17 10:02:54 +00:00
jruoho
f5d26066d3 Tidy up the SEE ALSO section. Namely, do not duplicate a big list of xrefs
that are already used in the body of the text.
2011-03-13 05:03:21 +00:00
jruoho
66853c1034 Xref hpet(4) and hz(9). 2011-03-13 04:57:21 +00:00
wiz
d377a246ac Fix typos. 2011-03-12 13:25:41 +00:00
jruoho
077cbf0f3c Add x86/tsc(9). 2011-03-11 19:50:33 +00:00
wiz
839b4739f5 Add comma in enumeration. 2011-02-27 06:25:07 +00:00
ahoka
2b6ee22130 Import the Flash and NAND subsytem code contributed by the University
of Szeged, Hungary.

The commit includes:
 - Flash layer, which gives a common API to access flash devices
 - NAND controller subsystem for the flash layer
 - An example OMAP driver which is used on BeagleBoard or alike ARM boards
2011-02-26 18:07:13 +00:00
jym
b7e3c0fc0b Notify that the file system has to be mounted first before modules can
be loaded from it.

ok pgoyette@
2011-02-13 16:50:16 +00:00
rmind
f79a70df93 vn_lock: describe flags, remove reference to lockmgr. 2011-01-30 07:04:48 +00:00
rmind
e5f51d8e44 Sync man page with reality. 2011-01-30 07:02:23 +00:00
wiz
16f356de90 Link kprintf(9) to device_printf(9). For David. 2011-01-27 14:48:36 +00:00
wiz
17d601176d Fix typo. 2011-01-26 09:53:20 +00:00
yamt
b5ca7f5a5b - add some random notes
Basically, KASSERT() should be used for light-weight checks and
     KDASSERT() should be used for heavier ones.

     Callers should not rely on the side effects of expression because,
     depending on the kernel compile options mentioned above, expression might
     not be evaluated at all.

- Xr options(4)
- bump date
2011-01-25 23:46:48 +00:00
enami
c25b258560 roundup2(x, y) does not assume that x is power of 2, but y is. 2011-01-24 10:22:15 +00:00
dyoung
609720ff85 Describe device_printf(9).
XXX Need symbolic link device_printf.9 -> kprintf.9.
2011-01-21 17:51:19 +00:00
dyoung
979fccad2b In the EXAMPLES section, use device_t and accessors instead of struct
device.
2011-01-14 18:34:44 +00:00
jnemeth
20fdec7661 Update module_autoload to say that a .plist file will be loaded, and if
that .plist contains noautoload=true then the system will refuse to load
the module.
2011-01-09 05:05:10 +00:00
jym
883680496d CONSIDERATION => CONSIDERATIONS, to be on par with the rest of man pages. 2011-01-08 18:07:14 +00:00
jmcneill
2295a2cf7a cdevsw/bdevsw d_type is now d_flag 2011-01-05 17:02:03 +00:00
jruoho
70a8aa1e92 Xref __insn_barrier(3) and mb(9) with each other. 2011-01-02 07:14:02 +00:00
wiz
06fb101b70 Improve wording. 2010-12-22 09:08:09 +00:00
jruoho
dafc3c9d20 Note vm.user_va0_disable. 2010-12-21 08:53:25 +00:00
jruoho
91e230c6b8 Fix xref; module(4) -> module(7). 2010-12-14 16:23:59 +00:00
jruoho
4cda92a2b7 Note specifically that kernel modules can be loaded at securelevel 0.
In addition, some markup improvements.
2010-12-14 09:09:52 +00:00
jruoho
05a9f55544 Xref module(4). 2010-12-13 10:07:46 +00:00
cegger
e758ac3c49 ossaudio(3) -> compat/ossaudio and soundcard.h
suggested by Ian Hibbert
2010-12-11 17:32:14 +00:00
cegger
7e86c61f2b add pci(4) and ossaudio(3)
yes, be careful. They can easily conflict. Actually when this happens kdump
fails compiling due to 'duplicate case value'
2010-12-11 17:15:03 +00:00
wiz
05859157e6 Remove boilerplate in CODE REFERENCES on file paths.
Describe in intro(9) how to read paths in the CODE REFERENCES section.
2010-12-02 12:54:13 +00:00
dholland
fab6ef2374 Document pathbuf_assimilate, used by nfsd to move pathnames from mbufs to
pathbufs. It is like pathbuf_create but takes responsibility for the path
buffer passed in. (Because this is asymmetric, it carries an extra risk
of error and therefore shouldn't be used except where it's really needed.)
2010-11-30 10:32:46 +00:00
jnemeth
22405528a4 Rename the autoloaded property list from <module>.prop to <module>.plist
as discussed on tech-kern.
2010-11-28 00:26:38 +00:00
dholland
4756f11bab bump date for previous (thanks jnemeth) 2010-11-19 07:44:00 +00:00
dholland
8f6ed30d57 Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
2010-11-19 06:44:33 +00:00
dholland
4bdbe49cd3 The "active" and "inactive" members of struct uvmexp were removed in
rev. 1.118 of uvm_extern.h with the merge of yamt-pdpolicy in 2006. So
they shouldn't still be documented as part of the structure. Bump date.
2010-11-08 02:56:12 +00:00
wiz
775a0dd1d6 Sort SEE ALSO. 2010-10-29 09:34:03 +00:00
jruoho
dc49246760 Xref CTASSERT(9). 2010-10-28 09:48:11 +00:00
rmind
63012b51f1 NPF checkpoint:
- Add support for bi-directional NAT and redirection / port forwarding.
- Finish filtering on ICMP type/code and add filtering on TCP flags.
- Add support for TCP reset (RST) or ICMP destination unreachable on block.
- Fix a bunch of bugs; misc cleanup.
2010-09-16 04:53:27 +00:00
ahoka
812c293086 add a note on IPL and spinning mutexes
TODO: explain when the IPL will be restored
2010-09-14 21:35:53 +00:00
jnemeth
3a12eae410 note that MODULE_CLASS_SECMODEL is also automatically deregistered when being unloaded 2010-08-25 06:45:35 +00:00
rmind
3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
jruoho
dfca43fdb9 Few small nits. 2010-08-24 05:34:15 +00:00
wiz
578d32c924 Add more articles and more formatting. 2010-08-22 20:36:09 +00:00
rmind
2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
pgoyette
7626bd9b32 Put a valid date here - no more placeholder. 2010-08-21 13:34:43 +00:00
pgoyette
4a743ad47d Define a set of new kernel locking primitives to implement the recursive
kernconfig_mutex.  Update module subsystem to use this mutex rather than
its own internal (non-recursive) mutex.  Make module_autoload() do its
own locking to be consistent with the rest of the module_xxx() calls.
Update module(9) man page appropriately.

As discussed on tech-kern over the last few weeks.

Welcome to NetBSD 5.99.39 !
2010-08-21 13:17:31 +00:00
wiz
0bba56f8fb Add x86 to Dt. 2010-08-21 10:38:51 +00:00
jruoho
f7b06c8780 Move nmi(9) to the correct category. 2010-08-21 10:32:35 +00:00
wiz
e02e23b4b6 Uppercase Dt argument. 2010-08-21 10:13:33 +00:00