Alfred Perlstein
c5e62505ad
aquire Giant when playing with the buffercache and doing IO.
...
use msleep against the vm mutex while waiting for a page IO to complete.
2001-05-23 10:28:11 +00:00
Alfred Perlstein
53240603ee
aquire vm_mutex a little bit earlier to protect a pmap call.
2001-05-23 10:26:36 +00:00
Ruslan Ermilov
2c4645034f
The following modules were renamed:
...
fdesc -> fdescfs
portal -> portalfs
umap -> umapfs
union -> unionfs
2001-05-23 10:06:48 +00:00
Ruslan Ermilov
801060df34
Name this module `umapfs'.
2001-05-23 10:02:22 +00:00
Ruslan Ermilov
99d300a1ec
- FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION file
...
systems were repo-copied from sys/miscfs to sys/fs.
- Renamed the following file systems and their modules:
fdesc -> fdescfs, portal -> portalfs, union -> unionfs.
- Renamed corresponding kernel options:
FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.
- Install header files for the above file systems.
- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
Makefiles.
2001-05-23 09:42:29 +00:00
Greg Lehey
468f05c7f7
Move objflags from vinumvar.h to vinumobj.h in preparation for
...
requiring fewer header files for userland programs.
Remove the gross debug device/non-debug device hack used to recognize
whether the kernel module was in sync with the userland module.
2001-05-23 05:27:40 +00:00
Greg Lehey
dd3dced8c4
Move objflags from vinumvar.h to vinumobj.h in preparation for
...
requiring fewer header files for userland programs.
2001-05-23 05:27:15 +00:00
Greg Lehey
4ec8f62211
Move external declaration to vinumhdr.h.
2001-05-23 05:26:40 +00:00
Greg Lehey
bc55b89e25
Set flag VF_HASDEBUG in vinum_conf to indicate that the module was
...
compiled with debug support. This can be used by userland programs to
recognize which ioctls the module supports.
As a result, remove the gross debug device/non-debug device hack used
to recognize whether the kernel module was in sync with the userland
module.
Replace explicit references to major/minor numbers of vinum
superdevice with the VINUM_SUPERDEV macro written for that purpose.
2001-05-23 05:25:45 +00:00
Greg Lehey
da50f5ed31
Remove -DVINUMDEBUG. vinum(8) now always supports debug options if
...
the kernel module is built that way.
2001-05-23 05:24:53 +00:00
Greg Lehey
66ea29917c
Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options
...
if the kernel module is built that way.
Remove the gross debug device/non-debug device hack used to recognize
whether the kernel module was in sync with the userland module.
2001-05-23 05:23:03 +00:00
Greg Lehey
b3e6c926ea
vinum_debug: Check for kernel module debug support, print error
...
message if not present.
2001-05-23 05:22:19 +00:00
Greg Lehey
ad64de5d8d
Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug options
...
if the kernel module is built that way.
vinum_info: Check for kernel module debug support, print error message
if not present.
2001-05-23 05:21:22 +00:00
Warner Losh
a8ed536b94
Add better support for the Ricoh 5C296 and 5C396 chips. These chips
...
have a slightly different 3.3V support than the other clones, so
compensate as best we can. Note: 3.3V support is untested since I do
not have any 3.3V cards that I know of to test it with.
2001-05-23 05:06:04 +00:00
Warner Losh
e0e34f291e
Add recognition for Toshiba ToPIC-100.
...
Submitted by: Shimodaira Toshio <tshimod1@ym.nsw.co.jp> in [bsd-nomads:15589]
2001-05-23 04:37:00 +00:00
Dima Dorfman
a61a2e8e90
Add a makefile for snp(4) since it can be compiled as a module now.
2001-05-22 22:56:47 +00:00
Greg Lehey
4b2ec3c529
New header file.
...
Missed by: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
David Wolfskill <david@catwhisker.org>
Pointy hat to: grog
2001-05-22 22:29:35 +00:00
Dima Dorfman
0150c6e83d
Unifdef DEV_SNP; snp(4) no longer requires these ugly hacks.
...
Silence by: -hackers, -audit
2001-05-22 22:16:18 +00:00
Dima Dorfman
47eaa5f542
Convert this driver to (ab?)use line disciplines to get the input it
...
needs instead of relying on idiosyncratic hacks in the tty subsystem.
Also add module code since this can now be compiled as a module.
Silence by: -hackers, -audit
2001-05-22 22:13:14 +00:00
Bruce Evans
1c1771cb5b
Convert npx interrupts into traps instead of vice versa. This is much
...
simpler for npx exceptions that start as traps (no assembly required...)
and works better for npx exceptions that start as interrupts (there is
no longer a problem for nested interrupts).
Submitted by: original (pre-SMPng) version by luoqi
2001-05-22 21:20:49 +00:00
Warner Losh
ed0f29caa1
Mention jakarta-tomcat issues
2001-05-22 20:41:36 +00:00
Brian Somers
a65be2273d
Don't say ``Enter pause (-1) for redialing when we're using a random interval.
...
Show the calculated random value instead.
Suggested by: Bill Richter <richterb@binkley.foothill.net>
2001-05-22 19:42:14 +00:00
Alfred Perlstein
240e0fdd93
aquire vm mutex in swp_pager_async_iodone. Don't call swp_pager_async_iodone
...
with the mutex held.
2001-05-22 19:01:26 +00:00
Andrew Gallatin
3bd404a4e2
grab the vm mtx around exec_new_vmspace()
2001-05-22 18:45:12 +00:00
Brian Somers
6ce76643aa
MALLOC -> malloc, FREE -> free
2001-05-22 18:10:57 +00:00
Hajimu UMEMOTO
8d67252492
M_COPY_PKTHDR has to be done before MCLGET.
...
Obtained from: KAME
2001-05-22 17:32:02 +00:00
Bruce A. Mah
7b9ca2bd8c
Minor markup fixup: s/username/groupname/ where appropriate.
2001-05-22 16:55:19 +00:00
Joerg Wunsch
a1d808309a
Include the Power Control page (0x1a) that is standardized by SCSI-3.
...
At least some IBM drives support the Standby Condition Timer (i. e.
they allow for an automatic spindown).
Update copyright for 2001. I don't want to insert my name for just
one mode page definition, do people think that `The FreeBSD Project'
is OK?
2001-05-22 12:37:50 +00:00
Jimmy Olgeni
d98c7cd678
Sort the package lists to make tracking changes easier. No functional changes.
2001-05-22 12:01:52 +00:00
Thomas Gellekum
539fbbccc4
Update BIOS time.
...
Submitted by: Igor Serikov <bt@turtle.pangeatech.com>
2001-05-22 11:33:38 +00:00
Thomas Gellekum
55426b7d9e
Beautify debugging output.
2001-05-22 11:33:17 +00:00
Thomas Gellekum
d0cd0e62b4
Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID.
2001-05-22 11:32:38 +00:00
Thomas Gellekum
72a9cf5eb8
Silence some debugging output when installing Borland's Turbo C.
2001-05-22 11:32:15 +00:00
Thomas Gellekum
02cefb1b5c
Fix boot order (really try A:, then C:, unless the `boot' option is
...
specified in .doscmdrc).
2001-05-22 11:31:39 +00:00
Thomas Gellekum
8784582c8a
Implement file truncation (DOS function 0x21, sub 0x40).
...
PR: 20925
Submitted by: Tatsuya Kudoh <cdr@cosmonet.org>
2001-05-22 11:31:08 +00:00
Thomas Gellekum
989884fab9
Correct typo to get DOS function 0x51 (get PSP) to work.
...
PR: 15547
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:30:22 +00:00
Thomas Gellekum
3bcc9f9ef8
DOS function 0x0a (buffered keyboard input) returned immediately.
...
PR: 15531
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:29:31 +00:00
Thomas Gellekum
ee17481fbe
Fix DOS function 4c (exit with return code).
...
PR: 15528
Submitted by: Atushi Sakauchi <sakauchi@yamame.to>
2001-05-22 11:28:28 +00:00
Ruslan Ermilov
05fe5d5620
Fix argument processing.
...
Make this compile with WARNS=2.
PR: bin/27524
MFC after: 3 days
2001-05-22 10:33:43 +00:00
Brian Somers
5f73635b93
If we don't receive a TY_IPADDR option as part of a configure request, NAK
...
as if we received one with 0.0.0.0 as the argument.
2001-05-22 09:03:30 +00:00
Ruslan Ermilov
0a13f04ebe
Hide UNION in opt_dontuse.h (see vfs_syscalls.c,v 1.109).
2001-05-22 08:32:13 +00:00
John Baldwin
86e92ee7e1
Remove duplicate include and sort includes.
2001-05-22 07:21:46 +00:00
Ruslan Ermilov
03773b9a81
mdoc(7) police: fix markup.
...
Submitted by: roam, ru
2001-05-22 07:05:39 +00:00
John Baldwin
7d4ad42de5
Sort includes.
2001-05-22 07:01:11 +00:00
Eric Melville
a37b5e8e4c
Remove an accidentaly added extra blank line.
...
Approved by: murray
2001-05-22 06:20:27 +00:00
Greg Lehey
3b0d9edc7b
Add vinumobj.h to SRCS.
2001-05-22 06:12:47 +00:00
Greg Lehey
74f5bf080b
Remove Malloc definitions (now in vinumext.h)
2001-05-22 06:08:52 +00:00
John Baldwin
12635f9c89
Unlock the VM lock at the end of munlock() instead of locking it again.
2001-05-22 06:07:36 +00:00
John Baldwin
874468957d
Sort includes from previous commit.
2001-05-22 05:35:45 +00:00
Dima Dorfman
a8dbafbe87
Correct the vm_mtx handling; specifically, don't acquire it in
...
shm_deallocate_segment because shmexit_myhook calls it, and the latter
should always be called with it already held.
Submitted by: dwmalone, dd
Approved by: alfred
2001-05-22 03:56:26 +00:00