Commit Graph

111256 Commits

Author SHA1 Message Date
tsutsui dcc0f5a63d Fix typo in printf message. 2003-04-13 04:07:34 +00:00
explorer a09cd2fd46 typo, s/TX4/TX2/ 2003-04-13 01:53:00 +00:00
wiz 1ed976874c Remove trailing space. 2003-04-13 01:45:06 +00:00
christos 0585b39b51 PR/3495: Koji Imada: amd timeout for ffs. 2003-04-12 21:57:16 +00:00
oster 483ec40279 Briefly describe how to enable a number of the optional RAID types.
Remove wording which suggests that SCSI IDs need to be hard-coded --
this hasn't been a requirement since auto-configure.
2003-04-12 21:20:04 +00:00
zuntum 1a2ec1a713 add missing parenthesis 2003-04-12 16:39:19 +00:00
yamt dcf4c9093f fix a typo in the previous. 2003-04-12 14:41:28 +00:00
yamt 1505b097fa set b_resid correctly. 2003-04-12 14:38:57 +00:00
yamt f8b7159909 unbusy a page after put it on the queue.
fix a panic with UVM_PAGE_TRKOWN when doing swapoff.
2003-04-12 14:36:43 +00:00
yamt 9ad479d8c2 split nfs_doio to nfs_doio_{phys,read,write} to avoid too deep indents. 2003-04-12 14:26:58 +00:00
he e12cae5ab1 Track the bump of libutil minor (hi, Christos!). 2003-04-12 13:41:06 +00:00
explorer 38fd615cff add an older pci id for SATA150TX2PLUS, too 2003-04-12 10:41:04 +00:00
fvdl ba400f9233 Don't cache buffers used when finding the superblock, it can lead to
seeing bogus data for the first cg with certain block/frag sizes.
From enami tsugutomo.
2003-04-12 10:35:58 +00:00
fvdl 9e0b0abaa7 Use variables for some cg accesses; makes things more readable and more
similar to FreeBSD. No functional change.
2003-04-12 10:33:17 +00:00
christos efc2b2a122 PR/9513: Graywolf: ypmatch fails on mail.aliases, mail.byaddr from Solaris 2003-04-12 09:13:28 +00:00
christos 4a09954028 PR/9286: Steven Grunza: Win98 warm boot puts 3c905B in state D3 and causes
ex driver failure
2003-04-12 09:03:25 +00:00
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