Commit Graph

17274 Commits

Author SHA1 Message Date
jeremy 4502541573 When turning off the drive motor, de-select the drive so the busy light
extinguishes.
1997-05-30 03:23:11 +00:00
cjs 75380e08a1 Use new NOINSTALL option for libraries that are used only during the build
of a program, and not installed into the final system.
1997-05-30 01:55:09 +00:00
jtc 8ab87a1df9 fix tipo 1997-05-30 01:34:49 +00:00
jtc 9d04fc8ed1 New zeropage() implementation based on code contributed by Hiroshi Horitomo
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3641.   I changed the code slightly.
Instead of clearing 13 registers (d1-d7,a1-a6) and zeroing 512 bytes per
loop iteration, I clear 8 registers (d1-d7,a1) and zero 256 bytes.  This
reduces the size and complexity of the function.

On the '020, the simpler code is less than 1% slower.  Surprisingly, it
is ~3% faster on the '040.
1997-05-30 01:20:23 +00:00
gwr e512003d6e Add non-inline version of _splraise. 1997-05-29 22:20:01 +00:00
gwr 2e7b1f13dd Define getsr() as _getsr() for backward compatibility. 1997-05-29 22:18:24 +00:00
gwr 56e5d1c7c5 Add inline definitions for _getsr() and _splraise(), and
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 22:17:38 +00:00
mycroft 9a7f1bfa84 Use single mode, not demand mode, for auto-initialize transfers. 1997-05-29 21:46:07 +00:00
mycroft cf09974361 Add DMA37MD_DEMAND and DMA37MD_BLOCK. 1997-05-29 21:42:28 +00:00
gwr bdb1fd223a typo 1997-05-29 21:26:20 +00:00
gwr 14cd11bef6 Add non-inline version of _splraise. 1997-05-29 21:22:47 +00:00
gwr b2502668e5 Increase the default datasize limit to 16MB (enough to build libc). 1997-05-29 21:18:42 +00:00
gwr 175d58b59a Define getsr() as _getsr() for backward compatibility. 1997-05-29 21:17:38 +00:00
gwr 9ab3caec28 Add inline definitions for _getsr() and _splraise(), and
define splimp() using splraise so early calls to the VM
code (and pmap) do not accidently enable interrupts.
1997-05-29 21:16:59 +00:00
jonathan 3906c8cde5 Fix possible uninitialized variable bug which trips -Wall. When
recovering from a possible race condition in sii_intr, read the active
target from the destat register, and set the softc state pointer
`state' appropriately.  (This warning is in a block that prints a
warning message, and the warning message has _never_ been seen. The
bug is probably innocuous.)

Also addresses the `more thought needed' in the log message for rev. 1.12.
1997-05-29 19:26:06 +00:00
jtc 9442b0fcda Use movw when loading countdown registers. 1997-05-29 16:31:33 +00:00
jtk 8551fb607a fix popping noises on 16-bit ulinear output.
add big-endian support
XXX ULINEAR_BE still needs ad1848 emulation on gusmax
1997-05-29 05:33:15 +00:00
jtk 1b429137ae make Jazz16 16-bit output work properly again. Still hangs somewhere
(not yet diagnosed) on occasion in high-speed mode, but a ^C will exit
immediately--no 30-second drainage timeout.
1997-05-29 04:57:02 +00:00
mhitch fe468f64bc Include pm_ds.c if pm_ds, not dc_ds - dc_ds gets set for the 5000/200 as
well as the 3100, but trying to include pm_ds.c for a 5000/200-only
configuration fails.
1997-05-29 03:08:40 +00:00
mhitch 660cdaec8a Use the generic root/swap in the model-specific configuration files. 1997-05-29 02:22:27 +00:00
mycroft e9028468cd Don't use the TC bit to check for wraparound in isa_dmacount(); remember the
transfer length and use that.
1997-05-28 20:02:39 +00:00
jtc 0a3a33b1ba Copyright of this file has been assigned to The NetBSD Foundation 1997-05-28 16:30:54 +00:00
jonathan ceff1980b7 lint: Add prototypes for the redirection hoks used for rcons/4.3bsd
qvss-style in-kernel X inputevent processing.
This whole interface should be replaced with wscons.
1997-05-28 14:21:39 +00:00
thorpej a464ced388 Change the aps_tout member of struct ap_session from time_t to u_long
so that it can be passed to the filter rule aging functions, which
expect a pointer to a u_long.  (time_t is an int on the alpha.)
1997-05-28 04:59:34 +00:00
thorpej fa7df10d8b Put the #ifndef _KERNEL prototype of get_unit() in <netinet/ip_fil.h>
since it is needed by other files, in order to compile on 64-bit
architectures.
1997-05-28 04:48:47 +00:00
jeremy 1b2aae80c2 Added new lock system for the two virtual pages used in temporary mappings.
Allows pmap_zero_page() and pmap_copy_page() to be re-entrant.
1997-05-28 04:28:52 +00:00
jeremy b53e0d4fb7 Coded to work with new lock system for tmp_vpages. 1997-05-28 04:27:00 +00:00
thorpej 8b4b26e8d9 Fix several bugs/warnings:
- Pull in correct headers to get types.
- Garbage-collect some unused code.
- Add missing return values.
- Add parenthesis around assignments in conditionals.
1997-05-28 02:49:06 +00:00
thorpej f160cf5490 Prototype lkmdispatch() in <sys/lkm.h>; all LKMs use it. 1997-05-28 02:44:55 +00:00
thorpej e80ea6e0b3 Add appropriate parenthesis around assignments within conditionals. 1997-05-28 02:43:30 +00:00
thorpej cf30e3e3c9 Prototype lkmexists() in <sys/lkm.h> as some LKMs might need to use it. 1997-05-28 02:41:41 +00:00
thorpej 11bbe25fb4 Add braces around the initialized union in MOD_DEV(). 1997-05-28 02:35:33 +00:00
thorpej b987e82127 CVS munched date on copyright; correct it. 1997-05-28 02:11:10 +00:00
thorpej 6ef2799147 Garbage-collect unneeded CFLAGS. 1997-05-28 02:10:28 +00:00
thorpej bbf6e6fb4d Fix a typo. 1997-05-28 00:22:43 +00:00
thorpej 9062a97000 Resolve conflicts from merge of 3.2a7, take 2. 1997-05-28 00:22:15 +00:00
thorpej 41d4822677 Resolve conflicts from merge of 3.2a7, take 2. Also, eliminate some
silly differences between the NetBSD copy of the code and the
vendor branch, keeping only those which are necessary.  Of those
differences that currently exist, several "portability to NetBSD"
issues, which will be fed back to the ipfilter author.
1997-05-28 00:17:11 +00:00
augustss 1bd32f9cad Add Alaw encoding emulation. 1997-05-28 00:07:46 +00:00
augustss 1616170859 A cosmetic name change. 1997-05-27 23:37:53 +00:00
gwr 01adc15274 Minor reorganization of nfs_mountroot code to simplify BOOTP support.
The RPC/bootparamd calls to get the root and swap paths are now done
in nfs_boot_init() instead of nfs_boot_getfh(), so the latter now just
does the RPC/mountd call.  Also changed some panics into error returns.
1997-05-27 23:37:39 +00:00
augustss 73ff4bd775 Allow more than one hardware driver to attach to the audio upper layer. 1997-05-27 23:24:56 +00:00
gwr 3cb60b969d Allow revarpwhoami() to be called multiple times.
(Just return the answer if we already have it.)
Without this, the RB_ASKNAME loop fails on every
call to nfs_mountroot after the first call.
1997-05-27 23:14:44 +00:00
leo 1c5b9b33c7 Make the bootloader 68060 aware. 1997-05-27 10:28:30 +00:00
thorpej 67a6c44c15 Make this compile on 32-bit architectures again:
- Pull in includes to get appropriate prototypes.
1997-05-27 01:24:31 +00:00
thorpej faeb45fcca Make this compile on 32-bit architectures:
- Add prototypes.
- Add a forward-decl to avoid a cyclic dependency graph.
1997-05-27 01:23:50 +00:00
thorpej 03e37a1874 Make this compile on 32-bit architectures:
- Deal with lame gcc -Wuninitialized warning (which is incorrect)
- Add parens around assignments within conditionals.
1997-05-27 01:22:52 +00:00
thorpej 77a115108c Make this compile on 32-bit architecutres again:
- Get arguments to ioctl right (cmd is a u_long in NetBSD)
1997-05-27 01:21:33 +00:00
thorpej 55323c48ca Make this compile on 32-bit architectures again:
- Add prototypes.
- Get arguments to ioctl right (cmd is a u_long in NetBSD)
1997-05-27 01:20:46 +00:00
thorpej 5d1bb7474a Make this compile on 32-bit architectures:
- Add prototypes.
- garbage-collect unused variables.
1997-05-27 01:19:48 +00:00
thorpej 6c873135ee Make this compile on 32-bit architectures again:
- garbage-collect unused variables.
1997-05-27 01:18:47 +00:00