Commit Graph

7759 Commits

Author SHA1 Message Date
plunky 2de62e930d remove my old (invalid) email address 2008-03-15 11:40:38 +00:00
plunky 92358fc6af remove old email address 2008-03-15 11:31:20 +00:00
martin 2bad903b03 Fix bit pattern error in example.
Reported by Edward Tomasz Napierala in PR port-sun3/38181.
2008-03-06 09:30:45 +00:00
xtraeme 9e715bd513 watchdog(8) -> wdogctl(8) 2008-03-05 13:28:15 +00:00
xtraeme 35d705abea Change my email adress to the netbsd one. 2008-03-04 11:31:57 +00:00
xtraeme 1ab13cc1f4 Add some notes for RAID 1/1+0 volumes and scsictl(8). 2008-03-03 15:35:22 +00:00
drochner fce349e672 update for pmf_device_register1() and the "boothowto" argument to
shutdown handlers
2008-03-03 11:43:18 +00:00
rmind 2fd89ef88a Rename selrecord(9) man page to select(9). Sync selnotify() with reality,
remove selwakeup(), add and explain the usage of selinit() and seldestroy().

Reviewed by <ad>.
2008-03-02 00:30:21 +00:00
xtraeme 5bbe544447 Fix the mb(9) xref. 2008-03-01 22:28:46 +00:00
xtraeme 38a2eeb907 ARC-1200 Rev A is supported. 2008-02-29 21:14:48 +00:00
xtraeme 9c9ee958b6 Improve the manpages with refs, new content, etc. 2008-02-29 20:56:33 +00:00
elad cd05a6ee9b Introduce a new kauth action, KAUTH_NETWORK_NFS, and two requests,
KAUTH_REQ_NETWORK_NFS_EXPORT and KAUTH_REQ_NETWORK_NFS_SVC, and use them
to replace two KAUTH_GENERIC_ISSUSER calls in the NFS code.

Also replace two more with KAUTH_SYSTEM_MKNOD, where appropriate.

Documetnation and examples updated. More to come.
2008-02-28 17:07:49 +00:00
xtraeme 51e43163c8 Add three new values for ENVSYS_DRIVE units:
* ENVSYS_DRIVE_OFFLINE, ENVSYS_DRIVE_CHECK and ENVSYS_DRIVE_BUILD
2008-02-28 16:21:34 +00:00
elad 67470a76a1 Factor out the guts of get/setparam so it can be used from the compat code.
Make the FreeBSD and Linux compat code convert the parameters to their
native representation and call the native routines.

Remove KAUTH_PROCESS_SCHEDULER_GET/SET.

Update documentation and examples.

XXX: For now, only the Linux compat code does the priority conversion
XXX: right.

Linux priority conversion code from yamt@, thanks!

Okay yamt@.
2008-02-28 16:09:18 +00:00
lukem a98f1bcdff Describe 'bool'. Update 'list'.
Inspired by FreeBSD.

Note: we could seek more inspiration from FreeBSD WRT login.conf(5)
and login_cap(3)'s implementation.
2008-02-25 23:52:48 +00:00
xtraeme aa8d8c1a0f Mention that bio(4) first appeared on NetBSD 4.0 too. 2008-02-25 22:18:31 +00:00
xtraeme 54880c4f00 Added support for the mfi(4) controllers with powerpc IOPs such as
LSI SAS1078 or Dell PERC 6, from OpenBSD.

Tested by Akira Kato on current-users@.
2008-02-25 10:46:02 +00:00
reed 31c2217275 Mention the term "pseudo" for ptys. 2008-02-22 22:03:33 +00:00
tron a9b0526a9a Bump the date. 2008-02-18 18:36:21 +00:00
tron f760d97204 Add magic keyboard sequence for NetBSD-amd64. 2008-02-18 18:35:17 +00:00
elad 52cf460a76 Following input from Matthew Mondor, some Veriexec documentation changes:
- Document the signatures file format in a veriexec(5) man-page,
  - Document the strict levels and a general Veriexec intro in veriexec(8)
    instead of security(8).

Okay blymn@.
2008-02-18 10:37:19 +00:00
elad e99760e7e4 Fold KAUTH_REQ_PROCESS_SCHEDULER_* to KAUTH_PROCESS_SCHEDULER_*. In other
words, don't pass an action and a request, and just use a single action to
indicate what is the operation in question.

This is the first step in fixing PR/37986, which calls for policy/priority
checking in the secmodel code. Right now we're lacking room for another
parameter required to make a decision, and this change makes room for such.
2008-02-16 16:39:34 +00:00
ad bd48672369 - Clarify how this works.
- Note the locking rules.
2008-02-14 17:39:50 +00:00
ad d4c279feec - Remove pointless AUTHORS section.
- Remove implementation details.
2008-02-14 17:25:51 +00:00
skrll 49c62025b3 Fix some pastos. 2008-02-13 16:00:18 +00:00
mjf 0294141b16 Typo fix 2008-02-11 15:49:00 +00:00
dyoung e90c5683d4 Suggest #include <sys/evcnt.h> instead of <sys/device.h>, since
the former is sufficient, and the latter pulls in oodles of
unnecessary stuff.
2008-02-11 03:49:13 +00:00
ichiro f5c8edbfe7 add new device support to uhmodem driver
PR/37985 from Yojiro UO
2008-02-11 02:23:09 +00:00
elad 8f8e9e057c Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
veriexecgen(8).

Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00
elad 9db39a0c09 Link to scanned Xylogics manuals, found by chuck@.
URL: http://www.bitsavers.org/pdf/xylogics/
2008-02-04 20:59:34 +00:00
uwe f2d6229f80 Mark up PMFE_* list properly. 2008-02-03 17:18:18 +00:00
uwe b5fde352cb pmf_device_register() returns false on error. 2008-02-03 16:56:42 +00:00
xtraeme 4d24afd74c Xref wdogctl(8). 2008-02-03 06:41:39 +00:00
elad e43f626d03 Add, document, and use KAUTH_REQ_PROCESS_KTRACE_PERSISTENT. 2008-02-02 21:04:40 +00:00
elad cd23f36378 Replace a KAUTH_GENERIC_ISSUSER in the cpuctl code with a proper kauth
request.

Reviewed by ad@, tested by me.
2008-02-01 20:01:06 +00:00
jdc 608790d545 Note bugs in the HW checksum routines. 2008-02-01 11:04:06 +00:00
ad 234836feb7 Sync with reality. This is a work in progress. 2008-02-01 09:05:52 +00:00
elad fb37bad459 Use proper kauth(9) actions/requests for native scheduler stuff and the
recently introduced processor-sets.

Discussed with and okay rmind@, yamt@, and christos@.
2008-01-30 17:54:55 +00:00
ad 162c8882a2 These interfaces have been obsoleted and removed from the system.
Please see the condvar(9), mutex(9), and rwlock(9) manual pages for
     information on kernel synchronisation primitives.
2008-01-30 14:18:53 +00:00
xtraeme 6efe384afc Remove references to check_uucp in daily.conf(5) and the defaults
file... uucp was removed a while ago.
2008-01-27 05:20:24 +00:00
wiz 491885cb8a Document that cv_timedwait with a ticks argument of zero behaves like
cv_wait.
2008-01-26 14:16:27 +00:00
tls 49444bc037 Make /dev/crypto properly cloning. Leave CRIOGET in place but note that
it is deprecated, no longer required, and will be removed in a future
release of NetBSD.

Dramatically reduce the size of the session structure by removing an
IOV_MAX array of iovecs where only the first was use.  Saves an 8k
bzero on each session creation.

Convert fixed-size allocations in cryptodev.c to pools.
2008-01-26 00:04:27 +00:00
jmcneill e60a9e5d81 Note Portege 3440 support, and change working for X11 switching bug, from
Martin S. Weber on current-users.
2008-01-25 20:41:22 +00:00
tls 9675caff5e Some minor opencrypto fixes, one with a major performance impact for
OpenSSL:

1) Fix extremely misleading text in crypto.4 manual page so it does not
   appear to claim that a new cloned file descriptor is required for every
   session.

2) Fix severe performance problem (and fd leak!) in openssl cryptodev
   engine resulting from misunderstanding probably caused by said manual
   page text.

3) Check for session-ID wraparound in kernel cryptodev provider.  Also,
   start allocating sessions at 1, not 0 -- this will be necessary when
   we add ioctls for the creation of multiple sessions at once, so we
   can tell which if any creations failed.
2008-01-25 07:09:56 +00:00
ad f75e36826b Document returning parameter. Fixes PR misc/37612. 2008-01-24 23:06:10 +00:00
tnn 1b0f7f4f5a Mention vfs_subr2.c. 2008-01-24 07:11:25 +00:00
tnn 9c6c94658e vattr_null lives in vfs_subr2.c now. 2008-01-24 07:02:31 +00:00
elad 3c22fac894 Bump date. 2008-01-23 15:20:54 +00:00
elad c27d5f30b6 Tons of process scope changes.
- Add a KAUTH_PROCESS_SCHEDULER action, to handle scheduler related
    requests, and add specific requests for set/get scheduler policy and
    set/get scheduler parameters.

  - Add a KAUTH_PROCESS_KEVENT_FILTER action, to handle kevent(2) related
    requests.

  - Add a KAUTH_DEVICE_TTY_STI action to handle requests to TIOCSTI.

  - Add requests for the KAUTH_PROCESS_CANSEE action, indicating what
    process information is being looked at (entry itself, args, env,
    open files).

  - Add requests for the KAUTH_PROCESS_RLIMIT action indicating set/get.

  - Add requests for the KAUTH_PROCESS_CORENAME action indicating set/get.

  - Make bsd44 secmodel code handle the newly added rqeuests appropriately.

All of the above make it possible to issue finer-grained kauth(9) calls in
many places, removing some KAUTH_GENERIC_ISSUSER requests.

  - Remove the "CAN" from KAUTH_PROCESS_CAN{KTRACE,PROCFS,PTRACE,SIGNAL}.

Discussed with christos@ and yamt@.
2008-01-23 15:04:38 +00:00
dyoung fbc39b6d24 Briefly describe elanpex(4) and elanpar(4). Update AUTHORS section. 2008-01-21 22:00:37 +00:00
dyoung 181cb90ac3 Remove elanopt(4) cross-references. 2008-01-21 21:51:57 +00:00
ichiro 817e003a02 add full support device driver for Huawei E220 wireless modem
PR/37692 from Yojiro UO
---
uhmodem: device driver for huawei 3G wireless modem

* what it is?

A device driver for huawei 3G wireless modem, E220 and its valiations.

The devices are very simuler to ubsa device, but they need special care
to use as modem device.
This patch introduce "uhmodem (USB Huawei modem)" for the devices.
A uhmodem device has two com devices and one USB mass strage device.
The driver enable to use all of them.

* dmesg:
uhmodem0 at uhub0 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
uhmodem0: mass storage only mode, reattach to enable modem
uhmodem0: at uhub0 port 1 (addr 2) disconnected
uhmodem0 detached
uhmodem0 at uhub0 port 1 configuration 1 interface 0
uhmodem0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
ucom0 at uhmodem0 portno 0: modem
ucom1 at uhmodem0 portno 1: monitor
umass0 at uhub0 port 1 configuration 1 interface 2
umass0: HUAWEI Technologies HUAWEI Mobile, rev 1.10/0.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
cd0 at scsibus0 target 0 lun 0: <HUAWEI, Mass Storage, 2.31> cdrom removable
2008-01-21 11:36:46 +00:00
dyoung 934ea5e80a Install elanpar(4), elanpex(4) manual pages. Update distribution
set lists.
2008-01-21 08:13:55 +00:00
dyoung 88b0f67d74 Add elanpar(4) and elanpex(4) manual pages. Cross-reference from
elansc(4).  Updates to the Makefile and the distribution set lists
are coming.
2008-01-21 08:07:20 +00:00
dsl 76952d779a Describe mbr_com0 and mbr_com0_9600
Include the filenames in the descriptive table entry.
2008-01-20 15:05:15 +00:00
pooka 13e4604edb improve readdir, abortop and bmap description
PR kern/15062 by Love
2008-01-19 19:56:47 +00:00
skrll 2e64c5fc7e Typo in uai_interface_index.
PR/37792 from Yojiro UO.
2008-01-19 09:58:38 +00:00
xtraeme 2f5c51ed31 Bump date now that MATH_EMULATE has been removed. 2008-01-16 09:57:41 +00:00
ad dfe83e08ca Remove options MATH_EMULATE. 2008-01-16 09:37:04 +00:00
simonb ccab3b34ce Remove support for NetBSD/pc532. 2008-01-10 13:40:36 +00:00
xtraeme 5ff8000aa3 transferlockers() is gone. ok ad 2008-01-09 22:06:00 +00:00
xtraeme 02a6d9a9bb Mention GPIO_PIN_PULLDOWN, GPIO_PIN_INVIN and GPIO_PIN_INVOUT; from OpenBSD. 2008-01-09 16:15:41 +00:00
xtraeme b62fe25e9c <wizd> bump date! 2008-01-09 15:52:20 +00:00
xtraeme 1801f3d206 Mention gcscpcib(4), reorder entries, just mention gpioctl(8) and
not all drivers again.
2008-01-09 15:51:47 +00:00
xtraeme 8783714443 Fix up .Nm. 2008-01-09 14:56:38 +00:00
xtraeme 810aa8579e Add gcscpcib(4): a driver for the AMD CS5535 and CS5536 Companion Device
that acts as PCI-ISA bridge and supports a Timecounter, Watchdog Timer
and GPIO.

Adapted by Yojiro UO and minor tweaks by me from OpenBSD. Tested on
CS5535 and CS5536. This closes PR kern/37577.
2008-01-09 14:23:46 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
simonb 2a6f9ca0a9 Remove some old sh5 references. 2008-01-09 07:55:18 +00:00
elad 964f16c2b9 Make fork use kauth.
Been running in my tree for over a month at least.

Reviewed and okay yamt@, and special thanks to him as well as rittera@
for making this possible through fixing NDIS to not call fork1() with
l1 != curlwp.
2008-01-07 23:51:06 +00:00
jdc 20409ec3a8 Mention SX fibre card support.
Mention Sun GEM documentation.
2008-01-05 20:31:18 +00:00
apb 4ee202cfe2 If a menu line in boot.cfg has an empty description, then re-use the
command as the description.  For example,

	menu=:boot netbsd -s

now works like

	menu=boot netbsd -s:boot netbsd -s
2008-01-05 19:29:16 +00:00
mjf c4a57c66e1 Duh, it's 2008 now, not 2007. 2008-01-04 23:43:56 +00:00
mjf 3e08395424 Rephrase the explanation of when "func" is called. 2008-01-04 23:42:39 +00:00
xtraeme 1332a3c58b Typo: muliprocessor -> multiprocessor 2008-01-04 18:13:37 +00:00
xtraeme 453083d9f3 Typo 2008-01-03 21:16:53 +00:00
yamt 1f7bd3c331 note about 0 and NULL. 2008-01-03 15:59:57 +00:00
jnemeth 025a13a57f note support for the 53c1020 from Dave Huang on current-users@ 2008-01-03 01:51:58 +00:00
xtraeme 8c3f9bc015 Sync with reality, we have 85% of management stuff with native applications.
No CLI binary required to manage the Areca RAID controllers.
2008-01-02 23:50:52 +00:00
xtraeme ea4b854aaf Mention new features and sync with reality. 2008-01-02 23:49:31 +00:00
pooka b5071eca2f mtx is not an interlock here, merely convenience. 2008-01-02 16:51:32 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad 19d27a5813 -compat_hpux 2007-12-31 13:33:37 +00:00
ad 39d27b340e - Remove reference to COMPAT_HPUX.
- i386 cpu options are gone.
2007-12-31 13:30:14 +00:00
plunky aeab3db895 request and keep a mask of supported commands per unit in order
to block unsupported HCI commands sent by unprivileged users
reaching the device.
2007-12-30 18:26:42 +00:00
adrianp 5b238e83d5 Appeared in NetBSD 4 not 5 2007-12-29 16:21:16 +00:00
adrianp 142757459c Appeared in NetBSD 4 not 5 2007-12-29 16:12:29 +00:00
wiz 41fff49aa3 Document CALLOUT_MPSAFE. Bump date. 2007-12-29 09:41:10 +00:00
xtraeme 7abc984e72 Added support for the Watchdog Timer built in the IT871[268] Super I/Os.
The WDT supports any value between 1 and 65535 seconds (or minutes, but
but the driver only uses seconds).
2007-12-29 06:05:06 +00:00
pooka 844fb47f15 The leprechaun is dead, update interfaces. 2007-12-28 18:05:22 +00:00
elad d0431ebd34 Document PaX ASLR.
Also requested by xtraeme@.
2007-12-27 00:40:54 +00:00
elad cc43e61ef3 Update for PaX ASLR. 2007-12-27 00:20:11 +00:00
christos 908844df6c add PAX_ASLR 2007-12-26 22:35:33 +00:00
jmcneill dde292899e pmap_phys_address: the prototype for this asks for a paddr_t, not an int. 2007-12-25 17:03:37 +00:00
jmcneill 190527566a Move sony.4 from i386 to MD man page directory 2007-12-23 17:39:19 +00:00
xtraeme 4bb97c0a3e After comments from joerg@, backout previous and use 'cpuN'. 2007-12-21 21:36:22 +00:00
xtraeme 314d6f22a8 cpuN -> coreN 2007-12-21 01:16:30 +00:00
uebayasi bbd52a396e Use TAB in .Bd -literal. 2007-12-20 03:21:47 +00:00
rumble a2d448e894 s/prop_array_t;/prop_array_t array;/ 2007-12-17 17:52:37 +00:00
apb 802860abdb When MAKEDEV creates a memory file system, let it try mount_tmpfs(8)
before falling back to mount_mfs(8).  Also calculate required number
of inodes more accurately.

Discussed in tech-userlevel.
2007-12-15 21:33:13 +00:00
apb beae89cd6d In MAKEDEV.tmpl:
* Add a nooutput function to be used instead of redirecting to /dev/null,
  because /dev/null might not exist early in the boot sequence.  This
  should fix a bug in which the pax autodetection failed when used from
  init(8) with a read-only root file system without a /dev/null.
* Move most of the main program into a new makedev_main function,
  to allow reuse by MAKEDEV.local.

In MAKEDEV.local:
* Use the new makedev_main function defined in MAKEDEV.  This allows
  MAKEDEV.local to support all the options understood by MAKEDEV, instead
  of only a subset.  This should fix a bug in which the setup() function
  could try to use pax mode even though that was previously not supported.

In MAKEDEV.local man page:
* Update list of command line options.
* Don't explain all the options, just refer to MAKEDEV(8) man page.
* Remove BUGS section now that all MAKEDEV options are supported
  by MAKEDEV.local.
2007-12-15 17:28:09 +00:00
pavel 83ae3a0049 Note the socket(2) syscall change. 2007-12-15 16:25:46 +00:00
pavel 2c8b453fd0 Complete the list of libraries needed for 3.0 binary compatibility. From
the emulators/compat30 package, suggested by Johnny Lam.
2007-12-15 16:15:26 +00:00
pavel 474470307d Update URLs after website reorganization. patch by OKANO Takayoshi, from
PR 37070.
2007-12-14 21:15:52 +00:00
apb 4ed89c84f0 Synchronise shared text between man8/boot.8, man8/man8.i386/boot.8,
man8/man8.i386/dosboot.8, and man8/man8.i386/pxeboot.8.

* In all:
  - First few lines of each man page should be .Dd, .Os, .Dt, .Nm;
  - Use Nx; new sentence, new line; serial comma;
  - Update comments about which files to keep in sync.
* In MI boot(8):
  - add reference to architecture-specific boot(8);
  - add commented-out reference to boot.cfg(5);
  - reinstate BUGS heading that was lost when the MI boot.8 was
    created from i386 boot.8.
* In i386 boot.8:
  - mention -x and -z flags;
  - we can boot from media other than floppy, or from the network;
  - remove first paragraph in BUGS section now that an MI boot(8)
    man page exists.
* In i386 dosboot.8 and pxeboot.8:
  - mention -c, -x, and -z flags.
2007-12-14 12:03:53 +00:00
xtraeme 04f935d910 Fix pmf_device_register() prototype, this returns bool and not void. 2007-12-13 15:37:33 +00:00
yamt fa92fe776c document whatis. 2007-12-13 02:45:51 +00:00
xtraeme c10e464ab3 acpiecdt* at acpi? is required now. HI JOERG! 2007-12-12 21:12:45 +00:00
xtraeme a239f94d36 Rename battery(4) to battery_pmu(4), because at least we know that is
only specific to pmu.
2007-12-12 20:26:23 +00:00
macallan 2204867a54 add a simple battery(4) man page 2007-12-12 20:09:27 +00:00
apb d38013a8c2 Document CPUFLAGS, and note that CFLAGS shold not be set in mk.conf. 2007-12-12 19:52:02 +00:00
elad 98c50c91dd Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD. 2007-12-11 11:24:21 +00:00
jmcneill 0e8ccf6ed2 Remove trailing comma in SEE ALSO section, bump date. 2007-12-10 12:49:10 +00:00
jmcneill 75a94c407a Add power management framework man page. 2007-12-09 20:37:42 +00:00
yamt 9390360597 should -> can 2007-12-09 08:53:57 +00:00
apb 368240a3c4 regen 2007-12-09 08:46:57 +00:00
apb 6d3d3ebe02 * MAKEDEV's "-M -M" option was always intended for use only by init(8).
Improve the documentation around that.
* The "-p pax", "-m mknod", and "-s" (mtree specfile) options should
  always have been mutually exclusive.  Now enforce that.
* The "-f" option didn't ever work with pax or mtree mode; document that,
  and make it an error to try something that won't work.
* Make pax mode the default, if no other options prevent this, and if
  "pax -w -M" appears to be usable.
* Add missing options to a usage message.
2007-12-09 08:46:16 +00:00
yamt 478ca46add document LWP_CACHE_CREDS. 2007-12-09 08:31:58 +00:00
wiz 3c088505e9 Spelling. 2007-12-08 11:09:58 +00:00
wiz 64617fb7d8 New sentence, new line. Sort SEE ALSO. Use standard headers.
Replace links from iic(4) with iic(9) because the former doesn't exist.
XXX: battery(4) and smartbat(4) don't exist either.
2007-12-08 11:06:52 +00:00
ad 3aac377195 Fix pasto. 2007-12-07 14:24:21 +00:00
xtraeme 820f120b52 Add ENVSYS_DRIVE_MIGRATING for ENVSYS_DRIVE sensors, this is for RAID
volumes that are migrating such as when you change the stripe size.

While I'm here use the same string than we had in the old framework to
report status "online" vs "drive is online", because the sensor might be
a RAID volume and not just a drive.
2007-12-07 11:47:49 +00:00
xtraeme 79511422f5 Typo: indepenent -> independent 2007-12-06 10:36:37 +00:00
xtraeme 7b695de5c1 Typo: higest -> highest 2007-12-06 10:32:12 +00:00
xtraeme 9925ec4aa7 typo: futher -> further 2007-12-06 10:27:20 +00:00
ad 7d67c53f8d Minor corrections, from David P. Reese, Jr. 2007-12-05 18:12:09 +00:00
ad 383c1bbc65 Minor corrections. 2007-12-05 18:10:00 +00:00
xtraeme b831aabcdc Mention arcmsr(4). 2007-12-05 12:30:54 +00:00
ad e1b5d7773c Add links for softint_* 2007-12-05 05:52:21 +00:00
ad 96f20655cf Sync with reality and supply a large dose of hot air. 2007-12-05 05:49:59 +00:00
ad d3b027e04e Xr spl(9) 2007-12-05 05:24:28 +00:00
ad 0c655cb964 Note that rw locks can be taken from a soft interrupt handler. 2007-12-05 05:22:22 +00:00
ad 55bfbff8a0 Sort. 2007-12-05 05:20:38 +00:00
ad 6a7a863131 + mutex_spin_enter, mutex_spin_exit 2007-12-05 05:19:34 +00:00
ad 64bd285067 Sync with reality. (Apolgies for moving the goalposts slightly but it took
a long time to decide on and implement the new interrupt model.)
2007-12-05 05:17:53 +00:00
ad 851c98e8ed +splsoftbio(9) 2007-12-05 04:53:19 +00:00
ad f9ff149878 - See the spl(9) manual page for a description of interrupt priority levels.
- splbio -> splvm
2007-12-05 04:50:49 +00:00
ad 394d36de78 sys/param.h ??? 2007-12-05 04:49:26 +00:00
ad 7ff112988c IPL_BIO -> IPL_VM 2007-12-05 04:48:57 +00:00
ad be843f3b0a Sync with reality. 2007-12-05 04:47:56 +00:00
xtraeme e1d9000305 arc -> arcmsr 2007-12-05 00:22:12 +00:00
xtraeme 11b3a747bd Rename the Areca RAID driver (known as arc(4) to arcmsr(4) to avoid
namespace conflict with NetBSD/arc.

Found by tsutsui@.
2007-12-05 00:18:06 +00:00
xtraeme a7f63e6197 Add missing dot. 2007-12-04 23:12:07 +00:00
mjf d4a648c345 Implement a new magic string for magic symlinks, @ruid, which exapnds to the
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687

Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
pooka 7b59c3d4c2 Add note that this manual should not be trusted to be entirely
up-to-date.  (and don't bump date to give a hint about the vintage
of reality of the discussion in here)
2007-12-04 19:48:24 +00:00
xtraeme 8e6cf74867 Areca Technology Corporation SATA RAID controller driver, ported
from OpenBSD.

arc0 at pci2 dev 14 function 0: interrupting at ioapic0 pin 18 (irq 5)
arc0: Areca ARC-1210 Host Adapter RAID controller
arc0: 4 ports, 256MB SDRAM, firmware <V1.43 2007-4-17>
scsibus0 at arc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <Areca, ARC-1210-VOL#00, R001> disk fixed
sd0: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors
sd1 at scsibus0 target 0 lun 1: <Areca, ARC-1210-VOL#01, R001> disk fixed
sd1: 465 GB, 56514 cyl, 36 head, 480 sec, 512 bytes/sect x 976562176 sectors

bioctl(4) output with two RAID0 volumes:

Volume  Status               Size Device
 arc0 0 Online               466G ARC-1210-VOL#00 RAID0
      0 Online               234G 0:0.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:1.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
 arc0 1 Online               466G ARC-1210-VOL#01 RAID0
      0 Online               234G 0:2.0   noencl <WDC WD2500YS-01SHB1 20.06C06>
      1 Online               234G 0:3.0   noencl <WDC WD2500YS-01SHB1 20.06C06>

The driver still needs changes related to locking and talking to the
firmware, which sometimes is unable to answer...

Raid card donated by Areca Technology Corporation via Trent George.
Disks used for testing were contributed by TNF.

Thank you very much.
2007-12-04 18:47:50 +00:00
jmcneill ec441ebbd7 Document boot -x 2007-12-04 01:00:54 +00:00
wiz e270f5ec9c New sentence, new line. Use correct verb form. 2007-12-03 18:09:28 +00:00
wiz dd74b1a149 Standardize spelling. We use the full month name for .Dd. 2007-12-02 22:12:04 +00:00
wiz c8684d9bac Standardize spelling. Remove superfluous Pp. Fix typo. 2007-12-02 22:09:34 +00:00
wiz ba1fba9f16 Prepare for HTML output. 2007-12-02 21:52:30 +00:00
wiz 4998f61c09 Add comma in enumeration. 2007-12-02 21:45:59 +00:00
wiz f9f8a4cb40 Use Nx and Ap. filesystem -> file system. 2007-12-02 21:44:58 +00:00
wiz 1db713adf2 Use Fn; fix duplicate word and time problem. Use Cd for options. 2007-12-02 21:09:21 +00:00
wiz 875af49afd New sentence, new line. Spelling. Prepare for HTML output. 2007-12-02 20:03:11 +00:00
wiz 0525be680e Fix typo. Add comma in enumeration. 2007-12-02 19:59:11 +00:00
wiz f40518e2ba New sentence, new line. Use proper markup. 2007-12-02 19:54:32 +00:00
wiz 14cf4b821f Fix typo. 2007-12-02 19:44:02 +00:00
wiz 9bf8a73ed2 file system -> filesystem; fix typos. 2007-12-02 19:35:39 +00:00
wiz e5a870f3ec New sentence, new line. 2007-12-02 19:20:50 +00:00
wiz deaf5d690e Use Dq for words (Sq only for single characters). 2007-12-02 19:09:16 +00:00
wiz 1c3da1b79c mdoclint and typo fixes. 2007-12-02 19:03:16 +00:00
hannken d556dc98b0 Fscow_run(): add a flag "bool data_valid" to note still valid data.
Buffers run through copy-on-write are marked B_COWDONE.  This condition
is valid until the buffer has run through bwrite() and gets cleared from
biodone().

Welcome to 4.99.39.

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2007-12-02 13:56:15 +00:00
kiyohara 131824e0d1 Add BTUART_HCITYPE_BGB2XX and obsolate BTUART_HCITYPE_BT2000C.
Add BUGS.
2007-12-02 02:23:43 +00:00
kiyohara dd634aa497 Add BUGS.
bcsp(4) not support configuration for baud rate yet.
2007-12-02 02:09:22 +00:00
wiz 246a193933 Drop trailing whitespace. 2007-12-01 20:00:16 +00:00
wiz 666ba94997 Fix typos. 2007-12-01 19:59:05 +00:00
wiz 918afe9f06 Fix typos. New sentence, new line. 2007-12-01 19:57:08 +00:00
wiz 6a0134c241 Spelling, HTML output fix. 2007-12-01 19:46:56 +00:00
wiz b5731f8e12 Fix typos. 2007-12-01 19:43:42 +00:00
wiz 66d96f8825 Spelling. 2007-12-01 19:13:30 +00:00
wiz 09745bf05f Fix typos. 2007-12-01 18:55:12 +00:00
jmcneill b1124015e5 Bump date on previous, emo-style. 2007-12-01 18:38:23 +00:00
wiz 2a39a2219f filesystem -> file system. 2007-12-01 18:35:06 +00:00
jmcneill 90727c99e3 Document boot -z 2007-12-01 18:30:04 +00:00
ad 2135f37c64 -options I2OVERBOSE 2007-12-01 18:19:04 +00:00
xtraeme 88696b51e4 Add support for Novatel Wireless HSDPA Modem to ugensa(4), patch
from Marcin Michal Jessa... thanks.
2007-11-29 18:38:22 +00:00
plunky 736a9db087 Clean up the way that bluetooth drivers attach to the bluetooth stack,
to remove the frobbing that drivers must do in the hci_unit structure.

- driver provides a static const interface descriptor
- hci_unit is allocated by hci_attach() rather than part of softc
- statistics are compiled by driver and provided on request
- driver provides output methods and is responsible for output queue
- stack provides input methods and is responsible for input queue
- mutex is used to arbitrate device queue access
2007-11-28 20:16:11 +00:00
elad 3862950e53 Add a NOTES section to the manual, indicating that kauth(9) is still under
active development and its ABI (and possibly API) may change between
NetBSD versions.

This is critical to, for example, LKMs, where there might be a case of them
being built using one version of the ABI and used on system with another.

The main concern for "ABI" here is the set of KAUTH_* actions and requests
that is (for now) an enum. This note is likely to be removed as kauth(9)
is stablized -- hopefully before NetBSD 5.0.

okay christos@
2007-11-27 10:50:09 +00:00
pooka 8a64ceed6a "struct lwp *l" is a goner from VFS/VOP interfaces. 2007-11-26 19:11:11 +00:00
elad 41b84354cb Deprecate KAUTH_REQ_SYSTEM_TIME_BACKWARDS, as it was merged into
KAUTH_REQ_SYSTEM_TIME_SYSTEM.
2007-11-25 09:39:26 +00:00
elad abb7851f4d Refactor time modification checks and place them in the secmodel code.
okay christos@
2007-11-25 00:35:26 +00:00
elad ea96710831 Fix typo. 2007-11-23 20:09:30 +00:00
elad 18558073a1 Kill another instance of KAUTH_GENERIC_ISSUSER. 2007-11-23 16:03:47 +00:00
xtraeme b21a1771fc The sysctl node is machdep.speedstep_state not machdep.speedstep. 2007-11-23 13:06:09 +00:00
xtraeme 4be59ff990 Explain a bit more about the speedstep function. 2007-11-23 13:05:04 +00:00
xtraeme edef3a5e60 typo: piipcib -> piixpcib. 2007-11-23 11:50:08 +00:00
xtraeme 0c6aa39b4f weasel is able to attach at pci since 2001, mention that on SYNOPSYS. 2007-11-23 11:40:50 +00:00
xtraeme f3d4243d05 It's wdogctl(8) and not wdogctl(4). 2007-11-23 11:37:57 +00:00
sborrill ccf6d08a57 i386 and amd64 share a bootloader, so this should work on both.
Thanks to xtraeme@ and bouyer@ for pointing out this oversight.
2007-11-22 15:27:22 +00:00
xtraeme efb076273b kthread_create1 is no more, ok thx. 2007-11-21 23:11:06 +00:00
elad 6887492c26 Make securelevel a "secmodel" of its own.
While it's true that it's part of the traditional 4.4BSD security model,
there may come a time where a different "primary" security model used for
fine-grained privileges (ie., splitting root's responsibilities to various
privileges that can be assigned) may want to still have a securelevel
setting.

Idea from Daniel Carosone:

  http://mail-index.netbsd.org/tech-security/2006/08/25/0001.html

The location of the removed files, for reference, was:

  src/secmodel/bsd44/secmodel_bsd44_securelevel.c
  src/secmodel/bsd44/securelevel.h
2007-11-21 22:49:05 +00:00
pooka 8bd7c98c05 A very terse manual for pud(4) (it leaves almost everything as
an exercise to the reader).
2007-11-21 19:10:23 +00:00
pooka b21e075586 Short description of putter(9) 2007-11-21 18:40:58 +00:00
dsieger 1f9f59ed34 Remove extraneous .Ed 2007-11-21 14:21:31 +00:00
sborrill 3a63ee360d While boot.cfg support is currently i386 only, it is hoped that its use
will be extended to other appropriate ports in future. Note as such in the
bugs section.

This is an MI man page, so should not be flagged as i386 in the header.
2007-11-21 08:14:10 +00:00
plunky 166b860e06 allow listening to channel RFCOMM_CHANNEL_ANY, which means that
we should allocate the first available channel at the given
device address.
2007-11-20 20:25:57 +00:00
sborrill d849e6b356 Add support for /boot.cfg configuration file in x86 boot loader.
This allows easy configuration of banner text, console device and timeout
as well as allowing menus of commands to be displayed. If /boot.cfg
is not present, then the existing behaviour does not change.

The sections in the boot loader source are surrounded by #ifdef SMALL
allowing this functionality to be removed if space is at a premium.
2007-11-20 15:37:36 +00:00
xtraeme 53cbf2f68b Improve description for ENVSYS_FMONNOTSUPP. 2007-11-20 10:08:47 +00:00
xtraeme 21ba58354e Indentation fix for the units list. 2007-11-20 09:16:36 +00:00
njoly e96c994011 Small indentation fix for ENVSYS_BATTERY_CAPACITY_* description list. 2007-11-19 12:13:51 +00:00
xtraeme 8ac95dc8e2 Improve description of sme_refresh and state. 2007-11-17 23:10:00 +00:00
xtraeme 31962fc6e5 Extend the envsys2 API (one more time, sorry) as defined in:
http://mail-index.netbsd.org/tech-kern/2007/11/09/0001.html

sysmon_envsys_create() and sysmon_envsys_destroy() were added to
create/destroy sysmon_envsys objects (and its TAILQ/LIST for sensors/events).

sysmon_envsys_sensor_attach() and sysmon_envsys_sensor_detach() were
added to attach/detach sensors to a specified sysmon_envsys device.

The events framework is now per device and configurable via the
ENVSYS_SETDICTIONARY ioctl or /etc/envsys.conf and envstat(8).

Update all users and documentation to reflect these changes.
2007-11-16 08:00:11 +00:00
xtraeme d7fd24f5fe Fix typo and bump date missed in previous commits. 2007-11-15 15:34:54 +00:00
xtraeme 1ee3f0b9a4 it -> itesio 2007-11-15 13:29:48 +00:00
xtraeme b0ac365f62 Rename it(4) to itesio(4) to accomodate for the following changes:
- The driver now uses the Super I/O address port as port argument in
  the configuration file. The Environmental Controller base address is
  fetched by the Super I/O EC LDN configuration registers.

- Invalidate voltage sensors if data returned is 0xff.

- Use the Super I/O Global Configuration Registers Chip ID[12] and Device
  Revision to store/print the correct information.

- Use only the Fan Extended Tachometer registers on IT871[68]F for now;
  this gives us correct data for IT8705/IT8712F again.

Inspired by the smsc(4) driver. The UPDATING file has been updated to
reflect the rename.
2007-11-15 12:53:40 +00:00
xtraeme cf71912f31 Sync with reality. 2007-11-14 14:31:40 +00:00
jmmv 8ae40ed459 Explain how to run the tests in afterboot(8)
Modify the afterboot(8) manual page to explain how to run the tests
installed alongside the system.  This is something the user should do
after configuring it to ensure that it works and that it is stable on
his hardware.
2007-11-12 15:08:03 +00:00
jmmv 4d9b8b6a50 Add the tests.tgz set
This adds a new tests.tgz set to releases which includes all the tests
for the system.  It is important to note that this set does not rely on
comp.tgz: a user of the system can run the tests without having the
development tools installed, which can be useful in a production machine.
2007-11-12 15:06:45 +00:00
jmmv 096ebe7672 Add the libatf library
This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.
2007-11-12 14:56:24 +00:00
jmcneill 77deea4733 Add man page for pseudo-audio device driver. 2007-11-11 17:45:18 +00:00
jmcneill 7eb0882f87 Wups, bump date. 2007-11-10 20:55:33 +00:00
jmcneill 70e507c576 It's mixer_ctrl_t, not mixer_ctl_t. 2007-11-10 20:54:56 +00:00
manu 0e66fc990c tell about 88E8055 support 2007-11-09 03:54:45 +00:00
xtraeme e11006338a Add support for the VMS logical device on nsclpcsio(4) and clean up
the code. This provides 14 voltage sensors in addition to the previous
3 temperature sensors supported in the TMS logical device.

Adapted from OpenBSD, tested by dyoung.
2007-11-09 01:09:47 +00:00
yamt 8d2f958716 write a HISTORY section. 2007-11-04 22:36:18 +00:00
xtraeme b3893f8d6a Sync with latest round of changes and improve vastly sysmon_envsys(9). 2007-11-03 23:05:56 +00:00
xtraeme 2d11ff0c0c Remove "scsibus* at mfi?" from synopsis, we don't need it on NetBSD. 2007-11-02 08:59:56 +00:00
christos 2ea9efab12 sort models, and better reflect reality on the model numbers. From Anon Ymous 2007-10-30 20:56:00 +00:00
xtraeme e3b08fdabe Add coretemp(4). A new driver for Intel Core's on-die thermal sensor,
available on Intel Core or newer CPUs.

Ported from FreeBSD. Tested by rmind on i386 and joerg on amd64.

Enabled with "options INTEL_CORETEMP".
2007-10-29 00:42:28 +00:00
rjs 08f1734743 Fix typo. s/conat/const 2007-10-28 21:33:23 +00:00
christos 95a01f2aff PR/37210: Jonathan Kollasch: Add seeprom man page. 2007-10-25 17:32:23 +00:00
pooka 1d8cbeebb1 Note that CIRCLEQ_LOOP first appeared in NetBSD 4.0. 2007-10-22 15:01:18 +00:00
nisimura c1578f1153 fix an editorial error. 2007-10-19 05:11:07 +00:00
nisimura 6c83afd245 change the description reflecting recent driver modifications. 2007-10-19 04:57:48 +00:00
minskim 11b36d4969 Remove the MKUUCP entry as uucp is no longer in src. 2007-10-18 22:39:02 +00:00
garbled 11ab7e4b00 Fix a few more misc. pmppc references 2007-10-17 23:39:11 +00:00
garbled e246c3104b Change pmppc references to evbppc 2007-10-17 23:36:56 +00:00
garbled 7be2407c76 Remove the section 8 pmppc manpages 2007-10-17 23:11:34 +00:00
garbled 1d1d527ff1 Remove the man4.pmppc but move the contents over to man4.evbppc as they
still contain worthwhile information.
2007-10-17 23:10:04 +00:00
joerg 545f4d8d88 Sync callout(9) man page with bool changes. 2007-10-16 09:17:44 +00:00
xtraeme f2b7f02f51 Remove reference to unexistent cpu(4) manpage. 2007-10-15 20:32:51 +00:00
pooka 430c2395ef - uvn_attach.9
+ ubc_uiomove.9
2007-10-15 14:00:49 +00:00
pooka 72133aa8cb document ubc_uiomove() 2007-10-15 13:39:50 +00:00
plunky 11054f05ab make it clear that no deactivate call will be made if the activate returns
an error.
2007-10-14 10:10:04 +00:00
xtraeme fe47e4a5cf umidi(4) entries plus quirks for Roland UA25, UA4FX and SonicCell.
Submitted by DHOYASHIKI Shinichi via PR kern/36834.
2007-10-14 01:08:35 +00:00
xtraeme e37a405299 Remove the BUGS section, event delivery of the status has been
there for many years already.
2007-10-11 18:33:49 +00:00
xtraeme 7ade6d03ad Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html

- Introduce sme_class into the sysmon_envsys struct to specify a
  class; currently there are two classes: SME_CLASS_ACADAPTER and
  SME_CLASS_BATTERY.

- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
  all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
  any SME_CLASS_ACADAPTER connected.

- Add the 'low-power' event into the sensor_battery script that will
  shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
  not running, cpu_reboot(9) with RB_POWERDOWN is used.

- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
  SME_CLASS_BATTERY device.

Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
pooka 934299af2e * uvn_attach() is a goner
* document UBC_FAULTBUSY
2007-10-10 11:05:15 +00:00
hannken 3c258e6a15 Bump date. 2007-10-08 10:32:38 +00:00
hannken 3856acafe2 Update the file system copy-on-write handler.
- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2007-10-07 13:38:53 +00:00
xtraeme 21f9bf1683 Fix a typo. 2007-10-07 05:33:06 +00:00
xtraeme 5c2d51b913 Sync with the new configuration file format and recent changes
to the envsys framework.
2007-10-07 04:19:51 +00:00
reed 2d8c92dafd My last commit accidently added the links for some other manpages.
Remove those for now.
And commit them later at same time with distrib/sets/lists/base/mi.
Sorry!
2007-10-06 11:39:36 +00:00
reed bced21f4e8 Add sysctl.conf.5 manpage.
Thank you, wiz, for the few mandoc suggestions.
I slightly reworded part of the description and removed the
advertising clause from the version I posted to tech-userlevel.
2007-10-05 18:49:43 +00:00
alc 366f52110b Sync with code in src/sys/sys/device.h:
- remove the `submatch' argument of config_found_ia()
 - precise that config_found_ia() callis config_found_sm_loc() with both
`locs' and `submatch' set to NULL
2007-10-04 17:28:48 +00:00
alc 36bb949541 fix unbalanced double quote 2007-10-04 17:16:01 +00:00
jnemeth 65bbcf4e7b PR/37048 - Edward Swiftwood -- dbri audio component is supported 2007-10-01 23:15:13 +00:00
jnemeth f66f67f890 PR/37049 - Edward Swiftwood -- SPARC LX -> SPARCstation LX 2007-10-01 23:08:36 +00:00
kiyohara 670e4c5b6e Add bcsp(4). 2007-09-30 04:22:51 +00:00
wiz 8fe4056934 Add piixpcib(4), based on the one provided by Stephan Meisinger in
PR 37021.
2007-09-25 06:27:04 +00:00