briggs
c02d890ef9
Move a few prototypes into machine/cpu.h.
1996-05-05 06:54:09 +00:00
mycroft
62c8d3c70c
Fix obvious bug introduced in last change.
1996-05-05 06:50:02 +00:00
briggs
aad6e71194
Prototype for sunos_sendsig().
1996-05-05 06:43:33 +00:00
briggs
37163421a3
Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
...
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
gwr
4f0e481bc3
Kernel crash dumps now work on the sun3. (Yea!)
1996-05-05 06:02:23 +00:00
gwr
99d2ff44d8
proto now says void dk_establish()
1996-05-05 06:00:31 +00:00
thorpej
49c5d29ee0
Fix bogus return value in ccdopen(); it failed to indicate an error
...
condition if:
- ccd was not initialized
- partition did not exist
1996-05-05 04:21:14 +00:00
gwr
3d0b5f42cc
Used by the new libkvm
1996-05-05 04:19:31 +00:00
gwr
49d7518e86
Add VA_SEGNUM for libkvm.
1996-05-05 04:18:28 +00:00
mycroft
5b8d7c943e
ahb -> sc
1996-05-05 03:12:47 +00:00
thorpej
f857b38b11
Don't attempt to map the `delay port' (0x84). It's mapped and exported
...
by the ISA bus attach code.
1996-05-05 01:41:53 +00:00
thorpej
0bc154b367
Fix a bug I introduced when converting the driver to <machine/bus.h>.
...
Use the i/o handle for the `delay port' exported from the parent
ISA bus, rather than the totally bogus combination of [ioh, 0x84].
Also, fix a bug apparently introduced when the -Wall changes were checked
in which, under most circumstances, would cause a 16-bit WD8013EP to
be mis-identified as an 8-bit WD8003EP.
1996-05-05 01:28:52 +00:00
thorpej
6fb58044fd
Map port 0x84 (which is used to generate a 2.6us delay) in isaattach().
...
Since this port is needed by at least a few drivers, export its i/o handle
via isa_attach_args.
1996-05-05 01:14:07 +00:00
mycroft
0808320ac1
Fix a trivial typo.
1996-05-05 00:40:01 +00:00
pk
0ba8565c86
mountroot: return error code to caller, not -1.
1996-05-04 19:36:01 +00:00
mhitch
c871eb1ec2
Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
...
uses MSDOS MFM track encoding. From Ezra Story (ezy@panix.com ) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch
d4339afe48
Startup modified to work with kernel loaded directly into fast memory.
...
This removes the need to have enough chip memory to load the kernel
when booting. Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed. Chip memory is still required for the /dev/reload
process.
1996-05-04 04:45:18 +00:00
mhitch
0f07d81f63
Add floppy index interrupt processing.
...
Startup modified to work with kernel loaded directly into fast memory.
This removes the need to have enough chip memory to load the kernel
when booting. Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed. Chip memory is still required for the /dev/reload
process.
1996-05-04 04:43:23 +00:00
mhitch
3c4859d5d8
Add support for loading kernel into fastmem, if the kernel also supports
...
loading into fastmem. This removes the requirement that the kernel fit
into chipmem.
Add a -Z flag to force loading into chip memory.
Add a -s option for compatibility with my bootblock loader.
Move the test exit to just before starting the kernel; this lets the
test mode actually load the kernel and do the version checks.
1996-05-04 01:23:37 +00:00
phil
333943186d
Small tweeks from Matthias Pfaller.
1996-05-03 23:22:54 +00:00
phil
0b85f48338
Updates from Matthias Pfaller and Ian Dall.
1996-05-03 23:19:26 +00:00
jtk
0817b1b518
make it work with GUSPLAYDEBUG defined
1996-05-03 22:35:24 +00:00
christos
8571e85c28
fix gcc -Wall warnings
1996-05-03 20:16:56 +00:00
christos
3464a4032b
Prototype fixes.
1996-05-03 20:11:57 +00:00
christos
3e6354b51a
Gone as promised.
1996-05-03 20:04:40 +00:00
christos
6f3b43b089
Add cpu_exec_aout_prep_oldzmagic prototype
1996-05-03 20:04:14 +00:00
christos
1df3e5aee9
Add cdev_scanner_init() macro.
1996-05-03 20:03:32 +00:00
christos
88c3808921
- SCSIDEBUG printf() fixes.
1996-05-03 19:48:20 +00:00
christos
5503f7b749
Prototype and gcc -Wall cleanups
1996-05-03 19:41:56 +00:00
christos
ffdbd55cb2
savectx comment about altreturn was not true.
1996-05-03 19:41:19 +00:00
christos
df8b4512f0
cleanup fdopen->Fdopen and prototypes
1996-05-03 19:40:20 +00:00
christos
b927d7be11
Fwd declarations for MD drivers.
1996-05-03 19:34:11 +00:00
christos
8fd0f1f8b3
Add missing prototypes.
1996-05-03 19:26:28 +00:00
christos
391a4ddc7c
use u_int32_t instead of unsigned long
...
and u_int16_t instead of short in the {h,n}to{n,h}{l,s} inline routines
and macros.
1996-05-03 19:25:23 +00:00
christos
0b3580eb25
Comment out unused routines; add prototype for kdb_trap
1996-05-03 19:23:59 +00:00
christos
dc3ce37d53
Add prototypes from other files.
1996-05-03 19:22:49 +00:00
christos
1044435088
Avoid unused variable warnings, by using the first argument to the bus
...
functions.
1996-05-03 19:22:18 +00:00
christos
f77d0368e6
- add missing prototypes
...
- add missing braces in array and struct declarations.
- fix gcc warnings.
1996-05-03 19:17:28 +00:00
christos
099b45aa2a
- Add missing prototypes.
...
- Fix gcc warnings
1996-05-03 19:14:50 +00:00
christos
a16dd8b648
Move epstop prototype to the header file.
1996-05-03 19:08:47 +00:00
christos
6670b9fef5
- include <sys/systm.h>
...
- remove unused variables
1996-05-03 19:07:18 +00:00
christos
1a7708a2a2
- Fix random return value in the probe function.
...
- Add <sys/systm.h> to get prototypes
1996-05-03 19:06:25 +00:00
christos
c3c1caa12a
Remove unused err label; simplify the code in ed_probe_Novell
1996-05-03 19:05:30 +00:00
christos
bd397af7ad
- include <sys/systm.h>
...
- fix prototype of epmbuffill()
- fix typo of epxstat -> eptxstat
1996-05-03 17:44:59 +00:00
christos
5a4851d776
- fix printf format strings
...
- #ifdef out unused variables/functions
- parenthesize
1996-05-03 17:39:49 +00:00
christos
2d0606e988
remove unused variables
1996-05-03 17:33:49 +00:00
christos
021d3e082f
Remove unused printf arguments
1996-05-03 17:32:20 +00:00
christos
05dbb85594
cleanup the memh mess:
...
- remove it from the Novell probe.
- cleanup the 3com probe.
1996-05-03 17:29:29 +00:00
christos
029f35aa10
Avoid overruns when copying the interface name.
1996-05-03 17:09:15 +00:00
christos
a9972e1bbb
- RCSid police
...
- gcc -Wall fixes
1996-05-03 17:05:16 +00:00
christos
744868c6a0
gcc -Wall fixes.
1996-05-03 17:03:09 +00:00
neil
92f6aca2ec
Remove #ifdefs
...
Thanks to cgd@NetBSD.ORG for pointing the following out to me:
listen (fd, SOMAXCONN); would break.
As programs wouldn't see the changes that might be specified in
the kernel config file.
As penance I am going to see if it would be possible to move this
into param.h and provide away of finding out what the kernel
value is. On busy network servers this value is useful to have as a tunable
kernel parameter.
1996-05-03 09:23:22 +00:00
cgd
7c1754fdff
add a bit of clarafication in a comment, and change the interrupt
...
handling code so that if a given interrupt is disabled (and therefore
can't have caused the actual I/O interrupt), its handler won't be
called even if its bit is set in the interrupt register.
1996-05-02 21:56:46 +00:00
scottr
d84817d322
Fix prototypes of cpu_set_kpc() and pagemove(); closes PR 2367.
1996-05-02 20:49:20 +00:00
mhitch
5895a434e4
Missed a prototype for kernel_reload().
1996-05-02 19:34:27 +00:00
pk
4ac7468812
Various simplifications and corrections from Chuck Cranor (makes `oclock'
...
calibration work.. thanks!).
1996-05-02 18:17:33 +00:00
pk
504582ba83
Simpler and more accurate delay() function from Chuck Cranor.
1996-05-02 18:15:08 +00:00
mhitch
84974b0849
Add a check in the kernel reload device (/dev/reload) to protect
...
against the MMU switch code being in different locations between
the running kernel and the new kernel. Returns ENODEV if the reload
fails.
Change the error return from EFAULT to ENOEXEC when kernel_reload
gets a short write on the exec header.
1996-05-02 02:08:22 +00:00
neil
c4b8477b78
Added another quirked SCSI device, re PR 2320 from Manuel Bouyer
1996-05-02 01:09:01 +00:00
cgd
4d6b6d9082
On new architectures and on the alpha, define SIZEOF_BPF_HDR to be
...
sizeof(struct bpf_hdr). On machines that we currently support that
can use the old definition (which just covers the size of the data in
struct bpf_hdr), use it even though it's a hack. (This was changed
for the 'new architectures' case so as to be fail-safe; BPF may
waste a few bytes of space per captured packet on new architectures,
but now at least it's more likely to work.)
1996-05-02 00:57:28 +00:00
neil
8fcff43077
Add ability to do options SOMAXCONN=n which is useful on
...
busy network servers.
1996-05-02 00:25:13 +00:00
cgd
b97609d17d
the kernel config file for my 3000/300LX.
1996-05-01 23:32:45 +00:00
cgd
49c46e1789
Preliminary CFB support. Does not work as machine's console (for two
...
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap, cursor,
etc.) support. Digital UNIX does not support CFB frame buffers in the
Alpha, but they appear to work OK (with an appropriate monitor) in my
3000/300.
1996-05-01 23:25:00 +00:00
cgd
1668855fc5
add support for PMAG-B Color Frame Buffer (CFB) option boards. OSF/1
...
doesn't support these, but they appear to work OK (with an appropriate
monitor) in my 3000/300.
1996-05-01 23:22:16 +00:00
cgd
cb0eb158e7
fix the test for option slot interrupts. If a given interrupt is
...
disabled (and therefore can't have caused the actual I/O interrupt),
don't try to call its handler even if its bit is set in the interrupt
register.
1996-05-01 23:19:50 +00:00
chuck
b94c366058
change dk_establish() back to void again.
1996-05-01 21:22:55 +00:00
cgd
b65a5bbdfc
preliminary SFB support. Does not work as machine's console (for two
...
reasons: it won't attach as console, and there's currently no way to do
keyboard input on TC machines), and has no real RAMDAC (colormap,
cursor, etc.) support.
1996-05-01 21:15:46 +00:00
cgd
a449bdaea1
add sfb at tc, wscons at sfb
1996-05-01 20:33:17 +00:00
cgd
69ecf2f7f4
add the right (raster, wsconsdev) attributes to sfb
1996-05-01 20:26:39 +00:00
cgd
8199dee1d8
add SFB at tc, wcsons at sfb, and fix up le declarations
1996-05-01 20:23:04 +00:00
cgd
85d72d56a2
add an entry for the SFB+, and clean up entries some
1996-05-01 19:44:21 +00:00
mhitch
bcb9d27216
More cleanup for -Wall with DEBUG.
1996-05-01 16:58:41 +00:00
mhitch
b1d1cbe84b
Define BSR_MASK and use BSR_MASK to get the current bank select register.
...
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.
If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller. This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch
bb91ff2547
Define BSR_MASK and use BSR_MASK to get the current bank select register.
1996-05-01 15:51:08 +00:00
veego
b03bb4a6e5
Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
...
defined.
1996-05-01 09:59:24 +00:00
veego
03088f61b8
<sys/cpu.h> is no longer needed
1996-05-01 09:56:22 +00:00
thorpej
0b637e93a8
Convert the Etherlink III (ep) driver to use <machine/bus.h>.
1996-04-30 22:29:56 +00:00
thorpej
9d91d0f742
Convert the Etherlink III (ep) driver to use <machine/bus.h>.
...
For the ISA probe, implement a way to keep track of which ISA busses
have been through an ep_isa probe; the static variable that was used
before didn't scale.
1996-04-30 22:27:58 +00:00
thorpej
d614ab5859
Update the 3c507 probe to the new interfaces used by elink_reset()
...
and elink_idseq().
XXX This is just a kludge until the entire driver is converted to use
<machine/bus.h>
1996-04-30 22:21:54 +00:00
thorpej
91b4a6d401
Adapt the elink_reset() and elink_idseq() routines for <machine/bus.h>.
...
In elink_reset(), since some machines may have more than one ISA bus,
implement a way of keeping track of which ISA bus has received an
elink_reset(); The static variable which was used previously didn't
scale.
1996-04-30 22:16:27 +00:00
thorpej
a787e8f99b
Remove the dk_establish() prototype. It's (correctly) prototyped in
...
<sys/disk.h>.
XXX Wasn't this file supposed to go away?
1996-04-30 20:45:21 +00:00
scottr
b2af0c2297
Kill unused variables and fix prototypes.
1996-04-30 18:11:38 +00:00
is
af547471fe
Give example for INSECURE option in the GENERIC config file in a comment.
...
Closes PR 2355 giving a different explanation of the option than proposed.
1996-04-30 17:40:34 +00:00
is
068f1fb582
We really have two mouse port units, honestly.
1996-04-30 17:25:42 +00:00
scottr
b50e8aab63
- Drop SCSI IRQ interrupts if we are already handling one. This works around
...
a condition that occurs with some slow SCSI devices when they disconnect
(e.g. the AppleCD 600), generating spurious selection interrupts.
- Reorganize the debugging code slightly.
1996-04-30 17:07:17 +00:00
briggs
9cdce38dd0
Bring back Step9 and fix an oversight from Ken Nakata <kenn@remus.rutgers.edu>
1996-04-30 12:02:54 +00:00
briggs
6d6bfccb69
Clean up a few printf format strings.
1996-04-30 11:57:49 +00:00
briggs
9602c596f5
Prototype oc_cksum().
1996-04-30 11:57:05 +00:00
briggs
41f393e6b8
Update for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized.
1996-04-30 11:52:09 +00:00
mycroft
7511a5540e
Remove BIOSSEG.
...
Don't mess with the flags when entering a software interrupt.
Use IF, not VIF.
NOTE: These changes break dosemu, but are required for proper emulation.
1996-04-30 10:35:25 +00:00
mhitch
bcd490a50d
Remove include of sys/cpu.h.
1996-04-30 06:09:51 +00:00
mhitch
1f2555ebd4
dk_establish() now returns void.
1996-04-30 05:00:51 +00:00
thorpej
3fff2a8f83
Fix apparent paste-o ... spurious "}"
1996-04-30 00:56:45 +00:00
scottr
5e7380a531
Remove trash left from a merge (probably really my fault).
1996-04-29 21:36:17 +00:00
pk
fa75ea39e1
Move delay() to locore, so we control code generation and can avoid
...
touching memory locations whose caching disposition can perturb timings.
1996-04-29 21:08:37 +00:00
leo
b926918576
There seem to be 2 types for a trap frame....
1996-04-29 20:55:44 +00:00
leo
dc05f2d48c
Prototype + -Wall fixes.
1996-04-29 20:50:08 +00:00
christos
a1609dc859
- Fix gcc -Wall warnings
...
- BUG: if (error = ...() == EWOULDBLOCK)
1996-04-29 20:30:48 +00:00
christos
1c86bef3bc
Fix gcc -Wall warnings.
1996-04-29 20:28:40 +00:00
christos
e8a8a6298c
- prototype fixes
1996-04-29 20:02:32 +00:00
christos
d0987b1ee9
- prototype fixes
...
- BUG: changed:
val &= CD_POL_MASK;
val | CD_POL_BIT; /* XXX if (pol) */
to:
val &= CD_POL_MASK;
val |= CD_POL_BIT; /* XXX if (pol) */
1996-04-29 20:00:39 +00:00
christos
27292adc4c
- gcc -Wall fixes
1996-04-29 19:50:47 +00:00
christos
c32e566f6c
- missing argument in printf
...
- gcc -Wall fixes
1996-04-29 19:48:26 +00:00
christos
f1dd12ed4e
Prototype fixes
1996-04-29 19:45:32 +00:00
christos
3a77c25f3e
Add prototypes.
1996-04-29 19:30:50 +00:00
christos
3f3082e5f5
Add a clean target to clean the assembler binary
1996-04-29 19:30:19 +00:00
cgd
4335844690
fix botched printf spacing in last change.
1996-04-29 16:36:19 +00:00
cgd
6deeeb8a0f
update for dk_establish() proto change
1996-04-29 16:34:50 +00:00
cgd
b2ab71db24
fix definition of the "Primary Eligible" RPB PCS processor variation field.
1996-04-29 16:23:09 +00:00
cgd
5e0ec7280a
clear BIP; it should really happen at end of autoconfiguration.
1996-04-29 16:09:28 +00:00
cgd
48fca88c3a
fix printf bogon (need : and space)
1996-04-29 16:06:38 +00:00
cgd
f22c1ccb83
clean up setting of the default tty cflag. don't do the "delay if
...
high bit set" thing.
1996-04-29 14:48:25 +00:00
pk
e147a74bbb
Chip needs much more time to think things over (up to 2 seconds to complete
...
a `recalibrate' command if no flop present).
1996-04-29 12:07:32 +00:00
mhitch
74de027054
Add floppy index interrupt routine for future MSDOS floppy support.
...
Don't seek to track 0 before checking for diskchange: if drive steps,
the diskchange flag is cleared. Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +00:00
mhitch
d6d4fbe664
Correct NetBSD->RDB partition block mapping - fixes -Wall warning.
1996-04-29 06:15:32 +00:00
thorpej
dc5ff52131
dk_establish() returns void.
1996-04-28 20:25:59 +00:00
thorpej
5289ee2d24
dk_establish() is actually supposed to be void.
1996-04-28 20:22:50 +00:00
briggs
340e30dfbb
shuffle some and change rd to pseudo-device.
1996-04-28 19:18:42 +00:00
mhitch
03c347c3bd
More cleanup for -Wall warnings.
1996-04-28 07:01:08 +00:00
mhitch
0f666b973a
More cleanup of -Wall warnings when compiled with DEBUG.
1996-04-28 06:59:08 +00:00
mhitch
810a98153e
Add prototypes for serial and floppy interrupt functions.
1996-04-28 06:57:15 +00:00
mhitch
c3fa50adb7
Fix warning from word transfer pseudo-dma function.
1996-04-28 06:49:35 +00:00
mhitch
d48db213fa
Prototype the pseudo-dma function declarations.
1996-04-28 06:41:01 +00:00
mhitch
f7679aaef1
Fix warning from -Wall.
1996-04-28 06:36:16 +00:00
mhitch
2b6ece67ba
Fix warnings from -Wall.
1996-04-28 06:33:58 +00:00
mhitch
5b9b315985
Cleanup for -Wall if CL5426CONSOLE is not defined.
1996-04-28 06:31:47 +00:00
mhitch
0fa2771b31
Correct check for NULL pointer references in siop_scsidone().
...
Only call Debugger() if DDB is defined.
If the wait for reselect is interrupted and sc_nexus was NULL, only
print the debug message if DEBUG is defined.
1996-04-28 06:28:24 +00:00
mhitch
7327b8ff44
Set file size of a softlink to the length of the symbolic link path,
...
to match what FFS does. Fixes PR #2316 .
1996-04-28 06:18:12 +00:00
veego
2c2a65b39e
Add a __noreturn__ attribute for doboot
1996-04-27 20:55:08 +00:00
veego
c12ef8ae8f
Make the compiler happy if you make a kernel with -Wall
1996-04-27 20:53:31 +00:00
veego
dccff2509f
Fixed a compile bug which come from the new mouse driver
...
Remove the fd* entry from the GENERIC config and changed the std.amiga
entry for the floppy
1996-04-27 20:51:07 +00:00
veego
0b892f0599
Fixed a compile bug which come from the new mouse driver
...
Fixed a bug with the noreturn attribute of boot and doboot
1996-04-27 20:48:47 +00:00
mark
c4f10ac478
Fixed cpu_set_kpc() and pagemove() functions to match prototypes.
1996-04-27 03:00:27 +00:00
mark
10ec66cba0
No longer needed as this file has been replaced with the generic mouse
...
interface described in mouse.h
1996-04-27 02:09:16 +00:00
mark
0b44bb02a0
Removed prototypes for cpu_set_kpc(), cpu_swapin() and cpu_swapout() as
...
these are now defined in other header files.
1996-04-27 02:04:39 +00:00
thorpej
270d48fd22
Add "void" return type to consinit().
1996-04-27 00:39:59 +00:00
thorpej
8591bb3346
Prototype doboot() and give it the __noreturn__ attribute, so that
...
machdep.c will compile.
1996-04-27 00:38:44 +00:00
mark
f09d86fa87
Fixed compiler warnings generated with -Wall.
...
Added dump routines for dumping buffer and vnode information.
1996-04-26 22:49:21 +00:00
mark
0a05345dc3
Added needs-flag for the asc driver.
1996-04-26 22:46:07 +00:00
mark
6e054ed22f
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
Moved the probing code that used the softc into the attach function.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:44:00 +00:00
mark
fff1823ed8
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
1996-04-26 22:41:24 +00:00
mark
9a12d19953
Probe functions rewritten to support new podulebus configuration code.
...
matchpodule() is now used to test podule_attach_args for correct id's.
Fixed compiler warnings generated with -Wall.
1996-04-26 22:38:11 +00:00
mark
4a3ceede5a
Added function prototype for matchpodule().
1996-04-26 22:34:02 +00:00
mark
c18452b410
podulebus configuration code rewritten. Junked config_scan() from
...
the podulebus attach function.
For each podule found, config_found_sm() is now called. Device drivers
now only need to look at the podule_attach_args information during
the probe.
A new function matchpodule() has been added for use in the
podule device driver probe functions.
1996-04-26 22:32:36 +00:00
mark
027b04a250
Fixed compiler warnings obtained with -Wall.
1996-04-26 22:25:56 +00:00
mark
a6da4ae69c
Fixed compiler warnings generated with -Wall.
1996-04-26 22:01:51 +00:00
mark
504699a05d
Added prototypes for cpu_swapin(), cpu_swapout(), tlbflush()
...
cpu_set_kpc() and need_resched().
1996-04-26 21:12:36 +00:00
mark
38b0e06483
Added prototypes for setsoftnet() setsoftast() and setsoftclock().
1996-04-26 21:10:21 +00:00
mark
b2d569c95e
Fixed compiler warnings generated with -Wall.
1996-04-26 21:02:49 +00:00
mark
6a7f88f956
Included sys/systm.h for function prototypes.
1996-04-26 21:00:31 +00:00
mark
aa46efbc0e
Fixed compiler warnings obtained with -Wall.
1996-04-26 20:59:07 +00:00
mark
8b4332315d
Fixed buffering of console output. While cold or while polling,
...
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark
189e6aba9f
Fixed a multitude of compiler warnings obtained with -Wall (mainly
...
unused variables).
1996-04-26 20:48:23 +00:00
mark
a88f28f958
Updated functions to match prototypes in sys/systm.h
1996-04-26 20:35:23 +00:00
mark
9e67e6e232
Included ddb/db_output.h for db_printf() prototype.
...
Fixec compiler warnings generated with -Wall.
1996-04-26 20:30:54 +00:00
mark
8cce48f9a3
Included ddb/db_output.h for db_printf() prototype.
...
Fixed compiler warnings generated with -Wall.
1996-04-26 20:28:28 +00:00
mark
3b62994c10
Include ddb/db_output.h for db_printf prototype.
...
Replaced some printf calls with db_printf calls.
Fixed compiler warnings generated with -Wall.
1996-04-26 20:25:55 +00:00
mark
bebcb9b554
Removed unused variable ptr in swapconf().
1996-04-26 20:22:52 +00:00
is
a0864f1ad0
Remove double empsc entry, fix a typo, and our "zbus" is a unified Zorro
...
bus interface for a long, long time.
1996-04-26 20:21:59 +00:00
mark
d4fcd14ee3
No longer needed. The netbsd config for gcc/arm has been fixed to generate
...
correct profiling code.
1996-04-26 20:07:43 +00:00
mark
39b959c810
Added copyright message.
1996-04-26 20:05:28 +00:00
chuck
e305bdb71c
switched to MI driver
1996-04-26 19:55:39 +00:00
chuck
08b3f74e0d
nuke old isr structure (no longer use)
1996-04-26 19:44:03 +00:00
chuck
81fc59565a
cpu.h: add prototypes (from jason)
...
disklabel.h: new disklabel format (from Dale Rahn)
param.h: new delay stuff (from sun3 port)
vmparam.h: nuke eiomap for new autoconfig (from jason)
z8530var.h: for MI driver (from jason)
1996-04-26 19:40:53 +00:00
chuck
46263136cb
"jumbo patch":
...
- new autoconfig scheme+vme (autoconf.c,clock.c,clockreg.h,
clockvar.h,vm_machdep.c)
- new interrupt scheme (isr.c,isr.h,locore.s,machdep.c,vectors.s)
- switch to MI zs driver (conf.c)
- new disklabel code, from Dale Rahn <drahn@pacific.urbana.mcd.mot.com>
(disksubr.c, compatable with theo and dale's openbsd version)
- new delay() based on sun3 port, using dynamic configuration from
the sparc port (intergrated by me), calibration moved to startup
by jason. (locore.s,machdep.c)
- clean up: nuke eio space (genassym.c,locore.s,pmap.c,pmap_bootstrap.c),
nuke STACKCHECK (locore.s), prevent maxuser overflow (pmap.c),
Contributed by Jason R. Thorpe <thorpej@og.org> (thanks!)
1996-04-26 19:26:25 +00:00
chuck
6d3c0d5c50
remove iio files; replaced by jason's new autoconfig scheme
1996-04-26 19:04:28 +00:00
chuck
7625dd4cb4
remove mainbus.c: never actually used
1996-04-26 19:03:28 +00:00
chuck
d80422cd46
- zs: switch to MI driver
...
- clock, le, pcc, wdsc, zs: convert to new autoconfig scheme
- vme: add vme support
Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:59:58 +00:00
thorpej
34c1e309b6
Yes, folks, there was a REASON that maxusers -> 32 slipped through the
...
cracks when I mentioned it to Chris. (Read: it doesn't work.)
1996-04-26 18:54:15 +00:00
chuck
ba1034fd85
- sync with new autoconfig code (iio goes away)
...
- add support for zs1, vme devices (untested)
Contributed by: Jason R. Thorpe <thorpej@og.org>
1996-04-26 18:47:34 +00:00
gwr
dd27878e7f
Catch up with some prototype changes.
1996-04-26 18:37:58 +00:00
gwr
035d12359e
Remove some hacks that "went around" the linesw[] operations.
1996-04-26 18:36:54 +00:00
leo
b26b45a14d
Corrections for removed <sys/cpu.h> and some more prototypes.
1996-04-26 06:59:15 +00:00
leo
7f0e5ecf77
- Fixup the ipending function for the Falcon. This seemed to be the source
...
of a lot of instability problems on the Falcon. I also enabled DMA on
interrupt basis for the Falcon.
- Try to handle targets that request too much data more sanely.
- Some fixups for strict prototypes + -Wall
Thanks to Markus Kilbinger for providing the debugging support.
1996-04-26 06:50:12 +00:00
thorpej
2931555121
Correction I mentioned to Chris that slipped through the cracks...
...
maxusers -> 32.
1996-04-26 00:53:08 +00:00
scottr
eb335437e2
Ooops. ncr_sbcreg.h -> sbcreg.h
1996-04-25 23:47:06 +00:00
scottr
90b5a113d9
Renamed the sbc driver files
1996-04-25 22:30:10 +00:00
scottr
aca6a2e6da
Renamed these files.
1996-04-25 22:26:52 +00:00
scottr
95101e1310
Renamed these files.
1996-04-25 22:02:58 +00:00
scottr
a0bca74134
Remove some now-useless code.
1996-04-25 21:18:04 +00:00
scottr
5282131d76
Add ie1, appropriate for EtherExpress support
1996-04-25 20:14:13 +00:00
thorpej
09407a4201
Document the VM86 option by adding it to the GENERIC* kernel config
...
files. Note, the option is disabled by default (comment out). This
is meant as an example for others.
1996-04-25 18:59:14 +00:00
is
07beed1117
Fix an obvious typo (wrong sign of test). At the same time, make the early
...
probe printf prefix unambiguous.
1996-04-25 18:54:45 +00:00
scottr
18fd76201e
We don't need to enforce the MAX_DMA_SIZE limit in dma_alloc();
...
this is handled properly by sbc_drq_intr() already.
1996-04-25 14:40:26 +00:00
mycroft
f1f45fae7c
Emulate the INTO instruction.
1996-04-25 13:50:21 +00:00
scottr
2e936aa8ff
- Remove several hacks that didn't do much but waste cycles.
...
- Disable interrupt-driven PDMA when writing (use polled PDMA instead).
- Be more careful about when to flag a transfer as completed.
The result of these changes is that interrupt-driven PDMA works well
enough to bring the system up.
1996-04-25 06:18:41 +00:00
veego
f726c602da
another prototyp cleanup
1996-04-25 05:57:38 +00:00
cgd
72e70ce045
update for present reality
1996-04-25 04:28:04 +00:00
thorpej
aff40e2a72
Break up the ep driver into isa, eisa, and pci front-ends and a
...
bus-independent core driver. Tested on all three bus types, including
an isa 3c509 masquerading as an eisa device (use ep* at eisa? slot ? in
your kernel config file to catch this one).
XXX Driver still needs to be converted to <machine/bus.h>
1996-04-25 02:15:42 +00:00
christos
b8a3e738c6
Make the minimum function signature for this file to compile with the latest
...
changes to vm_extern.h.
1996-04-25 01:15:41 +00:00
cgd
3e07e4275a
clean up and improve instructions, update to reflect current reality.
1996-04-25 00:11:09 +00:00
scottr
424ce7590a
Sync with prototype changes
1996-04-24 18:02:26 +00:00
is
09916f81d3
Make the Amiga mainboard mice, which used to be pseudo-devices, real devices.
...
(We want to support Amigoids without this interface in the near future.)
1996-04-24 11:41:16 +00:00
christos
0ca6a87952
Remove memset.c; it is not currently used, and .c files should belong in
...
the MI portion of libkern. When/if we move to use mem* routines in the kernel
we can add it to the MI portion/write a memset.s.
1996-04-23 23:05:22 +00:00
veego
463c504dc7
The prototyp for cpu_set_kpc is now in sys/systm.h
1996-04-23 22:54:49 +00:00
veego
112379ef29
Added some ifdef's for RETINA_SPEED_HACK
...
Argh, why is a fuction from the RetinaZ2 console driver in the console
driver for the RetinaZ3 ? Fixed.
Fixed some warnings from -Wall if you don't use -DDEBUG
1996-04-23 22:53:05 +00:00
veego
1ca9fb10a0
The prototyp of cpu_coredump is now in sys/signalvar.h
...
Added an ifdef DEBUG for struct phys_segs
1996-04-23 22:46:39 +00:00
pk
646acc51d0
Map the pixels explicitly on the VME32 bus.
1996-04-23 19:34:05 +00:00
pk
ee8f3dc1b8
Turn delay() into a calibrated loop. It's more accurate and compiles into
...
a `leaf' routine, avoiding unexpected large delays by overflowing the
register windows.
1996-04-23 19:25:25 +00:00
is
0536f1591a
Protect two critical lines of ser.c with splser(). Without this, a
...
race condition exists which makes the internal serial drop incoming
characters under heavy load.
1996-04-23 17:03:04 +00:00