111440 Commits

Author SHA1 Message Date
christos
611ca7be61 regen 2003-04-12 08:41:20 +00:00
christos
f45b1c425d PR/8754: Andreas Wrede: Add SIIG devices 2003-04-12 08:40:48 +00:00
christos
2d2910a91a PR/21108: Christopher SEKIYA: if_wi_pci.c rev 1.21 is incorrect for PLX-9052 2003-04-12 08:17:45 +00:00
dogcow
dc650bfb56 Document ip.checkinterface 2003-04-12 07:41:12 +00:00
simonb
4dcb48921b Use "options<space><tab>". 2003-04-12 07:39:39 +00:00
yamt
043759a005 - do FILESYNC writes if we're freeing the page or the page doesn't
belong to us.  otherwise, data will be lost on server crash.
- use b_bcount instead of b_bufsize to determine
  how many pages we should deal with.

based on a patch from Chuck Silvers.
discussed on tech-kern.
2003-04-12 06:53:09 +00:00
tsutsui
8d11ba186d Add some delays between 8bit reads of DSTAT and SSTAT0 registers
as per the 53c710 manual. Pointed out by fredette in osiop_gsc.c long ago.
2003-04-12 06:42:38 +00:00
tsutsui
49c64e1d70 Fixes from OpenBSD:
- Fix index bounds checking in save data pointers logic.
- Fix an indent problem and an extra blank space.
2003-04-12 06:11:15 +00:00
christos
d1a84b8d3f kill the ASYNCMAP ones1 2003-04-12 05:01:01 +00:00
christos
c56f7f428b get rid of the ASYNCMAP ioctls 2003-04-12 05:00:38 +00:00
christos
a16e9fc559 add checkinterface 2003-04-12 04:32:54 +00:00
thorpej
9b3ce45b2a Add two new mbuf routines:
* m_apply(), which applies a function to each mbuf in chain
  starting at a specified offset, for a specified length.
* m_getptr(), which returns a pointer to the mbuf, as well as
  the offset into that mbuf, corresponding to an offset from
  the beginning of an mbuf chain.

From OpenBSD, cleaned up slightly by me.
2003-04-12 02:49:25 +00:00
tsutsui
04568b646b Link libz after libmagic otherwise it fails on NOPIC ports. 2003-04-12 02:15:22 +00:00
perry
765e98ca6e Document the -v and -z flags. 2003-04-12 01:08:28 +00:00
perry
d229e19ca4 Add an option (-z) like -v except that it clears the input/output
stats after printing them.
(Basically this just calls SIOCZIFDATA instead of SIOCGIFDATA).
Submitted by Jean-Edouard BABIN in PR bin/21078
However, he suggested using -c, and cgd (reasonably) noted that -z for
"zero" was probably more reasonable.
I've also changed the code very slightly.
2003-04-12 01:07:43 +00:00
dogcow
6045dfd329 PR/991: Darren Reed: Add a sysctl (checkinteface) to implement this. This
implementation is taken from FreeBSD, but we default to off.
XXX: We should really do this on a per ifaddr basis as jason suggested.
2003-04-12 00:17:49 +00:00
thorpej
590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
thorpej
9d788d6da1 Provide the MKPICLIB value in bsd.own.mk, rather than bsd.lib.mk. It
is sometimes necessary for non-library Makefiles to determine if _pic
libraries are being built.

Problem pointed out by Havard Eidnes.
2003-04-11 22:40:31 +00:00
nathanw
ff28c51cc0 Make cpu_getmcontext() run the PC through ras_lookup() so that kernel
getcontext() plus userlevel setcontext() (as used in libpthread) respects
the atomicity of RAS regions.
2003-04-11 22:02:28 +00:00
nathanw
23df4fb463 Use PAGE_SIZE rather than NBPG. 2003-04-11 21:20:45 +00:00
grant
680230355c improve a message 2003-04-11 19:57:06 +00:00
christos
565d9732ff PR/991: Darren Reed: Add a sysctl (checkinteface) to implement this. This
implementation is taken from FreeBSD, but we default to off.
XXX: We should really do this on a per ifaddr basis as jason suggested.
2003-04-11 19:41:37 +00:00
christos
c54d6ca813 PR/1472: David Carrel: Add option to specify the nfs port.
This was not done, I added the functionality to be able to parse
port=num in the options. While I was there, I added this for all
the other numeric options: rsize, wsize etc.
2003-04-11 17:39:09 +00:00
christos
8099c8302c add functions to retrieve option values. 2003-04-11 17:36:57 +00:00
jdolecek
350a2ec006 don't print any warning message when no config file is found 2003-04-11 17:31:58 +00:00
jdc
f943598253 Add (recently added) cpuconf.h.
Pointed out by Thomas Klausner and Christopher SEKIYA.
2003-04-11 17:21:47 +00:00
drochner
8aee2aa821 Get rid of an extremely annoying message logged with "error"
priority:
"<src address>: network <whatever>: no free leases"
on each "foreign" request if I'm just not serving for
unknown clients.
Replace it which a less misleading message at "info" priority.
2003-04-11 17:11:11 +00:00
drochner
5f4d60be7c Add an interface to the "force" option, and fix a bug where the
"readonly" flag cleared "hasgeom".
2003-04-11 16:15:28 +00:00
drochner
ea7f1bd035 Add a VNDIOF_FORCE flag which forces unconfiguration if the emulated
disk is still in use.
Not for everyday use, but we have to face eg USB flash drives being
unplugged at the wrong time, and this is a way to simulate this without
wearing out the connectors.
2003-04-11 16:11:49 +00:00
drochner
7e56069d9c IPR_VJ -> IRIP_VJ 2003-04-11 14:55:39 +00:00
drochner
93c6f5d089 Rename the IPR_VJ option into IRIP_VJ (as irip(4) told all the time),
create an opt_ header and make the dependency on slcompress.c more exact.
(OK by martin)
2003-04-11 14:45:27 +00:00
grant
b862bb2e33 bump version for last. 2003-04-11 14:16:45 +00:00
fvdl
4cdcaab92d Remove diagnostic ufs_vinit check, this isn't quite the right place for it;
it'll be reinstated elsewhere.
2003-04-11 14:13:28 +00:00
jdc
7a2abff303 Always include (new) cpuconf.h.
From Christopher SEKIYA in PR port-sparc/21093.
2003-04-11 13:55:24 +00:00
jdc
eacecff6bb Install (new) cpuconf.h.
From Christopher SEKIYA in PR port-sparc/21093.
2003-04-11 13:54:16 +00:00
lha
d0ca3274a2 update comment to match code, pointed out by Nick Hudson <skrll@netbsd.org> 2003-04-11 12:56:25 +00:00
jdolecek
96af0b754d use Xo/Xc for the //user@server/share part of synopsis, to avoid
the argument count limit
2003-04-11 12:02:09 +00:00
yamt
32c3ac4c30 'indent' is now const. 2003-04-11 11:59:28 +00:00
dsl
243bb03c7c Explicitly specify both ffsv1 and ffsv2 2003-04-11 11:36:28 +00:00
dsl
4efa73a16e Build ffsv1 and ffsv2 2003-04-11 11:31:44 +00:00
dsl
ef32565239 Add externs for ffsv1_xxx and ffsv2_xxx 2003-04-11 11:30:12 +00:00
dsl
f671893500 Files to build ffsv1 and ffsv2 versions of ufs.c 2003-04-11 11:28:54 +00:00
dsl
af3660bcdb Use common ffs/lfs file ufs.c instead of lfs specific version. 2003-04-11 11:27:06 +00:00
dsl
5a0534abeb Merge in lfs.c, use defines to build ffsv1, ffsv2, lfsv1 or lfsv2.
(removes the ability to build a single ufs.o that supports ffs v1 and v2,
that animal was too large for some of the boot code.)
Use shifts and masks to avoid pulling in 64bit divide.
2003-04-11 11:24:49 +00:00
jmmv
bd6abf4617 Mention the /usr/share/misc/acronyms.comp database. 2003-04-11 11:13:34 +00:00
jmmv
2494dcd3ba Add the share/misc/acronyms.comp file, which is a small acronyms database
containing computer-related terms; a complement for manpages.

As discussed on tech-userlevel, if wtf(6) is going to stay in the system
(and it seems so), it's worth improving it.

Closes my own PR misc/17559.
2003-04-11 11:07:15 +00:00
jmmv
85cbefaced Avoid running config on directories (i.e., config /tmp), as the error message
given is unclear.  Closes my own PR bin/18785.
2003-04-11 10:53:52 +00:00
fvdl
64f0bf8882 Adjust diagnostic check for bad mode field; only the VNON case should
matter. From Enami.
2003-04-11 10:36:33 +00:00
dsl
fbf4bd0cfe Put extern definition of bcopy in () to avoid macro expansion when
LIBSA_USE_MEMCPY is defined. Fixes breakage because the return
type of memcpy() is different to that of bcopy.
2003-04-11 10:34:38 +00:00
enami
e89481b248 Correctly detect a UFS1 file system of non-native endian. 2003-04-11 10:21:40 +00:00