Commit Graph

111195 Commits

Author SHA1 Message Date
jmmv
46337f6c93 Add a SYNOPSIS section with all kernel options; bump date.
Closes my own PR misc/17647.
2003-04-09 17:30:04 +00:00
jmmv
a6f4d1b666 Document the COM_HAYESP option; bump date. Closes my own PR misc/17640. 2003-04-09 17:21:48 +00:00
jmmv
737d93d096 Document the PMS_DISABLE_POWERHOOK option, and bump date.
Closes my own PR misc/17639.
2003-04-09 17:11:55 +00:00
jmmv
3634aeb3d8 ... and bump date. 2003-04-09 17:04:40 +00:00
jmmv
91f7948df4 Move description of IPSEC* related options from options(4) to ipsec(4) and
add them to the SYNOPSIS section.  Closes my own PR misc/17634.
2003-04-09 16:44:46 +00:00
thorpej
7360657293 Tweak the way the pagesize-related variables are set:
* Remove DEFAULT_PAGE_SIZE.  We don't use PAGE_SIZE the way Mach did.
* In uvm_setpagesize(), if we are called with uvmexp.pagesize == 0,
  then assert that PAGE_SIZE != 0 (i.e. a constant), and set uvmexp.pagesize
  accordingly.
* Provide defaults for MIN_PAGE_SIZE and MAX_PAGE_SIZE if not defined
  by <machine/vmparam.h>.  If PAGE_SIZE is not a constant, MIN_PAGE_SIZE
  and MAX_PAGE_SIZE must be provided.
* If MIN_PAGE_SIZE and MAX_PAGE_SIZE are not equal (i.e. PAGE_SIZE may
  not be a constant in all configurations), then ensure that PAGE_SIZE
  and friends expand to variable references for LKMs.
2003-04-09 16:34:10 +00:00
thorpej
d154229cf2 Don't define PAGE_SIZE, etc. in terms of NBPG, rather use the same
logic as used by <machine/param.h> to define constant PAGE_SIZE if
possible.

Also define the minimum and maximum PAGE_SIZE that might appear in
any given configuration (4K and 8K, respectively).
2003-04-09 16:27:06 +00:00
aymeric
a069ac021f Fix a bug where window(1) would (appear to) miss a character when two
characters are typed fast one after the other (<10 ms).
The visual effect under vi(1) was even more impressive. ;-)
This bug was actually introduced inadvertantly in 1995 in rev 1.4.
2003-04-09 16:25:10 +00:00
thorpej
efdd83f440 Move CPU configuration predicates to <machine/cpuconf.h>. 2003-04-09 16:22:33 +00:00
jdolecek
011c1952fd #if 0 some no longer used macros; keep around for refence 2003-04-09 16:18:56 +00:00
jdolecek
af5ced0d31 replace VOP__UNLOCK(), VN_LOCK(), VGET() macros with the real thing, to
imporove readability
g/c some non-NetBSD code for same reason
2003-04-09 16:18:17 +00:00
jdolecek
81d7a920df print some potentially useful stuff in ntfs_print()
replace the VOP__UNLOCK() macros with VOP_UNLOCK() directly - it just
  obfuscates the code
similarily for VN_LOCK()->vn_lock()
unlock dvp before ntvattrget call in ntfs_lookup() in '..' case, not after
fix problem in ntfs_lookup() where PDIRUNLOCK was not set in one code path
  after unlocking parent directory vnode
2003-04-09 16:12:18 +00:00
jdolecek
a0e0f99677 add real ntfs remove vnode op, which releases vnode locks on parent directory
and the file vnode before returning EOPNOTSUPP
fixes PR kern/19595 by Erik Berls
2003-04-09 16:02:18 +00:00
matt
4daebcbff5 Make the imask_t typedef a struct rather than a naked array. The attribute
on the array typedef was contaminating other u_int32_t naked arrays and
affecting their alignment.
2003-04-09 15:44:26 +00:00
yamt
65e3d14a8a rename a very confusing variable name.
(must_commit -> stalewriteverf)
2003-04-09 14:30:30 +00:00
yamt
b90af31ce6 when commit failed and fall to write, re-set 'off' and 'cnt'
because it can be changed in 'needcommit' path.
2003-04-09 14:27:58 +00:00
yamt
2cca2b5641 update a comment to follow the previous change. 2003-04-09 14:24:32 +00:00
yamt
9b96b4ab78 make per-iod datas together. 2003-04-09 14:22:33 +00:00
yamt
0dff798bde rename nm_verf to nm_writeverf because it's confusing with nm_verf{str,len}. 2003-04-09 14:21:24 +00:00
drochner
e0fb4a2b6b -in bindtextdomain(), don't crash if a NULL dirname is passed - return the
current path setting in this case (or default)
-fix return value
-don't copy a string to itself
2003-04-09 14:11:33 +00:00
itohy
3803387e1f Support UFS2 format for FFS. 2003-04-09 12:57:13 +00:00
yamt
e5655297db remove B_NEEDCOMMIT as it's no longer used. 2003-04-09 12:55:50 +00:00
fvdl
774a28f33f Correctly deal with directories that need indirect blocks by adding
some code I missed in the UFS2 commit. Should fix false positives
seen by fsck_ffs on clean filesystems.

Thanks to Takahiro Kambe for debugging help.
2003-04-09 12:49:28 +00:00
drochner
e9857b349d catch up with "struct consdev" change 2003-04-09 11:04:41 +00:00
jdolecek
f0f862a9f6 rename local macro blancmange() to SKIP_BLANKS(), to clarify what
it does and to better signal it might modify it's arguments
fixes PR bin/20546 by Peter Seebach
2003-04-09 09:30:40 +00:00
jdolecek
210e3d8b14 if the share name contains a dot, assume it's actually a server name
or server IP address - this allows 'mount_smbfs //192.168.0.1/foo /mnt'
to work as expected, i.e. being same as if -I 192.168.0.1 would be
specified too
perhaps we should resolve the IP to real NetBIOS name, but
apparently both Samba 2.2.8 and Windows XP accept the logon request
even when the NetBIOS name isn't correct

adresses PR kern/20991 by Robert Vargason
2003-04-09 09:12:38 +00:00
thorpej
4d402f3790 Fix a typo. 2003-04-09 02:34:31 +00:00
christos
e3eb9da887 regen 2003-04-09 02:10:57 +00:00
christos
81e522b516 A cardflash NE2000 from Michael Francini francini at mindspring dot com. 2003-04-09 02:09:55 +00:00
thorpej
a9caf2cae5 G/c the traceq; nothing uses it. 2003-04-09 01:55:14 +00:00
thorpej
0871fe346f Use PAGE_SIZE rather than NBPG. 2003-04-09 01:54:42 +00:00
thorpej
375bf0732b Need <uvm/uvm_extern.h>. 2003-04-09 01:35:12 +00:00
thorpej
5051d1c544 Use PAGE_SIZE rather than NBPG. 2003-04-09 00:39:38 +00:00
thorpej
24a4b8faa6 Use PAGE_SIZE rather than NBPG. 2003-04-09 00:28:28 +00:00
thorpej
cf9d21bf8e Use PAGE_SIZE rather than NBPG. 2003-04-08 23:39:14 +00:00
thorpej
04269f6445 Make PAGE_SIZE, PAGE_SHIFT, and PAGE_MASK compile time constants; we only
support 8K page models at the moment anyway.
2003-04-08 23:35:48 +00:00
thorpej
9a8042f242 Use PAGE_SIZE rather than NBPG. 2003-04-08 22:57:53 +00:00
thorpej
7a22c14e21 Don't use NBPG. 2003-04-08 22:37:52 +00:00
thorpej
106ae5d65e Use PAGE_SIZE rather than NBPG. 2003-04-08 22:33:33 +00:00
uwe
b0645fe98e Add names for v8 traps (cf page 76, table 7-1).
Fix coprocessor disabled/exception traps that were placed incorrectly:
cp_disabled == 0x24 (0t36) was placed at 0x36, ditto for cp_exception.
2003-04-08 21:56:31 +00:00
thorpej
fa014307ab Bump the max compressed kernel image size to 1.5M; 4 SCSI controller
drivers, each with a plethora of microcode, takes up a bit of space,
and this gives us a bit of breathing room.
2003-04-08 21:41:18 +00:00
thorpej
b580af4dd8 Build "root on wd0" and "root on sd0" gzboot images for ADI BRH,
IQ80310, and IQ80321.  Build "root on sd0" for TEAMASA_NPWR.
2003-04-08 21:26:59 +00:00
thorpej
1ca10d28f2 Add a gzboot for the ADI BRH board. 2003-04-08 21:24:59 +00:00
wiz
43a80c6fd2 Improve mdoc a bit. 2003-04-08 21:19:15 +00:00
wiz
94f29563af Better mdoc; add a missing 'is'. 2003-04-08 21:15:21 +00:00
jdolecek
c2704241db add a comment on SMB packet PID purpose to smb_rq_new()
adjust the commented out code to be compilable, but keep using '1' as the PID
2003-04-08 21:10:33 +00:00
wiz
0aa9f9348a Fix part of last. 2003-04-08 21:09:40 +00:00
jdolecek
1ae0467918 back to passing magic '1' as lock id in smbfs_advlock() - the number
is used to setup a 'PID' for the lock; if a SMB write request is sent
to server, it returns EDEADLK if it doesn't have same PID. since we
use '1' as request PID (see smb_rq_new()), we must use '1' here too,
for now
add a comment what is the ID used for, to avoid similar mistake in future

this partially back off rev 1.5, and makes advisory locking work
on SMB shares mounted from Windows again (sigh)
2003-04-08 21:06:33 +00:00
thorpej
9e156cf668 Add ADI_BRH_INSTALL, INTEGRATOR_INSTALL, IQ80310_INSTALL, and
IQ80321_INSTALL.
2003-04-08 21:06:08 +00:00
thorpej
4c08dfb615 Remove LINKENTRY and LOADADDRESS vars; it's all handled by the linker
script on evbarm platforms.
2003-04-08 20:50:05 +00:00