Commit Graph

10837 Commits

Author SHA1 Message Date
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
christos
7af2df4395 add MKPIE 2007-12-28 21:35:45 +00:00
dholland
8e861287d3 Still more stuff: AST, PAE, RAS.
(I guess this is what happens when I catch up on old mail)
2007-12-28 19:27:06 +00:00
pooka
844fb47f15 The leprechaun is dead, update interfaces. 2007-12-28 18:05:22 +00:00
dholland
ca5bc82dc2 Add some more stuff:
ADB, AFS, BAR, HA, OS, RPC, TCB, LOC, KLOC, LSI, VLSI, VA, PA
ICE as in-circuit emulator
KVM as kernel virtual memory
2007-12-28 15:19:14 +00:00
dholland
1061c9e847 add ASLR, PIC, PIE 2007-12-28 14:50:40 +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
jmmv
0287baacad Make the clean target work when OBJS is set but PROG is not, as happens
for example in gnu/lib/crtstuff4.  Reported by drochner@.
2007-12-26 22:52:10 +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
wiz
4cbd5a3a50 + DRY: don't repeat yourself 2007-12-23 16:03:28 +00:00
tsutsui
f35b4c41fc Add ICE (internal compiler error), used on gcc. 2007-12-22 09:29:26 +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
pooka
4d243cfc9d use generic getattr 2007-12-19 14:01:30 +00:00
garbled
49a3869ae1 Import the config documentation from FreeBSD into the smm. Rather than
name the directory "02.config" as it historically was, name it config, so
that if we ever want to update this book for the modern age, we can move
chapters around, delete them, etc, without mass confusion.
2007-12-18 03:35:51 +00:00
rumble
a2d448e894 s/prop_array_t;/prop_array_t array;/ 2007-12-17 17:52:37 +00:00
joerg
60a3119281 Alias UTF-8 to utf8 for symmetry with latin1. 2007-12-17 14:06:57 +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
apb
241ba90c52 Add doc2html support for Bro/Brc/Brq. 2007-12-15 14:57:39 +00:00
apb
d38a66619d Fix the definition of .Fl. Now this construct works:
.Ic boot Fl c .

Previously, the space between "boot" and "-c" was missing from the
HTML output.
2007-12-15 14:48:40 +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
lukem
e226e0f887 It's "its" for possessive, not "it's". 2007-12-11 14:06:04 +00:00
elad
98c50c91dd Add TAILQ_CONCAT() and STAILQ_CONCAT(), from FreeBSD. 2007-12-11 11:24:21 +00:00
agc
755a2e55e0 Move to a resizable dynamic array for the targets that the initiator
can find.

If the initiator discovers too many targets for it to handle
(currently more than 16), then truncate to the maximum with a loud
warning message, rather than aborting.

In practice, this means that multiple targets can now be used with the
NetBSD iSCSI initiator.

% ls -laR /mnt/inspiron1300.wherever.co.uk/
total 192
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 .
drwxr-xr-x  2 root  wheel    0 Jan  1  1970 ..
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target0
drwxr-xr-x  2 agc   agc    512 Dec 11 08:53 target1

/mnt/inspiron1300.wherever.co.uk/target0:
total 576
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc        512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc         44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc          9 Dec 11 08:53 ip -> 10.4.0.42
lrw-r--r--  1 agc  agc         16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  104857600 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc         43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r--  1 agc  agc          8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc          4 Dec 11 08:53 version -> 0

/mnt/inspiron1300.wherever.co.uk/target1:
total 576
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 .
drwxr-xr-x  2 agc  agc       512 Dec 11 08:53 ..
lrw-r--r--  1 agc  agc        44 Dec 11 08:53 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc         0 Dec 11 08:53 ip ->
lrw-r--r--  1 agc  agc        16 Dec 11 08:53 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  52428800 Dec 11 08:53 storage
lrw-r--r--  1 agc  agc        43 Dec 11 08:53 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target1
lrw-r--r--  1 agc  agc         8 Dec 11 08:53 vendor -> NetBSD
lrw-r--r--  1 agc  agc         4 Dec 11 08:53 version -> 0
%
2007-12-11 09:07:36 +00:00
reed
cc3ab0502a Add MFC. A FreeBSD-ism that is often used outside of FreeBSD. 2007-12-10 16:14:53 +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
oster
0fa5922403 Add a '-D' option to allow "Discovery" of the targets provided by a host.
Initial support for multiple targets from the same host.

Base 'MaxTargets' on a #define, rather than hard-coding.

Reviewed by: agc
2007-12-04 16:22:38 +00:00
jmcneill
ec441ebbd7 Document boot -x 2007-12-04 01:00:54 +00:00
riz
46e81bb02d Add SCTP and a second definition of STP. 2007-12-03 18:45:06 +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
0d78c993a2 Use more markup. Fix xrefs. Use standard headers. 2007-12-02 19:31:46 +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
pooka
21913eabe5 Rototill.
Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?).  Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it.  This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.
2007-11-30 19:02:28 +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
mjf
036409b859 Commit Caldera licensed documentation from 4.4BSD. This was taken from the
OpenBSD tree.

No objections on netbsd-docs.
2007-11-29 12:35:04 +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
pooka
efe797dc32 * version the registration interface
* destroy all created locks
2007-11-28 16:59:02 +00:00
pooka
6a3d9a187d Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces.  puffs_cc_getcaller(pcc) can be
used now should the same information be desired.
2007-11-27 11:31:17 +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
uebayasi
22274752ee s, , , 2007-11-23 16:37:47 +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
pooka
a4b032e2c8 quick & dirty support & tests for ioctl 2007-11-22 11:28:48 +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
pooka
cf9f5c8530 Register a block device and support read/write to it. 2007-11-21 18:11:17 +00:00
jmmv
1a8b914c59 No need to set a value for TESTSDIR any more as this is explicitly set
wherever it is needed.
2007-11-21 15:40:09 +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
pooka
378e2f0d3e Add a very simple intro-level example on how to use pud. 2007-11-20 18:58:17 +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
sborrill
3cdec1aaba Add IYSWIM 2007-11-20 12:26:12 +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
agc
8b0e0ddc0d The iSCSI target returns the 0-based Max LBA in the READ_CAPACITY command,
and we need to add 1 to it to get the size of the LUN.

Revert Max LBA calculation when returning the Maximum LBA from the target
to the iinitiator, following an email conversation with Jonathan Kollasch,
who points out a number of things:

+ the NetBSD scsipi driver reads the value returned by the drive and adds
one to it, so that standard SCSI drives return the 0-based Max LBA in a
READ CAPACITY command.

+ it is up to the initiator to add 1 to the Max LBA to find out the size
of the LUN (Jonathan verified this by using the UNH iSCSI initiator on
to a NetBSD target)

+ an analogous change to the NetBSD target (revision 1.34 of
disk.c) is needed.
2007-11-18 23:52:13 +00:00
agc
3d98641f85 Fix from Jonathan Kollasch - avoid an intermediate 32-bit value in the
calculation of the size of the storage file.

Remove some dead code.
2007-11-17 23:35:28 +00:00
xtraeme
8ac95dc8e2 Improve description of sme_refresh and state. 2007-11-17 23:10:00 +00:00
pooka
4462e9454f use puffs_daemon() instead of daemon() 2007-11-16 18:39:01 +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
wiz
45ff3b5240 Revert 1.8: .tr does not want HTML-escaped characters.
While here, remove trailing whitespace.
2007-11-14 22:54:38 +00:00
xtraeme
cf71912f31 Sync with reality. 2007-11-14 14:31:40 +00:00
jmmv
ac0bd149f2 Fix typo that prevented MKDEBUG builds to work. Found by drochner@. 2007-11-13 13:57:53 +00:00
jmmv
416efab2e1 Fix release build that was broken due to the lack of a clean target.
Noted by ad@.  I didn't see this myself because I always build with
UPDATE set, so no cleaning is done.
2007-11-12 20:13:21 +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
dd2f8250cc Add the bsd.test.mk file
This file simplifies the build of test programs, either written in C++
or in sh.  It hides the internals of atf, e.g. by silently linking
against -latf or calling atf-compile.

It also takes care of installing an Atffile for each new test directory.
2007-11-12 15:05:15 +00:00
jmmv
12408017c4 Add the ability to build multiple programs from a single directory
This adds support for a new set of variables, PROGS and PROGS_CXX, that
allow the developer to build multiple different programs from a single
source directory.
2007-11-12 15:04:35 +00:00
jmmv
dc55116c56 Add the ATF documentation
This change adds the ATF manual pages that are not tied to any specific
tool nor library.  It also adds some distribution documentation to the
system, as this is linked to by the manual pages (plus we have to install
the license text to comply with its terms).
2007-11-12 15:04:02 +00:00
jmmv
78bb0388d3 Add the ATF data files
This change adds example files shipped with ATF as well as other data files
required to support some of its features.
2007-11-12 15:01:50 +00:00
jmmv
fa5c7fcfae Add the atf shell subroutines
This adds the atf shell subroutines: i.e. the code that implements test
programs and is shared among all of them to avoid duplication.
2007-11-12 14:57:34 +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
jmmv
2965cbca98 Add the atf host tools
This adds reachover Makefiles to build the atf tools required during a
cross-build.
2007-11-12 14:54:43 +00:00
jmcneill
77deea4733 Add man page for pseudo-audio device driver. 2007-11-11 17:45:18 +00:00
agc
f2e9f627b5 Only use the bottom 20bits for an inode number to prevent the inode number creeping out of range for fts 2007-11-11 09:31:31 +00:00
agc
762d3dee18 Use the new virtual inode number, which is calculated at directory entry
insertion time, to prevent fts thinking that we have directory cycles.
2007-11-11 09:25:37 +00:00
agc
8abe1b3c75 Include a (random) inode number in the virtual directory information that
is held. Return this as part of the virtual entry information.

Prevents problems with fts code thinking that some directories create
a cycle.
2007-11-11 09:23:29 +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
agc
43385f0ea1 Initial import of a working iSCSI initiator, which uses reFUSE and
libpuffs.

With a round of applause to Antti Kantee for helping out with puffs
debugging, and a huge thank you to Greg Oster, who has fixed numerous
bugs over the last week (unfortunately, the bugs are all mine), and
provided enthusiasm and drive.

Right now, the initiator is fulling working for only a single target,
and should be considered to be in a state of flux.  Having said that,
Greg completed a run of build.sh with the storage on the iSCSI target,
and found times to be within 0.5% of direct attached storage.  Cache
effects apply.

The initiator should be portable to everything that uses the FUSE
interface. That's right - a portable iSCSI initiator.

Storage (LUNs exported by the target) is, at the present time,
presented as a regular file called "storage". This will likely
change in the future.

% priv obj/iscsifs -u agc inspiron1300 /mnt &
[1] 13158
inspiron1300.wherever.co.uk: 10.4.0.42:3260,1 iqn.1994-04.org.netbsd.iscsi-target:target0
inspiron1300.wherever.co.uk: 10.4.0.42:3260,1 iqn.1994-04.org.netbsd.iscsi-target:target1

% ls -al /mnt/inspiron1300.wherever.co.uk/target0/
total 576
drwxr-xr-x  2 agc  agc        512 Nov  8 21:07 .
drwxr-xr-x  2 agc  agc        512 Nov  8 21:07 ..
lrw-r--r--  1 agc  agc         44 Nov  8 21:07 hostname -> inspiron1300.wherever.co.uk
lrw-r--r--  1 agc  agc          9 Nov  8 21:07 ip -> 10.4.0.42
lrw-r--r--  1 agc  agc         16 Nov  8 21:07 product -> NetBSD iSCSI
-rw-r--r--  1 agc  agc  104857088 Nov  8 21:07 storage
lrw-r--r--  1 agc  agc         43 Nov  8 21:07 targetname -> iqn.1994-04.org.netbsd.iscsi-target:target0
lrw-r--r--  1 agc  agc          8 Nov  8 21:07 vendor -> NetBSD
lrw-r--r--  1 agc  agc          4 Nov  8 21:07 version -> 0

FFS needs a block device, and so vnconfig can be used to sit on top of
the regular file.

% mount -vv | grep iscsifs
/dev/puffs on /mnt type puffs|refuse:iscsifs (nosuid, nodev, fsid: 0xcb04/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
% priv vnconfig vnd0 /mnt/inspiron1300.wherever.co.uk/target0/storage
% priv mount /dev/vnd0a /iscsi
% df
Filesystem   1K-blocks       Used      Avail %Cap Mounted on
/dev/dk0      28101396   21491182    5205146  80% /
kernfs               1          1          0 100% /kern
procfs               4          4          0 100% /proc
ptyfs                1          1          0 100% /dev/pts
/dev/puffs           0          0          0 100% /mnt
/dev/vnd0a       99214       8209      86045   8% /iscsi
% mount -vv | grep iscsi
/dev/puffs on /mnt type puffs|refuse:iscsifs (nosuid, nodev, fsid: 0xcb04/0x6acb, reads: sync 0 async 0, writes: sync 0 async 0)
/dev/vnd0a on /iscsi type ffs (local, fsid: 0xe00/0x78b, reads: sync 1 async 0, writes: sync 2 async 0)
2007-11-08 23:12:03 +00:00
drochner
2a6ead9f9c also install zone.tab and iso3166.tab from tzdata, some applications
(evolution, KDE) want the former at least, and other OSes install it
(as the Makefile in tzcode suggests)
2007-11-08 20:14:07 +00:00
uwe
a49ad7c9c4 PR 34995 is wrong about 'xn' - wsvt25 entry does need it, so bring it back.
Fixes display weirdness easily reproducible with emacs.
2007-11-07 22:40:32 +00:00
pooka
ec865a5b29 Actually, daemonize the file servers before mounting. I might require
at some point that the local protocol handler does not change after
the file system has been mounted.
2007-11-05 17:54:31 +00:00
pooka
4b0f2948e2 Pull the daemonizing code out of the library mainloop into the file
servers.  Calling daemon() (i.e. fork()ing) inside a library can
cause nice surprises for e.g. threaded programs.  As discussed with
Greg Oster & others.
2007-11-05 17:48:17 +00:00
tls
b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +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
e78213b924 Sync with FreeBSD 1.116, this adds information about FreeBSD 1.0.2,
DragonFlyBSD 1.10.0 and OpenBSD 4.2.
2007-11-03 05:24:05 +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
bb8c674435 add RSVP. from Jim Wyllie on tech-userlevel and Denis Lagno
in PR misc/37194
2007-10-24 09:38:40 +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
billc
be65260f34 Populated a few popular ones. 2007-10-17 07:22:14 +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