Commit Graph

10595 Commits

Author SHA1 Message Date
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