Commit Graph

10786 Commits

Author SHA1 Message Date
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
christos 69b65d4f45 another one, from tiocsti via elad. 2007-10-13 22:55:52 +00:00
pooka be762f2f50 add HFIW and HSIW
(these acronyms contributed by Jared D. McNeill and his contributors)
2007-10-12 00:14:20 +00:00
pooka de3b90f940 add testing option -l, which causes the flush of the page cache of
the node under lookup (if found)
2007-10-11 23:03:00 +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
pooka ceb690c88e when removing file, free last block also 2007-10-11 13:50:42 +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
ad 431267f955 Add USE_JEMALLOC. 2007-10-06 00:21:44 +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
kleink 9dd53e5eed Import tzdata2007h. 2007-10-01 14:48:39 +00:00
kleink bfe5f952ac Merge tzdata2007g. 2007-09-30 11:28:26 +00:00
kleink f2a092d2c5 Import tzdata2007g. 2007-09-30 11:25:37 +00:00
kiyohara 670e4c5b6e Add bcsp(4). 2007-09-30 04:22:51 +00:00
hubertf f03f64f273 regen 2007-09-29 15:40:58 +00:00
hubertf 7b080fd18e Fix the update-domains target:
update domains.sed to parse new HTML structure, and greatly simplify
it at the same time.
2007-09-29 15:40:31 +00:00
hubertf d5f06899da First step at fixing the update-domains target:
Give the URL that's being redirected to, as ftp(1) can't parse&follow
the redirect automatically.
2007-09-29 14:24:08 +00:00
pooka 90900b0311 dtfs memsets all allocated block content to 0 immediately, so to
avoid wasting unbelievable amounts of memory, set the blocksize to
something more believable.  Should fix the memset-part to act only
up to the size the file is extended to, though.
2007-09-27 12:03:31 +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
wiz 804d4ddaaf Document aprint*_dev and aprint*_ifnet. Requested by joerg@ 2007-09-24 20:44:23 +00:00
christos e179d264f0 Add code to support whitespace checking/cleanup. This disabled by
default.  To enable it, set netbsd-knf-whitespace-check to 't'. See
the help message for this variable for related knobs and issues. This
was tested on emacs 21.4 and 22.1. (From Anon Ymous)
2007-09-24 15:38:11 +00:00
martti 762be05011 bnx supports VLANs. 2007-09-24 08:30:50 +00:00
yamt 97427fb0e4 use a correct type for UIO_*. 2007-09-23 16:00:08 +00:00
martin 0b30abee39 Improve sparc64 "mach" descriptions. 2007-09-23 13:11:32 +00:00
martin 2c30d86670 Add a few missing "mach" commands for sparc64. 2007-09-23 00:26:03 +00:00
martin 0d87a4a4cd Document options DDB_VERBOSE_HELP. 2007-09-22 19:47:51 +00:00
christos 7547d04a0a - revert previous patch; anon ymous does not like it!
- add NetBSD id.
2007-09-22 16:17:52 +00:00
christos cd990eacdf - deal with saving empty buffers
- document the knobs in whitespace.el so that people who want to preserve
  the <space><tab> in config files can.
2007-09-22 15:29:04 +00:00
plunky 713ac0bebd getopt uses : when an argument is expected 2007-09-20 18:27:17 +00:00
christos 0d73c1262a Add whitespace-cleanup when saving to "NetBSD KNF" style. From Anon Ymous 2007-09-19 23:30:08 +00:00
dyoung 594712b2ce Update documentation to match source. 2007-09-19 05:26:21 +00:00
christos 9ba5d03c10 Enable text relocation warnings. 2007-09-15 14:36:14 +00:00
xtraeme 877776516d Modify a block that wasn't valid anymore. 2007-09-14 09:20:49 +00:00
wiz 68b83c64db Fix xref, sort SEE ALSO. Add RCS Id. 2007-09-11 23:26:13 +00:00
agc bb80e7775d Generalise the tests for OBJDIR and non-OBJDIR builds 2007-09-11 23:23:51 +00:00
agc 696c18a993 Generalise the tests for objdir builds, as well as none 2007-09-11 23:23:08 +00:00
wiz 974c81fdf9 Sort sections. Sort SEE ALSO. Use HTML escapes. Remove superfluous .Pp.
Other cleanups.
2007-09-11 22:31:35 +00:00
wiz 57fffb5f82 Sort SEE ALSO. 2007-09-11 22:27:04 +00:00
xtraeme 1dac9ede4d New aps(4) driver for IBM Thinkpad Active Protection System.
Exports some sensors through the envsys(4) framework available
in some Thinkpad laptops.

Ported by Pierre Pronchery from OpenBSD, via PR port-i386/36852.

Tweaks, LKM and misc improvements by me. Added into i386/GENERIC
commented out.
2007-09-11 21:46:52 +00:00
cube c725329722 Remove 3rd clause and my name from all the licences which were only in my
name.
2007-09-10 10:35:51 +00:00
xtraeme ee73e65e69 Sync with reality. 2007-09-09 05:50:02 +00:00
pooka 059aa1fbbc fix usage. from Karl Jenkinson 2007-09-05 17:15:35 +00:00
rillig c68448a666 The layout of the website has changed. Fixed improper capitalization of
NetBSD.
2007-09-05 15:29:10 +00:00
xtraeme 12204718f1 Improve the EVENTS section. 2007-09-05 13:21:16 +00:00
xtraeme 7d70bbe22b Improve the EVENTS section. 2007-09-05 12:05:14 +00:00
xtraeme f0d0cd6d25 Explain the events that this driver will send to powerd(8). 2007-09-04 17:27:41 +00:00
xtraeme f1a8abb9c7 Xref powerd(8). 2007-09-04 17:19:51 +00:00
xtraeme b5822e79d4 Update to match current code. 2007-09-04 16:55:02 +00:00
tshiozak 260d6cea73 add manpage for uchcom(4). 2007-09-03 18:02:16 +00:00
xtraeme b7b3d8fc09 Document the "generic-state-string" object in sensor's dictionary. 2007-09-02 20:35:03 +00:00
xtraeme e5707563c8 Document the new sensor units type: ENVSYS_GSTRING and its member
in the envsys_data_t struct.
2007-09-02 20:27:03 +00:00
xtraeme 71185618cd Mention support for VIA CX700 IDE and NVIDIA MCP67 IDE/SATA Controllers. 2007-08-31 01:39:46 +00:00
xtraeme 3301f9a5e5 Improve NAME description. 2007-08-31 00:19:21 +00:00
xtraeme ae19b58541 Sync with reality, this driver supports up to ICH9 including IDE
and SATA controllers.

Bump date.
2007-08-31 00:05:44 +00:00
jnemeth dbb24a617e update for iso-image-source 2007-08-30 10:45:03 +00:00
agc a577a06f30 Modify the NetBSD emulation of the FreeBSD __DECONST macro to include
the cast as well. From Dag-Erling Co\xEFdan Sm\xF8rgrav.
2007-08-29 22:28:23 +00:00
hira 02972af57d Use /libexec/ld.elf_so instead of /usr/libexec/ld.elf_so for the
programs which are located in /libexec.
2007-08-29 21:34:17 +00:00
pooka 09a4bf893f bump date
Wrath of wizd avoided because of quick tip from Juan RP.
2007-08-29 13:57:02 +00:00
pooka 94e818b264 Add table which summarizes operations supported by each queue type.
from Stathis Kamperis in PR misc/36857
2007-08-29 13:43:18 +00:00
xtraeme 4ef83b5649 Bump date for previous (ICH9 support). 2007-08-29 09:04:04 +00:00
msaitoh 9d645794b3 add ICH9 2007-08-29 03:17:37 +00:00
agc 0920b4f20b Add a new refuse-based file system called ian - the Internet Access Node.
This utility uses FreeBSD's libfetch (updated for NetBSD, and to quieten
lint) to provide a BSD-licensed ftp/http/https file system similar to the
old alex utility. The full URL is used as the path underneath the "/ian"
mountpoint.

Sample use as follows:

	[19:09:38] agc@inspiron1300 ...examples/refuse/ian 126 > priv ian/obj/ian /ian
	[19:09:55] agc@inspiron1300 ...examples/refuse/ian 127 > cat /ian/ftp://localhost/motd
	NetBSD 4.99.27 (INSPIRON) #4: Tue Aug 7 13:04:33 BST 2007

	Welcome to NetBSD!

	This system is running a development snapshot of the NetBSD operating system,
	also known as NetBSD-current.  It is highly possible for it to contain serious
	bugs, regressions, broken features or other problems.  Please bear this in mind
	and use the system with care.

	You are encouraged to test this version as thoroughly as possible.  Should you
	encounter any problem, please report it back to the development team using the
	send-pr(1) utility (requires a working MTA).  If yours is not properly set up,
	use the web interface at: http://www.netbsd.org/support/send-pr.html

	Thank you for helping us test and improve NetBSD.

	[19:10:17] agc@inspiron1300 ...examples/refuse/ian 128 > df
	Filesystem   1K-blocks       Used      Avail %Cap Mounted on
	/dev/dk0      28101396   19491972    7204356  73% /
	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% /ian
	[19:10:21] agc@inspiron1300 ...examples/refuse/ian 129 > ls -al /ian/ftp://localhost/motd
	-rw-------  1 root  wheel  705 Aug 28 19:10 /ian/ftp://localhost/motd
	[19:10:42] agc@inspiron1300 ...examples/refuse/ian 130 > ls -al ~ftp/motd
	-rw-r--r--  1 ftp  ftp  705 Aug 27 21:33 /home/ftp/motd
	[19:10:53] agc@inspiron1300 ...examples/refuse/ian 131 >
2007-08-28 19:45:02 +00:00
agc 5a236e395c Makefile for new ian file system 2007-08-28 19:39:30 +00:00
xtraeme 8972430efc - Remove reference to unexistent sysmon_power(9). (I will work on this
manpage, but no ETA yet).
- Xref envstat(8).
2007-08-28 08:36:18 +00:00
xtraeme d4dc22f1aa The buffer returned by prop_dictionary_externalize() must be freed
by the caller, so update the example.

Also remove all refs to the envsys drivers, they all will be Xref-ed
from envstat(8) (a single source).
2007-08-28 08:22:58 +00:00
xtraeme 3ed930f279 Valid arguments for rw_enter() and rw_tryenter() are RW_READER/RW_WRITER
not RW_READ/RW_WRITE.

Bump date.
2007-08-27 15:43:13 +00:00
xtraeme b78e454756 tyop 2007-08-26 18:26:22 +00:00
xtraeme c52324299f Add a manpage for the ichlpcib(4) driver. This needs some wizd-ification. 2007-08-26 18:05:43 +00:00
jnemeth ed8e813048 add HHOS -- ha ha, only serious 2007-08-25 10:13:50 +00:00
pooka 1a9e88bd0f fix/clarify VOP_CLOSE 2007-08-24 09:57:03 +00:00
kiyohara 89ad31246c Add some devices. 2007-08-21 10:59:53 +00:00
kiyohara d080794a69 Add btuart and btbc. 2007-08-21 10:56:11 +00:00
agc b143e0b001 If we're writing to a file, make sure the version we're writing is in
the topmost directory (the writable one).  If it's not there, copy the
file to there.
2007-08-20 21:55:44 +00:00
perry 3749a6a002 "must instead be used" -> "must be used instead" 2007-08-20 16:08:55 +00:00
perry e34be9798b Never use "utilize". It means exactly the same thing as "use", but it
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.
2007-08-20 16:07:05 +00:00
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