Commit Graph

93684 Commits

Author SHA1 Message Date
jdolecek
e44bd33760 version[] 5.0-nb1 --> 5.0nb1, as other archs use 2002-03-06 19:17:09 +00:00
frueauf
089f361f5b Make this work after it got broken a year ago in r1.15 (pasto?):
In qeattach() sc->sc_rb.rb_dmabase needs to be set after the buffer got
loaded via bus_dmamem_map(), not before.

Fixes my own pr kern/15817.
2002-03-06 19:10:58 +00:00
jmcneill
9481b68d9a Fix another typo that I missed last time (foo -> ESA_foo) 2002-03-06 18:30:31 +00:00
jmcneill
b9083c85dc Fix a few typos (foo -> ESA_foo). 2002-03-06 18:28:07 +00:00
agc
2e8bd5562d When adding packages via pkg_add(1), and a pre-requisite package needs
to be added, first try to use the exact version of the pre-requisite
with which the base package was built (from the @blddep directive in
the +CONTENTS file), and then use the traditional dependency from the
@pkgdep directive.

Also rename a variable from "code" to "errc" to make it obvious what
the variable counts.

Bump version number to 20020306.
2002-03-06 17:45:20 +00:00
wiz
240d8221ea Replace last tempnam() with mkstemp(), and remove the tempMail variable.
Inspired by OpenBSD.
mail(1) is now tempnam(3) free.
2002-03-06 17:36:44 +00:00
tsutsui
98c71d1fdd Fix calculation of dma segment length
when the DVMA range is crossing the boundary.
Approved by eeh, and fixes port-sparc64/15200.
2002-03-06 17:12:51 +00:00
tsutsui
3fdc4d2b1d Set correct count in spifi_read_count(). 2002-03-06 16:50:34 +00:00
uch
39425a7420 fix bug of TMU0 interrupt priority level setting. (my previous commit broke it.) 2002-03-06 15:03:21 +00:00
uch
a752b69bfa make this compile with DIAGNOSTIC 2002-03-06 15:02:04 +00:00
uch
f35aa9c904 don't attach bivideo. 2002-03-06 15:01:05 +00:00
uch
3d0f70f7fc remove ite8181video's bivideo dependency. 2002-03-06 15:00:04 +00:00
wiz
66bb8e2176 Make DESCRIPTION sections (mostly by renaming non-standard section headers).
[See bin/14591 for a reason why we should have them.]
2002-03-06 14:43:02 +00:00
dbj
5c7e9abe49 return EINPROGRESS instead of EINVAL when trying to read
the results of an AP scan that is not finished
2002-03-06 14:41:39 +00:00
wiz
3f3656ac20 Add i4bisp(4). 2002-03-06 14:35:22 +00:00
wiz
a50cd7c5cd Add SYNOPSIS. 2002-03-06 14:25:42 +00:00
wiz
53036766b1 Drop trailing spaces after section names. 2002-03-06 14:20:34 +00:00
wiz
a3b751130f Give mail.1 a DESCRIPTION section.
Closes bin/14591.
2002-03-06 14:09:14 +00:00
wiz
443084c89d Replace another tempnam() with mkstemp(), and remove the tempEdit variable.
Inspired by OpenBSD.
2002-03-06 13:45:51 +00:00
lukem
4e53825732 only descend into miniroot if ${MACHINE}/miniroot/Makefile.inc exists 2002-03-06 13:32:51 +00:00
lukem
8a4df7f4da use check_RELEASEDIR, and minor whitespace cleanup 2002-03-06 13:31:04 +00:00
lukem
9c0d5339f3 cleanup and use some more appropriate variables and targets 2002-03-06 13:27:22 +00:00
lukem
c8200aaa83 remove unnecessary stuff 2002-03-06 13:25:49 +00:00
lukem
87e13d110a Convert to new common ramdisk build infrastructure, which supports
unprivileged cross builds.

XXX: untested as yet; probably needs minor image sizing tweaks
2002-03-06 13:21:00 +00:00
lukem
29173b1fb0 add more IMAGEDEPENDS, and some more cosmetic tweaks 2002-03-06 13:17:01 +00:00
tsutsui
07b8153219 Change type of dumpmag and newdumpmag from int to u_int32_t
since they hold 32bit unsigned magic numbers. (sync with kernels)
2002-03-06 13:13:08 +00:00
lukem
b627dc63c4 cosmetic tweak 2002-03-06 13:11:34 +00:00
tsutsui
3c8b0446fe Change type of dumpmag to u_int32_t since it is actually
a 32bit unsigned magic number.
As per discussion on tech-kern, and fixes port-sparc64/11949.
2002-03-06 13:10:18 +00:00
lukem
0a7bf05cec clarify why we avoid gethost.o from libhack 2002-03-06 13:09:34 +00:00
lukem
b86c835122 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:39:10 +00:00
tsutsui
c155b0375f Major overhaul of trm(4) driver:
- Change structures for each device to make them more suitable with
  our scsipi mid-layer.
- Use ADAPTER_REQ_SET_XFER_MODE callback.
- Cleanup misc functions/structures/style.

XXX Tagged queuieng support is disabled for now.
XXX Maybe we should have common library of the scsi protocol engine
XXX to share it among all other drivers..
2002-03-06 12:32:49 +00:00
lukem
92208672a9 don't need to provide ${REV} here anymore 2002-03-06 12:32:02 +00:00
lukem
044bc4a6c1 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:27:08 +00:00
lukem
49b82438e7 replace local ${REV} with ${DISTRIBREV} from distrib/Makefile.inc 2002-03-06 12:14:26 +00:00
lukem
a8025d95ae Commit work-in-progess rototill of distrib/miniroot and associated machine
dependent files:

- Use infrastructure from distrib/common to build file system images with
  crunchgen-ed programs from a list file.

- Non root ("UNPRIVED") builds from a read-only source tree are possible,
  as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
  common/makedev2spec.awk, etc.

- Cross builds should be possible, except that some ports need cross-compile
  host tool versions of installboot and any appropriate host disk labelling
  tools.
	XXX: pmax, sparc and vax need fixing for this!

- This code has NOT YET BEEN TESTED on most of the ports.
  It should work, but it is extremely likely that the file system
  parameters may need tweaking to get things to fit.
  See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
  If assistance is required, please ask!
2002-03-06 12:04:48 +00:00
ad
01b2cec5c5 - System processes will never be matched.
- A dash given to `-t' matches processes with no controlling terminal.
2002-03-06 12:03:48 +00:00
ad
eabe280b0e Exclude system processes when the match is inverted. 2002-03-06 12:02:18 +00:00
ragge
744110b40b License change; patch.c now has a BSD license.
From Larry Wall via Niklas Hallqvist, <niklas@appli.se>.
2002-03-06 12:01:03 +00:00
chris
09b5f7b740 Mostly style changes to stop us directly referencing tqh_first, and use TAILQ_FIRST instead. Based on rev 1.130 of the i386 pmap.c. 2002-03-06 10:55:21 +00:00
simonb
1c904f9d33 Use MIPS_PHYS_TO_KSEG1 instead of cfe's PHYS_TO_K1 macro. 2002-03-06 09:32:04 +00:00
martti
c28dc34f7b Removed g711conv 2002-03-06 08:06:40 +00:00
simonb
4025359daa cgd notes that we shouldn't use the CPU xtal for calculating wall-clock
time - but as yet we don't attach the RTC becuase it's on an SMbus.
One for later...
2002-03-06 08:02:12 +00:00
simonb
52bf6c669b Neaten slightly. 2002-03-06 07:51:02 +00:00
simonb
2bf916e97d Implement a clkread() function for microtime() using a multu/mfhi
sequence using the reciprocal of the delay divisor to perform the
division.
Set the cp0 compare register so that it doesn't trigger interrupts and
reset the cp0 count register in the hardclock interrupt handler.
2002-03-06 07:47:57 +00:00
simonb
86cb239e4f Add a "clkread" function to the systemsw. 2002-03-06 07:35:13 +00:00
simonb
465e846051 Calculate the reciprocal of the divisor delay. From the comments:
To implement a more accurate microtime using the CP0 COUNT
	register we need to divide that register by the number of
	cycles per MHz.  But...

	DIV and DIVU are expensive on MIPS (eg 75 clocks on the
	R4000).  MULT and MULTU are only 12 clocks on the same CPU.
	On the SB1 these appear to be 40-72 clocks for DIV/DIVU and 3
	clocks for MUL/MULTU.

	The strategy we use to to calculate the reciprical of cycles
	per MHz, scaled by 1<<32.  Then we can simply issue a MULTU
	and pluck of the HI register and have the results of the
	division.
2002-03-06 07:34:36 +00:00
simonb
feb24029e7 Add the offset of ci_divisor_delay in struct cpu_info. 2002-03-06 07:32:15 +00:00
simonb
78c9211fca Add a field for the reciprocal of the divisor delay for use by microtime. 2002-03-06 07:31:38 +00:00
itohy
1990961dc9 Fix ADPCM playback/recording. 2002-03-06 07:12:02 +00:00
thorpej
06c97a1e94 Make sure to pass $MACROS to the roff command. 2002-03-06 06:43:02 +00:00