Commit Graph

18189 Commits

Author SHA1 Message Date
pk 013ac04cfb config.new => config 1997-07-20 20:30:46 +00:00
jonathan 5ba85a4cf8 Kernel profiling. Don't profile the following:
sigcode():
      executed from user-space stack.

  mips1_cpu_switch_resume, mips3_cpu_switch_resume:
      arguments passed in via v0, t0, t1 (outlined from cpu_switch())

  mips3_VCED(), mips3_VCEI():
      called from exception-vector code without any register save,
      $at, $ra are live.
1997-07-20 19:48:03 +00:00
jonathan 01794f87e3 Conditionalize mips1-speciifc locore code on #ifdef MIPS1 1997-07-20 19:40:19 +00:00
pk a92a5224ee Remove a couple of "ms2 only" from cache-flush ASIs. 1997-07-20 18:55:03 +00:00
pk bd4c20b09e Invalidate cache tags before enabling the cache, if appropriate. 1997-07-20 18:48:35 +00:00
pk e1616d211e While processing DISCONNECTs, take note of the transfer count reaching
zero. We use this later when the COMPLETE message comes in to set the
final residual count to zero. The flag is reset if the target resumes
a data phase. This obsoletes the `AUTOSAVE' quirk (for this driver).
Also, avoid overwriting the residual count if a SENSE was appended to
the current transaction.
1997-07-20 16:46:17 +00:00
pk a4ae679706 Declare `ncr53c9x_dmaselect'. 1997-07-20 16:24:00 +00:00
is 95370c73b8 Make us pass the full ieeefp except regression test.
XXX This is probably a horrible hack, and wrong. FPU signal handling needs
to be further evaluated.
1997-07-20 12:39:17 +00:00
kleink 50d3039914 Fix another oversight from last commit. 1997-07-20 11:03:03 +00:00
kleink cd9e9b6a2b Fix `return();' vs. `return;' in last commit; pointed out by Steve Woodford. 1997-07-20 10:57:32 +00:00
jonathan fd7a6758c8 Don't emit ".set reorder ; .set noreorder" around mcount profiling
stubs if _LOCORE or _KERNEL are defined,.  _LOCORE means we're
compiling locore. Locore assumes ".set noreorder" for the whole file.
1997-07-20 09:47:03 +00:00
jonathan 59b1c9add9 Correct cursor-movement bounds check in ifdef'ed out code, as
for revision 1.7 of sys/arch/pmax/dev/ims332.c:
 >Bound x motion by framebuffer width, not height.
 >Bound y motion by framebuffer height, not width.
1997-07-20 03:57:18 +00:00
jonathan 9f89c0da89 Use __attribute__((unused). From Chris G. Demetriou <cgd@pa.dec.com>. 1997-07-20 03:47:29 +00:00
jonathan caea1075c9 * Do staktcraces back through traps from kernel mode.
* Don't take  stack adjustment inside procedures as frame size
  (e.g.,  8-byte stack adjustment for calling _mcount).
1997-07-20 03:46:20 +00:00
jonathan 06df97095c Add ecoff ``struct ext_ext'' header fields to ecoff_extsym.h.
Compatible with mips ECOFF nm from GNu binutils or MipsCo toolchain.
1997-07-20 02:38:02 +00:00
chuck bc385d2051 typeo in comment (PR#3836: Curt Sampson) 1997-07-19 22:51:13 +00:00
kleink 20b33f1d4c When creating new device nodes based on the major number of the LKM slot we
have been assigned, try to remove any existing ones first; otherwise loading
the LKM could fail with EEXIST.  Fixes PR kern/3868.

Why was this call dropped between v3-2alpha7 and v3-2beta1?
1997-07-19 22:42:18 +00:00
is f8ce8a3693 Fix my own PR port-m68k/3871, nee port-amiga/3871:
- don't erase FPSR exception bits _after_ doing most of the operations in
fpu_implode(), erase them before doing arith and store operations. This fixes
losing the DZ bit.
- create FPSR_OVFL and FPSR_UNFL bits in fpu_implode(). This showed up when
the first error was fixed.
XXX some more work needs to be done. E.g., creating OPERR together with
OVFL looks bogus, but I'm too tired know to re-check docs; and at least we
pass our own regression tests know.
1997-07-19 22:28:48 +00:00
pk 0e6ca8da9f Use `target selection with DMA' by default. 1997-07-19 21:57:01 +00:00
pk 2b8fb4cacd Propagate SCSI status byte back to higher levels. 1997-07-19 21:54:16 +00:00
pk 63fa13065c #include "locators.h" 1997-07-19 21:43:54 +00:00
jonathan 39814d8abc Add pointer to _mcount to avoid bogus warnings about unused static function.
(calls from interpolated assembler are invisible to gcc.)

If _KERNEL, add prototypes for non-profiled entrypoints _splhigh(), _splx().
1997-07-19 21:30:25 +00:00
kleink cc67a99801 Nuke definitions of the unused TIOCMOD[GS] ioctls; they are pre-4.4BSD vintage
and aren't implemented in the tty(4) driver any longer.  Fixes standards/2741
(actually this is not the appropriate category) from Greg Lindahl.
1997-07-19 15:44:39 +00:00
kleink 24b86eb3f3 Sync if_ipl_lkmentry()'s prototype with the function's actual name; from
Matthias Scheler in PR kern/3868.
1997-07-19 15:35:27 +00:00
jonathan ad4cc08b75 Bound x motion by framebuffer width, not height.
Bound y motion by framebuffer height, not width.
   (cf revision 1.4.)
1997-07-19 12:03:51 +00:00
jonathan 21717110ba Raise spl to spltty() in polled console input routine dtopKBDGetc(),
to ensure polled console I/O really is polled.

From Michael L. Hitch <mhitch@lightning.oscs.montana.edu>.
1997-07-19 12:00:10 +00:00
kleink 73997cc33d Add missing `#include "locators.h"' from last commit. 1997-07-19 11:19:05 +00:00
cgd 8f43428a7f regen for new pcidevs 1997-07-19 10:41:57 +00:00
cgd 5579e9d3bd * move COPTS out of the 'program variables' section of the makefile and
into the 'argument variables' section.
* define variables for CPP and SIZE, defaulting to cpp and size, respectively.
* kill HOSTED_C*, since it's no longer used.
* use ${SIZE} rather than using 'size' directly, so it can be overridden for
cross-builds.
* generate assym.h via assym.s and an awk script.
1997-07-19 10:12:13 +00:00
cgd 75b9c1bce1 convert to use a genassym.c that produces awk-able assembler output, a
la the sun3 port.  This makes cross-compilation easier.
1997-07-19 10:02:53 +00:00
jonathan ccf3801c92 * Re-apply changes from rev 1.6 of sys/arch/mips/include/reg.h accidentally
undone by rev 1.7:
  >redo pmax/include/reg.h
  >so that the definitions needed by locore.S are in a separate file,
  >pmax/include/regnum.h.

* Add explicit `#include <mips/regnum.h>'  where symbolic offsets
  into a mips trapframe or struct reg are used..
1997-07-19 09:54:23 +00:00
cgd d2bdd55b3a clean up a few entries, fix the entry for the TI PCI1130 so the device
is properly named, add entries for the TI PCI1131 and PCI2030.  also note
that you shouldn't always believe everything you read.
1997-07-19 09:54:09 +00:00
cgd 429a941288 don't expect/provide pci_decompose_tag to be a MI, public function. It
wasn't intended to be to begin with, and uses of it (e.g. the one in the
'de' driver) are quite likely to be incorrect.
1997-07-19 09:49:39 +00:00
cgd 866bc1b267 sync with dev/isa/wd.c rev. 1.162:
>date: 1997/07/18 00:26:22;  author: fvdl;  state: Exp;  lines: +10 -10
>Work around possible race condition with 2 drives on one controller
>in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
S: ----------------------------------------------------------------------
1997-07-19 06:39:22 +00:00
is 4d8c2c3528 Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
1997-07-19 00:01:40 +00:00
thorpej c5dab54215 - Be more careful with type sizes (many u_long -> u_int32_t in protocol
structures).
- Use NTOH*() and HTON*() where appropriate.
- Some slight formatting cleanup in a few places.
1997-07-18 19:30:33 +00:00
christos 7af5edbdc3 Fix reversed test for version 3 that broke nfs version 2 mounts. 1997-07-18 17:31:46 +00:00
thorpej 8b278df35a Change the extern declaration of __flt_rounds() into a proper prototype. 1997-07-18 05:11:52 +00:00
thorpej 97e482f3c8 - Enable COMPAT_NOMID
- Bump ptys to 128.
1997-07-18 04:14:34 +00:00
jtk 7be59a897b remove old *_UNK style default defines, use standard names from locators.h 1997-07-18 03:38:33 +00:00
fvdl 3dd82f1394 Work around possible race condition with 2 drives on one controller
in wd_get_parms. PR 3773, from Onno van der Linden (onno@simplex.nl)
1997-07-18 00:26:22 +00:00
fvdl 43e1b9384f * Deal with servers that don't give complete FSINFO (like NT)
From Olaf Seibert <rhialto@polder.ubc.kun.nl> (PR 3687)
* Make an attempt to check the maximum filesize before attempting
  a write to the server, as write RPCs will typically happen
  asynchronously, and the process will not see the error.
  Fixes problems with unexpectly truncated files at 4G
* Pass up errors in nfs_writerpc correctly
1997-07-17 23:54:27 +00:00
fvdl f2377e977b When allocating a new block, store the result obtained through counting
indirect blocks in a 64 bit integer, to prevent overflows when computing
NINDIR^3
1997-07-17 23:40:07 +00:00
is fc3de9d828 Make the DraCo hardware clock an autoconfiguration device. 1997-07-17 23:29:28 +00:00
thorpej 7a8a1f3f1a Turn the extern declaration of __flt_rounds() into a proper prototype. 1997-07-17 21:36:03 +00:00
phil f49d42bbb3 ispcvt Makefile looked like it was trying to install ispcvt in /usr/sbin.
Changes to make that happen.  From PR 3570.
1997-07-17 19:47:10 +00:00
thorpej 8d85b14ca8 Give the __GNUC__ versions of ntohl() and friends the proper (in_addr_t
or in_port_t) signature.
1997-07-17 18:44:08 +00:00
phil b1bfdee5fe In sys_flock, change EBADF to EINVAL because error was generated by
a bad argument, not a bad file descriptor. (Found in response to
PR 2602.)
1997-07-17 17:54:40 +00:00
bouyer 1d5e0e6e91 Add a lock locking around inode hashing. 1997-07-17 16:56:44 +00:00
is 3c0c2ec93b Don't assemble _fpemuli: unless FPU_EMULATE is defined (by Thorsten Frueauf).
While here, remove a comment which should have gone months ago.
1997-07-17 16:22:54 +00:00
cgd b79d7b9bb1 * clean up the way APMDEBUG and DEBUG are treated. defining either will
get APM debugging code compiled in.  also, redo the way APM debugging
  printfs are invoked, making sure they're always compiled in if debugging
  is enabled, but printing them only if the appropriate bits in the
  'apmdebug' global variable are set.
* clean up function prototypes (alphabetize in each category, get rid
  of 'STATIC' and make them always static since kernels shouldn't have
  static symbols stripped anyway, and debugging kernels definitely don't),
  group global variables together and note that they're used as globals).
* Export the following as option-settable and patchable global variables:
	apmdebug	flags word that controls which APM debugging
			printfs are printed, set with APMDEBUG_VALUE.
	apm_enabled	boolean that indicates whether or not APM should
			ever be configured on the machine.  true by
			default, false if APM_DISABLE defined when
			compiling.  this option exists so that users
			whose systems crash when APM is enabled can
			disable it with a patchable kernel variable, and
			therefore don't necessarily have to compile
			a custom kernel as often.  With this option set,
			a check is still done to see if the APM BIOS
			exists; this variable should be used to prevent
			the kernel from ever attaching to the APM BIOS.
	apm_force_64k_segments
			boolean that tells segment setup code to always
			use segments with 64k length.  false by default,
			true if APM_FORCE_64K_SEGMENTS defined when
			compiling.  used to just be a compile-time option.
	apm_do_idle	boolean that controls whether or not the APM code
			will try to signal the BIOS that the system is
			idle when in the idle loop.  true by default,
			false if APM_NO_IDLE defined when compiling.
	apm_do_standby	boolean that controls whether or not standby
			requests are ever attempted.  true by default,
			false if APM_NO_STANDBY defined when compiling.
			used to just be a compile-time option.
	apm_v11_enabled	boolean that controls whether or not the driver
			attempts to use APM spec v1.1 features.  If true,
			the driver does (it implements v1.1 of the spec),
			and if false the driver only uses v1.0 features.
			true by default, false if APM_V10_ONLY is defined
			when compiling.  Really, the driver should be
			updated to do APM v1.2 and this option should
			either be updated or go the way of the dodo.
			used to just be a compile-time option.
	apm_bogus_bios	(patchable only) controls a few of the APM segment
			setup features.  (probably should just be a global
			and not patchable.)
* make apm_perror print out the full contents of %ax rather than
  just the error code, in addition to printing out the string corresponding
  to the error code.
* print estimated remaining battery life time as "[<hours>h ]<minutes>m",
  which is actually easily understood, rather than as "<hours>:<minutes>
  minutes", which is not.
* restructure match and attach so that they work as they should, remove
  redundancy, support attaching the APM device but not actually enabling it
  so that APM is attached on systems which have it but on which it's broken
  in some fatal way.
* add more debugging printfs in the apm control device entry points.
* return EOPNOTSUPP when trying to do a standby ioctl if standbys have
  been disabled, rather than returning the less-intuitive ENOTTY.
* rename a few functions for consistency: apmprobe -> apmmatch,
  apm_err_translate -> apm_strerror.
* mark a few serious or annoying bogons XXX so people might look at
  them later.
* KNF (lots of changes!)

Despite this substantial amount of work, this driver still needs a _lot_ of
work.  In particular, the user-land device interface needs to be gutted, and
better support for APM-aware applications and device drivers (i.e. call-backs)
needs to be added (e.g. callback interfaces somewhat like those suggested
by the APM spec).

There are still outstanding known problems with some machines.  The true
source of those problems is not currently known, and could be either the APM
BIOSes of the machines in question or this APM driver.  However, even if the
problems are caused by APM BIOS bugs, they could be more gracefully worked
around in this driver.
1997-07-17 06:30:03 +00:00
veego 76371b8a9d include <m68k/db_machdep.h> to get the prototype for kdb_trap if DDB and
DEBUG are defined and add a cast for the second argument to the
kdb_trap call.
1997-07-17 06:27:08 +00:00
cgd 92723b6027 return either 0 (success) or 1 (failure) from apmcall(), rather than 0 (success) or the whatever happened to be in %eax after the APM call on
failure.  The latter usually would end up being the (nonzero) opcode
placed in %ax before the call, but could conceivably be modified by the
call to be zero.  In any case, 0/1 is much nicer than 0/random-nonzero,
as well as being safer.
1997-07-17 05:15:01 +00:00
jtk ca1bba150a use locator defines in "locators.h" to index cf_loc[] 1997-07-17 03:16:39 +00:00
mark 917e4bdd0b Implement inst_unconditional_flow_transfer as a macro. 1997-07-17 02:28:39 +00:00
jtk 9388f271a9 use locator defines in "locators.h" to index cf_loc[] 1997-07-17 02:12:50 +00:00
jtk d36d6d14ab use locator defines in "locators.h" to index cf_loc[] 1997-07-17 02:01:26 +00:00
jtk 9ed3ea9ab3 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
hpib code with the native names from locators.h
1997-07-17 01:59:12 +00:00
jtk b9370d116d use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
vme code with the native names from locators.h
1997-07-17 01:56:29 +00:00
jtk b4777471db use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:52:54 +00:00
jtk 47c4af3536 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
mainbus code with the native names from locators.h
1997-07-17 01:48:35 +00:00
jtk 320892f8db oops, WSCONSCF_CONSOLE should be WSCONSDEVCF_CONSOLE 1997-07-17 01:33:04 +00:00
jtk 594536a71f use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:28:54 +00:00
jtk 37f9c6bd88 use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:17:45 +00:00
jtk a541bca95a use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all
TCCF_*_UNKNOWN uses in tc code with the native names from locators.h
1997-07-17 01:12:41 +00:00
jtk 024b25a651 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all
EISA_UNKNOWN_SLOT uses in eisa code with the native names from
locators.h
1997-07-17 01:08:46 +00:00
jtk bd611fe5b6 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
isa code with the native names from locators.h
1997-07-17 01:06:27 +00:00
jtk c0f08c42a8 use "locators.h" defines for indices for cf_loc[] and default values 1997-07-17 01:01:06 +00:00
jtk 26414c7820 use locator defines in "locators.h" to index cf_loc[]
still to be done and/or decided not to be done: replace all *UNK uses in
isa code with the native names from locators.h
1997-07-17 00:58:48 +00:00
perry 797652981e More CD quirks, from Dave Huang (pr-3843) 1997-07-17 00:46:50 +00:00
pk 6b12855c49 pmap_extract(): move printf()'s inside debugging brackets. The caller
decides what to do upon finding an absent mapping.
1997-07-16 15:35:23 +00:00
christos 533bf031cd Add RCSID() macro. 1997-07-16 15:16:43 +00:00
hpeyerl 11d5346627 Fix an oops on my part. I commented out some devices in my local copy
of this file.
1997-07-16 13:40:24 +00:00
drochner a0b2749901 Recognize Cirrus Logic GD5434 VGA chip. It can be treated like a GD5430.
(closes PR port-i386/2638)
1997-07-16 12:44:55 +00:00
kleink b2bead304f Fix a misplaced brace which caused NAT list corruption; from Dave Huang
<khym@bga.com> in PR kern/3872.
1997-07-16 11:06:07 +00:00
mark 00b3633e19 Disable the SUBDIRS= lines as we have no subdirs to build. 1997-07-16 02:46:37 +00:00
is ae6e3e81bc Amiga glue code for the m68k fpu emulation subsystem.
XXX This (the m68k FPE, not the glue code) is known to be broken for
68LC040/68040V and 68LC060 cpus. This is also the reason we don't
bother to add options FPU_EMULATE to the DRACO configuration file, as
DraCos only come in 68040V (very few) and 68060 variants.
1997-07-16 00:01:51 +00:00
fvdl 06b1c0c4aa Recognize MMX P5 by it's model number, not by the cpuid flag. Otherwise
we also get "Pentium II with MMX" which is like saying "Pentium with FPU".
Also add one more entry for a K5
1997-07-16 00:01:49 +00:00
is 006b61726d Amiga glue code for the m68k fpu emulation subsystem.
XXX This (the m68k FPE, not the glue code) is known to be broken for
68LC040/68040V and 68LC060 cpus. This is also the reason we don't
bother to add options FPU_EMULATE to the DRACO configuration file, as
DraCos only come in 68040V (very few) and 68060 variants.
1997-07-16 00:01:44 +00:00
fvdl 286a3374b9 Give the hash lock a better name, it's not just ffs that uses it. 1997-07-15 19:08:18 +00:00
scottr 3284008cff Add DrHw value for the Macintosh Display Card 1997-07-15 15:45:38 +00:00
drochner b401c3f024 Use include files from kernel source, not userland. Create a
"machine" link automatically for this.
1997-07-15 13:02:04 +00:00
drochner 6b02672ee8 Cleanup include file usage: Avoid user space headers, use
<sys/types.h> instead of <sys/param.h> where possible.
1997-07-15 12:45:22 +00:00
drochner d6a6f815ee Add boot ROM support for 3c905 TX ethernet card. 1997-07-15 11:23:04 +00:00
leo 9eb01ced39 Install key-maps only and forget about the program generating them. 1997-07-15 08:42:21 +00:00
leo bacc863c24 Add atari. 1997-07-15 08:40:02 +00:00
leo ec7ce2c9f8 Isabus support. 1997-07-15 08:25:39 +00:00
leo 3adf93ecde isabus support 1997-07-15 08:17:39 +00:00
augustss 5b3b56dd1a Garbage collect some unused routines. 1997-07-15 07:51:04 +00:00
augustss 8727da130b In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
scottr ec40091111 In nubus_print(), always print the NuBus slot number. Also, refine it so
that when no driver matches, our output is a little more consistent with
existing practice.
1997-07-15 07:43:12 +00:00
leo 38071fa916 Use '0' instead of NULL when talking about int's 1997-07-15 06:51:15 +00:00
leo ce96a8a2e4 Implement bus_space_subregion() 1997-07-15 06:49:56 +00:00
leo de78b4c0e9 Garbage collect bell-ioctl's. 1997-07-15 06:48:05 +00:00
fvdl c437b55ca7 A filesystem may not support VFS_VGET (like msdosfs). If it doesn't,
the server code would always skip all dir entries for a readdirplus
operation. To avoid endlessly retrying clients, try VFS_VGET first,
and it it fails, return NFSERR_NOTSUPP so that client will fall
back to normal readdir operations.
1997-07-15 01:07:47 +00:00
scottr 034bf6b188 Clean up some DIAGNOSTIC messages: use %x to display the slot number. 1997-07-14 23:05:35 +00:00
kleink 4193b52786 Do not compile in satlink unconditionally; from Thorsten Frueauf
<frueauf@ira.uka.de> in PR port-i386/3864.
1997-07-14 21:09:07 +00:00
fvdl 2c5bca83ed Don't assume that pointers into mbuf data remain valid across nfsm_dissect.
In readdirplus, don't keep such pointers but store the file attributes
in a variable instead until they are needed. Change nfsm_loadattr*
a bit so it can accept a direct pointer to an nfs_fattr structure.
1997-07-14 20:46:20 +00:00
thorpej e296b3b344 New bus error/address error trap handlers, code lifted from mac68k
port, which is lifted from amiga port, plus some changes from me:
- Add support for the HP MMU to the 020/030 bus/address error handler
  (mostly lifted wholesale from the old code).
- Rename addrerr and buserr to busaddrerr2030.  The new name reflects that
  these functions are specific to the 68020 and 68030, and that the same
  handler function is used for both vectors.

The vector table is patched once we know our CPU type, before the MMU
is enabled.  In the event that we're running on a CPU that we're not
configured for, simply invoke the PROM's "reboot request"; we have no
hope of running in the event of a config botch, since we need working
a working bus error handler for console initialization.

These new functions optimze for common-case page faults, eliminate
many run-time checks, and are sharable.
1997-07-14 19:18:31 +00:00
veego 89c8d10a08 Updated for the use of ${FILES}. 1997-07-14 15:07:04 +00:00
veego 4a8fd6d9af s/MAP/FILES/ 1997-07-14 15:05:12 +00:00
veego def2a88260 s/BOOTBLOCKS/FILES/, remove the no longer needed install: rule and set the
BINDIR to /usr/mdec.
1997-07-14 15:03:05 +00:00
oki 841be646de Use genassym.cf to make assym.h 1997-07-14 14:42:52 +00:00
thorpej b88b183ab5 Don't have kernel vs. non-kernel versions of _ENTRY(); there's no
reason to omit the .type directive in the kernel case.
1997-07-14 07:44:56 +00:00
hpeyerl 6d4fa106d1 Move satlink0 to ALPHA. 1997-07-13 21:24:14 +00:00
hpeyerl 135cc571fc Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:33:29 +00:00
hpeyerl 16371837ec Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:32:00 +00:00
hpeyerl 080d346785 Add Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:12:06 +00:00
hpeyerl d1f899bc4c Satellite receiver driver for ISA cards from PlanetConnect by Jason and
Herb for Canada Connect Corp.
1997-07-13 19:09:46 +00:00
leo 198bd713f2 Generate assym.h dependencies when making 'depend'. 1997-07-12 22:07:36 +00:00
thorpej d9d9b2f705 Remove a comment that has not been applicable for some time. 1997-07-12 19:03:11 +00:00
perry 57e0b3811a regen 1997-07-12 16:53:10 +00:00
perry ad1710ce1e update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson 1997-07-12 16:18:36 +00:00
perry 2bf925fe32 add a couple of new device codes (from Jason Wright, pr 3853) 1997-07-12 14:41:05 +00:00
scottr 7a1c9e3d1a Remove a stowaway that got in on the last commit. 1997-07-12 06:13:08 +00:00
scottr 0dd96574d4 Fix from Dave Huang <khym@bga.com> for my exception vector botch for
the '040 and '060 in initcpu().  "D'oh!"
1997-07-12 06:07:24 +00:00
scottr a628a48bba Cosmetic changes to intvid_info[] initialization 1997-07-11 06:02:26 +00:00
is c7e3ab1310 - Fix gain control.
- play mono stuff on all channels.
1997-07-10 22:18:42 +00:00
mellon eb51f51303 Convert spaces to tabs following option declarations 1997-07-10 20:46:37 +00:00
kleink 49324f585c Remove misplaced/unnecessary VM #include cruft; from Thorsten Frueauf
<frueauf@ira.uka.de> in PR port-hp300/3851.
1997-07-10 18:14:08 +00:00
scottr a41c255aa0 Update for vm/lock.h -> sys/lock.h change 1997-07-10 18:00:40 +00:00
fvdl b245497f3e model 6, step 3 -> Pentium II, recognize it. 1997-07-10 16:02:24 +00:00
veego 3feb40be26 Restore the define of UPAGES. 1997-07-10 08:23:30 +00:00
veego 1450ec3f1b Restore the define of NPTEPG. 1997-07-10 08:23:03 +00:00
veego 1c599835b4 Restore the defines of UPAGES and NPTEPG. 1997-07-10 08:22:36 +00:00
veego 78996821fa Move the defines of UPAGES and NPTEPG back to the MD param.h, execpt that
the sun3[x] doesn't use NPTEPG.
1997-07-10 08:22:09 +00:00
cgd c5d237fec8 kill the apm_enabled softc member I added, and instead use apminited,
a global variable (yech, but i'm not out to save the world) which had
the same meaning and ended up being stealthily set in pretty much
the same place.
1997-07-10 04:15:39 +00:00
cgd ceb9be409e figure out which space we're using in i386_memio_{map,alloc,unmap} by
doing 'if (tag == ...) else if (tag == ...) else panic' rather than
by doing a switch.  This makes life easier for people who need
the i386 bus_space_* functions to access spaces other than the normal
memory and I/O spaces, because it allows them to define an i386
bus_space_tag_t as a pointer to a function table, rather than just
an int.  (They could define it as an int and cast it to a funtion
table pointer, but I think that's bad karma, and this change doesn't
hurt.)
1997-07-10 04:07:00 +00:00
cgd d2e314622d undo the change done (at my suggestion) in rev 1.236. That is,
mark all of 0 -> IOM_BEGIN as used, even though there are some regions
which are left for use by the BIOS (namely, the first 4k page and the
area after biosbasemem*1024 but before IOM_BEGIN).  Drivers wishing to
manipulate these areas should map them specially, with _i386_memio_map()
rather than bus_space_map() or i386_memio_map().
1997-07-10 03:10:58 +00:00
cgd cba7918db6 (1) add a flag to the softc to indicate that the APM device may be
disabled even if it's attached.  If disabled, ENXIO on open.
(2) in the case where the code32 segment len overflows the I/O hole,
    instead of giving up truncate it.  (In other words, revert
    change (2) in rev 1.21 which i suggested mistakenly.)
(3) map bios data space in the 0->640k range with _i386_memio_map()
    rather than with bus_space_map(), so that no accounting checks
    are done.  The checks which are done to make sure that allocation
    in this range is safe are sufficient.
(4) check the return value from _i386_memio_map(), and if it indicates
    an error disconnect from the APM BIOS, print an error message,
    and return without having marked the device 'enabled'.
1997-07-10 03:07:29 +00:00
cgd 9989c90b52 rename i386 bus_space_{map,unmap,subregion,alloc,free} implementation
functions (which only work on memory and i/o space) to i386_memio_*,
and make bus_space_* in bus.h be #defines which invoke them.  This makes
life easier for people who need to define the all of the bus_space functions
so that they work on spaces other than memory and I/O space.  Also, add
an _i386_memio_map function which is like i386_memio_map but doesn't do
the extent map checking or allocation.  _i386_memio_map and i386_memio_*
are for use only by machine-dependent code.
1997-07-10 02:36:44 +00:00
is e76096387d Make multichannel output work. The cc parameter to hw_start_output is
a byte counter, it seems. Somebody should really write man 9 audio_if.
While here, make debug output invisible #ifndef AUCCDEBUG.
1997-07-09 22:37:08 +00:00
pk f3dc7ce0f4 Use setpgt4m(), not bzero(), to initialize a pmap's first-level page table.
Fix a slightly misleading comment.
1997-07-09 21:51:26 +00:00
matthias bb66aaeadc * Make it possible to disable disconnect/reconnect on a per target base.
* Eliminate disable interrupts in ncr_pdma_in. No more fifo overflows at
  high baud rates :-) (Thank's to Ian Dall for this).
1997-07-09 19:28:25 +00:00
matthias c5e3d310a6 When booting from a md device set RB_DFLTROOT in boothowto. 1997-07-09 19:28:20 +00:00
matthias 1c1450c97a Remove __VM_PMAP_HACK. 1997-07-09 19:27:54 +00:00
matthias ed60e6a598 This wasn't in use for several years now. 1997-07-09 19:27:33 +00:00
matthias 147aa6816f Remove __VM_PMAP_HACK. 1997-07-09 19:26:34 +00:00
leo 1c21c4994d Make sure the card is probed once. 1997-07-09 14:38:02 +00:00
leo 89325630dd Introduce 'bootversion' in locore.s. Check this to decide if installing
a bootstrap with the running installboot makes sense.
1997-07-09 14:31:12 +00:00
thorpej b4ab2c89f5 Oops, fix a slight oversight, and remove T_MACHCHECK handling (some
code for this was in my private tree at one time, and I must have
forgotten to g/c the constant from trap.h).  Reported by
enami tsugutomo <enami@but-b.or.jp>, PR #3845.
1997-07-09 07:01:29 +00:00
jtk 8a210e82b2 fix mixer goof on GUS max 1997-07-09 03:03:21 +00:00
pk 94289e9990 In the turbosparc's "match" function, test for the `master' CPU, in case
someone ever builds a multi-processor turbosparc module.
1997-07-08 22:14:42 +00:00
pk 37d77087e8 Check `b_dev' field in bdwrite() before using it as an index into bdevsw[].
`b_dev' value of NODEV happens and is normal if the buffer is on its way
to the underlying device strategy function for the first time.

Also, MFS sillily uses a major device number (255) which cannot be used
to index bdevsw[]. Check marked with XXXs.
1997-07-08 22:03:30 +00:00
pk b7b1073fd0 In bread() and breadn(): if getblk() returns a DELWRI buffer, don't
call biowait() but return `success' immediately. We can return `success'
because buffers with recorded errors are not returned by getblk().
(Takes care of PR#3694).
1997-07-08 21:42:59 +00:00
christos fd464a1a5d Correct prototype for __errno(). 1997-07-08 20:23:42 +00:00
pk 8eae6eb3b7 Fix a pasto in kvm_uncache() (sun4m)
Add TLB flushes when removing segments/regions.
Flush cache appropriately when cache-tag protection bits need invalidation.
1997-07-08 20:02:47 +00:00
pk 27d22f8faf Add FPU version 5 (turbosparc on-chip).
Re-arrange cpuattach() a bit so that more initialization is done before
dealing with the FPU.  Some more work is still required to de-couple
FPU detection from the autoconfiguration attach code in SMP systems.
1997-07-08 19:58:14 +00:00
mark ec553ec8c0 New version of the ARM FPE core built. This core does not have all the
builtin veneer code. Instead this veneer code has been moved to kernel.
This removes the need for any runtime fixups of the fpe.
1997-07-08 19:41:28 +00:00
thorpej 4e8a131f3a When allocating space used by physical memory from the iomem extent,
use a value derived from biosbasemem, rather than a constant.  Pointed
out by Chris Demetriou <cgd@netbsd.org>
1997-07-08 17:55:44 +00:00