Commit Graph

10793 Commits

Author SHA1 Message Date
gdt c29a5718f4 Bump date for previous to avoid wizd(1) invocation. 2014-07-25 16:14:01 +00:00
gdt 822539564a Add PPS support to ucom(4).
This is basically cribbed from regular serial ports, and just adds
hooks to call the pps support routines.

Also, note in the ucom(4) man page that there is about 1 ms of
latency.  Discussed on tech-kern in October of 2013, with the only
concern being that someone who didn't know what they were doing might
set up a stratum 1 server, and that somehow might have worse
timekeeping than whatever else that person might have done; the man
page comment is a mitigation for this.

This patch has been live-tested in netbsd-5/i386 and netbsd-6/i386,
and has been running on machines without a USB-serial GPS device for
most of a year with no adverse consequences (very little happens if
the PPS ioctls are not invoked).
2014-07-25 16:13:21 +00:00
nonaka 2eb514b8bd Added ELECOM WDC-150SU2M support. 2014-07-25 15:07:03 +00:00
wiz 52105240c4 New sentence, new line. Punctuation formatting nits. 2014-07-25 08:38:29 +00:00
dholland 842f3a34a8 Add VOP_FALLOCATE and VOP_FDISCARD. 2014-07-25 08:16:47 +00:00
wiz 99697e5b89 Fix typos and improve grammar and punctuation. 2014-07-24 21:22:29 +00:00
wiz 468afb62f5 Sort SEE ALSO. Use .An. Bump date. 2014-07-24 21:21:55 +00:00
alnsn beba90ca4b Use .Sy for 'Just-In-Time', add a reference to bpfjit(4). 2014-07-24 21:10:26 +00:00
alnsn 6021eb407c man 4 bpfjit 2014-07-24 21:08:50 +00:00
wiz 3004801b54 Fix typo. Bump date for previous. 2014-07-23 21:19:33 +00:00
gdt c6a967921a Sync DIAGNOSTIC performance comments with historical reality.
Somehow, options(4) ended up with a bizarre claim that DIAGNOSTIC can
reduce performance by 15%.  While that might have been true at some
isolated point due to a bug, it's an outlier.  Since at least 2BSD,
DIAGNOSTIC has added asserts, resulting in at most
difficult-to-perceived performance degredation, and many people have
been running production systems (meaning systems they intend to use,
rather than debugging targets) with this option.    (The decision a
while ago to enable DIAGNOSTIC in -current's GENERIC reflects this; if
it really were a 15% hit such enabling by default would be unreasonable.)
2014-07-23 20:13:13 +00:00
dholland d1d67f621b Adjustments based on suggestions from gnrp in PR 45276:
- fix argument names of VOP_REMOVE
 - mention deprecated behavior of calling VOP_GETATTR unlocked
 - mention rename lock
2014-07-21 05:56:26 +00:00
tron 4021f6f227 Sync wizd's feature list with reality. 2014-07-20 16:04:48 +00:00
nonaka 89ad92f8e2 Add ASUSTeK USB-N10 NANO support. 2014-07-20 14:02:53 +00:00
wiz 65b7a70949 Grammar. Bump date. 2014-07-20 13:39:10 +00:00
nonaka 1b6f30d4ec Added support for the Realtek RTL8188EUS and RTL8188ETV chipsets from FreeBSD. 2014-07-20 13:25:23 +00:00
roy 1ae594017c Document that our use of pthread_mutex_unlock(3) is async-signal-safe
and as such can be used in a phtread_atfork(3) child handler.
2014-07-19 14:53:22 +00:00
skrll 5d7c2f3f3f Bump date for previous. 2014-07-19 14:21:34 +00:00
skrll 7efd42934c PR/48998: uhso(4) support for Globetrotter HSUPA Modem 2014-07-19 14:20:46 +00:00
njoly 9e00c924f2 Add missing end list (El) macro. 2014-07-18 11:14:18 +00:00
njoly c038ed9dae Add hw.ncpuonline documentation. 2014-07-17 13:42:02 +00:00
ryoon f22de5b4ad Add Sharp CE-175TU entry, and bump date. 2014-07-14 12:07:04 +00:00
mbalmer 2c9c8c0495 Add a description of SIOCGIFALIAS. From Jens A Nilsson via PR misc/6880. 2014-07-13 12:47:13 +00:00
wiz 9cc16726fe Fix asus entry. 2014-07-13 12:08:32 +00:00
wiz f0d5528210 Use import date for Dd. Remove unnecessary quotes. End sentence with dot. 2014-07-13 12:04:07 +00:00
mbalmer a1e18c655b Fix a typo in a function name. Found by Nat Sloss, thanks.
Fixes PR misc/46446.
2014-07-13 11:08:46 +00:00
mbalmer 4af77db120 Don't lie about the CardBus device database. Diff from Jukka Ruohonen.
Fixes PR misc/39625.
2014-07-13 11:03:26 +00:00
mbalmer d3500151b8 Add a missing word; found by Maxime Villard, thanks! 2014-07-13 09:32:05 +00:00
mbalmer 76dc741fbc Fix asus(4) entry. 2014-07-13 08:43:29 +00:00
mbalmer 94541005af Add a man page for asus(4), written by Leonardo Taccari as part of PR/39932. 2014-07-13 08:37:13 +00:00
dholland 4a960bb603 Update a comment on a structure description. Noted by wiz a long time
ago.

does not seem to be worth bumping the date for.
2014-06-21 04:28:23 +00:00
wiz 46f7e221ac Remove trailing whitespace. 2014-06-13 22:06:00 +00:00
joerg d0f3f6896c Add kern.pool for memory pool stats. 2014-06-13 19:09:07 +00:00
christos 06e92f6d05 PR/8899: Alexander Nasonov: ddb command 'show malloc' is no longer available 2014-06-12 13:47:58 +00:00
wiz e6ff3b17b8 Sort SEE ALSO, add NetBSD-specific history. 2014-06-10 07:26:19 +00:00
hikaru 73c29dd7cc Add VMware VMXNET3 ethernet driver from OpenBSD, vmx(4). 2014-06-10 01:42:38 +00:00
gdt 335863a998 Add test environment considerations from tests.atf.7.
Bump date in an attempt to avoid provoking wizd(1).
2014-06-02 19:17:08 +00:00
christos 2e958a7003 Explain ipsec.enabled better. 2014-05-30 01:43:20 +00:00
christos 14e2adbfce mention new ipsec sysctls. 2014-05-30 01:34:32 +00:00
wiz c4b0e6bd79 Add missing word 2014-05-27 17:12:22 +00:00
christos 87d253a1f6 I like riastradh's kmem/pool explanation. 2014-05-27 17:05:44 +00:00
wiz c309e73942 Sort SEE ALSO. Wording improvements. Remove unnecessary Pp. 2014-05-25 15:51:26 +00:00
rmind 3da69dd68c MI IPI interface:
- Implement support for the asynchronous IPI calls.
- Rework synchronous IPI code to reuse the asynchronous mechanism.
- Add ipi(9) manual page; needs wizd(8).

Note: MD code can now provide a low level primitive for the ipi(9) and
reuse this interface instead of open-coding.  Portmasters are encouraged
to convert.  Ride 6.99.43!
2014-05-25 15:34:19 +00:00
rmind d5f4abf709 pcu(9) man page: correct PCU_REENABLE description, add pcu_discard_all(),
improve some wording.
2014-05-25 14:56:23 +00:00
wiz 76560d9cb0 End sentence with a dot. 2014-05-24 17:14:02 +00:00
christos 02cb0c6eaf Introduce a selector function to the vfs vnode iterator so that we don't
need to vget() vnodes that we are not interested at, and optimize locking
a bit. Iterator changes reviewed by Hannken (thanks), the rest of the bugs
are mine.
2014-05-24 16:34:03 +00:00
wiz e666757a15 Bump date for previous. Americanize a spelling. 2014-05-21 12:15:25 +00:00
wiz 6fb6b0763b Bump date for previous. 2014-05-21 12:13:18 +00:00
riastradh 3e7e395e87 Miscellaneous markup, speling and grammar fix. 2014-05-20 15:31:55 +00:00
riastradh 5416492612 Split large paragraph about uobj/uoffset into a bulleted list.
Mention that uvm_map doesn't add a reference to uobj.  Evidently this
information is important, since I just wasted countless hours over
the past months investigating kernel memory corruption arising from a
failure to notice this fact.
2014-05-20 15:23:12 +00:00
gdt 41a1d8830e Explain that tests should be run as root, and that in theory it's ok
to run them multiuser.

Discussed on current-users with in put from martin@ and gson@.
2014-05-20 14:23:43 +00:00
wiz f21550261f Whitespace and punctuation. 2014-05-18 15:45:08 +00:00
wiz 331e85e813 New sentence, new line. Sort SEE ALSO. Whitespace. 2014-05-18 12:45:03 +00:00
kardel 54c2251d60 add HYT-221/271/939 humidity/temperature I2C sensor
extend envsys(4) framework by %rH (relative humidity)
2014-05-18 11:46:23 +00:00
rmind 169afaf534 Rename LIST_CONCAT() to LIST_MOVE() as that is what it actually does (and
there is no point to implement LIST_CONCAT() which would iterate).  Update
the queue(3) manpage.
2014-05-17 21:22:56 +00:00
wiz 4362e218b3 Consistency. 2014-05-16 08:29:18 +00:00
martin 9924ee1266 Add missing .Bl 2014-05-16 06:15:28 +00:00
rmind d67ab12c1d pcu(9):
- Remove PCU_KERNEL (hi matt!) and significantly simplify the code.
  This experimental feature was tried on ARM did not meet the expectations.
  It may be revived one day, but it should be done in a much simpler way.
- Add a message structure for xcall function, pass the LWP ower and thus
  optimise a race condition: if LWP is discarding its state on a remote CPU,
  but another LWP already did it - do not cause an unecessary re-faulting.
- Reduce the variety of flags for PCU operations (only PCU_VALID and
  PCU_REENABLE are used now), pass them only to the pcu_state_load().
- Rename pcu_used_p() to pcu_valid_p(); hopefully it is less confusing.
- pcu_save_all_on_cpu: SPL ought to be used here.
- Update and improve the pcu(9) man page; it needs wizd(8) though.
2014-05-16 00:48:41 +00:00
wiz 8673451f10 More markup. Better table width. Bump date for previous. 2014-05-15 23:59:05 +00:00
riastradh 05d529cbfb Fix typo in uvm_km(9): there is no struct vm_map_kernel. 2014-05-14 16:16:55 +00:00
martin 256a2596c6 Belatedly adapt to changes in the code. 2014-05-12 08:47:49 +00:00
martin e1ea636bac Fix firmware path - noted by Thomas Mueller on current-users. 2014-05-06 07:29:30 +00:00
kardel 04f5544c2e install bcmgpio.4 for evbarm arch 2014-04-23 07:04:01 +00:00
kardel 9171ee3159 move mcp23s17gpio.4 to MI SPI drivers section 2014-04-23 06:53:14 +00:00
wiz 7363dee110 New sentence, new line. 2014-04-22 22:23:43 +00:00
kardel 511648e509 add a driver for BCM2835 obio gpio 2014-04-22 18:51:35 +00:00
riastradh c3da429306 Fix note on __predict_true: predicts nonzero, not 1 specifically. 2014-04-21 15:52:27 +00:00
bad 89fef8a2c6 Add support for accelerated AES_CBC in ubsec(4) for BCM5823 and newer.
Update man-page and bump date.
Adjust OpenBSD RCS IDs to reflect roughly the version we are in sync with.
2014-04-19 12:29:24 +00:00
martin 7d50c1ed2d Add missing uark and umcs attachments, bump date 2014-04-17 17:50:21 +00:00
wiz c8c5539660 Fix Dd. New sentence, new line. Sort SEE ALSO. Fix macro usage. More markup. 2014-04-07 11:18:13 +00:00
kardel a845bf81d9 add Microchip MCP23S17 GPIO driver
(via SPI interface)
2014-04-06 17:59:39 +00:00
pgoyette 6296fe9745 Fix typio 2014-04-04 17:18:46 +00:00
riastradh a4074b16f2 Correct return type of iic_release_bus. 2014-04-03 15:39:10 +00:00
martin aad6ef8bb5 Bring back the playstation2 port - now that a toolchain for it is
available again.
2014-03-31 11:25:47 +00:00
christos 1d3f7461f3 Say how big the buffer should be. 2014-03-30 23:28:14 +00:00
christos 76a09c416c fix pic_intr_string prototype 2014-03-30 00:18:09 +00:00
wiz bdcef05215 Bump date for previous. 2014-03-25 10:23:26 +00:00
ozaki-r 1339b2cc13 Add MKCTF
This variable separates CTF stuffs from MKDTRACE; we can build DTrace
solely without building and using them. This allows us to use DTrace
even if CTF stuffs have problems (actually they have now).

This variable would be merged into MKDTRACE eventually, once CTF stuffs
work correctly again.
2014-03-25 09:52:55 +00:00
hannken f3cf481632 - Make VI_XLOCK, VI_CLEAN and VI_LOCKSHARE private to kern/vfs_*.c.
- Make vwait() static.
- Add  vdead_check() to check a vnode for being or becoming dead.

Discussed on tech-kern.

Welcome to 6.99.38
2014-03-24 13:42:40 +00:00
dholland e2ddf9ecf7 Fix the heading for ext2fs options to be consistent with the others. 2014-03-23 00:50:20 +00:00
dholland 5cbf34865d Revise documentation of QUOTA and QUOTA2 options to make it clear that
these are FFS options. (QUOTA2 also works with mfs. AFAIK, traditional
quotas don't.)

Don't refer to QUOTA2 as "the new quotas format" as "new" is not a
good long-term identifier.

Also, don't xref half the quota utilities; there's no need to.
2014-03-23 00:48:08 +00:00
wiz 6b491007ea New sentence, new line; slight wording improvements. 2014-03-22 11:35:03 +00:00
skrll ddb1dc4a8e Bump date for previous 2014-03-22 11:25:54 +00:00
skrll 532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
skrll 05d6b677c6 Remove reference to simplelock 2014-03-22 07:49:06 +00:00
wiz 4360adca3d Fix date. 2014-03-19 17:48:34 +00:00
wiz fae7c85ffb Bump date for previous. 2014-03-19 17:48:27 +00:00
nonaka c3077021ad Add a driver for Realtek RTS5209/RTS5229 Card Reader.
Ported from OpenBSD.
2014-03-19 15:26:41 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
hannken b349ee43ab Operations vmark(), vunmark() and vismarker() have been replaced by
vfs_vnode_iterator_*(), remove them.

Document vfs_vnode_iterator_*().

Make VI_MARKER private to vfs_vnode.c, vfs_mount.c and unfortunately
to ufs/lfs/lfs_segment.c.

Welcome to 6.99.37
2014-03-18 10:21:47 +00:00
wiz 3e3cf573bc Spelling, whitespace. 2014-03-16 09:37:47 +00:00
martin 8ada782766 Add umcs(4) 2014-03-16 09:28:43 +00:00
jruoho e49918d4fb Fix a prototype. 2014-03-12 16:37:01 +00:00
hannken 72439b7dc8 Current support for iterating over mnt_vnodelist is rudimentary. Every
caller has to care about list and vnode mutexes, reference count being zero,
intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.

Add an interface to iterate over a vnode list:

void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker)
void vfs_vnode_iterator_destroy(struct vnode_iterator *marker)
bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)

vfs_vnode_iterator_next() returns either "false / *vpp == NULL" when done
or "true / *vpp != NULL" to return the next referenced vnode from the list.

To make vrecycle() work in this environment change it to

bool vrecycle(struct vnode *vp)

where "vp" is a referenced vnode to be destroyed if this is the last reference.

Discussed on tech-kern.

Welcome to 6.99.34
2014-03-05 09:37:29 +00:00
wiz bbb72bf83b Prefix link to cpsw with 'evbarm'. 2014-03-03 09:10:46 +00:00
wiz 4fc55b00e4 New sentence, new line. 2014-03-03 09:10:00 +00:00
ozaki-r aaaf6db810 Add micphy.4 2014-03-03 02:03:31 +00:00
ozaki-r 8ef5b2745a Mention micphy(4) 2014-03-03 01:36:21 +00:00
ozaki-r bd237efb46 Add micphy(4) manpage 2014-03-03 01:35:08 +00:00
hannken 2b6ec89863 The current implementation of vn_lock() is racy. Modification of
the vnode operations vector for active vnodes is unsafe because it
is not known whether deadfs or the original file system will be
called.

- Pass down LK_RETRY to the lock operation (hint for deadfs only).

- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.

- Change all other lock operations to check for dead vnode once
  the vnode is locked and unlock and return ENOENT in this case.

With these changes in place vnode lock operations will never succeed
after vclean() has marked the vnode as VI_XLOCK and before vclean()
has changed the operations vector.

Adresses PR kern/37706 (Forced unmount of file systems is unsafe)

Discussed on tech-kern.

Welcome to 6.99.33
2014-02-27 16:51:37 +00:00
skrll 6d3ceb1d61 Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
2014-02-24 07:23:38 +00:00
dholland c48557ca9a Fix examples, from Henning Petersen in PR misc/48612. 2014-02-22 17:29:13 +00:00
wiz e917ca9ede Use more markup. Add "flag" in a sentence. 2014-02-22 11:28:18 +00:00
wiz be49b9a869 Mark up NULL with Dv. 2014-02-22 11:08:05 +00:00
hannken 6935b8d9a0 Update arguments of vrecycle(), description of getnewvnode() and
the vnode flags.
2014-02-22 10:08:12 +00:00
hannken 8a81f374a4 Update the description of vfs_busy() and vfs_unbusy(). 2014-02-22 10:05:54 +00:00
jdc 679f6e9d0e Add manual page for tsciic and cross reference it from related pages. 2014-02-21 12:26:00 +00:00
wiz 2db2e12a03 Fix typo in Dd. 2014-02-14 07:29:06 +00:00
christos d46692d173 mention ibss and hostap support 2014-02-14 04:24:41 +00:00
wiz 0ccfefc58a Mark up author name with An. 2014-02-07 16:57:05 +00:00
hannken 97834f7ba0 Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31
2014-02-07 15:29:20 +00:00
wiz 01b245946f Wording. New sentence, new line. filesystem -> file system. 2014-02-02 08:34:39 +00:00
manu 70aead41ff Add EMUL_NATIVEROOT so that native binaries can be told to search an
"emulation" directory before the real root. This makes easier to test
an amd64 kernel on the top of an i386 root filesystem prior a full
migration.
2014-02-02 04:28:42 +00:00
pgoyette 50bc862539 Update CIOGFSESSION argument spec to match reality 2014-01-27 21:23:59 +00:00
skrll 3468e012de Fix eraseo from yesterday 2014-01-23 16:35:20 +00:00
wiz 5a90ecf827 New sentence, new line. Sort sections. Remove superfluous Pp.
Add missing .El.
2014-01-23 15:17:59 +00:00
wiz acfab9e197 Spell out month name. 2014-01-23 14:12:38 +00:00
ryoon eb9e4d7489 Add urndis(4), bump date, and copyright year 2014-01-23 13:05:04 +00:00
hannken 04c776e5c8 Change vnode operations create, mknod, mkdir and symlink to return
the resulting vnode *vpp unlocked.

Discussed on tech-kern@

Welcome to 6.99.30
2014-01-23 10:13:55 +00:00
skrll deae578450 Update a little (don't trust myself to update anymore). Fix a macro
problem while I'm here.
2014-01-22 23:43:13 +00:00
mlelstv 45ab26459f Add igmafb man page. 2014-01-21 16:12:56 +00:00
hannken 1139274440 Change vnode operations create, mknod, mkdir and symlink to keep the
directory node dvp locked on return.

Discussed on tech-kern@

Welcome to 6.99.29
2014-01-17 10:55:01 +00:00
christos 2b043c75b6 eliminate use of bsd.sys.mk from Makefiles 2014-01-16 01:15:32 +00:00
apb 07c206b653 Document random_seed and random_file. 2014-01-15 11:42:43 +00:00
wiz 252a57e3a8 whitespace. 2014-01-10 09:43:15 +00:00
dholland b510fd7487 Clarify the behavior of the @machine and @machine_arch magic links
relative to uname output when running in emulations: the magic links
are *not* affected even though uname output changes.

(This means @machine magic links can be used for e.g. amd64 vs. i386
device nodes. There's also an @emul magic link for emulation.)

Noted by apb.
2014-01-09 18:55:41 +00:00
mbalmer 8905acc60a Use 5.2 usage pattern in the synopsis. 2014-01-07 21:54:17 +00:00
njoly 32806908ee Kill one more trailing space in function argument. 2014-01-06 14:57:10 +00:00
njoly fa8cf4e111 Remove extra trailing spaces in functions arguments. 2014-01-06 13:59:00 +00:00
wiz 079d5678c6 Remove core.9lua, now called systm.9lua. 2014-01-06 13:05:47 +00:00
wiz 3181678dad Use more markup. Fix a typo. 2014-01-06 13:03:33 +00:00
wiz a760028eaf Add xrefs to pmf(9lua) and systm(9lua) 2014-01-06 13:03:01 +00:00
wiz 465d58a2d8 Use Fn for functions and Dv for null. 2014-01-06 09:30:26 +00:00
wiz 7da1f424ab Fix article. 2014-01-06 09:25:08 +00:00
wiz f5b7cc347b Use Nx. Remove superfluous Pp. Increase column width to widest entry. 2014-01-06 09:23:18 +00:00
wiz d778b71bd0 New sentence, new line. 2014-01-04 15:41:59 +00:00
wiz 2903717cc7 Sort sections. 2014-01-04 15:40:25 +00:00
pgoyette 2a3b433915 Clear up documentation for crypto_unregister() vs crypto_unregister_all()
since there is no definition of CRYPTO_ALGORITHM_ALL!

XXX The description of the arguments for crypto_register() needs further
updates, too, but that will be left for another day.
2013-12-31 01:55:05 +00:00
dholland 9b72241e07 Add cross reference to mount_fdesc(8), as noted a while back in PR 45694.
Also add a note that the floppy driver is documented in fdc(4). Bump date.
2013-12-30 08:42:00 +00:00
msaitoh bcf70d1755 Add support For I354(C2000 interna Ethernet controller):
- Add I354 support.
 - Fix SGMII+MDIO case. SGMII+I2C is not supported yet.
 - Not tested well.
 - Sprinkle "XXX" to check later.
2013-12-29 21:28:41 +00:00
christos 1c9c725051 remove dup file 2013-12-28 17:35:01 +00:00
pgoyette a6570d4710 Update description to include Realtek 8211, to match contents of
sys/dev/mii/miidevs
2013-12-28 13:57:19 +00:00
njoly 5548fe6341 Remove a few unneeded paragraph macros. No output change. 2013-12-26 11:11:53 +00:00
wiz b8996e2617 Use Mt. Remove trailing whitespace. 2013-12-24 12:20:50 +00:00
rkujawa 7e4c7bd0fb Add acafh(4) page for the recently addded acafh driver.
Be more precise in clockport(4).
2013-12-24 12:07:16 +00:00
wiz 0824426c83 Bump date for previous. 2013-12-24 01:42:32 +00:00
dholland 89cdc2771e Note the existence of /libdata. PR 48471 from David H. Gutteridge,
with a couple minor adjustments.
2013-12-23 17:44:05 +00:00
njoly 12eade2235 Assorted fixes. Kill a few uneeded paragraph macros, unbreak xref, and
numerous typos.
2013-12-23 12:50:56 +00:00
lneto 1c57b8e8aa renamed luacore to luasystm 2013-12-16 23:54:26 +00:00
wiz 449f893950 New sentence, new line. 2013-12-16 00:59:37 +00:00