Commit Graph

11630 Commits

Author SHA1 Message Date
imp
7c687aece9 Add myself and my mentor apparent (jkh), although there was no mentoring
at the time, as such.  I'll add my mentees as soon as I can tease that
information from cvs.
2007-03-31 18:52:29 +00:00
mjacob
e994f7e84b Add my bits. 2007-03-31 18:46:23 +00:00
rwatson
bf5d456ba6 Fix bug in matteo entry. 2007-03-31 17:32:47 +00:00
wilko
bdbb9c66fb add myself 2007-03-31 17:28:45 +00:00
rwatson
4551c283ad Fix a typo in rrs's entry.
Document eivind's grand-mentorships unto the second generation via me, as
well as some related loose ends.
2007-03-31 17:26:54 +00:00
nork
bc12d14a68 Add myself and knu mafia I know:-). 2007-03-31 15:16:38 +00:00
bmah
b8e515c9fa Add myself. nik@ was my doc/ mentor, I never had a mentor for my
now-returned ports/ commit bit, and my src/ mentors (imp / rwatson)
aren't in committers-src.dot yet.
2007-03-31 14:29:39 +00:00
delphij
dfadb6fbb8 Add murray@ 2007-03-31 14:24:06 +00:00
delphij
8182f19c1d Add myself and chinsan@ 2007-03-31 14:20:56 +00:00
dwmalone
768062b2e7 Fill in a bit of the tree around me and iedowse. 2007-03-31 13:05:32 +00:00
ale
98537963c7 Add myself. 2007-03-31 12:56:07 +00:00
tdb
9bbfa7b295 - Add myself. 2007-03-31 11:48:18 +00:00
netchild
897ccc3f10 Add my mentees bsam and ariff, my mentors steve (date not determined) and
joerg (to the ports file only, he is already listed in the src one) and
myself.
2007-03-31 11:40:36 +00:00
rrs
cf322ff4ef Add myself. 2007-03-31 11:33:32 +00:00
rse
c2f2c894d0 Add my entry as a src committer 2007-03-31 07:38:26 +00:00
simon
acdd2be08f Back out last commit, which should not have been committed in the first
place.

Note to self: Do not commit when not really awake yet.

Pointy hat to:	simon
2007-03-31 07:28:53 +00:00
clsung
679fce992e - add myself
- my mentor is not there, yet.
2007-03-31 07:23:22 +00:00
simon
544b7121bb - Add myself. 2007-03-31 07:12:56 +00:00
simon
8a6844c80f - Use my (almost) full name. My old mentor should have learned that
by now... ;-).
- Add my mentees (josef and remko).
- Sort names.
2007-03-31 06:58:35 +00:00
marcus
5926701b1d Add myself and my three mentees, bland, eik, and jmallett. 2007-03-31 06:18:15 +00:00
joel
88359ddf88 Add myself. 2007-03-31 06:09:10 +00:00
matteo
526347884f Add grand-mentor (njl), mentor (philip), me (matteo) and the other
philip's mentee (jls)
2007-03-31 06:03:01 +00:00
rafan
0b07299b2a - Add myself and my mentor
- While I'm here, add my grand-mentor in ports
2007-03-31 01:47:17 +00:00
andre
68e1929a87 Add myself and my former mentee qingli. Sort. 2007-03-30 23:06:13 +00:00
mnag
a994214893 - Fix my name. 2007-03-30 23:03:49 +00:00
krion
673ad56aae Add myself, fjoe, sergei, sem, sat, miwi, brooks and philip. 2007-03-30 22:25:17 +00:00
le
2a0ff9154e Add dates for joerg@ and obrien@. 2007-03-30 22:20:43 +00:00
ceri
f81f810d66 Add my mentor and mentees.
Add a comment clarifying the date format as it wasn't immediately
obvious from the current entries.
2007-03-30 22:06:56 +00:00
keramida
ad86bad261 Add danger, garys, pav, jim, and trhodes to the list of committers, and
list the first three as my mentees, and trhodes as co-mentor of danger.
2007-03-30 21:59:58 +00:00
takawata
278c2f3a11 New line for new sentense.
Pointed out by: brueffer
2007-03-30 21:59:55 +00:00
keramida
65fafa591d Note that it was Nik Clayton who lured me into doc-committers. 2007-03-30 21:45:08 +00:00
takawata
c31b083e62 Hook acpi_aiboost man page and modify the man page a bit. 2007-03-30 21:19:10 +00:00
takawata
23183bccf3 Add man page for acpi_aiboost. Based on man page for NetBSD. 2007-03-30 20:35:37 +00:00
ehaupt
5295888654 Add my mentor 2007-03-30 19:08:33 +00:00
jkim
431c0eb534 Add myself and mentor and grand-mentor. All the dates are from access log. 2007-03-30 19:01:36 +00:00
garga
da676d6814 Fix \n on clement entry 2007-03-30 18:53:15 +00:00
le
fc839f05c4 Add my two mentors, grog@ and joerg@, and myself.
Correct date for schweikh@.
2007-03-30 18:49:36 +00:00
mlaier
ab148fe050 Add myself + offspring, grand- and co-mentors. 2007-03-30 18:39:12 +00:00
flz
b756d10ae0 - acardenas -> acm
- Sort alphabetically.
2007-03-30 18:22:53 +00:00
jmelo
cf4142561f - Add myself and mnag. 2007-03-30 18:16:22 +00:00
ehaupt
907c1c074e Add myself and db 2007-03-30 18:08:51 +00:00
julian
3f8481620d Add some cross references to locking.9 from related pages. 2007-03-30 18:07:26 +00:00
garga
5a605acb9a Add my 3 mentees (acm@, alepulver@ and vd@) 2007-03-30 18:05:28 +00:00
erwin
bda506c0eb Add my mentor, edwin, and my mentees clement, lth, simon and lbr.
gabor already added himself.
2007-03-30 18:04:00 +00:00
julian
6f50156041 Connect the locking man page to the build.
Next step is to add it as a "See Also" to related man pages.
2007-03-30 17:56:19 +00:00
flz
60c76ea2e4 Add an entry for schweikh. I couldn't find the commit bit date though. 2007-03-30 17:47:04 +00:00
flz
ba3fdb63e7 Add some comments about entries formats.
Group by mentor, sort alphabetically, move adamw to alumni.
2007-03-30 17:42:01 +00:00
gabor
ff4b6a96fc - Add myself as keramida's mentee and sort
Reviewed by:	flz
2007-03-30 17:24:18 +00:00
ahze
f7b92f1a62 Add tmclaughs info 2007-03-30 17:22:58 +00:00
dds
b8c2c01346 Add dds 2007-03-30 17:22:08 +00:00
gabor
2d464d773d - Add myself as erwin's mentee
Reviewed by:	flz
2007-03-30 17:20:22 +00:00
marck
ecd724238b Add my mentor tree neighbours. 2007-03-30 17:19:59 +00:00
ahze
8a46183e20 Add tmclaugh to my list 2007-03-30 17:17:46 +00:00
pav
f68b9b4a34 Add adamw's orphans 2007-03-30 17:12:58 +00:00
flz
73687f6a0e Add stub files to keep track of the mentor/mentee relationships.
Have a look at committers-ports.dot for a start.

Simple command to generate the graph is:

$ dot -T png -o file.png file.dot

Dot can be installed via graphics/graphviz.

Discussed on:	-developers
2007-03-30 16:56:38 +00:00
imp
e2cbeb2260 Document that EPERM is returned when the calling thread does not have
the mutex locked.  Also tweak the wording to make it more consistant
between pthread_cond_wait and pthread_cond_tiedwait.

Confirmed with the opengroup's web site that this is a valid return
value.  Wording used specifically not that of opengroup's online man
pages.

MFC After: 1 week
2007-03-30 04:10:04 +00:00
des
38ebab58b2 Add missing El.
MFC after:	1 week
2007-03-29 10:11:22 +00:00
brueffer
5eebf0cb81 New sentence -> new line 2007-03-28 21:21:22 +00:00
maxim
95fe219a6a o Trim unneeded backslash. 2007-03-28 04:43:55 +00:00
maxim
4ac0fc62a4 o Actually add MLINKs for priv(9) functions. 2007-03-28 04:41:50 +00:00
n_hibma
0e3337c04f Clarify the definition of the watchdog kernel interface by moving a sentence up
to the sentence it references.
2007-03-27 21:23:20 +00:00
brueffer
a0403e7fbe Add MLINKs for priv(9) functions. 2007-03-27 21:20:57 +00:00
yar
cee18f9ca8 Introduce a new toy interface, edsc(4). It's a discard interface
imitating an Ethernet device, so vlan(4) and if_bridge(4) can be
attached to it for testing and benchmarking purposes.  Its source
can be an introduction to the anatomy of a network interface driver
due to its simplicity as well as to a bunch of comments in it.
2007-03-26 04:39:18 +00:00
maxim
dd13276916 o While the script is correct and works well in sh(1) make it
works in tcsh(1) which does not support <<- redirection.

PR:		docs/110097
Submitted by:	Sameh Ghane
2007-03-24 01:39:24 +00:00
jhb
29a0e4d380 Rename the cv_*wait*() functions to _cv_*wait*() and change their second
argument from a mutex to a lock_object.  Add cv_*wait*() wrapper macros
that accept either a mutex, rwlock, or sx lock as the second argument and
convert it to a lock_object and then call _cv_*wait*().  Basically, the
visible difference is that you can now use rwlocks and sx locks with
condition variables using the same API as with mutexes.
2007-03-21 22:22:13 +00:00
bms
52a90d88fa Document net.link.tap.up_on_open.
PR:		110383
Submitted by:	Frank Behrens
MFC after:	2 weeks
2007-03-19 18:27:00 +00:00
delphij
d9b60cf6fa - Remove an unneeded comma
- Remove a redundant .Xc
 - Spell "Largely" as it should.
2007-03-19 07:49:11 +00:00
julian
f0adcfa59c More corrections, this time from Wojciech Koszek 2007-03-18 19:28:44 +00:00
julian
218f75032c Spelling and whitespace fixes from Dunne Whitty 2007-03-18 18:57:38 +00:00
bms
1342a3e1d5 Point out that PIM is the way to go.
MFC after:	3 days
2007-03-18 15:34:57 +00:00
bms
d0cd4f87d4 Document a major IGMP related annoyance.
Add comments about IGMP bits which will go when we take SSM.
Xref multicast(4).

MFC after:	3 days
2007-03-18 15:31:06 +00:00
njl
29d911985b Explain more about the "C" qualifier for Celsius.
MFC after:	3 days
2007-03-18 00:57:07 +00:00
bmah
95ed006b48 Remove an extra "The".
MFC after:	3 days
2007-03-16 16:07:49 +00:00
brueffer
48dd701262 Add missing @ 2007-03-15 16:12:08 +00:00
simokawa
b29f3e2838 Add a description about hw.firewire.hold_count.
MFC: after 3 days
PR: kern/93083
2007-03-15 14:44:03 +00:00
brueffer
9fd234be34 Mention the first RELENG_6 release to include this driver.
MFC after:	3 days
2007-03-15 13:08:50 +00:00
brueffer
3a1f6a52ea Fix markup and reword a sentence to actually make sense. 2007-03-14 20:09:23 +00:00
julian
20a6b768be fix braino in markup. 2007-03-14 17:33:16 +00:00
bms
243428b8ef Remove obsolete polling members from documentation for struct ifnet.
Submitted by:	Aniruddha Bohra
MFC after:	5 days
2007-03-14 13:19:50 +00:00
brueffer
9f07de3caa Add missing punctuation. 2007-03-14 08:03:20 +00:00
kmacy
12b5a0eec5 fix wording blunder 2007-03-14 07:49:45 +00:00
brueffer
44d987c83a Various fixes, also the driver can be compiled into the kernel now. 2007-03-14 07:46:57 +00:00
julian
0f2fe5a5dd More suggestions from pjd. 2007-03-14 06:27:02 +00:00
julian
3abc629530 Some comments from pjd 2007-03-14 06:12:36 +00:00
kmacy
35376076cb Add man page for cxgb 2007-03-14 05:12:25 +00:00
julian
06c2afc13a Add locking.9
This is supposed to be a brief overview of the locking primatives.
It is not yet complete and contains many place-holders for information
I do not know.

The locking is getting so diverse that I've lost track of it all.
We need this page to keep outselves in sync with what the primitives do.

note.. not part of the build yet.
2007-03-14 04:00:24 +00:00
grog
c2c65e0dd6 Typo. 2007-03-13 03:56:16 +00:00
ru
117cebb873 Stop clobberring the application namespace with local
variables such as "sect", "page", and "target"; use
underscored versions instead.

Discussed with:	kan
MFC after:	3 days
2007-03-12 13:54:52 +00:00
brueffer
fcc5a05bc5 my(4) doesn't need miibus(4).
Approved by:	rwatson (mentor)
Obtained from:	DragonFly
MFC after:	1 week
2007-03-11 15:20:04 +00:00
brooks
5aefafd7c6 Spell .Xr without a '/'.
Pointy hat:	brooks
2007-03-11 10:48:34 +00:00
brooks
34561352cb Fix a couple markup problems in the previous commit and bump the
document date.

Reported by:	ru
2007-03-11 10:24:37 +00:00
brooks
4d8126d1b7 Allow background_fsck_delay to be set to a negative value which delays
the background fsck indefinitely.  This allows the administrator to run
it at a convenient time.  To support running it from cron, the
forcestart argument now causes the fsck to start with no delay and all
output to be suppressed.
2007-03-11 06:53:07 +00:00
brueffer
81dfdc2206 Document Silicon Image SiI 3124 and SiI 3132 support. 2007-03-10 12:44:22 +00:00
jhb
f5e3969340 Allow threads to atomically release rw and sx locks while waiting for an
event.  Locking primitives that support this (mtx, rw, and sx) now each
include their own foo_sleep() routine.
- Rename msleep() to _sleep() and change it's 'struct mtx' object to a
  'struct lock_object' pointer.  _sleep() uses the recently added
  lc_unlock() and lc_lock() function pointers for the lock class of the
  specified lock to release the lock while the thread is suspended.
- Add wrappers around _sleep() for mutexes (mtx_sleep()), rw locks
  (rw_sleep()), and sx locks (sx_sleep()).  msleep() still exists and
  is now identical to mtx_sleep(), but it is deprecated.
- Rename SLEEPQ_MSLEEP to SLEEPQ_SLEEP.
- Rewrite much of sleep.9 to not be msleep(9) centric.
- Flesh out the 'RETURN VALUES' section in sleep.9 and add an 'ERRORS'
  section.
- Add __nonnull(1) to _sleep() and msleep_spin() so that the compiler will
  warn if you try to pass a NULL wait channel.  The functions already have
  a KASSERT to that effect.
2007-03-09 22:41:01 +00:00
jhb
d1e477f592 Document SLEEPQ_PAUSE. 2007-03-09 18:06:36 +00:00
jhb
b3c329c313 Oof, it is not my day. Unswap the descriptions of EINTR and ERESTART. 2007-03-09 17:56:05 +00:00
jhb
59a4496dd2 Fix a typo in the last that claimed that only masked signals were caught. 2007-03-09 17:53:16 +00:00
jhb
dfba370731 Correct descriptions of EINTR and ERESTART errors. Masked signals don't
interrupt sleeps.  Rather, unmasked signals interrupt restarts and can
either interrupt the system call by having it return EINTR in userland or
force the system call to be restarted.
2007-03-09 17:52:10 +00:00
jhb
0090f87663 - Document cv_wait_unlock(9).
- Don't claim that the mutex is atomically reacquired when a cv_wait
  routine returns.  There's nothing atomic or magical about the lock
  reacquire.  The only magic is that we atomically drop the lock by
  placing the thread on the sleep queue before dropping the lock.
2007-03-09 16:59:27 +00:00
jhb
bf4e259df6 Place mtx_destroy() and rw_destroy() right after mtx_init() and rw_init()
to match sx(9) and condvar(9).
2007-03-09 16:54:03 +00:00
jhb
83009be85d - Sort functions in the order that rwlock(9) and mutex(9) use.
- Markup sx_unlock() as a function rather than saying it is a macro.
  The macro part is an implementation detail, and all the other sx_*lock()
  functions are actually macros, too.
- Use the same style as rwlock(9) and mutex(9) to markup sx_assert() and
  SX_SYSINIT() with respect to headers and kernel options.
- Add a missing MLINK.
2007-03-09 16:52:26 +00:00
jhb
24c3d87828 - Sort rwlock functions similar to the order in mutex(9).
- Add a missing MLINK.
2007-03-09 16:44:58 +00:00
rafan
fa9f87addc Enable ncurses wide character support
Approved by:	delphij (mentor)
Tested by:	kris on pointyhat (early version), current@
2007-03-09 12:11:58 +00:00
jhb
4808fe374b Some minor tweaks and updates to bus_dma(9) including some additional notes
on the address filter and locking callback.

Reviewed by:	ru, scottl
2007-03-06 17:32:49 +00:00
brueffer
ea65834348 The firmware images must be loaded as modules at the moment. 2007-03-06 13:17:05 +00:00
yar
5cd725cb47 As suggested more than once in the lists, drop -M from flags to mfs
for /tmp and /var.  This makes the memory discs swap-backed instead
of malloc-backed.  A swap-backed memory disc should not be worse
than a malloc-backed one in any scenario because it will start
touching swap only when needed.  OTOH, a malloc-backed disc can
starve limited kernel resources and evenually crash the system.

Reflect the change in the rc.conf(5) manpage.  Also stop telling
lies there about softupdates: it does not waste disc space, it
just can delay its freeing.

Suggested by:	many
PR:		kern/87255
MFC after:	1 week
2007-03-06 13:13:53 +00:00
mckusick
e5953785d0 Move macros describing extended attributes in UFS from
<sys/extattr.h> to <ufs/ufs/extattr.h>. Move description
of extended attributes in UFS from man9/extattr.9 to
man5/fs.5.

Note that restore will not compile until <sys/extattr.h>
and <ufs/ufs/extattr.h> have been updated.

Suggested by:	Robert Watson
2007-03-06 08:13:21 +00:00
brueffer
2de8c21107 The firmware files are included in the base system now, reflect this here..
While here, remove Xrefs to all other wlan drivers except the Intel ones,
these often get confused.  Also remove pointers to the old ipw and iwi webpages,
they don't include any useful information that's not in the manpages yet.

Reviewed by:	flz, ru
2007-03-05 11:52:17 +00:00
grog
15babbae24 Another typo.
Spotted by:             ru
Another pointy hat to:  grog
2007-03-05 05:59:49 +00:00
grog
7df8cf04c7 Cosmetics: remove trailing white space, wrap over-long lines.
Pointy hat to:  grog
2007-03-05 00:27:30 +00:00
grog
3204d2429d Rearrange function descriptions in more logical order.
Be less alarmist about the dangers of abusing wakeup_one().

Requested by: kris, imp
2007-03-04 23:42:58 +00:00
ru
1b643fb074 Markup polishing. 2007-03-04 19:04:39 +00:00
flz
3189f5459b style(9) fixes.
Reported by:	ru
2007-03-02 18:10:55 +00:00
davidc
39752f2e3b Add vfs_getopt.9 to the build, and add links for related functions. 2007-03-02 17:03:56 +00:00
davidc
39888a53af Document the mount option handling functions.
Reviewed By: ru
2007-03-02 17:03:06 +00:00
flz
7de308e008 - Add missing subdirectories in BSD.usr.dist mtree file.
- Update hier(7) to reflect latest changes in mtree file.
- Add UPDATING entry following Intel firmwares inclusion.

Submitted by:	mlaier
MFC after:	1 month
2007-03-02 14:56:15 +00:00
emaste
a0cb5666c5 Markup fixes.
Submitted by:	ru
2007-03-02 12:55:24 +00:00
flz
c0775f8688 - Add Intel firmwares for Intel PRO/Wireless LAN 2100/2200/2915 cards in a
uuencoded format along with their respective LICENSE files.
- Add new share/doc/legal directory to BSD.usr.dist mtree file. This is the
place we install LICENSE files for restricted firmwares.
- Teach firmware(9) and kmod.mk about licensed firmwares. Restricted firmwares
won't load properly unless legal.<name>.license_ack is set to 1, either
via kenv(1) or /boot/loader.conf.

Reviewed by:	mlaier, sam
Permitted by:	Intel (via Andrew Wilson)
MFC after:	1 month
2007-03-02 11:42:56 +00:00
emaste
c685513e0b Document the new {set,get}{timestamp,counter} messages supported by the
ng_source node.  Also remove an obsolete email address.

Sponsored by: Sandvine Incorporated
2007-03-02 02:34:31 +00:00
ru
5ec36bb996 Remove trailing spaces and make the date canonical. 2007-03-01 14:33:29 +00:00
brueffer
18480644ca New sentence -> new line and contractions removed. 2007-03-01 09:07:04 +00:00
mjacob
9d599723bd Update the isp man page.
MFC after:	2 weeks
2007-02-28 23:21:51 +00:00
piso
34053318ea Update bus_setup_intr() man page after recent newbus modification:
o uniform the driver_intr_t parameter name to 'ithread'

o delete any reference to INTR_FAST

o document a bit the difference between the filter and ithread
  argument

Reviewed by: mdoc-police (ru)
2007-02-28 23:13:41 +00:00
brueffer
907049db84 More cleanup for rev. 1.56
Submitted by:	ru
2007-02-28 22:40:21 +00:00
brueffer
277afd00bb mdoc cleanup for the previous commit and touch .Dd 2007-02-28 21:36:11 +00:00
mohans
2c7f28ffd9 Update the tcp(4) manpage with the new (and some older undocumented) sysctls.
Remove a sysctl that is no longer used.
2007-02-28 19:32:46 +00:00
ache
e7228b57c5 International code for Russian Ruble is changed from RUR to RUB
starting from 1.1.2001 (ISO 4217)
2007-02-28 16:28:49 +00:00
grog
2b6f6866c4 Furhter clarifications:
- the issues with wakeup_one are due to address space clashes between
  unrelated groups of threads.
- sleep() was removed in FreeBSD 2.2.
- date the page today, not 4 days ago.
- replace grammatically correct "woken" with "woken up" for
  consistency with the function name.
2007-02-27 23:09:31 +00:00
jhb
efdf2cb2b3 In FreeBSD 5.x+, sleep/wakeup operate on threads, not processes. 2007-02-27 16:32:55 +00:00
ru
b8587b0055 Fix markup and grammar bugs in recent revisions. 2007-02-27 16:21:01 +00:00
grog
128ac1d595 Update HISTORY.
Reviewed by:	dmr
2007-02-27 05:39:22 +00:00
grog
502eb2ec0e Add warning about deadlocks created by use of wakeup_one. 2007-02-27 02:51:41 +00:00
jkim
2bd7382fdc Add three new ioctl(2) commands for bpf(4).
- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF.  Set to BPF_D_IN to see only incoming packets on the
interface.  Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface.  Set to BPF_D_OUT to see only outgoing
packets on the interface.  This setting is initialized to BPF_D_INOUT
by default.  BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode.  This allows injected packets
to be fed back as input to the interface when output via the interface is
successful.  When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication.  This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by:	rwatson
2007-02-26 22:24:14 +00:00
rwatson
34647636ba Add rw_wowned(9) symlink. 2007-02-26 19:09:36 +00:00
rwatson
35d54d13a9 Update rwlock(9) for rw_wowned(). 2007-02-26 19:07:41 +00:00
bms
b0363fd079 Document m_pulldown().
Obtained from:	MBUF issues in 4.4BSD IPv6/IPsec support (itojun)
2007-02-26 15:17:19 +00:00
rrs
dfdc42503b Fix include declaration it was sys/sctp.h should be netinet/sctp.h,
reported by pluknet@gmail.com.
2007-02-26 12:23:32 +00:00
mckusick
22aa654f0b Declare a `struct extattr' that defines the format of an extended
attribute. Also define some macros to manipulate one of these
structures. Explain their use in the extattr.9 manual page.

The next step will be to make a sweep through the kernel replacing
the old pointer manipulation code. To get an idea of how they would
be used, the ffs_findextattr() function in ufs/ffs/ffs_vnops.c is
currently written as follows:

/*
 * Vnode operating to retrieve a named extended attribute.
 *
 * Locate a particular EA (nspace:name) in the area (ptr:length), and return
 * the length of the EA, and possibly the pointer to the entry and to the data.
 */
static int
ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name,
    u_char **eap, u_char **eac)
{
	u_char *p, *pe, *pn, *p0;
	int eapad1, eapad2, ealength, ealen, nlen;
	uint32_t ul;

	pe = ptr + length;
	nlen = strlen(name);

	for (p = ptr; p < pe; p = pn) {
		p0 = p;
		bcopy(p, &ul, sizeof(ul));
		pn = p + ul;
		/* make sure this entry is complete */
		if (pn > pe)
			break;
		p += sizeof(uint32_t);
		if (*p != nspace)
			continue;
		p++;
		eapad2 = *p++;
		if (*p != nlen)
			continue;
		p++;
		if (bcmp(p, name, nlen))
			continue;
		ealength = sizeof(uint32_t) + 3 + nlen;
		eapad1 = 8 - (ealength % 8);
		if (eapad1 == 8)
			eapad1 = 0;
		ealength += eapad1;
		ealen = ul - ealength - eapad2;
		p += nlen + eapad1;
		if (eap != NULL)
			*eap = p0;
		if (eac != NULL)
			*eac = p;
		return (ealen);
	}
	return(-1);
}

After applying the structure and macros, it would look like this:

/*
 * Vnode operating to retrieve a named extended attribute.
 *
 * Locate a particular EA (nspace:name) in the area (ptr:length), and return
 * the length of the EA, and possibly the pointer to the entry and to the data.
 */
static int
ffs_findextattr(u_char *ptr, u_int length, int nspace, const char *name,
    u_char **eapp, u_char **eac)
{
	struct extattr *eap, *eaend;

	eaend = (struct extattr *)(ptr + length);
	for (eap = (struct extattr *)ptr; eap < eaend; eap = EXTATTR_NEXT(eap)){
		/* make sure this entry is complete */
		if (EXTATTR_NEXT(eap) > eaend)
			break;
		if (eap->ea_namespace != nspace ||
		    eap->ea_namelength != length ||
		    bcmp(eap->ea_name, name, length))
			continue;
		if (eapp != NULL)
			*eapp = eap;
		if (eac != NULL)
			*eac = EXTATTR_CONTENT(eap);
		return (EXTATTR_CONTENT_SIZE(eap));
	}
	return(-1);
}

Not only is it considerably shorter, but it hopefully more readable :-)
2007-02-26 06:18:53 +00:00
bms
865396057e Update multicast(4) manual page to reflect the new reality of the code. 2007-02-25 14:31:41 +00:00
ru
1652cacd15 Remove the traces of vm_page_unmanage(). 2007-02-25 06:51:11 +00:00
schweikh
6a2b828982 Correct two grammos. 2007-02-23 16:50:17 +00:00
jhb
401f7aaf8a Add a new kernel sleep function pause(9). pause(9) is for places that
want an equivalent of DELAY(9) that sleeps instead of spins.  It accepts
a wmesg and a timeout and is not interrupted by signals.  It uses a private
wait channel that should never be woken up by wakeup(9) or wakeup_one(9).

Glanced at by:	phk
2007-02-23 16:22:09 +00:00
rrs
ae6663525a First cut of the sctp man pages. Still need work. 2007-02-22 14:32:39 +00:00
rwatson
74bf41b149 Refine implementation notes for priv(9): clarify ABI comments, mention
updating Jail's list of privileges.
2007-02-21 10:32:03 +00:00
brueffer
c4321353f5 Document vge(4)'s support for altq(4). 2007-02-21 10:00:09 +00:00
ceri
0eef1e3be2 Correct typos containing my login name (plus one more in expr.y).
Found courtesy of a recursive grep in the wrong directory.
2007-02-18 19:48:59 +00:00
joel
f6f8eb8e88 Oops, fix minor braino.
Noticed by:	ariff
2007-02-17 11:31:58 +00:00
joel
c36ca004ca Link snd_sb16.4 and snd_sb8.4 to snd_sbc.4.
Submitted by:	ariff
2007-02-17 10:30:00 +00:00
joel
c2f30557f9 Add Sigmatel STAC9271D. 2007-02-16 18:23:17 +00:00
pjd
ed1bce702f VFS_VPTOFH(9) was replaced with VOP_VPTOFH(9).
VFS_VPTOFH.9 was repo-copied to VOP_VPTOFH.9.

Repo-copy done by:	joe
2007-02-16 14:27:59 +00:00
brueffer
1a7d88b933 Xref altq(4) 2007-02-16 13:53:45 +00:00
luigi
8627d150b8 remove some leftover text and update the text to match the current version
of the code.
2007-02-15 17:52:17 +00:00
rwatson
5b953c01a1 Expand history and authors section of mbuf.9 man page to discuss recent
transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited
almost entirely to packet storage, with straight UMA zones being used for
most other network data types.
2007-02-15 14:44:46 +00:00
brueffer
a9a4d856ad Mark up lkm with .Nm, since lkm is name of an api.
Submitted by:	ru
2007-02-13 17:06:15 +00:00
brueffer
743bf399a1 "options PIM" is gone. 2007-02-12 21:30:34 +00:00
brueffer
8687c8db75 The KAME project has been dissolved and kame.4 isn't terribly useful.
=> Sayonara

Approved by:	gnn, suz
2007-02-12 21:12:37 +00:00
brueffer
042b3cbf9d Use the correct line to put into loader.conf. Duh!
Clue bat applied by:	ru
Pointy hat to:		brueffer
2007-02-12 20:58:32 +00:00
jhb
1563757ce2 MLINK for bus_dmamap_load_mbuf_sg(9) 2007-02-12 17:53:21 +00:00
jkoshy
6868162c20 Improve a sentence.
Prodded by:	billf
MFC after:	3 days
2007-02-12 03:26:22 +00:00
brueffer
6b5f1d5d9e Don't reference lkm(4), it doesn't exist.
PR:		108980
Submitted by:	Yonatan
2007-02-10 08:44:41 +00:00
brueffer
ed4315282a Nuke pcnfsd(8) reference.
PR:		108980
Submitted by:	Yonatan
2007-02-09 22:18:56 +00:00
brueffer
6657290d86 There is no isa(4) manpage, convert to normal text an join lines.
PR:		108980
Submitted by:	Yonatan
2007-02-09 21:12:21 +00:00
brueffer
338df91073 Remove references to pccardd(8), pccardc(8) and OLDCARD.
PR:		108980
Submitted by:	Yonatan
2007-02-09 21:05:47 +00:00
brueffer
2aef44627d Remove Xref to non-existant uhub(4).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:53:19 +00:00
brueffer
6495b74b26 Correct references to tcpdump(1).
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:39:14 +00:00
brueffer
a61400c5f8 Remove Xref to owi(4), it's dead and gone.
PR:		108980
Submitted by:	Yonatan
2007-02-09 20:32:58 +00:00
luigi
1da96e88d3 Document a little more the firmware subsystem.
Apart from minor cleanup of the text, it should document
in reasonable detail what the status of the code is.
RELENG_6 has some minor differences there in the way automatic
loading/unloading is handled, but hopefully this should be
fixed by MFC time.

The examples come from Max Laier and Sam Leffler.

MFC after: 1 week
2007-02-09 19:08:07 +00:00
brueffer
0142ae7fc7 Remove an obsolete error message. 2007-02-09 18:26:13 +00:00
brueffer
f64d74256b - Use the standard section 4 SYNOPSIS
- Utilize .Nm

MFC after:	3 days
2007-02-09 17:21:23 +00:00
le
44223c20a4 Add support for Huawei Technologies Mobile card (3G).
Submitted by:  Thorsten Schroeder <ths_AT_dev.io>
MFC in:        3 days
2007-02-09 15:59:28 +00:00
bms
f171a45bf6 Add lists of ICMP types and codes for user and developer reference.
Cross-reference pf.conf(5) which is able to use these definitions.

PR:		85243
Submitted by:	Daniel Gerzo
Obtained from:	OpenBSD
MFC after:	1 day
2007-02-09 12:30:17 +00:00
flz
1413639b92 Add support for EtherChannel configuration to rc startup scripts.
Note: This also deprecates "NO" as a way to specify an empty list of
interfaces for gif_interfaces.

PR:		conf/104884
Submitted by:	nork
Harassed by:	brd
Discussed with:	brooks, dougb
2007-02-09 12:11:27 +00:00
brueffer
5ebe8e29b1 Document NetCell NC3000 and NC5000 support. 2007-02-06 09:50:17 +00:00
ambrisko
64d554b0f5 s/Feb/February/
Reminded by:	ru
2007-02-05 22:45:58 +00:00
le
176abfa169 Add support for another 3G card and update man page accordingly.
The patch from the PR was a little outdated w/regards to the
Vodafone vendor string.

PR:            kern/106033
Submitted by:  Volker Werth <volker_AT_vwsoft.com>
MFC in:        3 days
2007-02-04 22:14:18 +00:00
philip
5971b391cc Fix hr.iso syscons keymap, making it possible to type < and >.
PR:		conf/105642
Submitted by:	ivoras
MFC after:	3 days
2007-02-04 17:10:18 +00:00
bms
9fa6fbb8a2 Typo.
(Oh well, I guess that's the danger of updating two three-letter-named
entities at the same time.)

Submitted by:	Simon L. Nielsen
MFC after:	4 weeks
2007-02-04 16:59:50 +00:00
bms
77c2e11309 Implement ifnet cloning for tun(4)/tap(4).
Make devfs cloning a sysctl/tunable which defaults to on.

If devfs cloning is enabled, only the super-user may create
tun(4)/tap(4)/vmnet(4) instances. Devfs cloning is still enabled by
default; it may be disabled from the loader or via sysctl with
"net.link.tap.devfs_cloning" and "net.link.tun.devfs_cloning".

Disabling its use affects potentially all tun(4)/tap(4) consumers
including OpenSSH, OpenVPN and VMware.

PR:		105228 (potentially also 90413, 105570)
Submitted by:	Landon Fuller
Tested by:	Andrej Tobola
Approved by:	core (rwatson)
MFC after:	4 weeks
2007-02-04 16:32:46 +00:00
mpp
073eb74d90 Expand this man page to provide some details on the structure
of the quota data files and how they are maintained.
2007-02-04 07:44:40 +00:00
brueffer
39590cde68 Xref altq(4). 2007-02-03 20:02:29 +00:00
brueffer
d4791b1590 Xref altq(4). 2007-02-03 19:29:31 +00:00
mlaier
9a2ac087c9 Add ALTQ support for aue(4).
Tested by:	Greg Hennessy, Volker
MFC after:	1 week
2007-02-03 13:53:22 +00:00
mlaier
e297f369ca Missed npe(4) in the last commit. "ate" also has support but is lagging a
man page to link to.
2007-02-03 13:38:04 +00:00
mlaier
60436309a2 bce(4), ipw(4), iwi(4), ral(4), udav(4), ural(4) support ALTQ as well. 2007-02-03 13:33:40 +00:00
ambrisko
3e331c9416 Based on input from ru & rodrigc document the mount operation in the new
world order:
	mount -t linsysfs linsys /compat/linux/sys
instead of mount_linsysfs.  Now that 6.X requires mount_linsysfs to
work.  This is why there is a mount_linsysfs in 6.X and not in -current.

Prompted by:	ru
Reviewed by:	ru, rodrigc
2007-02-02 16:26:15 +00:00
phk
60c94b272a Update with the latest Bulletin C from IERS. 2007-02-02 09:19:27 +00:00
rafan
fb2efa60c3 Remove old libmytinfo link.
Approved by:	delphij (mentor)
Requested by:	ache
2007-02-01 08:45:27 +00:00
pav
3bd3bcc779 - Add ports-ports-mgmt collection 2007-01-31 14:35:05 +00:00
rwatson
f7bb84a831 s/software was developed/documentation was written/
Suggested by:	ru
2007-01-31 09:40:31 +00:00
maxim
3e7f000e8a o DragonFly 1.8.0 added. 2007-01-31 04:58:03 +00:00
glebius
46fdc35860 Fix typo.
Submitted by:	pluknet <pluknet gmail.com>
2007-01-30 20:22:07 +00:00
brueffer
e08629155d Add the 3Com 3c996-SX.
Submitted by:	Johan Ström
MFC after:	3 days
2007-01-30 09:47:31 +00:00
brueffer
e86310cd3d Xref altq(4) for drivers that support it according to altq(4). 2007-01-30 08:40:04 +00:00
brueffer
d74e29ebcc Xref altq(4). 2007-01-30 08:17:45 +00:00
rwatson
8fe23ac3fe Add MLINKS for sf_buf.9. 2007-01-29 11:27:44 +00:00
joel
350e76dd56 Line break before "All rights reserved" in the license example.
Reveiwed by:	bde, rwatson
2007-01-28 20:51:04 +00:00
rwatson
4ffff2fde2 Update pmap_extract() implementation notes: we appear no longer to serialize
this call with Giant on any platform.
2007-01-28 16:23:55 +00:00
rwatson
8cd0ff6fa5 Add a rudimentary man page for sf_bufs, based on my rudimentary
understanding of sf_bufs.
2007-01-28 16:07:50 +00:00
rwatson
20643fd68c Fix minor type: "struct disk *" instead of "struct *disk".
MFC after:	3 days
2007-01-28 14:37:13 +00:00
ru
b640c5e1c4 Fix grammar [1] and formatting.
Submitted by:	pluknet AT gmail DOT com [1]
2007-01-27 23:06:00 +00:00