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
thorpej
e8e871e8ca
Make this compile on 32-bit architectures again:
...
- Don't prototype functions that don't exist, and do prototype those
that do.
- Get ioctl arguments right (cmd is a u_long in NetBSD).
1997-05-27 01:17:04 +00:00
thorpej
a09051fa6d
Make this compile on 32-bit architectures again:
...
- Fix a really obvious error: ipl_enable() disappeared, but the guts of
the function were scrunched into the "no-op" BSD pseudo-device attach
routine. Would not compile, because of non-void return from a void
function. Fixed by reincarnating ipl_enable(), and reimplementing
the no-op pseudo-device attach.
- #ifdef as appropriate to remove unused variable warnings.
- Call ipl_enable() in iplinit(), rather than the no-op ipfilterattach().
1997-05-27 01:15:21 +00:00
thorpej
8ead9b88e8
Make this compile on 32-bit architectures again:
...
- garbage-collect unused variables, or #ifdef them as appropriate.
1997-05-27 01:09:13 +00:00
thorpej
ad58cb5136
Make kernels with ipfilter compile again: need netinet/ip_proxy.c.
1997-05-27 01:07:48 +00:00
jeremy
89aa743138
Config file for a RAMDISK kernel.
1997-05-27 01:06:33 +00:00
jonathan
ed8e9558ab
Lint: printf formats inside #ifdef DEBUG (long vs int, %x vs pointer).
...
Add XXX to inconsistency: sometimes pmap.c calls blkclr(), sometimes it uses
an inline C loop tuned for 4-entry writebuffer. Why?
1997-05-26 23:02:11 +00:00
pk
f959841d17
Pass correct offset to vn_rdwr().
1997-05-26 20:28:38 +00:00
darrenr
ea9bbec5f5
remove extra #endif
1997-05-26 17:57:21 +00:00
mycroft
6756ff7858
Minor corrections to previous. Notably, make recording work on SBPro again.
1997-05-26 16:13:59 +00:00
darrenr
27be4b8f04
Import new sources for 3.2alpha7
...
(blah, someone want to clean away /cvsroot/sys/netinet ?)
1997-05-26 15:18:15 +00:00
mycroft
6bfd7b7d45
Remove unneeded call to comstop() in commsrint(). This fixes a problem
...
where the driver would sometimes retransmit bytes.
1997-05-26 14:54:46 +00:00
jonathan
03bb8c9b9e
lint: #ifdef DEBUG code: use %p for pointers, %ld for vm_offset_t's.
1997-05-26 06:21:20 +00:00
cjs
5fd7ce7066
These updates to the build allow building against include files
...
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
jeremy
42012469ef
Document that tapeboot has been tested and works.
1997-05-26 03:44:42 +00:00
jonathan
0978222b09
lint:#ifdef DEBUG code. Add parens where requested, Prototype stacktrace().
1997-05-26 02:25:58 +00:00
thorpej
cad3c2f3f0
Garbage-collected long-unused setredzone().
1997-05-26 00:27:43 +00:00
jonathan
333ebdebd6
lint: prototype blkclr __P((caddr_t val, int size)). Used in pmap code.
1997-05-25 23:00:40 +00:00
veego
6647500cd2
New Hardware Cursor support from Michael Teske.
1997-05-25 22:46:21 +00:00
pk
e571ff8ba8
Add code (#ifdef'ed VND_FILLHOLES for now) to fall back on vn_rdwr()
...
if VOP_BMAP() does not produce a translation.
IO_SYNC is used to prevent dirty file cache buffers. On a ffs filesystem,
once a hole is filled, subsequent vnd accesses find will find valid
VOP_BMAP() translations.
Concerns:
* is the assumed semantics correct for all filesystems?
* do we actually want the automagic extension on the VND
backing store..
1997-05-25 22:27:16 +00:00
veego
9aca91d78c
Converted for the use of sys/dev/clock_subr.[ch].
...
Add some comments about the a2000 oki clock chip and stop the clock while
writing.
1997-05-25 22:11:48 +00:00
veego
b2361aa1f6
Remove some defines which are no longer needed.
...
clock.c uses now sys/dev/clock_subr.[ch].
1997-05-25 22:08:24 +00:00
jonathan
d21acac556
Create standard Makefile for arch/pmax/stand.
...
Copy old Makefile with bootblock rules to Makefile.booters.
1997-05-25 22:03:23 +00:00
veego
0e41c5cc23
Add dev/clock_subr.c and the major line for vnd, so you now use swaping
...
to a file.
Add comments and resort some entries.
1997-05-25 22:03:08 +00:00
veego
0275835c28
- Add and change some comments and options.
...
- Use 'options<SPACE><TAB>...'
1997-05-25 22:00:04 +00:00
jonathan
40b20f7799
Move dec_label into a subdir.
1997-05-25 21:39:08 +00:00
jonathan
dbdac42c7e
Add ecoff symbol header definitions for mips1.
1997-05-25 21:22:19 +00:00
pk
740da4fa88
Use an additional structure to keep information on a set of transfers
...
initiated by vnd_strategy(). This allows for more natural error handling
and solves two bugs:
* vnd can disk_unbusy without disk_busy (PR#2657)
* b_resid is set correctly on the external at the end
of a transfer in case of an error.
1997-05-25 19:37:36 +00:00
thorpej
5b2dc97efd
Move the test for "no rootspec and no bootdv" to after we've had a chance
...
to set rootspec in the case of "root on ? type nfs" and no bootdv was
found. From maximum entropy <entropy@tanstaafl.bernstein.com>, PR #3669 .
1997-05-25 19:20:30 +00:00
pk
317703b784
Pass correct transfer count to disk_unbusy().
1997-05-25 16:21:45 +00:00
leo
c803f7baa9
Add serial driver for 68901 UART (modem1 port).
1997-05-25 12:41:27 +00:00
darrenr
29fab67628
fix conflicts
1997-05-25 12:40:11 +00:00
jonathan
8b35fc95ad
GC old ultrix-emul syscall stub used to debug ultrix signals.
1997-05-25 11:09:39 +00:00
jonathan
e319f99e4b
lint: include header files with declarations of input-redirect hooks.
...
Add prototypes and explicit casts where the hooks are polymorphic.
This whole interface should be replaced with wscons.
1997-05-25 10:53:33 +00:00
jonathan
0087cea09e
lint: add prototypes for termio/termios emul conversions and ioctl handlers.
1997-05-25 10:38:00 +00:00
jonathan
4cf3fe8b78
lint: add prototype for pmax serial-console inithook.
1997-05-25 10:28:22 +00:00
jonathan
894ea52659
Update copyright.
1997-05-25 10:24:05 +00:00
jonathan
d06117b286
lint: add prototype for static function make_ultrix_mntent().
1997-05-25 10:21:34 +00:00
jonathan
2548f9ceee
lint: add prototype for kvtophys().
1997-05-25 10:16:17 +00:00
jonathan
59c42b27b1
Lint: use new headers with prototypes. Add local prototypes for
...
locore spl functions; they should only be lint used directly here.
Delete unused variables, etc.
1997-05-25 10:07:38 +00:00
jonathan
e991c94232
Add parens where requested by gcc -Wall.
1997-05-25 10:01:38 +00:00
jonathan
94d7e627c1
Rename cpu_singlstep() to mips_singlestep() and add prototype.
...
(it's not part of the standard interface to MD code.)
XXX Consider moving into process_machdep.c when the mips3 changes are merged.
1997-05-25 09:56:45 +00:00
jonathan
5520aec6bb
Oops, #include <machine/autoconf.h> after previous change.
1997-05-25 08:17:00 +00:00
jonathan
88787ea86a
Lint: machdep.c calls configure() and makebootdev().
...
Move their declaratinos to pmax/autoconf.h.
1997-05-25 06:10:46 +00:00
jonathan
19743d60e1
Lint: add prototype for badaddr() (the expansion of tc_badaddr).
1997-05-25 05:58:36 +00:00
jonathan
84f22cdf55
lint: delete unused variables.
1997-05-25 05:48:14 +00:00
jonathan
c17d51a55d
Add (bogus) prototype for tcinfo() PROM callback until we know what it is.
1997-05-25 05:44:13 +00:00
jonathan
7411774547
lint: add prototype for static local function ultrixstatfs().
1997-05-25 05:30:21 +00:00
jonathan
a2051af8b9
RCSid police. Delete obsolete function-scope extern declarations.
1997-05-25 05:26:00 +00:00
jonathan
cedd6dbe25
Lint: move forward declarations to beginning of file and protoize.
...
delete unused variables and add redundant parens where suggested.
1997-05-25 05:19:51 +00:00
jonathan
a0600d7d94
Prototype for pmap_bootstrap().
1997-05-25 05:04:03 +00:00
jonathan
03953c0e63
Apply NetBSD-1.2 name changes to pmax board-specific trap handler declarations.
1997-05-25 05:01:51 +00:00
jonathan
352da01442
Remove #ifdef NDTOP/#endif wrapper, not needed with new config.
...
Annotate strange #includes (dcreg.h?).
1997-05-25 04:58:36 +00:00
jonathan
42ad3d85be
Move prototypes for X11-upcall hooks to dtopvar.h, for the benefit of
...
the Ultrix framebuffer-API compatibility code.
1997-05-25 04:49:59 +00:00
jonathan
ce0a173bf6
Add prototypes for device-specific handlers and input-event (X11) upcalls.
1997-05-25 02:37:55 +00:00
augustss
b8b6339580
Add defines to be backwards compatible with 1.2 encoding names.
1997-05-24 23:23:17 +00:00
pk
4f292fbb17
Remove `bustype' argument from bus_tmp().
1997-05-24 20:17:04 +00:00
pk
ec02e14ae2
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:06 +00:00
pk
e59f568ea7
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:05 +00:00
pk
3137152cb5
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:04 +00:00
pk
5ec5d5bca3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:03 +00:00
pk
954e31e49a
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:16:02 +00:00
pk
3cb17e53d3
Remove `bustype' argument from map[io]dev().
1997-05-24 20:16:01 +00:00
pk
c6a933f6ea
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:59 +00:00
pk
b3aae0c409
Remove `bustype' argument from map[io]dev().
1997-05-24 20:15:58 +00:00
pk
821f712972
Remove all `bustype' arguments from map[io]dev() and REG2PHYS().
1997-05-24 20:15:58 +00:00
pk
9f2499dc98
mapdev() looses the `bustype' argument. It's superseded by `rr_iospace'
...
on all archs.
1997-05-24 20:13:48 +00:00
veego
d3e0c68735
Fix the DESTDIR problem.
1997-05-24 20:09:49 +00:00
pk
72c03c7df9
Use page type encoding macros from pmap.h
1997-05-24 20:09:45 +00:00
pk
fb5c729d4a
Use `rr_iospace' to track the MMU page type bits. On sun4c/sun4m the
...
iospace value is always learned from the PROM; on sun4, we infer it
from the BUS_* parameters.
This obsoletes the `bustype' argument in bus_tmp().
1997-05-24 20:08:41 +00:00
pk
ea0f4900ff
Always use `rr_iospace' to track the MMU page type bits.
...
This obsoletes the `bustype' argument in map[io]dev().
1997-05-24 20:03:03 +00:00
pk
957b6c1c18
Define macros for encoding I/O space bits into the physical address
...
passed to pmap_enter().
1997-05-24 19:59:25 +00:00
christos
6a9f9d3292
PR/3665: Martin Husemann: if_strip calls sl_compress_init with extra arg.
1997-05-24 14:39:44 +00:00
jonathan
d5b9a48fd5
Add prototype for cpu_exec_ecoff_setregs() to mips/inuclde/ecoff_machdep.h.
...
Use it in compat/ultrix/ultrix_misc.c (setting emul type on mips).
1997-05-24 10:26:30 +00:00
jonathan
2b708ca438
lint: gc unused variables in ultrix_sys_mount().
1997-05-24 09:56:47 +00:00
jonathan
6aaa702220
lint: add explicit return type to ultrix_sys_shmsys().
1997-05-24 09:53:11 +00:00
jonathan
3bdc896e84
lint: fix %x vs pointer and tyops in error-logging printfs.
1997-05-24 09:48:53 +00:00
jonathan
a9700d60e4
lint: add missing %d (unit number of unconfigurable device) to panic msg.
1997-05-24 09:37:45 +00:00
jonathan
52afc81f2a
lint: delete unused variable 'dv'.
1997-05-24 09:32:34 +00:00
jonathan
c0c7efb178
Delint debugging-printf() macro.
1997-05-24 09:30:27 +00:00
jonathan
588324e3fb
Lint: include prototypes for TurboChannel framebuffer console-init functions.
...
include prototype for printf() and panic() and delint calls.
1997-05-24 09:17:24 +00:00
jonathan
d617788337
Fix typos in prototypes of console-init entrypoints.
1997-05-24 09:15:46 +00:00
jonathan
b14cdadc36
lint: Create mips/include/conf.h with prototypes for {mem device.
...
Add 'struct proc *p' 4th arg to mmopen(), mmclose().
Delete unused variable.
1997-05-24 08:57:59 +00:00
jonathan
aab81e72b8
lint: add prototypes for interrupt(), softintr(), pppintr().
1997-05-24 08:49:22 +00:00
jonathan
8f17cfaec1
Add 'needs-flag' to pmax, 3max dc (DZ-11 clone) front-ends (dc_ds, dc_ioasic
...
respectively), so console setup code can test forconfiguration of the
correct front-end (via NDC_DC and NDC_IOASIC, respectively).
Delete 'needs-flags' from dc.c. GC obsolete uses of NDC, "dc.h".
1997-05-24 08:19:44 +00:00
jonathan
20e5e29aef
Use a ldscript to work around `features' (not enough section headers)
...
when linking kernels with GNU binutils-2.7 or newer ld.
1997-05-24 05:56:06 +00:00
jonathan
02b403c0bf
#ifdef notyet out the as-yet-Undefined bold mode, instead of commenting it out.
1997-05-24 05:49:22 +00:00
jonathan
5cf71bf343
Add declarations and cdevsw/bdevsw entries for cd, ccd, ss, uk, tun.
1997-05-24 05:28:17 +00:00
thorpej
97c6a307e3
Where _is_ that brick when you need it?!
1997-05-24 03:45:40 +00:00
jeremy
fc60f1979e
Prevent RAM disk hooks from compiling until sun3 md_root.c can support
...
ram disk images that are read in from the outside.
Sync with some old local changes.
1997-05-24 00:09:49 +00:00
jeremy
b06eb8ce7f
Comment reference to ramdisk.h -> md.h
1997-05-23 23:44:34 +00:00
jonathan
ba1c517a52
GNU ld script for linking mips kernels, contributed by Arne Juul.
1997-05-23 22:21:06 +00:00
augustss
72b5ba3901
Redo the way selecting the mode for SB cards is done completely.
...
It is now table driven since there are so many different variations
of SB cards out there.
Also fix a bug that stopped SB2 and SBPro from working.
1997-05-23 21:19:59 +00:00
thorpej
38b3bce886
Make sure reference count manipulation is "atomic", from
...
Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>.
1997-05-23 19:46:08 +00:00
augustss
c612a6fca7
Check that setting IRQ and DRQ on SB16 actually succeeds.
1997-05-23 09:45:40 +00:00
veego
8c07b39516
Use genassym.sh to facilitate cross-compiling.
1997-05-22 22:50:38 +00:00
veego
2c7dbe6639
Add <machine/trap.h> so we don't need to define all the trap values in
...
assym.h.
1997-05-22 22:48:47 +00:00
veego
ddf49ca947
Use genassym.sh to facilitate cross-compiling and add -Wmissing-prototypes.
1997-05-22 22:45:37 +00:00
scottr
4f74abe8b7
Remove redundant cpu_set_kpc() prototype, found by Paul Goyette.
1997-05-22 18:40:10 +00:00
gwr
248eff8eee
Temporary work-around for PR kern/3579 (from Jonathan Stone).
1997-05-22 18:20:06 +00:00
kleink
b7ba6138b6
If the pgrp_id argument of TIOCSPGRP (a.k.a. tcsetpgrp()) does not specify
...
an existing process group, return EINVAL.
1997-05-22 17:35:42 +00:00
mhitch
0db8e55935
DMA state was not getting saved if dmaCurPhase was data-out. If the
...
message-in was a save data pointer, the driver would loop in the
interrupt routine.
1997-05-22 03:26:16 +00:00
lukem
920471eeec
define GID_MAX (max value permitted in gid_t) and UID_MAX (ditto for uid_t)
...
to 2^32-2
1997-05-22 03:02:50 +00:00
gwr
d4af46184c
Deal with another m68k misalignment, this time by changing a
...
short to an int (the first, "pr_type" member). The changed
member was always compared with int values anyway...
1997-05-21 20:09:24 +00:00
gwr
5e15995438
Moved db_kill_proc() and db_show_all_procs() to ddb/db_xxx.c
1997-05-21 19:56:50 +00:00
gwr
55f621803a
Moved db_show_callout() to ddb/db_xxx.c
1997-05-21 19:55:45 +00:00
gwr
e17505a9ea
Add ddb/db_xxx.c
1997-05-21 19:54:54 +00:00
gwr
25bdbcc1dc
Move some DDB stuff here from kern_clock.c and kern_proc.c
1997-05-21 19:54:00 +00:00
jonathan
d212e8744e
Include "rasterconsole.h" to get definition of NRASTERCONSOLE (rcons flag).
...
Don't try rcons on 3100s with keyboards if rcons isn't configured,
1997-05-21 19:41:08 +00:00
jeremy
8253e6e107
Comment for susword was from fusword and hadn't been changed.
1997-05-21 03:51:04 +00:00
gwr
6065389b17
Sync with src/lib/libz
1997-05-20 14:41:54 +00:00
kleink
91830a9500
When a background process attempts to TIOCDRAIN (a.k.a. tcdrain()), send
...
its process group a SIGTTOU signal.
1997-05-20 13:11:33 +00:00
augustss
1fd29f4172
Make the audio default parameters into a globally accessible constant.
1997-05-20 12:51:43 +00:00
jonathan
b088f1b7fd
Change default le entry from "le*" to "le0" so GENERIC kernels
...
configure the pmin/pmax (2100/3100) baseboard ethernet as le0, not le1.
1997-05-20 08:36:42 +00:00
jeremy
0304ff6aed
Implement code to dynamically size the number of page tables based on available
...
RAM at boot.
Also did some cleanup of unused functions, updated several comments, and
removed unecessary 'XXX's.
1997-05-20 06:01:19 +00:00
scottr
a777c246ad
Adjust for previous m68k/pcb.h change
1997-05-20 03:25:07 +00:00
jonathan
1175a38b7f
Use cpu_splXXX() functions to enforce the required ordering of spl()s.
1997-05-19 23:34:40 +00:00
jtc
69f811b13c
copyright assigned to TNF
1997-05-19 23:26:32 +00:00
jonathan
ba2aa6f75a
Add cpu_spl[012345]() definitions to locore. These clear the given
...
interrupt-enable bit in the status register, and all lower bits.
Can be used for spl{bio,net,tty,clock,statclock} on machines where
devices are wried to mips hard-interrupt levels in ascending bit order
so as to match the BSD spl.9 ordering.
1997-05-19 23:25:09 +00:00
augustss
0db08d11e6
Redo the SB mixer code. The driver can now distinguish between the
...
four different mixer options: none, CT1335, CT1345, and CT1745.
It should now be possible to access most of the SB16 functionality.
1997-05-19 23:14:29 +00:00
augustss
604e6c4091
Add missing initialization.
1997-05-19 23:05:14 +00:00
jtc
9784de474e
copyright assigned to TNF
1997-05-19 22:11:12 +00:00
pk
0dae2eb53d
Avoid negative values for `b_dirtyend' and `b_validend'.
1997-05-19 22:08:56 +00:00
veego
f1b84d21b8
Make the install rule nicer.
1997-05-19 21:49:20 +00:00
is
c53cd4cf48
Add forgotten CLEANFILES. Pointed out by Bernd Ernesti.
1997-05-19 21:34:58 +00:00
jonathan
0a995f71a2
Fix typo.
1997-05-19 21:24:10 +00:00
is
3274c536b3
Yet another try to sanitize the bootblock build. Each major target has now
...
its own subdirectory.
Smaller changes involved:
- installboot installs to /usr/mdec
- installboot.8 installs to /usr/share/man/cat8/amiga/
1997-05-19 21:18:58 +00:00
leo
c05eddf7f5
Fix the 'shifting screens' bug on the Falcon. This solution is not perfect
...
since it gives a bit of flicker while switching frame buffers. From
Thomas Gerner.
1997-05-19 21:07:05 +00:00
pk
ae61406a77
Replace bus_tmp() by mapdev() equivalent.
1997-05-19 19:59:36 +00:00
pk
f88bf0a6e9
Replace bus_tmp() with mapdev() equivalent.
1997-05-19 19:56:26 +00:00
scottr
d93126b350
Use common m68k/pcb.h; noted by Erik Bertelsen <erik@sockdev.uni-c.dk>,
...
closes PR 3650.
1997-05-19 17:36:45 +00:00
augustss
0decef1b80
Fix recording source selection bug.
1997-05-19 17:29:12 +00:00
scottr
a0d035c410
Fix some printf format inconsistencies; from SUNAGAWA Keiki
...
<kei_sun@ba2.so-net.or.jp>, fixes PR 3619.
1997-05-19 17:23:09 +00:00
pk
7a45e8a551
Fill in b_dirtyoff/b_dirtyend and b_validoff/b_validend appropriately
...
in each auxiliary buffer; the strategy routines (esp. NFS's) like that.
1997-05-19 14:41:54 +00:00
pk
153ccc307b
Use PHOLD() and PRELE(), rather than manipulating p_holdcnt directly.
1997-05-19 10:43:28 +00:00
veego
a078a4be55
Fix lossage from the latest vm_pmap changes.
1997-05-19 10:14:47 +00:00
mrg
ac74fdbb9c
KNF.
1997-05-19 04:01:16 +00:00
mycroft
f1b8a3c357
Make sure intrtype[] is set. (Curious where this got lost...)
1997-05-19 01:13:01 +00:00
thorpej
14078d838d
Remove comment about bus dma tag. I've been convinced otherwise.
1997-05-18 23:14:03 +00:00
pk
350c3993aa
Remove bus_tmp().
1997-05-18 21:26:40 +00:00
pk
c0036ae48d
Remove bus_tmp(); it's just a special case of mapdev().
1997-05-18 21:26:22 +00:00
kleink
2509589972
Add posix_rename() syscall: regen.
1997-05-18 20:07:27 +00:00
kleink
d3aadd8976
Add posix_rename() syscall.
1997-05-18 19:56:48 +00:00
pk
dc9c65530d
Define a `vme' device on `iommu' and allow `vmes' and `vmel' as sub-busses.
1997-05-18 19:41:02 +00:00
pk
18a4aeea23
A bit of framework for sun4m VME busses.
1997-05-18 19:37:37 +00:00
mhitch
8e9925b45b
Eliminate vm_pmap.
1997-05-18 17:26:30 +00:00
kleink
a1c6b08386
When reading from an empty FIFO no process has opened for writing, and
...
O_NONBLOCK is set, return 0.
1997-05-18 12:19:29 +00:00
mycroft
ad19544997
Remove bogus .PATHs.
1997-05-18 12:14:55 +00:00
thorpej
50a39a3334
Add NetBSD RCS IDs.
1997-05-18 06:08:02 +00:00
thorpej
5e447974cb
Add a comment about why the bus dma tag is not provided to the child
...
bus attaching to the bridge.
1997-05-18 05:30:34 +00:00
thorpej
2b8a15aed4
Add a comment about why the bus dma tag is not forwarded from parent
...
to child if an auxillary PCI bus is attached to the bridge. Also,
remove an extra ';'.
1997-05-18 05:29:24 +00:00
jonathan
ac99526674
Add defines for increasing SPL levels, assuming devices are wired up
...
in to CPU interrupt pins in order of increasing priority.
1997-05-18 03:19:41 +00:00
augustss
8d6f509439
Mask the level registers as the documentation suggests.
1997-05-18 00:36:03 +00:00
augustss
d7a82223f4
Change lowater calculation a little.
...
Fix mixer setting bug and add some missing splaudio().
Set SB drq16 to 5 and don't pretend to be SB v1.0.
1997-05-17 23:26:33 +00:00
christos
cf463415ec
Update to ppp-2.3b5
1997-05-17 21:11:59 +00:00
pk
d3844873e8
Mods for ESP406/FAS408 ISA SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:47 +00:00
pk
7f4962f3f3
An ESP406/FAS408 ISA SCSI adapter driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:58:12 +00:00
pk
990857fe21
Mods for ESP406/FAS408 SCSI driver (from Eric S. Hvozda; PR#3581)
1997-05-17 20:56:55 +00:00
pk
80bb266e0e
NULL => 0 (Arne Juul; PR#3629)
1997-05-17 20:31:15 +00:00
pk
0914945bfe
Keep a shadow copy of the aux register's contents.
1997-05-17 17:52:50 +00:00
mycroft
dc056a2dfd
Undo previous change.
1997-05-17 16:13:24 +00:00
matthias
1574dad87a
* Missed that one during last commit.
1997-05-17 14:06:26 +00:00
matthias
eed1dad537
* Reorganize pc532/stand similar to the alpha and hp300 ports (by stealing
...
Makefiles and scripts from hp300/alpha).
1997-05-17 13:55:34 +00:00
thorpej
92c113aebb
Fix printf format botch.
1997-05-17 00:19:02 +00:00
gwr
09da7e273e
Eliminate vmspace.vm_pmap and all references to it unless
...
__VM_PMAP_HACK is defined (for temporary compatibility).
The __VM_PMAP_HACK code should be removed after all the
ports that define it have removed all vm_pmap references.
1997-05-16 21:39:50 +00:00
gwr
e2a58b69f7
Add #define __VM_PMAP_HACK as a temporary measure.
1997-05-16 21:35:30 +00:00
augustss
abdd4ddbea
Back to pretending to be a SB v1.0 again, the mixer code for higher
...
versions is buggy.
1997-05-16 07:07:22 +00:00
jeremy
f7e146ad7f
Return EIO instead of EFAULT when read/write is too big or small.
1997-05-16 05:47:14 +00:00
jeremy
70d1c8b8c8
Return EIO instead of EFAULT when read/write is too big or small.
1997-05-16 05:33:48 +00:00
pk
7ae81c002a
Actually use the passed physical address in viking_cache_flush(). Also,
...
use hardcoded cache parameters for now.
1997-05-15 22:53:01 +00:00
pk
72d640a497
Tweak gain curve (from nsayer@kfu.com; PR#2909)
1997-05-15 22:32:56 +00:00
pk
3f1da95bc5
Nuke old `mmu3l' references.
1997-05-15 22:25:45 +00:00
ragge
05de3b9034
Multicast definitions, forgotten in previous checkins.
1997-05-15 20:10:23 +00:00
pk
4f48bf2bb1
Change some malloc -> MALLOC and free -> FREE
...
More accuracy in diag/panic messages (part of PR3602; Eric Fair).
1997-05-15 19:19:49 +00:00
mjacob
9854f9917e
Print some more info on unresolved user traps, mostly for DIAGNOSTIC.
1997-05-15 18:33:47 +00:00
mjacob
e005d20961
Allow MAXPHYS to be specified as a config file option.
1997-05-15 17:27:15 +00:00
kleink
9827bd6dc6
When fstat(2)ing a file descriptor of a local communications domain socket,
...
fill the socket's creation time into the stat structure's st_[acm]time fields:
POSIX requires this behavior for pipe(2). N.B.: updating the st_[am]time fields
when reading/writing the pipe is neither required nor implemented, though.
1997-05-15 17:01:04 +00:00
mellon
dcf4d707a4
Only compile in rcons tests if rcons pseudo-device was declared
1997-05-15 16:43:36 +00:00
jtc
94815a35ee
Sync with libc
1997-05-15 16:20:54 +00:00
jonathan
e199d62111
Add hooks for definiing kernel RCSId and copyright symbols,
...
via asm(".section"), for compatibility with Alpha tc and ioasic drivers.
Assumes ELF and binutils-2.8 toolchain.
1997-05-15 08:47:05 +00:00
mellon
d3c5a81e19
Don't do rcons-specific things if no rcons pseudo-device was declared. Clean up probe-time printfs.
1997-05-15 07:24:37 +00:00
jonathan
d592c85696
The pmax interrupt handlers were re-enabling clock interrupts ASAP after
...
hardclock() is called. Now, only do so if clock intrs were enabled beforehand.
1997-05-15 05:03:42 +00:00
jonathan
13f3645083
Merge in changes from Alpha scc driver with RCS log message:
...
> revision 1.33
> date: 1997/05/15 02:15:55; author: thorpej; state: Exp; lines: +8 -4
> - In sccmatch(), check any user-specified offset, allowing scc unit numbers
> to be nailed down. From Ken Hornstein <kenh@cmf.nrl.navy.mil>, PR #3626 ,
> slightly modified to allow wildcarded offsets.
> - Blow away the cf->cf_unit check in sccmatch(); it's bogus.
Also gc usused references to NSCC and #include "scc.h"
1997-05-15 04:49:32 +00:00
jonathan
a72c2263f5
Change `needs-count' on scc to `needs-flag': should have been `needs-flag'
...
since rev 1.18 of pmax/tc/scc.c.
1997-05-15 04:42:12 +00:00
thorpej
2494f148f4
- In sccmatch(), check any user-specified offset, allowing scc unit numbers
...
to be nailed down. From Ken Hornstein <kenh@cmf.nrl.navy.mil>, PR #3626 ,
slightly modified to allow wildcarded offsets.
- Blow away the cf->cf_unit check in sccmatch(); it's bogus.
1997-05-15 02:15:55 +00:00
jeremy
608a6800e6
Things are stable enough that DDB, PMAP_DEBUG and DIAGNOSTIC aren't needed
...
anymore.
1997-05-15 01:49:27 +00:00
jonathan
3480029167
Add `offset' locator to ioasic-attached devices, for compatibility with
...
the ioasic_submatch() used in drivers shared by pmax and alpha ports.
1997-05-15 00:43:22 +00:00
veego
2aba644f04
Fix a cut&paste (?) mistake. pr#3622
1997-05-14 19:00:17 +00:00
veego
cc8306e0d2
Remove a : which is too much. fix pr#3621
1997-05-14 18:12:10 +00:00
gwr
a83cf310c1
The Hydra is 20 MHz and the Pegasus is 33 MHz.
1997-05-14 16:45:22 +00:00
gwr
5079510304
Make the "hydra" call leds_hydra() from clock_attach().
1997-05-14 16:42:45 +00:00
gwr
e6fa5bc33d
Add leds_hydra().
1997-05-14 16:37:01 +00:00
gwr
b209530013
Remove call to leds_init (it is already in obio_init).
1997-05-14 16:13:31 +00:00
christos
3a8dda73c5
Add missing prototypes to sa_handler and sv_handler. Note: the sv_handler
...
prototype is historically incorrect, but we don't provide the interface
in the kernel, so why lie about it?
1997-05-14 16:12:15 +00:00
thorpej
2dc79e5c4b
Link this program statically.
1997-05-14 07:57:13 +00:00
jeremy
ebb856e274
Long awaited MI/MD separation completed.
1997-05-14 01:37:23 +00:00
thorpej
151926da32
Make sure we're in register window 0 before attempting EEPROM access,
...
pointed out by Matthias Drochner.
1997-05-14 00:22:00 +00:00
jtk
fb2e379487
add pci* at pchb?
1997-05-13 22:48:33 +00:00
jtk
548e1683bf
add pcibus attribute to pchb, for Intel dual-bus host/PCI bridge chip
1997-05-13 22:48:02 +00:00
jtk
86bf57701c
add support for dual PCI bus Intel host/PCI bridge. Thanks to Chris Demetriou for his assistance in educating me about the vagaries of PCI and its configuration model.
1997-05-13 22:47:30 +00:00
gwr
3dd3428361
In user mode code, define PS_STRINGS as __ps_strings (from crt0).
1997-05-13 21:37:06 +00:00
jtc
f99d42b623
Sync with libc.
1997-05-13 19:32:01 +00:00
augustss
37be371415
Clean up emulation code, SB, and GUS drivers and add some more encoding
...
emulation to SB.
1997-05-13 19:02:11 +00:00
gwr
a8af683eb9
Eliminate references to vmspace.vm_pmap
1997-05-13 18:00:49 +00:00
gwr
1aa91b893d
Eliminate references to vmspace.vm_pmap
...
(also fix some comments).
1997-05-13 17:17:12 +00:00
gwr
d69bf3ded2
Eliminate references to vmspace.vm_pmap
...
(also fix some typos in comments).
1997-05-13 17:16:28 +00:00
gwr
1d8ffff9d9
Use GLOBAL(), _C_LABEL(), etc.
1997-05-13 16:31:26 +00:00
jtk
d01ff6bdaa
regen
1997-05-13 14:45:39 +00:00
jtk
68187ebd40
correct the identification of Intel Orion PCIset chips
1997-05-13 14:44:54 +00:00
scottr
fac0bcfedb
Update a recently-added comment re: bytelanes values.
1997-05-13 13:22:56 +00:00
scottr
5b80f9077f
Tweak sbc_drq_intr() (interrupt-driven PDMA interrupt handler); it
...
now works properly on at least some disks. Further testing is
necessary.
1997-05-13 06:34:00 +00:00
fvdl
f9d1ae2243
clear B_AGE for non-flush writes, buffers seem to be reused
...
too quickly, disturbing NFS performance (XXXX needs further analysis
and a _real_ fix)
1997-05-12 23:42:11 +00:00
fvdl
fe28924160
* If nfs_reconnect fails, be sure to release the sndlock, otherwise no
...
other requests will get through and the mount point will be effectively dead.
This could happen for mounts using TCP and -i and/or -s.
* Reserve enough space for UDP sockets. Fixes PR 3008, from Naofumi Honda.
1997-05-12 23:40:22 +00:00
fvdl
7b65591cb9
In nfsrvw_coalesce, make sure the coalesce list from the nfsd is moved
...
as well. This fixes client hangs. (from Naofumi Honda
<honda@Kururu.math.sci.hokudai.ac.jp> / NetBSD-pc98)
1997-05-12 23:37:12 +00:00
thorpej
e98c5a9b1c
Fix two boundary/overflow errors in extent_alloc_subregion():
...
(1): "substart == ex->ex_end" and "subend == ex->ex_start"
are completely legal parameters for extent_alloc_subregion()
(2): "(subend - substart) + 1" can cause an overflow if the whole
numeric range is covered by the extent.
Submitted by Matthias Drochner <drochner@zelz26.zel.kfa-juelich.de>
in PR #3119 .
1997-05-12 23:36:32 +00:00
fvdl
ae69375a24
Store RPC procnum consistently as an u_int32_t. This is as it should be,
...
and avoid possible server crashes due to bogus comparisons. Partly
from BSDI.
1997-05-12 23:36:04 +00:00
scottr
3b7a1d3ab0
Convert several interrupt handlers to bus space model, removing some
...
XXX's. Also, fix a bug in grfmv_intr_generic() that I found and
confirmed with Allen.
1997-05-12 20:35:50 +00:00
kleink
9c03d5cf55
When doing a CREATE, RENAME or DELETE w/ DOWHITEOUT and ISWHITEOUT lookup on a
...
non-existent file and the end of the pathname is reached, and this `current'
directory resides on a read-only mounted file system, don't update/prepare
its inode for the actual operation but return EROFS.
1997-05-12 19:04:16 +00:00
thorpej
4d989c06dd
Add the following drivers:
...
- frodo at intio
- dnkbd at frodo (commented out until integrated)
- apci at frodo
1997-05-12 08:24:56 +00:00
thorpej
f8337a2c14
Add apci driver glue.
1997-05-12 08:23:28 +00:00
thorpej
286b3b171d
Add glue for APCI driver at cdev minor #31 and in console switch.
1997-05-12 08:17:53 +00:00
thorpej
6cc1022d84
Garbage-collect an unneeded definition.
1997-05-12 08:14:01 +00:00
thorpej
a492e1df80
Add a kernel driver for the APCI 8250-like UARTs that live in the
...
Frodo ASIC, originally contributed by Mike Smith
<mike@pressed.spam.frisbee.net.au>, but reworked by me to:
- Essentially duplicate the dca driver, modifiying where necessary
to work with the APCI.
- Deal with the different Frodo autoconfiguration model.
- Don't attach a tty to the 0th UART - it's not really useful for much
more than the Domain keyboard.
- Added a routine to check for the existence of a DCA at select code 9.
On most models, the 1'th UART is mapped to select code 9 by the PROM,
and on these models, we do _NOT_ want to attach the device as an APCI.
However, on the 425e, this mapping does not take place, so we attach
as an APCI. The 2'th and 3'th UARTs always get tty instances.
- Add console support which will only be invoked on the 425e (i.e. check
for DCA at 9, and defer console to it if it exists).
1997-05-12 08:12:36 +00:00
thorpej
a155715d44
Add a driver for the Apollo Utility Chip (a.k.a. "frodo"), contributed
...
by Mike Smith <mike@pressed.spam.frisbee.net.au>, with some changes to
the autoconfiguration model and slight changes to the interrupt glue
by me.
1997-05-12 08:03:48 +00:00
thorpej
2392fb2a1c
Bump version: Added APCI console support
1997-05-12 07:58:08 +00:00
thorpej
83c63bd2de
- Always build a romout() stub.
...
- If kbdnmi() returns, stop cold, since it shouldn't.
1997-05-12 07:56:00 +00:00
thorpej
f39885279b
- Define INTIOBASE here for use by the standalone programs.
...
- Add some extern's for "userom" and romputchar()
1997-05-12 07:54:45 +00:00
scottr
61322b7b85
KNF and other cosmetics.
1997-05-12 07:53:58 +00:00
scottr
bfc4c6c42d
Whoops; here's the rest of the Deferred Task Manager changes.
1997-05-12 07:53:04 +00:00
thorpej
4e0ee78444
- Always build the romputchar() glue.
...
- Don't set "userom" in the trap handler (we didn't before, but we've
removed the previous CPP conditional that was used to enable it.)
1997-05-12 07:53:02 +00:00
thorpej
eac0352a9e
In kbdnmi(), after we have cleared the interrupt condition, reset
...
the machine, rather than simply returning to the assembly NMI handler.
Previously, the assembly handler would simply jump back to begin:, which
would frob the stack, and re-clear the BSS. However, this is not sufficient,
as there may be state in initialized data that must be restored. Thus,
the only reasonable solution is to re-load the boot block.
1997-05-12 07:51:32 +00:00
thorpej
c25bfe1365
Don't use hardcoded hex for the address of the internal HP-IB interface.
...
Instead, use definitions from <hp300/dev/dioreg.h>
1997-05-12 07:48:23 +00:00
thorpej
82ae3a106e
Don't use a hard-coded hex address for the 0'th APCI port; use definitions
...
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
thorpej
0c5b002449
Add prototypes for standalone APCI driver.
1997-05-12 07:45:41 +00:00
thorpej
05333d3fa5
- Add glue for standalone APCI console driver.
...
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00
thorpej
225fbfa100
Build the standalone APCI driver.
1997-05-12 07:43:18 +00:00
thorpej
bbbc6052c1
Add a standalone APCI driver, adapted from the standalone DCA driver
...
by me. This driver should only be invoked when there are no other
suitable console devices present in the system. This situation currently
exists on the 425e, for which we do not have a frame buffer driver,
and who's PROM does not map the second APCI UART to select code 9,
like is done on the 4{00,25,33}{t,s}.
1997-05-12 07:41:55 +00:00
scottr
5842491f1c
Add en implementation of the Deferred Task Manager, contributed by Paul
...
Goyette <paul@pgoyette.bdt.com>.
1997-05-12 07:29:29 +00:00
jtk
877dcf7fc9
restore accidentally-lost set of nchannels in driver layer
1997-05-12 04:11:43 +00:00
scottr
ee80f1200e
Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
...
our MD bus_space_probe() extension). This has several side effects:
- NuBus drivers must map and unmap slot space, rather than relying
on this happening before they are attached.
- Functions exported to NuBus drivers from nubus.c now need to be
supplied with a bus space tag/handle pair.
- Old bus map/peek functions can be garbage collected, as can pmap
support for the same.
Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver). All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
1997-05-11 19:11:27 +00:00
jeremy
1c454cc472
Diagnostic LED on 3/80 appears to be active-high, not active-low as previously
...
thought. It remains to be seen if this is true for the 3/470.
1997-05-11 06:16:26 +00:00
jeremy
3d8d0c485c
Add call to leds_init() after everything has started up ok.
1997-05-11 06:15:09 +00:00
jonathan
fac2cd30a0
Set TX-available threshhold in epinit() just before enabling interrupts,
...
so TX_AVAIL intrs are enabled for root-on-NFS kernels.
Tested (and required) on 3c595TX with root-on-NFS kernel booted from floppy.
1997-05-11 05:47:08 +00:00
jeremy
3d6483ab9a
Ignore use of sunos_audioio.monitor_gain because it has no equivalent in the
...
audio sub-system. It used to use the ``__spare'' member of the audio_info
struct, but that has been removed.
1997-05-11 05:41:13 +00:00
augustss
4b487c00bd
Clean up audio_silence_copyout().
1997-05-11 00:41:12 +00:00
pk
ef37270ec6
Install header files from miscfs.
1997-05-10 22:09:46 +00:00
pk
420dea1e9a
Move `struct kern_target' definition into kernfs.h
1997-05-10 22:04:13 +00:00
jtk
c7be49441e
fix typo: LINEAR should have been ULINEAR
1997-05-10 19:01:53 +00:00
jtk
9734adc67f
use normal linear names/values for 8-bit encodings
...
mark mulaw as emulated (it's done via a mapping table)
use GUS query encoding routine, even on GUS max, since the encoding
stuff is handled by the GF1.
XXX might not be right for recording, but it's correct for playback.
1997-05-10 18:58:33 +00:00
lukem
8e6617f5d8
Implement method to store release information in one location; it's
...
generated by `osrelease.sh`. If an argument of "-s" is given, print
the "short" form (e.g, "12E"), otherwise print the long (e.g, "1.2E").
Take advantage of this in newvers.sh.
1997-05-10 15:40:09 +00:00
fvdl
f99df8aa9c
rdsetimage -> mdsetimage in comment (enami tsugutomo, PR 3596)
1997-05-10 11:06:53 +00:00
matthias
9e785c6d3f
* Define proc0paddr here and not in locore.s.
1997-05-10 09:29:26 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
mycroft
3be66b88fe
Update for lookup() changes.
1997-05-09 04:05:01 +00:00
kleink
e7b98401d4
Pull in the declarations of db_expression() and db_error(), used by
...
db_kill_proc().
1997-05-08 17:22:05 +00:00
mycroft
76ee747754
Need stat.h.
1997-05-08 17:17:29 +00:00
mycroft
8e39ee9dad
Don't use vaccess() here.
1997-05-08 17:16:15 +00:00
mycroft
ae5d73b594
Update for vaccess() change.
1997-05-08 17:08:31 +00:00
mycroft
f14deb8a73
Need stat.h.
1997-05-08 16:53:06 +00:00
mycroft
5bd3538a41
Fix typo.
1997-05-08 16:43:16 +00:00
oki
6fd182057f
cleanup use of whitespace
1997-05-08 16:39:35 +00:00
mycroft
06fb68217b
Oops; fix reversed test for VDIR.
1997-05-08 16:34:54 +00:00
mycroft
e3f99a9397
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
...
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
mycroft
07ba5e5ac3
Snapshot of namei() cleanup:
...
1) Eliminate all of the null component name special cases; handle runs of
slashes and leading and trailing slashes completely differently.
2) Return ENOENT when doing a lookup through an empty symlink.
3) Enforce that we're doing a lookup through a directory in in chdir() and
lookup() rather than in foo_lookup().
Not yet finished.
1997-05-08 14:55:22 +00:00
kleink
5482ee2d93
Fixed copyin() argument botch in shmctl() IPC_STAT handling.
1997-05-08 14:33:11 +00:00
matthias
5c6f7fca32
* Update asm.h to be more like the other port's asm.h.
...
* Update locore.s to use all the macros defined asm.h
* Update random.s to use the much nicer algorithm from the m68k port.
1997-05-08 13:44:11 +00:00
mycroft
4d2eb6bb39
GC some code.
1997-05-08 12:17:47 +00:00
mycroft
0ecc9cdac1
Update to 1.2E.
1997-05-08 11:40:16 +00:00
mycroft
837a72363d
VEXEC -> VLOOKUP, as appropriate.
1997-05-08 10:57:17 +00:00
mycroft
8f5978a181
GC VS[UG]ID and VSVTX, and add a new VLOOKUP, since the semantics are now
...
different from VEXEC.
1997-05-08 10:21:35 +00:00
mycroft
d7f33c5e60
va_mode contains stat bits. Use S_IS[UG]ID rather than VS[UG]ID.
1997-05-08 10:19:10 +00:00
thorpej
fd9b64b81a
Garbage-collect an unneeded #ifdef.
1997-05-08 04:39:35 +00:00
thorpej
158a6e52a4
Garbage-collect and uneeded #ifdef.
1997-05-08 04:39:03 +00:00
scottr
94e0a9b88d
Update to current configurations.
1997-05-08 04:09:27 +00:00
thorpej
47aae56862
Sync w/ SPARC port, from Paul Krannenburg <pk@netbsd.org>:
...
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-05-08 01:33:49 +00:00
augustss
07cf0ea21d
Oops, forgot this in previous commit.
1997-05-07 20:23:53 +00:00
augustss
c397fa8357
Return audio buffer size in audio_info_t with ioctl() AUDIO_GETINFO.
...
Use the buffer size to implement one more OSS ioctl().
1997-05-07 19:24:25 +00:00
gwr
84e0c3eb4b
Add a "kill" command that calls db_kill_proc().
1997-05-07 18:51:58 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
gwr
8ae8b46853
Add db_kill_proc().
1997-05-07 18:50:50 +00:00
gwr
9fa3dabef7
Moved db_show_all_procs() to kern_proc.c
1997-05-07 18:49:10 +00:00
gwr
48c524e63a
Add db_kill_proc() for DDB (and move db_show_all_procs here so
...
all the "proc" debugging stuff is here in one place).
1997-05-07 18:48:15 +00:00
thorpej
b5c783c6e4
Merge 970327 "de" update.
1997-05-07 18:45:01 +00:00
mycroft
84bca5d679
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:28:47 +00:00
mycroft
53fb29bd67
We don't need a special clean: target here.
1997-05-07 17:16:05 +00:00
mjacob
11fc3c2a7a
In case someone doesn't compile in DEBUG we need to still
...
snag the msgbuf. Also, observe protocols about message buffer
being 'mapped'.
1997-05-07 17:13:32 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
mycroft
5432d44374
Override the proginstall target to do our special hackery. (Yuck.)
1997-05-07 16:15:01 +00:00
mycroft
29ed66d6d3
Minor change.
1997-05-07 16:13:46 +00:00
mycroft
f778381424
Clean up weirdness.
1997-05-07 16:13:13 +00:00
mycroft
6e0450c70f
Use proginstall:: to disable installing PROG.
1997-05-07 15:59:08 +00:00
mycroft
85903d50e2
Add some missing .PHONYs.
1997-05-07 13:33:59 +00:00
mycroft
ba4cf66fbe
Add a missing .PHONY.
1997-05-07 08:26:04 +00:00
mycroft
fd8daf980e
Add .MAKE to the .OBJDIR hacks, so they work with `make -n'.
1997-05-07 07:15:34 +00:00
mikel
5f50ab9716
fix bogons; from Jonathan O'Brien in PR kern/3571.
1997-05-07 04:47:15 +00:00
mikel
383d8e6f79
update sb_printsc() to match current reality.
1997-05-07 04:36:00 +00:00
lukem
6fe4889b92
cleanup use of whitespace
1997-05-07 02:20:26 +00:00
lukem
a9016579ab
clean up whitespace use
1997-05-07 02:14:59 +00:00
lukem
8744fe853c
clean up use of whitespace
1997-05-07 01:55:23 +00:00
lukem
c4eb220ea5
minor whitespaco fixes
1997-05-07 00:32:44 +00:00
lukem
7f69a90075
whitespacos i missed
1997-05-07 00:29:18 +00:00
lukem
3490941ddb
cleanup unecessary quotage of options
1997-05-07 00:27:33 +00:00
lukem
8c57ea0789
clean up use of whitespace
...
remove unnecessary quotes around options
1997-05-07 00:23:43 +00:00
augustss
7d386f10b8
Adjust ioctl() encoding before calling OSS audio code.
1997-05-06 23:56:43 +00:00
pk
45cc2d6db4
turbosparc: 256 contexts, page tables cannot be cached.
1997-05-06 21:00:54 +00:00
lukem
4abf5a1a72
be consistent with use of spaces and tabs.
...
don't need quotes around options with _'s in the name
1997-05-06 00:56:53 +00:00
lukem
5352e2713a
be consistent with use of spaces and tabs.
1997-05-06 00:31:49 +00:00
jonathan
68db3bde6d
NetBSD doesn't have VSWTCH, so we can't emulate it; clarify. (see PR#2793).
1997-05-05 22:21:18 +00:00
thorpej
3a12db07c6
Update for USELEDS changes (including: garbage-collect LED frobbing
...
code; it has moved to leds.c)
1997-05-05 21:15:41 +00:00
thorpej
500498e411
Update for USELEDS changes.
1997-05-05 21:14:04 +00:00
thorpej
e677b62290
Garbage-collect LED-related stuff.
1997-05-05 21:12:49 +00:00
thorpej
aec958ddf3
Don't initialize the DMA controller here.
1997-05-05 21:11:59 +00:00
thorpej
95bae625a2
Update for USELEDS changes.
1997-05-05 21:09:13 +00:00
thorpej
9c8fdf3dad
Use dio_intr_establish().
1997-05-05 21:08:26 +00:00
thorpej
9eddfbfca3
Update for USELEDS changes.
1997-05-05 21:07:31 +00:00
thorpej
ff163c6424
Use dio_intr_establish().
1997-05-05 21:06:41 +00:00
thorpej
feb623a9ea
- Use dio_intr_establish().
...
- Update for USELEDS changes.
1997-05-05 21:05:32 +00:00
thorpej
3a85f14da4
Use dio_intr_establish().
1997-05-05 21:04:16 +00:00
thorpej
73b24faec6
Do a bit of spring cleaning.
1997-05-05 21:02:39 +00:00
thorpej
82cab4fef4
Prototype dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:01:33 +00:00
thorpej
5bada123f8
- Initialize the DMA controller in dioattach().
...
- Implement dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:00:32 +00:00
thorpej
0a8e2a9ce8
Use dio_intr_establish().
1997-05-05 20:58:18 +00:00
thorpej
bd2bc06c75
- Make "USELEDS" a defopt'd option, so we can generate dependencies on
...
it. Conditionally compile leds.c on USELEDS.
- Rearrange mainbus and intio declarations slightly.
- Add declaration for the forthcoming "frodo" driver.
1997-05-05 20:57:29 +00:00
thorpej
663cee4555
Pull the LED frobbing code out of machdep.c. Since there is more than
...
one LED on an hp300 SPU, rename the file to indicate plurality.
1997-05-05 20:54:34 +00:00
thorpej
397e92e33c
New-style kgdb_machdep.c, mostly duplicated from the sun3 port, modified
...
slightly by me.
1997-05-05 20:51:05 +00:00
thorpej
95dd345f81
Garbage-collect old KGDB code that is no longer used.
1997-05-05 20:48:26 +00:00
tls
02697a5d47
add case for 512Hz in NTP code
1997-05-05 19:25:26 +00:00
mycroft
4d213ec5e7
Need stat.h.
1997-05-05 07:34:09 +00:00
mycroft
0f09f99ae1
Need stat.h.
1997-05-05 07:19:05 +00:00
mycroft
1e3c14a909
Eliminate bogus uses of V{READ,WRITE,EXEC}. Use S_I[RWX]{USR,GRP,OTH} where
...
appropriate.
1997-05-05 07:13:57 +00:00
mycroft
aaf3b59589
Remove outdated comment.
1997-05-05 06:56:20 +00:00
thorpej
3b805799d5
Ok, _really_ back out the sockaddr alignment change this time. We can't
...
reasonably "fix" the compiler "bug" that causes the forced alignment
to fail on certain platforms (e.g. m68k), so we _have_ to solve this
problem a different way.
1997-05-05 06:29:09 +00:00
ragge
e3a104cb1f
Oops, I forgot to check this file in after clock changes.
1997-05-04 19:13:33 +00:00
pk
6c717dd82c
Bump version number to celebrate the fact that the bootblocks can be used
...
unmodified across all platforms.
1997-05-04 14:19:22 +00:00
mjacob
f67d760363
Ancient...needed a slight amount of fixing.
1997-05-04 01:54:24 +00:00
mjacob
b9e2002bb5
Oops- Really should do local files before common.
1997-05-04 01:53:01 +00:00
mjacob
f534e05161
Fix tags target.
1997-05-04 01:49:14 +00:00
cjs
85207f1f0c
Oops. ep at eisa is still `untested.'
1997-05-03 21:27:24 +00:00
mycroft
90f17dd8ab
Oops; put the __attribute__ in the right place.
1997-05-03 12:49:05 +00:00
mycroft
a60739aacf
Make sure struct trapframe is packed tightly.
1997-05-03 10:16:58 +00:00
mycroft
94313a874b
Oops; reverse sense of previous test.
1997-05-03 08:46:09 +00:00
mycroft
1dafb51ea6
Eliminate unused variable in '030-only kernels.
1997-05-03 08:41:29 +00:00
mycroft
fc324bb0b9
Eliminate unused variable when !USELEDS.
1997-05-03 07:09:57 +00:00
briggs
5230506ca5
Support for clearing interrupts on a Rasterops Colorboard 364.
...
Thanks go to Michel Chalufour <michelc@tiac.net> for grovelling around for
me.
1997-05-03 02:29:54 +00:00
jeremy
3f7423a432
Wrap all label references with new macros in m68k/asm.h in preperation
...
for ELF switchover. (eventually)
1997-05-02 23:07:35 +00:00
thorpej
1c76003d36
Align a sockaddr to 4 bytes, not sizeof(long)
1997-05-02 22:23:13 +00:00
thorpej
cbeb4cc773
Revert the reverting of the last change. Turns out the trouble
...
on the m68k was a compiler bug (thanks Charles and Christos!)
1997-05-02 22:19:13 +00:00
christos
6f0b278584
Adjust pdu names.
1997-05-02 21:10:15 +00:00
christos
3f5d9dd199
Rename a the pdu fields and don't add the bogus cast on the frmrinfo define.
1997-05-02 21:08:54 +00:00
thorpej
e7def8a3a9
Revert previous alignment-related change. It caused unexpected problems
...
on at least one architecture. The alignment issue on the alpha will
be solved in a different way.
1997-05-02 19:02:02 +00:00
gwr
58abe62fde
Update an obsolete comment. (We DO handle CapsLock and NumLock.)
1997-05-02 17:41:37 +00:00
ragge
0a9b7dccc7
BPF and multicast support added, patches provided by Jonathan Stone
...
and Ken Wellsch. Fixes PR#2796.
1997-05-02 17:11:24 +00:00
pk
a05df4e228
* finish off support for the 82077 chip as found on sun4m machines.
...
* add non-dma mode bit to `specify command', so formatting disks starts
working (thanks to Jeremy Cooper for finding out about this).
1997-05-02 13:03:44 +00:00
pk
3e9d89dcd0
Switch to copy of file in /sys/dev/ic.
1997-05-02 08:30:42 +00:00
jeremy
e5380025ac
Now in dev/ic.
1997-05-02 06:31:16 +00:00
jeremy
3aa6ce0369
Moved from arch/sun3/sun3 and changed according to implied references
...
in recent commits to sun3/clock.c and sun3x/clock.c by Gordon Ross.
1997-05-02 06:15:28 +00:00
thorpej
a3c7a8f71a
Deal with an alignment problem on the Alpha port. The maximum required
...
alignment of any field in a struct sockaddr is 1, since all members are
chars or char arrays (as noted by Ross Harvey on port-alpha). This causes
the possibility of unaligned access faults when a sockaddr is cast to
e.g. a sockaddr_in. Solution: explicitly direct the compiler to
longword-align the start of a struct sockaddr.
1997-05-02 01:01:43 +00:00
briggs
1b2e317732
Thanks to Tobias Beal <tbeal41@maine.maine.edu>, we can clear interrupts
...
on at least one Radius Precisioncolor 8 board.
1997-05-02 00:54:28 +00:00
christos
964a864dac
Bring back to life struct frmrinfo and llc_frmrinfo; these are used in netccitt
1997-05-01 23:07:13 +00:00
gwr
7a80e420ed
Remove unused part of sun3_kcore_hdr.
1997-05-01 22:48:09 +00:00
pk
31b943b8ac
Preliminary support for ESP406 and FAS408 variants (from Eric Hvodza; PR#3559)
1997-05-01 22:16:24 +00:00
marc
8f6ec1a681
wds_find has the sense of its return value backwards (0 vs 1). This
...
caused the probe to succeed when there was no device present.
1997-05-01 20:10:57 +00:00
briggs
aba671db48
Treat drhw 118 and 119 the same for Apple ethernet cards.
1997-05-01 18:17:13 +00:00
thorpej
766d429d62
Correct a comment long since outdated.
1997-05-01 16:24:26 +00:00
gwr
24af362f60
Implement pmap_pa_exists() so that /dev/mem works.
...
This was the reason ps (kvm_getargs) did not work.
1997-05-01 15:00:11 +00:00
gwr
b9a0ca59bb
oops...
1997-05-01 14:58:20 +00:00
gwr
887d5be03e
Forgot to import this. (Thanks, der Mouse)
1997-05-01 14:57:17 +00:00
christos
9dfe73a161
PR/3462: William Studenmund: sizeof(struct llc) returns 10 on m68k instead
...
of 8. Since structure padding on the m68k is 16 and on the arm is 32, we
rearrange the frmrinfo portion of the union not to contain a second structure.
1997-05-01 14:42:24 +00:00
kleink
269ccaa71b
Fix typo in last commit; from Thorsten Frueauf <frueauf@ira.uka.de>
...
in PR/3566.
1997-05-01 12:27:10 +00:00
cjs
4072012b2b
Ep driver on ISA bus is no longer untested. Also optimistically
...
removed the `untested' designation from the EISA-bus version, since
there's no reason at all why it won't work.
1997-05-01 07:11:11 +00:00
thorpej
989ed431e1
Oops, the numbers for "t" and "s" got swapped around. No functional
...
difference, just correct now.
1997-05-01 05:26:48 +00:00
briggs
a64bc3c19c
Clear the interrupts properly on an E-Machines Futura II LX and make a wild
...
guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364.
Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
1997-05-01 03:34:07 +00:00
briggs
ef185efb22
Add in a couple more board types.
1997-05-01 03:31:07 +00:00
gwr
5e11440dae
Fix printf format vs. arg type warnings (in DEBUG sections).
1997-04-30 23:28:03 +00:00
scottr
19f1b8dd3f
Remove dependency on if_aereg.h for vendor constants; these are really
...
driver-, not architecture-specific.
1997-04-30 19:47:11 +00:00
scottr
b28e1b9459
Fix typo in last change.
1997-04-30 19:32:32 +00:00
kleink
29c5707479
* Make chown()/fchown() use a piece of common code to set ownership.
...
* Setting the ownership of a file now implies clearing its set-{group,user}-id
bits.
1997-04-30 19:29:43 +00:00
scottr
cd3abdf098
Fix typo in last change.
1997-04-30 19:16:23 +00:00
scottr
4a36cdfd19
Adjust to use16bit -> dcr_reg change in MI driver.
1997-04-30 18:10:37 +00:00
scottr
c0d7fd03ae
Remove the use16bit softc field, replacing the functionality with dcr_reg.
...
This allows the front end to override the default DCR (byte-wide DMA,
x86 byte order, 8-byte FIFO) with different transfer size, byte order, DMA
parameters, and FIFO threshhold. If the loopback select bit is not set for
normal operation, the default is used instead.
Inspired by thoughts from Bernd Ernesti.
1997-04-30 18:09:14 +00:00
mycroft
19c4f04eeb
Sync with GENERIC, and nuke procfs and kernfs.
1997-04-30 06:06:02 +00:00
augustss
2fb1d088c5
XXX Pretend that all SB cards are of model 1.
...
XXX This way you can at least use SB cards until the real fixes go in.
1997-04-30 02:08:12 +00:00
thorpej
60ad2f6582
Use the md5 implementation in libkern, not our own.
1997-04-30 00:54:34 +00:00
thorpej
13f5393c88
Build md5c.c
1997-04-30 00:53:38 +00:00
thorpej
f2afed0bb1
Add the libc md5 implementation to libkern.
1997-04-30 00:53:02 +00:00
thorpej
305210fdb3
Don't provide userland-only prototypes to the kernel.
1997-04-30 00:50:10 +00:00
thorpej
434fd59c86
Make an <md5.h> -> <sys/md5.h> symlink.
1997-04-30 00:49:09 +00:00
thorpej
108c42305c
- Move md5.h to <sys/md5.h> so that it may be included by the kernel.
...
- Liberal application of suggestions in /usr/share/misc/style.
- Protect function prototypes with __BEGIN_DECLS/__END_DECLS
1997-04-30 00:47:30 +00:00
augustss
526ef2f618
Change the interface between the high and low level audio drivers
...
so that all audio encoding parameters are set at once. This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
christos
fd4644d9e8
Increase the receive space to improve write performance. From Bill Studenmund
1997-04-29 13:44:47 +00:00
scottr
0852aa1f1a
Use the new 8390 driver back end.
1997-04-29 05:17:13 +00:00
scottr
187f2e6235
Add the dp8390 driver back end/attribute.
1997-04-29 05:11:32 +00:00
scottr
63ac9ee6e0
Use the new MI 8390 driver, and garbage collect.
1997-04-29 04:40:22 +00:00
scottr
ad24724cbc
Machine-independent driver for DP8390/WD83C690-based Ethernet controller.
...
Derived from the ISA if_ed driver and the mac68k if_ae driver.
1997-04-29 04:32:07 +00:00
jonathan
d6611ebcef
* Add fixes for possibly-uninitialized variables from rev 1.11.
...
(The operator-precdence changes in 1.11 were pulled up in rev 1.14).
* If the chip asserts a SCSI-bus error (SII_BER) in sii_intr,
reset the SII_BER bit instead of ignoring it.
XXX SII_BER May need checking and resetting elsewhere.
1997-04-29 01:58:38 +00:00
gwr
42f8cf900b
Use unsigned when doing copy/xor check.
1997-04-28 23:43:56 +00:00
gwr
cb96a536e4
Add a comment about obio_mapin().
1997-04-28 23:38:47 +00:00
gwr
1046c915b6
Drivers that use obio_mapin should enforce OBIO attachment
...
(just to be paranoid).
1997-04-28 23:30:19 +00:00
gwr
304d49b554
include <machine/leds.h>
1997-04-28 23:21:01 +00:00
gwr
712f2e8d93
Moved leds_* declarations into leds.h
1997-04-28 23:19:39 +00:00
gwr
589bdf49d5
si_intr: if our CSR indicates an interrupt, return 1.
1997-04-28 22:10:41 +00:00
gwr
445e244536
Do console initialization earlier (see obio_init).
...
Document initialization order dependencies.
1997-04-28 22:08:36 +00:00
gwr
2e1c5c36ad
Be quiet in _save_symtab() unless there is a problem.
...
Improve some comments (and sync with sun3x code).
1997-04-28 22:06:20 +00:00
gwr
2223431f0a
No longer needs an early init call (just normal autoconfig).
...
Only animate the LEDs when we were idle (like SunOS).
1997-04-28 22:04:29 +00:00
gwr
df35245ac0
Fix a bug where OBIO locators were not presented to the children.
...
Rename obio_alloc to obio_mapin; add comments, etc. (like sun3x)
1997-04-28 22:02:43 +00:00
gwr
388bf0e0e0
Rename obio_alloc/obio_mapin and check for obio in match functions
...
for attachments that will use obio_mapin.
1997-04-28 21:59:19 +00:00
gwr
a5efc65699
Sync. up with the sun3x version.
1997-04-28 21:55:59 +00:00
gwr
479d3fa66d
No longer needs an early init call (just normal autoconfig).
1997-04-28 21:51:49 +00:00
gwr
3c841dcb79
Export the symbol _Idle for clock.c (and fix some comments).
1997-04-28 21:49:38 +00:00
gwr
dcd4fae823
Use AUTOVEC_BASE instead of 0x18.
1997-04-28 21:48:25 +00:00
gwr
46cd1d0fec
Add a kernel declarations section.
1997-04-28 21:47:10 +00:00
gwr
52e455e8ba
Fix declaration of get_control_byte().
1997-04-28 21:46:31 +00:00
gwr
236a126750
Declare peek_long().
1997-04-28 21:45:47 +00:00
gwr
a0d8cf3b65
Kill an obsolete comment.
1997-04-28 21:44:53 +00:00
scottr
c69d32662f
From Mycroft: Oops; forgot to GC the last mbuf allocated when
...
out of clusters.
1997-04-28 20:31:16 +00:00
mycroft
df082e3c8d
A handle of 0 means the open failed...
1997-04-28 18:46:15 +00:00
mycroft
37cb09ba66
DTRT if OF_read() returns 0 when no data is available.
1997-04-28 18:33:57 +00:00
mycroft
d8615e4fb9
Oops; forgot to GC the last mbuf allocated when out of clusters.
...
Also, DTRT if OF_read() returns 0 when no data is available..
1997-04-28 18:32:58 +00:00
mycroft
bc66bb3e6e
Oops; forgot to GC the last mbuf allocated when out of clusters.
...
Also, remove the internal mbuf queue, which is not needed by this driver.
1997-04-28 18:30:20 +00:00
mycroft
103c7d360d
Oops; forgot to GC the last mbuf allocated when out of clusters.
1997-04-28 17:03:58 +00:00
scottr
70dcf0b5f6
Undo a hack added in the last overhaul (which caused an extraneous byte
...
to be written to the target). Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.
1997-04-28 15:59:20 +00:00
mjacob
b3192632db
On alpha, sizeof (long) != sizeof (int) and sizeof (int) != sizeof (ptr_t)
1997-04-28 15:52:44 +00:00
mjacob
ac6fbba3ac
On alpha size_t is not an int, ergo last argument to dma setup glue
...
function can't be a pointer to an int.
1997-04-28 15:43:47 +00:00
mycroft
2b65c6c346
Delay turning off P_TRACED until the process is actually waited on. It can't
...
have any signals delivered while exiting, so this should be okay. Change the
test for a traced process in wait4() to exclude a process that was started by
the debugger; in this case, only one SIGCHLD should be delivered.
1997-04-28 13:17:05 +00:00
mycroft
701f15db33
Reinstate P_FSTRACE, with different semantics:
...
* Never send a SIGCHLD to the parent if P_FSTRACE is set.
* Do not permit mixing ptrace(2) and procfs; only permit using the one that
was attached.
1997-04-28 04:49:27 +00:00
mycroft
8a33a13c65
Minor code cleanup.
1997-04-28 03:49:57 +00:00
mycroft
43a0dc8b74
Remove remnants of P_FSTRACE, which is no longer used.
1997-04-28 02:51:41 +00:00
mycroft
ead5e1a6f7
When stopping a process being traced through procfs, wake up the *parent* (in
...
case it happens to be doing a WAIT.
1997-04-28 02:36:05 +00:00
mycroft
e725c03060
When checking for init, compare against initproc, rather than comparing the
...
PID. No functional difference.
1997-04-28 02:29:52 +00:00
mycroft
217c4e14ea
Fix several deficiencies, as compared to ptrace(2):
...
* Did not check for P_SUGID on ATTACH.
* Did not check for tracing of init on ATTACH.
* Did not turn off single-step mode on RUN or DETACH.
* Might have screwed up reparenting in some cases.
* Allowed anyone to detach the process.
1997-04-28 02:28:39 +00:00
pk
547d95a029
Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
...
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-04-27 22:12:40 +00:00
pk
94eaf1bb04
Implement target selection using DMA.
...
To allow a period of testing the variable `ncr53c9x_dmaselect' is used to
enable this feature (default is 0, i.e. the old behaviour).
1997-04-27 22:08:51 +00:00
thorpej
70ce55d5d7
Update for changes in machine-dependent COMPAT_HPUX code.
1997-04-27 21:40:47 +00:00
thorpej
97a6c32e58
Garbage-collect a bunch of _very_ hp300-specific code, most of which
...
doesn't work anyhow (due to current and future fundamental differences
between NetBSD and HP-UX device semantics). This can probably be shared
with other m68k ports now.
1997-04-27 21:38:57 +00:00
thorpej
ba0a5d5c58
Bump version: Better SPU detection code
1997-04-27 21:18:31 +00:00
thorpej
8b4cae0516
CPU -> SPU
1997-04-27 21:17:13 +00:00
thorpej
3cb561ed9f
Don't define our own machineid values - pull in <machine/hp300spu.h>
1997-04-27 21:15:14 +00:00
thorpej
fbad957c52
Update getmachineid() for new machineid values.
1997-04-27 21:13:55 +00:00
thorpej
767517edcc
Don't even look for a Domain keyboard if we're not a 400, 425, or 433.
1997-04-27 21:12:43 +00:00
thorpej
5b511796c1
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425. Adapted by me from
...
code provided by Mike Smith. While I'm here, convert this file to use
macros from <machine/asm.h> rather than making assumptions about how
C labels are handled.
1997-04-27 21:10:06 +00:00
jonathan
dbf4f7b71f
* Tidy PHY [sic] selection code in epsetmedia().
...
* epinit() had both explicit xcvr selection for 3c589 and a call
to epsetmedia(). The first is redundant; delete it, and EP_COAX_DEFAULT.
* Update comments to reflect 3c589 and 3c509B fixes. Fix typos.
1997-04-27 21:09:56 +00:00
thorpej
cdb54b8d65
Update for new SPU options.
1997-04-27 21:06:29 +00:00
thorpej
b27a863b02
Generate option headers for SPU type options, so that we may generate
...
dependencies on them.
1997-04-27 21:05:49 +00:00
thorpej
772891accd
Use information provided by <machine/hp300spu.h> to determine if we
...
might have a physical address cache.
1997-04-27 21:02:34 +00:00
thorpej
650df29d4d
These files depend on things in <machine/hp300spu.h>
1997-04-27 20:58:55 +00:00
thorpej
18a931000e
Use <machine/hp300spu.h> to determine if we might have a physical address
...
cache.
1997-04-27 20:54:39 +00:00
thorpej
544f501d29
Rewrite identifycpu() to be partially table-driven, and to be more
...
sane in general. Since we can uniquely identify each SPU type
(except for 318/319/330, because there _are_ no differences, really),
require that the appropriate SPU option be configured into the kernel.
1997-04-27 20:53:30 +00:00
thorpej
d62e267a0c
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425, useful when
...
looking for hp4xx-only hardware during autoconfiguration. Code
mostly from Mike Smith, with a few changes by me.
1997-04-27 20:50:01 +00:00
thorpej
9d4c5c9106
- Define new machineid and mmuid constants.
...
- Rearrange slightly.
1997-04-27 20:47:23 +00:00
thorpej
fc79829eab
#include <machine/hp300spu.h>
1997-04-27 20:43:37 +00:00
thorpej
80ff0f0f2f
- Move a bunch of hp300 SPU-specific stuff out of cpu.h, and place it
...
in new hp300spu.h file. This includes the code that associates
model number with cpu/mmu/cache combinations.
- Define "mmuid" constants for several models, derived from code
provided by Mike Smith.
1997-04-27 20:37:07 +00:00
thorpej
f5ccce44c8
srt0.s renamed to srt0.S via repository copy Magick - we want this
...
file to be preprocessed before it is assembled.
1997-04-27 20:29:43 +00:00
briggs
d25f63a7bf
What was I thinking?
1997-04-27 19:26:48 +00:00
is
5c869c4c5b
The delay loop needs 8 cycles, not 3, on the 68030; so use _that_ value
...
for the pre-calibration.
1997-04-27 18:14:34 +00:00
veego
1b80d8dd97
Add other isapnp id's for the 3c509.
1997-04-27 09:46:50 +00:00
veego
f05fad5ad9
- Add a new variable to epaddcard to call epconfig with the right chipset.
...
- Don't attach a 3c509 in PnP mode.
1997-04-27 09:44:45 +00:00
veego
bf37fc50d0
Rename the PROD_ID to PROD_ID_3C509 to make it possible to add other
...
product id's, e.g. for the 3c515.
1997-04-27 09:42:34 +00:00
veego
a2e1f15ba7
- Replace the check for EP_BUS_PCMCIA in epsetmedia with a check for
...
EP_CHIPSET_3C509 and change it a bit so it works now with the 3c509
and still works with the 3c589.
- KNF
1997-04-27 09:38:50 +00:00