Commit Graph

10504 Commits

Author SHA1 Message Date
kiyohara
10448cd503 Add support for AnyCom BlueCard. 2007-08-20 00:29:43 +00:00
tnn
6d441a221f Move spdmem.4 to the i2c section. 2007-08-19 18:58:36 +00:00
tnn
449902fc06 Add spdmem(4) driver. This decodes technical specifications stored in
the eeprom on common types of memory modules. The specifications are
displayed during boot and can later be queried in the hw.spdmemN sysctl
subtree. Stub driver written by Nicolas Joly and greatly improved upon by
Paul Goyette. From PR 36745, with additional improvements by Paul and me.
2007-08-18 11:26:35 +00:00
pooka
25a346d4fb Nuke PUFFSLOOKUP_FOO and move to NAMEI_FOO 2007-08-15 14:19:19 +00:00
pooka
37f06f1c57 sysctlfs was moved to base 2007-08-15 14:13:57 +00:00
kiyohara
44c89c7646 Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 03:53:08 +00:00
wiz
09bb3e5a2f Use .Nx. 2007-08-12 03:15:18 +00:00
rumble
29de6bc603 Add a note about PMTU lossage in some SGI firmwares. 2007-08-12 01:44:33 +00:00
pooka
a307c8e659 boolean_t -> bool sweep 2007-08-11 19:16:21 +00:00
rumble
b62e2a9bce Fix typo in dhcpd.conf example. 2007-08-11 18:58:15 +00:00
mishka
6e6d7fe39f Adjust wscons.conf documentation to its current 'setvar' behavior
(rc.d/wscons is now able to set variables for arbitrary control device).
2007-08-10 06:14:08 +00:00
pooka
ba4e596bc9 move sysctlfs from examples to base 2007-08-09 22:01:25 +00:00
pooka
5b593f2aeb require standard mount_foo bar /path usage, where bar is ignored here 2007-08-09 21:54:27 +00:00
pooka
4a7c7712c6 * require standard mount_foo bar /path usage, where bar is ignored here
* allow only root callers to modify sysctl tree
2007-08-09 21:54:16 +00:00
he
fd961c4429 Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().

Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.

Document the LOCAL_PEEREID socket option in unix(4).

Based on contribution by Arne H. Juul, minor modifications by myself.
2007-08-09 15:23:01 +00:00
pooka
f208ab1cd8 boolean_t -> bool 2007-08-08 21:36:43 +00:00
pooka
572974402c krwlock_op_t -> const krw_t 2007-08-08 09:34:40 +00:00
wiz
2d861dae37 Use more markup. Try to improve english. Sort SEE ALSO. 2007-08-07 20:50:39 +00:00
xtraeme
ea44cd3ae2 <wizd> Bump date for previous. 2007-08-07 15:00:09 +00:00
oster
761dfd3017 Talk a bit more about how the size of a RAID set is determined, and
of RF_PROTECTED_SECTORS.  Requested by (and with comments from and
thanks to) Christoph (bad@).
2007-08-06 19:44:16 +00:00
lukem
aae621fdad Support MAKEVERBOSE when installing APPDEFS. 2007-08-06 04:25:57 +00:00
pooka
c5653da5a1 install bsd.klinks.mk 2007-08-05 21:50:32 +00:00
pooka
9af4ce05d6 Split the part of bsd.kmod.mk which creates links to kernel header
directories into a separate module, bsd.klinks.mk.
2007-08-05 21:43:24 +00:00
rmind
2e1a7ade3c Sync the manual pages of workqueue(9) interface with the code.
/etc/rc.d/wizd start
2007-08-05 17:57:37 +00:00
pooka
c7d9ec16a7 VFS_MOUNT():
+ nameidata is a goner
  + document dlen (hi dsl!)
2007-07-31 21:39:56 +00:00
alc
9abba19570 kills a few `caddr_t' occurences still present in manpage 2007-07-30 22:48:46 +00:00
mjf
16b3db7a9b Fix some grammatical errors in man pages.
Patch supplied by Joerg Niendorf in PR misc/36707, thanks.
2007-07-30 18:01:41 +00:00
rumble
daacba5e07 Be more specific in the description of VOP_READDIR:
- uio->uio_offset must be set to the offset of the next directory entry.
 - each cookie entry points to the next directory entry's offset, not the
   current entry's offset.
 - cookies must be callee allocated with malloc type M_TEMP.
2007-07-30 03:25:50 +00:00
joerg
577a8c7029 Add build glue for libarchive and update the various sets. 2007-07-29 17:06:00 +00:00
pooka
833194271b update CODE REFERENCES to match new module 2007-07-29 09:40:54 +00:00
kiyohara
37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
pooka
1f1ebcb118 VOP_MMAP fflags -> prot 2007-07-27 08:31:30 +00:00
pooka
e4b63c41f0 implement node_mmap and allow to specify accepted mappings on command line 2007-07-27 08:29:10 +00:00
pooka
c1d612fca8 <machine/stdarg.h> is needed for va_lists 2007-07-26 10:00:21 +00:00
pooka
0abd6d25d4 missed a few due to the blinding effects of underlining 2007-07-26 08:43:52 +00:00
pooka
9cb446adae include variable names in synopsis 2007-07-26 08:42:17 +00:00
pooka
924961206f pool_init: wchan is const 2007-07-25 09:14:18 +00:00
jmmv
0e18937ef2 Fix my email address in a comment; the old one does not exist any more. 2007-07-24 09:19:52 +00:00
pooka
27c5f7cba3 Match code with comment (can't really remember doing it often that
way around .. ) and initialize storage to zero when extending a file.
2007-07-22 13:19:38 +00:00
pooka
a53b2cab5e missed one place to set dirent namelen - unmiss it 2007-07-22 12:26:58 +00:00
dsieger
206d59d40f Fix a glitch in previous commit:
s/mi_switch 9/mi_switch.9/

Reported by Paul Goyette.
2007-07-21 15:35:46 +00:00
dsieger
93f4326679 Remove obsolete content about cpu_switchto() from ctxsw(9) and rename
it to mi_switch(9).

Suggested by yamt@
2007-07-21 08:51:31 +00:00
pooka
87429c840c Oops, the cookies for nfs of course represent the *next* directory
entry offset, not the current one.
2007-07-19 10:14:53 +00:00
pooka
b4d2a683de -m for setting maxreqlen 2007-07-19 07:58:56 +00:00
degroote
aaae7fb8c2 Note that you need the 2.14.4 firmware now 2007-07-18 18:51:16 +00:00
dsieger
2fb0acefe7 Sync with reality:
- cpu_switch() is gone.
- Adjust function prototypes and return values
- Add references to csf(9) and sched_4bsd(9).
- Bump date.
2007-07-18 12:43:12 +00:00
yamt
916da2eb8f document kpause. largely copied from condvar.9. 2007-07-18 12:18:06 +00:00
dsieger
55e48935f0 Remove references to SCHED_LOCK(9), which is gone. Slightly sync with
reality.

XXX: This needs more updates after idle-lwp changes.
2007-07-17 20:56:22 +00:00
xtraeme
92f4397e50 Explain a bit more about edata->desc being unique in a device. 2007-07-17 17:10:58 +00:00
pooka
ce80f00ff3 With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".
2007-07-17 16:33:27 +00:00
pooka
9ee5fb2795 nuke accidental debug printf 2007-07-17 16:00:56 +00:00
pooka
0038fe558b Use "sysctlfs" as the type name instead of the mountpath.
Methinks it's nicer that way.
2007-07-17 12:03:46 +00:00
pooka
08db7d7534 * add mntfromname parameter to puffs_init()
* set it in file servers
2007-07-17 11:34:51 +00:00
xtraeme
811e1e2e60 Fix a typo: it's ENVSYS_FPERCENT not ENVSYS_FPERCENTAGE.
Bump date.
2007-07-16 17:37:10 +00:00
gdt
e39a74728c Add 29160 to list of supported devices. List it as ASC-29160 instead
of AHA- because that's what the packaging says (apparently short for
"Adaptec SCSI Card 29160", also on the packaging).  Tested on
netbsd-4/i386.

Like pavel's, mine also works at Ultra160:
ahc2 at pci1 dev 5 function 0: Adaptec 29160 Ultra160 SCSI adapter
ahc2: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
st0 at scsibus1 target 5 lun 0: <CERTANCE, ULTRIUM 2, 1914> tape removable
st0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers

Bump date.
2007-07-16 14:06:07 +00:00
wiz
680eacb522 Fix Fn abuse. New sentence, new line. End sentence with dot. 2007-07-15 21:33:12 +00:00
wiz
c01b8826d1 Fix Fn abuses. Sort SEE ALSO. End sentences with dots.
Use .Nm more.
2007-07-15 21:31:15 +00:00
wiz
32986e5aa1 No ending dot in Nd. 2007-07-15 21:19:26 +00:00
tnozaki
082ee1f077 forgot to add dec-mcs entry to mapper.dir 2007-07-15 14:44:37 +00:00
tnozaki
33793b3134 add CP922 support to iconv. 2007-07-15 14:41:18 +00:00
jnemeth
77e1eaa78e setrunqueue is no more 2007-07-15 02:57:23 +00:00
dsieger
82d31a4a20 Remove obsolete SCHED_LOCK(9), which is gone.
ok by <ad>
2007-07-14 22:09:57 +00:00
dsieger
eeeb9eddd5 Add references to sched_4bsd(9). 2007-07-14 22:02:33 +00:00
dsieger
5c52ed78e9 Move scheduler(9) to sched_4bsd(9) and sync its contents with reality. Also
add a reference to McKusick et. al., which still contains the best in-depth
description of the 4.4BSD scheduler.
2007-07-14 21:54:30 +00:00
dsieger
10dc2af304 Remove obsolete setrunqueue(9) manpage.
ok by <ad>.
2007-07-14 20:39:33 +00:00
dsieger
4f02ad43b0 Add initial manpage for the "new" scheduler API.
Note: More content will follow, to this manpage as well as the NetBSD
Internals book.

Ok by <ad>
2007-07-14 20:23:12 +00:00
xtraeme
8f6e6386cb Bump date. 2007-07-14 11:47:15 +00:00
ad
8751253925 Update mlinks for callout/kthread changes. 2007-07-14 11:39:01 +00:00
ad
8a398d3980 Sync with reality. 2007-07-14 11:34:54 +00:00
ad
58af9c20d0 Sync with reality. 2007-07-14 11:22:33 +00:00
ad
53d643b5f7 - kcont was removed.
- Replace some references to tsleep.
2007-07-14 10:52:47 +00:00
xtraeme
fb3a719044 New udav(4) device, from Julian Suschlik via current-users@. 2007-07-12 21:26:03 +00:00
dsl
ffa428bf85 Document the 'flags' parameter to kauth_cred_set/getgroups.
Fix some obvious typos in the return types and return values of these
functions.
2007-07-11 19:12:09 +00:00
kiyohara
1f48268a37 Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver. 2007-07-11 07:53:29 +00:00
degroote
7440188711 Update the man page to reference the use of a new firmware for wpi. 2007-07-09 19:59:40 +00:00
dsl
1f7faf40a2 Change the entry for ptmx to use the netbsd ptm driver.
Delete the entries for pts/nnn and add a note at the tope (next to the
ptmx info) about using ptyfs for the pts devices.
2007-07-05 19:34:36 +00:00
xtraeme
8a70d87249 Sync with reality. 2007-07-05 16:00:39 +00:00
xtraeme
c51a1c15bf Add the CODE REFERENCES section. 2007-07-04 17:35:20 +00:00
xtraeme
e719333534 Document the sysctl node to change the refresh value of the callout
function that monitors the sensors.
2007-07-03 22:47:20 +00:00
joerg
dbfc63fcce Rename nbinstall to ${MACHINE_GNU_PLATFORM}-install as it calls the
target strip. Don't pass down strip as it is not needed any longer.
2007-07-03 16:29:24 +00:00
yamt
2025659d20 update and document yield(). 2007-07-03 12:14:24 +00:00
mrg
86e49bbf53 remove the BUGS entry about >1GB ram being a problem, as it's been fixed
since early this year.
2007-07-02 20:49:48 +00:00
xtraeme
f924a08281 Forgot to update another part. 2007-07-02 20:46:55 +00:00
xtraeme
a485348536 Improve description. 2007-07-02 20:43:47 +00:00
xtraeme
ce7d148c9a Add missing comma. 2007-07-02 20:07:23 +00:00
xtraeme
bc794f88ae Explain the event that mfi(4) will send to powerd(8) when a drive
is not online.
2007-07-02 16:23:58 +00:00
xtraeme
97ca291124 Add another section explaining the events that acpitz(4) will send
to powerd(8) when a Thermal Zone is critical or hot.
2007-07-02 16:05:08 +00:00
xtraeme
2aaf4fe072 Add another section explaining the events that acpibat(4) will send
to powerd(8) when battery capacity is critical or lower < warncap/lowcap.
2007-07-02 15:59:32 +00:00
xtraeme
8454ce25b1 Xref powerd(8). 2007-07-02 15:49:50 +00:00
xtraeme
49830c79f0 Add another section explaining the events that ipmi(4) will send
to powerd(8) when state in a sensor has changed.
2007-07-02 15:48:33 +00:00
xtraeme
bdb4152ea8 Fix typo and bump date. 2007-07-02 08:44:18 +00:00
pooka
3c01554a05 dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF 2007-07-01 22:59:09 +00:00
pooka
6596e0c995 adapt: **newnode etc. pointers -> struct puffs_newinfo 2007-07-01 18:40:15 +00:00
pooka
fe7bbdec69 adapt: pid -> const struct puffs_cid * 2007-07-01 17:23:44 +00:00
pooka
1776bc7796 adapt: pcn->pcn_cred is now a pointer 2007-07-01 15:32:02 +00:00
xtraeme
08d5afa292 Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
pooka
b013a2d4f9 Include struct componentname declaration in struct namei - it's
usually the more interesting of the two anyway.
2007-06-30 18:55:19 +00:00
pooka
21a7d11f2b Fix description on what is returned locked and when.
noticed by Rumble
2007-06-28 08:02:41 +00:00
rumble
d831b3217f Fix typo. 2007-06-28 02:54:23 +00:00
xtraeme
a5ac7ff5aa Import i386/gcscide(4). A driver for the IDE Controller of the
AMD CS5535 Companion device found in the decTOP.

gcscide0 at pci0 dev 15 function 2
gcscide0: National Semiconductor/AMD CS5535 IDE Controller (rev. 0x00)

Supports Ultra DMA mode 4, Pio Mode 4 and MDMA mode 2.

"Go for it" jmcneill@.
2007-06-27 23:02:52 +00:00
degroote
dbbafa7889 Note that fast_ipsec(4) now supports IPSEC_NAT_T option 2007-06-27 21:27:35 +00:00
christos
5c67bb8390 man bits from anon ymous 2007-06-25 23:36:18 +00:00
jschauma
129a9f6a6e add FTHOI (for the {heck,hell} of it) 2007-06-25 17:25:17 +00:00
rumble
4f748f12bb Note that if vp is NULL in cache_enter, a negative entry is created. 2007-06-25 16:33:50 +00:00
rumble
436b31f333 Add va_birthtime. 2007-06-24 22:49:44 +00:00
pooka
53a4105885 Actually, keep PUFFS_KFLAG_NOCACHE and -o cache around as shorthand
to neither page- nor namecache.
2007-06-24 22:25:49 +00:00
pooka
5662e7f720 PUFFS_KFLAG_NOCACHE became two, so introduce the command line options
-o nonamecache and -o nopagecache and adapt file systems where necessary.
2007-06-24 22:18:38 +00:00
rumble
b9ff3c810f TRUE -> true, FALSE -> false. 2007-06-24 19:26:58 +00:00
pooka
3aa77bc919 Just to demonstrate namemod a bit further, make this flip the case
of filenames / contents instead of rot13 if -f is given.
2007-06-24 18:59:27 +00:00
pooka
39542808a8 cast tolower() arg to unsigned char 2007-06-24 18:57:26 +00:00
pooka
0d05db1c32 use puffs_null_setops() 2007-06-24 18:43:30 +00:00
pooka
a2b6c72725 fix this also, had a similar rototill-typo as rot13fs 2007-06-24 18:37:40 +00:00
pooka
eb83bd6c94 I wasn't going to add any more silly examples, but I'll bite for
this one, since it's a good exercise ..

Add icfs, which does the same thing as the refuse-based icfs agc
added earlier this week, i.e. null-mounts & converts the entire
namespace to lowercase.  However, it's a fun comparison, since this
is implemented in a completely different fashion from the refuse
version.
2007-06-24 18:32:00 +00:00
rumble
60f2903e7a struct dirent is padded to an 8 byte boundary according to sys/dirent.h. 2007-06-22 15:03:40 +00:00
agc
a08d769680 Initial import of icfs, a case-insensitive/retentive file system.
This file system is based on librefuse and puffs.

	The icfs(8) utility can be used to mount an existing directory on a
	new mount point.  icfs makes use of the virtdir(3) virtual directory
	routines.  Underneath those virtual directories, the individual
	directory entries will be displayed as an exact mirror of the original
	directory, except that any capital letters in the original entry's
	name will be substituted with an entry name consisting entirely of
	lower-case letters.

This is an unusual example of a refuse-based file system which provides
lesser functionality than the file system it sits on.
2007-06-21 22:05:28 +00:00
agc
5599c23a3d Record the root directory at initialisation time.
Add a function to "normalise" a path to condense multiple repeated '/'
characters into one.
2007-06-21 21:59:32 +00:00
ginsbach
8d82f5f607 Add newgrp(1) cross-reference. 2007-06-21 15:12:59 +00:00
pooka
1c4b40e1bc fix typo from previous rototill, makes this work again 2007-06-20 21:11:26 +00:00
pooka
5d2746d022 There is no p - it's the calling lwp these days. 2007-06-20 16:35:52 +00:00
christos
eeff189533 - per socket keepalive settings
- settable connection establishment timeout
2007-06-20 15:29:17 +00:00
tsutsui
d562fea75e sn(4) driver on mac68k has been switched to using MI SONIC driver,
so prepare MI sn(4) man page. Also improve some descriptions.
2007-06-20 13:31:54 +00:00
christos
f666788961 mention services_mkdb; from Thilo Jeremias 2007-06-19 19:26:10 +00:00
tnozaki
d260ecaa44 add CP116[12](Thai ISO-8859-11 variant), CP1129,CP1163(Vietnamese). 2007-06-18 16:19:30 +00:00
pooka
0031e99f45 ident is now of type wchan_t 2007-06-17 18:50:07 +00:00
jmcneill
5ceea27797 Add man page for AMD Geode LX AES Security Block driver. 2007-06-15 23:04:20 +00:00
pooka
d1e849f0c3 vprint takes a const char *label 2007-06-15 11:42:11 +00:00
hira
7b2f242c1b + I/O DATA USB-RSAQ3, I/O DATA USB-RSAQ5. 2007-06-14 14:46:09 +00:00
tnn
ede286013f net.inet.tcp.newreno is no more. 2007-06-13 20:37:07 +00:00
wiz
b2d2e8fa61 Whitespace nits. 2007-06-13 00:00:23 +00:00
joerg
5ccf1c578a Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.

This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.

Review and comments from jmcneill@
2007-06-11 13:05:46 +00:00
kiyohara
7bfb0e94c3 Add zyd(4). 2007-06-09 12:28:25 +00:00
kiyohara
bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
tron
14f772ea69 Don't use alloca(3) inside the X11 libraries if we compile with
stack protection. XFree86 can now be buildt fine with "USE_SSP=yes".
2007-06-07 11:49:17 +00:00
rillig
f1ed085bcf Explained the word "new" in the first paragraph. 2007-06-06 06:18:39 +00:00
pooka
f8326bf98e Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...
2007-06-06 01:54:59 +00:00
pooka
ae34899ec3 make getopt() actually accept -t also 2007-06-05 12:20:35 +00:00
mishka
d7d886db87 Our VLAN implementation (as it correctly expected) is not allowed
to modify the whole VLAN tags, but it is permitted to change 12-bit
VLAN identificators only. Reflect this fact on the appropriate man
pages.

Antti Kantee and Mihai Chelaru from #netbsd-code were helpful in
better understanding of VLAN stuff. Thank you!
2007-06-05 11:15:15 +00:00
jnemeth
8d9552c610 PR/36436 - Joerg Niendorf -- missing "the" 2007-06-04 11:08:36 +00:00
uwe
00fa1e6950 Stack protector codegen bug on sh3 has been fixed, so drop sh3 from
the list of platforms where we disable ssp.
2007-06-03 21:07:33 +00:00
xtraeme
34dba262f3 Mention Enhanced Speedstep related options for amd64. 2007-06-03 19:35:26 +00:00
christos
380cacfb28 we can now compile libc with _FORTIFY_SOURCE 2007-06-03 17:42:18 +00:00
tnozaki
05df4b4fef add following encoding suuport of iconvdata:
CP1046(Arabic Extended)
	CP1124(Cyrillic, Ukraine)
	CP1125(PC, Cyrillic, Ukrainian)
2007-06-02 06:09:08 +00:00
uwe
7390dfc401 Add smsc.4 (hi, brett!) 2007-06-01 18:10:00 +00:00
blymn
5113d21113 Add man page for smsc device driver. 2007-06-01 14:12:45 +00:00
jnemeth
d3eeea012e note new xirc manpage 2007-06-01 11:34:32 +00:00
jnemeth
a3c546562b xi now attaches at xirc, not pcmcia
PR/36310 -- Joerg Niendorf
2007-06-01 11:24:22 +00:00
is
f463f993c1 Manual page for the driver for SigmaTels not-quite-UIRDA bridges. 2007-06-01 09:52:01 +00:00
mrg
dd01c9b84e add "when" to the list in WTF/WTH 2007-05-31 20:03:59 +00:00
wiz
7fb92a5963 Updates for Switzerland and Liechtenstein. 2007-05-31 05:57:01 +00:00
uwe
7243a4e86c Fix inverted comparison ${MACHINE_ARCH} != "hppa" when checking for
ssp.  (hi^2 tls!)
2007-05-31 00:17:32 +00:00