Commit Graph

88391 Commits

Author SHA1 Message Date
jake
204303829b Better fix for previous previous which still allows the 4megs of kva at
the top of the address space to be reclaimed.  The problem is that with
the APTD gone the mapable kernel address space runs right to the end of
the 32 bit address space.  As a max this is 0x100000000, which can't be
represented in 32 bits, so we have to use ptd entry n-1 and pte offset
n-1, instead of ptd entry n and pte offset 0.  There's still 1 page we
can't use, but we gain just under 4 megs of kva (8 megs with PAE).

Sponsored by:	DARPA, Network Associates Laboratories
2003-04-07 14:27:19 +00:00
mdodd
0dc33fa103 Clarify the behavior of PATH_FSTAB with regard to 'tainted' execution.
Requested by:	 ru
2003-04-07 14:21:14 +00:00
sos
a014051b02 Minor cleanup of the ATA RAID code. 2003-04-07 14:14:29 +00:00
sos
d6ec3d03e8 Third round of updates to the ATA driver.
More DMA cleanups, including fix for breakage on older Promise controllers.

Add more ways of getting to the ATA registers.
2003-04-07 14:12:12 +00:00
fjoe
a0a3e94922 RFC1548, section 5.8:
Echo-Request and Echo-Reply packets may only be sent in the LCP
Opened state.  Echo-Request and Echo-Reply packets received in any
state other than the LCP Opened state SHOULD be silently discarded.

PR:		45760
Submitted by:	Eugene Grosbein
MFC after:	2 weeks
2003-04-07 13:34:00 +00:00
mdodd
3b255b5f8c Implement the '-F' option for mount & umount which allows the user to
specify an alternate fstab file.
2003-04-07 12:56:01 +00:00
mdodd
7c43f96140 - Add setfstab() and getfstab().
- Use the environment variable 'PATH_FSTAB' if set rather than the
  hardcoded '/etc/fstab' (fstab.h:_PATH_FSTAB)
2003-04-07 12:55:00 +00:00
mdodd
86b0c078f7 Use the correct data type and qualifier for signal flag. 2003-04-07 12:09:17 +00:00
mdodd
ca2109254b Deal with a case where the returned packed was smaller than the
transmitted packet (because the remote host stripped off our icmp_data).

Submitted by:	 Maxim Konovalov <maxim@macomnet.ru>
2003-04-07 12:05:50 +00:00
mdodd
a2c3562ee8 Quiet warning. 2003-04-07 11:44:48 +00:00
murray
f0a2206dbc Note that kern.securelevel must be set to '-1' to build a release
successfully.

PR:		docs/42339
MFC after:	3 days
2003-04-07 11:40:25 +00:00
mdodd
02e573828b Avoid a name conflict with future functionality:
getfstab() -> dump_getfstab()
2003-04-07 11:34:12 +00:00
murray
16a93d5f11 Correctly use .Bd macro. 2003-04-07 11:28:35 +00:00
murray
ee2d32bb63 Note that Sitecom CN-300 MultiFlash works with FreeBSD and provide
example of utilizing multiple slots on a multi-slot card reader.

PR:		docs/49036
Submitted by:	Scott Mitchell <scott+freebsd@fishballoon.org>
MFC after:	3 days
2003-04-07 11:26:54 +00:00
murray
cd2eac5723 Add a note about MAKEDEV / devfs.
PR:		docs/48038
2003-04-07 11:20:24 +00:00
murray
0bf17977d8 Update wording about future 4.X releases now that 4.8 is out the door. 2003-04-07 11:15:14 +00:00
mdodd
7e2b8444e0 Add a SIGINFO handler. 2003-04-07 11:00:56 +00:00
murray
f8221d23db Document a workaround for the problem of infrastructure changes in the
doc/ tree that can cause release builds on the security branches to
break.

PR:		docs/35620
MFC after:	3 days
2003-04-07 10:50:00 +00:00
murray
9cbd3070ae Add ID for Kawasaki LSI Inc. USB-Ethernet, rev 1.00/2.02 adapter.
PR:		kern/50064
Submitted by:	Scott Renfro <scott@renfro.org>
MFC after:	3 days
2003-04-07 10:26:59 +00:00
maxim
9b881ef3fc Free login_cap(3) resources after usage.
Submitted by:	demon
2003-04-07 10:16:37 +00:00
mdodd
d3c5efd512 - Add PCI support (Adaptec AHA-2920/A,Future Domain TMC-18XX/3260).
- Reduce duplicated code.

PR:             50427
Submitted by:   Bob Bishop <rb@gid.co.uk>
2003-04-07 10:13:25 +00:00
murray
e37a3b039d Fix typo.
PR:		kern/50504
Submitted by:	Alex Semenyaka <alexs@snark.ratmir.ru>
MFC after:	3 days
2003-04-07 10:06:48 +00:00
murray
d56efcb743 Correct typos.
PR:		kern/50619
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
MFC after:	3 days
2003-04-07 09:42:45 +00:00
mckay
202eebfa32 Remove the maximum patch size limit. It was intended as a check against
applying corrupt deltas, but has never (to my knowledge) caught any sort
of corruption, but instead has caused failures on correct deltas several
times.  I don't see any way to make the check useful, so it's gone.

Submitted by:	Stephen Montgomery-Smith <stephen@math.missouri.edu>
PR:		50461
MFC after:	7 days
2003-04-07 08:09:53 +00:00
maxim
b4fd6eb111 o Add em(4) to a list of supported devices.
MFC after:	1 week
2003-04-07 07:21:49 +00:00
tjr
7714c81b08 Catch up with recent vfprintf.c changes. 2003-04-07 06:36:49 +00:00
rwatson
160e84fba3 s/obsoelte/obsolete/ 2003-04-07 04:42:37 +00:00
ache
c0bef0ac8a __wcsconv(): free(convbuf) before returning NULL 2003-04-07 03:17:39 +00:00
mdodd
cfb316d8d0 Retire these files. 2003-04-07 01:25:40 +00:00
das
cd640e57f7 Today just isn't my day. Remove some old commented out code that snuck
into the last commit.

Noticed by:	mike
2003-04-07 01:07:48 +00:00
mdodd
c60d47e32f MF NetBSD:
- Reduce diffs with NetBSD.
  - Formatting and explicit values for enum declaration.
  - Order of prototypes.
  - zero report_size in hid_clear_local()
  - errx() needs no newline
  - Don't initialie variable in declaration in hid_parse_usage_in_page().
- Use fmtcheck() in hid_usage_in_page().
2003-04-07 00:49:53 +00:00
das
baf74df098 Additional regression tests for grouping, parsing of '.*', and printing
of %f formats where the number of significant digits is < expt.
2003-04-07 00:42:49 +00:00
das
0a3b47a120 - %e conversions with precision 0 should not cause a decimal point to
be printed.
- Fix %f conversions where the number of significant digits is < expt.
  This would be a one-line change were it not for thousands separators.
  Noticed by tjr.
- Remove some unnecessary code in the parsing of precision specifiers.
2003-04-07 00:42:19 +00:00
ru
1625724056 Put back the undocumented change from rev. 1.334 too: no
need to create ${WORLDTMP}/legacy/usr/include explicitly.
2003-04-07 00:01:33 +00:00
imp
fb3369e9a3 Put back parts of 1.335 and 1.336 that 1.337 accidentally backed out.
Submitted by: ru
2003-04-06 23:46:02 +00:00
mux
4744a04dfb Move a bus_dmamap_sync() to the correct place. 2003-04-06 23:16:00 +00:00
mux
f11ab00778 Because alpha can't access memory in 16-bit granularity,
we're using an atomic operation to clear the suspend flag
in fxp_start().  Since other architectures may need the
same thing, we want to do it all the time and not only
in the __alpha__ case.  However, we don't want to use
atomic operations on 16-bit integers, because those may
not be available on any architecture.  We're thus faking
a 32-bit atomic operation here.  This patch also deals
with endianness here.
2003-04-06 23:09:57 +00:00
alc
32862f82ea Sufficient access checks are performed by vmapbuf() that calling useracc()
is pointless.  Remove the calls to useracc().
2003-04-06 22:21:03 +00:00
imp
a3dc544bfe -legacy and /.../legacy/... looks better than build or bootstrap in
the logs, so use that instead.

Submitted by: obrien.
2003-04-06 21:46:44 +00:00
ru
2dcfa9709b Always remove ${WORLDTMP}/build/usr/include, even in the NOCLEAN
case.  This way, we won't have stale compatibility headers there.
2003-04-06 21:39:20 +00:00
mux
669d8d48a3 Revert the s/u_int/u_int8_t/ changes, we can't really use other
integer types than int with bit-fields in a portable way.

Prodded by:	bde
2003-04-06 21:35:45 +00:00
ru
1e90af9113 Moved libbuild target to where it belongs. Added a comment. 2003-04-06 21:33:49 +00:00
marcel
6246b15b31 Remove the 32KB VHPT section from the kernel image. We don't really
use it because we allocate a VHPT based on the size of the physical
memory and even if the allocated VHPT is 32KB, we don't use the in-
image section for it. Since the VHPT must be naturally aligned, we
save 48K on average (due to alignment).
Consequently, we start off with the VHPT disabled (it is assumed
the VHPT is disabled because the EFI loader runs without memory
address translation and thus has no need to setup the VHPT). It's
probably a good idea to explicitly disable the VHPT if we make the
use of the VHPT optional.
2003-04-06 21:31:26 +00:00
ru
37af09e8c1 Fixed buildworld stages names in comments. 2003-04-06 21:23:02 +00:00
imp
4195d393b5 Improve, and slightly soften, the deprecated flags. Call them deprecated
and not obsolete, but add a warning about their disappearance.

Add additional notes that explain the lameness of WEP.
2003-04-06 19:27:49 +00:00
alc
ac3de07d6f Sufficient access checks are performed by vmapbuf() that calling useracc()
is pointless.  Remove the call to useracc().

Don't reinitialize fields that are already initialized by getpbuf().

Reviewed by:	tegge
2003-04-06 19:26:30 +00:00
imp
8f3a17f085 o Tone down the obsolete messages since we actually do something, for
the moment, with the deprecated flags.
o Better error reporting on getting values from the driver.  When we can't
  get one for the default dumpinfo output.  The old driver would succeed
  for invalid RIDs, while the new driver reports errors.  Since the info
  we're getting from the card/driver doesn't exist for all cards, we just
  don't report them.  Improve error reporting elsewhere now that wi_getval
  doesn't exit.  Also fix a file descriptor leak as a side effect.

Reported by: scottl
2003-04-06 19:11:33 +00:00
des
ded2890bee Initialize the PIIX timecounter in piix_attach(), which is called only
once, instead of doing it in piix_probe(), which is called every time
the PCI bus is rescanned.
2003-04-06 18:42:22 +00:00
jake
266ce26ed1 Remove a largely useless statistic (its kept elsewhere too). 2003-04-06 18:18:17 +00:00
jake
2309ee0abd Make the pmap stats writeable. It can be useful to clear them. 2003-04-06 18:17:31 +00:00