Commit Graph

52644 Commits

Author SHA1 Message Date
simonb
b7a2ec3f01 + Call prom_scsiid() to found out what the host SCSI ID should
be instead of hardcoding values.
 + Print the host SCSI ID in siiattach().

XXX - probably should do the same to the ASC driver??  The manuals for
the 5000 series machines don't mention the scsiidN env variable, but it
is present on all the models I've looked at...
1999-06-08 23:41:59 +00:00
simonb
7eb995464d + Add prototypes from the prom_*() callback routines.
+ Remove leading "extern" from function declarations.
 + CG unused latched_cycle_cnt.
1999-06-08 23:40:42 +00:00
simonb
661c94c72c + Add prom_getenv(), and use it instead off calling callv->_getenv.
+ Add prom_scsiid() to read and decode the prom scsiidN environment
   variable that says what the host SCSI id should be.
 + Include <pmax/pmax/machdep.h> instead of declaring our own
   prom_*() prototypes.
1999-06-08 23:40:19 +00:00
kim
674c377f8f Allow "make obj" to work nicely with amd by setting
PWD=/usr/bin/pawd in /etc/mk.conf and using the amd
mount point path for BSDSRCDIR.
1999-06-08 18:28:38 +00:00
tron
e2f743a091 Add "%option yylineno" so that error handling code can use "yylineno". 1999-06-08 12:45:47 +00:00
tron
11e3a9c086 Include "err.h" to get prototypes for err() and warn(). 1999-06-08 12:38:20 +00:00
mrg
efb227d3a7 fix a few KNF nits .. 1999-06-08 10:38:15 +00:00
mrg
30c351dc59 mmm, missing return types make gcc unhappy. 1999-06-08 10:35:36 +00:00
simonb
2b79231090 Add /etc/ld.so.conf and /sbin/ldconfig 1999-06-08 07:42:13 +00:00
mhitch
d9be0d6e6b When entering a read-only page for MIPS3, va does not need to be adjusted by PAGE_SIZE
when flushing the I-cache.
1999-06-08 03:44:18 +00:00
thorpej
c146fe969e Regen. 1999-06-08 03:08:32 +00:00
thorpej
8b35c542b5 mincore: caddr_t -> void * 1999-06-08 03:07:39 +00:00
thorpej
84380f9fbe In sosend(), if so_error is set, clear it before returning the error to
the process (i.e. pre-Reno behavior).  The 4.4BSD behavior (introduced
in Reno) caused transient errors to stick incorrectly.

This is from PR #7640 (Havard Eidnes), cross-checked w/ FreeBSD, where
Bill Fenner committed the same fix (as described in a comment in the
Vat sources, by Van Jacobsen).
1999-06-08 02:39:57 +00:00
nisimura
540b02ab76 - Exterminate haunted evil soul of MIPS va_arg(). Verified OK with
either endian.  Not a perfect solution which would be revealed on
a certain condition when va_arg() is applied to magical struct
arguments passed by value.  format_bytes() is now saved.  With the
help from Noriyuki Soda and Masanari Tsubai.
1999-06-08 00:46:38 +00:00
thorpej
1c5f2999b2 Make sure `olddelta' is a valid pointer before performing the guts of
the adjtime(2) system call.  Fixes PR #7721, Darren Reed.
1999-06-07 22:33:53 +00:00
is
b7ee76f1c4 Check for an unterminated bus; if yes: complain and don't try to use this
bus. Without this, cbiiisc used to hang if nothing was connected.
Reported by Matthias Scheler. A similar method to avoid this was suggested
by Ralph Schmidt.
1999-06-07 21:30:57 +00:00
thorpej
2c35c7bd03 Only declare block major numbers for devices which can be the root device. 1999-06-07 20:31:27 +00:00
thorpej
d76e7b8c6d Don't pass a nam2blk around at all; just have setroot() and friends reference
dev_name2blk[] directly.  Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
thorpej
12006f3c05 Don't clobber the error returned by uiomove() when starting the audio
output (in case we got a partial block).  Fixes PR #7722, from
Antti Kantee <pooka@iki.fi>.
1999-06-07 19:24:38 +00:00
castor
c195474580 This should use MACHINE_ARCH and test on "mipseb" instead of MACHINE and
"newsmips"
1999-06-07 18:04:31 +00:00
thorpej
ec9fd3b48c Fix a braino in vm_map_unlock(). Thanks to Chuck Silvers for pointing
out that there was a problem, and for sending me a trace.
1999-06-07 16:34:04 +00:00
thorpej
5de7bac9b1 Print the maps flags in "show map" from DDB. 1999-06-07 16:31:42 +00:00
lukem
b04ab05ddd save/restore errno as necessary (printf() et al might have modified it...) 1999-06-07 15:34:07 +00:00
thorpej
397b71aaca Fix a typo. 1999-06-07 15:25:19 +00:00
mrg
0525e9c7ef add ebus attachment for cs4231. this does not work as it requires ebus DMA and will panic if enabled. but it should otherwise be mostly complete. 1999-06-07 14:59:14 +00:00
leo
ff1d4cab4a Add FALCON to EXTRA_KERNELS. 1999-06-07 14:44:46 +00:00
mrg
03c5c00056 remove "EXPERIMENTAL" comment from this file, as it does not exist elsewhere in this directory. 1999-06-07 14:43:34 +00:00
thorpej
a0faadd7d2 Make traces work with ELF kernels. 1999-06-07 07:00:07 +00:00
thorpej
2712865930 Re-indent some of the NFSKERB code, to make the entire loop its in easier
to read.
1999-06-07 06:13:41 +00:00
thorpej
6be407523d Add a missing close bracket, in some currently-unused code. 1999-06-07 06:06:20 +00:00
mrg
aa506f8098 copyright foo. in the future, we will all be binary-redistributable. 1999-06-07 05:40:08 +00:00
eeh
1884f05354 Another general cleanup:
Remove the entire idea of fasttrap interrupts since V9 traps are really cheap,
the CPUs are really fast, and the completely different trap frames would make
these handlers really difficult to implement.

pmap_changeprot() was only used by the clock and one other place; deprecate it.

probeget() and probeset() now take 64-bit addresses even in 32-bit mode so we
can probe IO locations by physical addresses.

Some pmap cleanup.

Some more copyright cleanup.
1999-06-07 05:28:03 +00:00
mrg
dc611e3e7f be a bit more consistent with errors (needs more work). minor KNFification. 1999-06-07 05:08:25 +00:00
mrg
b734ec4664 note that the calls to mktemp() are OK. 1999-06-07 03:06:08 +00:00
christos
20cde7d22e For now make the warning that we are passing a NULL format to printf
like functions, only a pedantic warning. This will allow us to fix the
err functions.
1999-06-07 02:48:00 +00:00
thorpej
4476366369 Make sure the regression test compiles. 1999-06-07 02:25:05 +00:00
thorpej
e479f407c4 Fill out the mincore(2) manual page a little; define the NetBSD call
to be like the Solaris call.
1999-06-07 01:42:30 +00:00
christos
11cfd21df0 Don't strip symbols if -g is specified. We might want to be able to debug
libraries!
1999-06-07 01:37:00 +00:00
mrg
7185af78dc oops. move sendit: above the PFIL_HOOKS so that multicast traffic is filtered. from darren reed. 1999-06-07 01:26:04 +00:00
thorpej
1cfcfaddc7 Treat crypto-us like domestic. 1999-06-07 00:53:09 +00:00
mrg
42806f4887 deal with 32 vs. 64 bit pointers, from joda@pdc.kth.se as part of PR#6149 1999-06-07 00:24:16 +00:00
kleink
c5dce7b8ff Note that an EFAULT condition cannot be guaranteed to be detected (i.e. in the
MD implementation of pipe(2)); addresses PR kern/7720.
1999-06-06 22:50:26 +00:00
pk
62cb666f4a Guard our global resource `phpool' against all interrupts. 1999-06-06 22:20:15 +00:00
pk
0e286f5c1f Guard our global resource `expool' against all interrupts. 1999-06-06 22:14:53 +00:00
christos
eee5bfa70d Revert previous change. I am a bonehead. 1999-06-06 21:16:23 +00:00
pk
6c4ae8ffb4 Re-arrange some code to approach our regular style. 1999-06-06 21:05:03 +00:00
ragge
92d41a0675 Copied from ../../arch/vax/if/if_uba.c,v 1999-06-06 20:45:21 +00:00
ragge
0f8d40c444 Copied from ../../arch/vax/if/if_uba.h,v 1999-06-06 20:45:02 +00:00
pk
d467771b45 Hang on to the termcap buffer that we have tgetent() fill.
(someone ows me two hours worth of beer for this... :-)
1999-06-06 20:43:00 +00:00
christos
9081585e9b remove accidentally left debugging code 1999-06-06 20:41:04 +00:00