scottr
c846476845
Update several comments.
1996-05-06 06:19:33 +00:00
briggs
18021dad20
Move grf0 at obio? from std.mac68k to the config files. Not all machine
...
have internal video.
1996-05-06 03:33:06 +00:00
briggs
03a7fd15ca
grf0 -> grf*
1996-05-06 03:32:33 +00:00
briggs
314dd5b20b
Set sc_slot--we need it later.
1996-05-06 03:27:20 +00:00
briggs
6026c5dfd7
Ooops. Remove debugging printf().
1996-05-06 03:27:06 +00:00
briggs
042a16abd0
Add 1 page slop to the video length. Only reset mac68k_vidlog if non-zero.
1996-05-06 03:25:40 +00:00
briggs
db495102be
Do not depend on the nubus being mapped in one huge segment.
1996-05-06 01:08:24 +00:00
briggs
1b475d6b74
Do not print out the nubus ranges. We only use them for finding wierd
...
internal video locations. Perhaps we can get rid of that in the future,
too.
1996-05-06 01:06:57 +00:00
briggs
333d8a1deb
Do not allocate NuBus space at boot time. Do allocate enough space for
...
the console video, though.
1996-05-06 01:04:58 +00:00
briggs
edd6e362c8
Pass struct fpframe * to m68881_restore().
1996-05-05 17:19:04 +00:00
briggs
81db0f78d0
Remove extra prototype.
1996-05-05 16:50:34 +00:00
briggs
f4bb6d51b2
Proto for lkmenodev().
1996-05-05 16:39:24 +00:00
briggs
513a0d293b
m68881_restore takes struct fpframe *, not int [].
1996-05-05 16:33:46 +00:00
briggs
2c9ba25cc1
Fix typo in last.
1996-05-05 16:21:20 +00:00
briggs
30023f7acd
MicroSpeed mouse support from Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
...
Also some updates to actually used #defined constants instead of numeric
constants.
1996-05-05 14:33:55 +00:00
briggs
1febcb957e
Prototype for sunos_sendsig() is now in sunos.h as suggested by veego.
1996-05-05 12:02:41 +00:00
briggs
eb2ad19d6d
Include pcb.h for prototypes.
1996-05-05 11:45:41 +00:00
briggs
c02d890ef9
Move a few prototypes into machine/cpu.h.
1996-05-05 06:54:09 +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
scottr
b2af0c2297
Kill unused variables and fix prototypes.
1996-04-30 18:11:38 +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
scottr
5e7380a531
Remove trash left from a merge (probably really my fault).
1996-04-29 21:36:17 +00:00
briggs
340e30dfbb
shuffle some and change rd to pseudo-device.
1996-04-28 19:18:42 +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
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
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
scottr
424ce7590a
Sync with prototype changes
1996-04-24 18:02:26 +00:00
scottr
27c9c12e72
Clean up sbc_drq_intr() a bit; also, be more paranoid about size of transfer.
1996-04-23 14:20:28 +00:00
scottr
509ace1016
Handle internal video interrupts on RBV-based machines differently so
...
that Ethernet cards have a chance to work. In particular, this change
has been tested on the IIci, IIsi, and LCIII. The crucial info behind
this code was the result of a lot of work by Julian Bean.
1996-04-23 03:53:26 +00:00
scottr
ff35ddbb2a
Update makeoptions to include 881 support
1996-04-13 19:12:46 +00:00
briggs
da3dabc052
Add PPP_BSDCOMP and PPP_DEFLATE options.
1996-04-08 14:17:28 +00:00
scottr
9d1cd5e9be
Make this compile again; will need to deal with matchbyname() later, though.
1996-04-04 06:59:29 +00:00
scottr
c1c09c75e2
Add v2IRQ0 define for IIci-style internal video.
1996-04-04 06:55:29 +00:00
cgd
83f9bdc359
update for the fact that config_found() and config_rootfound() now
...
return pointers. (Check vs. NULL, rather than just boolean tests.)
1996-04-04 06:25:00 +00:00
cgd
7bc2baeb01
update for the fact that 'alldevs' is now a TAILQ.
1996-04-04 00:27:24 +00:00
scottr
bbb6251b0b
Make CLK_INTERVAL depend on HZ; update comments to match.
1996-04-01 05:16:52 +00:00
scottr
5f20924433
Move the I/O map kludge for II-class machines into the MRG init code. No
...
effective change, but this is more correct and averts some potential
problems.
1996-04-01 04:30:23 +00:00
briggs
1fa595a2f1
Clean up for higher warning level.
1996-04-01 01:35:48 +00:00
scottr
8b3fdd9943
Make this compile again by including <sys/types.h>
1996-03-31 14:21:03 +00:00
christos
933d138841
Change %r -> %: as for recursive printf's
1996-03-30 21:01:21 +00:00
briggs
8326aadde5
via.h -> machine/viareg.h.
1996-03-29 02:27:42 +00:00
briggs
b39b4939fc
Fix minor oversight in a sanity check--caught by Jason, I think, and reported
...
by Scott.
1996-03-29 02:12:41 +00:00
briggs
08126b5bec
via.h -> machine/viareg.h.
1996-03-29 02:06:04 +00:00
briggs
fdcac3b557
via.h -> machine/viareg.h and some other prototyping fixes.
1996-03-29 02:00:38 +00:00
scottr
360590468a
Remove bogus reference to BSDSRCDIR here; still doesn't work, though.
1996-03-27 03:56:22 +00:00
briggs
b329936803
Fix for more pedantic -W options.
1996-03-25 03:27:51 +00:00
briggs
2422f1bc4e
Get rid of a compiler warning about Debugger();
1996-03-24 16:58:46 +00:00
scottr
ecd20bc823
Add PPP compression options
1996-03-23 06:12:11 +00:00
scottr
32a38f24e7
DEBUG -> SBC_DEBUG, and fix comment regarding sbc_options
1996-03-21 04:49:20 +00:00
scottr
0b59005d3d
Fix a long-standing bug uncovered by the new device attachment
...
model. Thanks to Jason Thorpe for the fix (fixed PR 2235).
1996-03-20 05:10:54 +00:00
scottr
2d7b856ea6
Update to NetBSD 1.1B struct cfdriver naming conventions.
1996-03-18 06:52:54 +00:00
thorpej
82d914d090
New device attachment scheme:
...
- split softc size and match/attach out from cfdriver into
a new struct cfattach.
- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
1996-03-17 01:26:49 +00:00
christos
ab0e60a42f
fdopen -> filedescopen
1996-03-14 21:20:59 +00:00
scottr
2a5cf25e29
Back out previous change; kernel longjmp() has 1 arg.
1996-03-14 16:42:44 +00:00
scottr
24dcca72bd
Optimize user-side TLB invalidation when !defined(M68020).
1996-03-14 05:50:06 +00:00
scottr
b4225290a4
Use 851-specific instructions only #if defined(M68020).
1996-03-12 23:46:32 +00:00
scottr
6208752b50
Oops; fix typo.
1996-03-12 21:34:57 +00:00
scottr
d504ec531e
Add "options M68020" so that 68851-specific code is only compiled when
...
we want it (we don't support the 020 without an 851 anyway). Note that
M68030 no longer implies support for 020+851.
This also allows us to compile with -m68030 iff M68020 isn't specified
in the config file.
1996-03-12 21:06:22 +00:00
scottr
89f7d665d5
KNF.
1996-03-12 19:18:49 +00:00
scottr
04de5b5b08
Back out the previous change; we'll trust adjustments to the clock
...
except on shutdown.
1996-03-12 04:34:46 +00:00
scottr
e11f39f4a9
Don't sync the RTC at shutdown time.
1996-03-12 04:24:47 +00:00
briggs
9e087f0d26
Pass 2nd arg to longjmp--even though it's ignored.
1996-03-10 19:55:22 +00:00
briggs
679b7627d0
Use label_t instead of jmp_buf and don't include setjmp.h.
1996-03-10 19:54:41 +00:00
briggs
1c817d1c3c
Fix a typo in last.
1996-03-07 20:47:01 +00:00
leo
6da2ce259c
Allow for a machine dependent match function - rd_match_hook()
1996-03-07 10:25:28 +00:00
briggs
ddfeeb8c2d
Add option to try linked commands on all devices for PUMA.
1996-03-07 02:48:33 +00:00
briggs
7c44b1180f
Disable SCSI linked commands, but allow kernel option to override.
1996-03-07 02:26:37 +00:00
briggs
d504670861
Fix for serial console handling from Bill Studenmund.
1996-03-06 23:22:41 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
cgd
3d67685d36
Do not build vnode_if.[ch] for each kernel. Build them once, like the
...
various syscall sources/headers, and just compile them. From PR 2142, OK'd
by mycroft.
1996-02-29 20:54:58 +00:00
briggs
883ff3e7f3
Changes from Walter Ruetten for P550 support.
1996-02-28 04:14:05 +00:00
briggs
92c6f5f0ee
Get rid of some unneeded constants.
1996-02-27 03:29:16 +00:00
briggs
6ec37fa3df
Use IOBase instead of INTIOBASE.
1996-02-27 03:25:47 +00:00
briggs
db2f33c640
Clean out some unneeded constants.
1996-02-27 03:23:42 +00:00
briggs
1dcd5f9d15
For a bus error in nofault, if it's an 040, load the address from the
...
correct frame offset. This is required for the 5380 driver to work
properly.
1996-02-27 03:17:00 +00:00
mycroft
2ce52ae489
Define build programs with ?=', so they can be overridden with
makeoptions'.
1996-02-26 02:53:20 +00:00
briggs
568f862aeb
PR 2111: Do not update system clock until we can keep more accurate time.
1996-02-23 12:40:37 +00:00
scottr
738faf922f
Add ^^ and ^_ codes to default keyboard layout
1996-02-23 05:43:48 +00:00
gwr
946696f064
Add m68k/db_memrw.c
1996-02-22 23:35:07 +00:00
scottr
a7daa2d931
- Clean up DEBUG code.
...
- Setting the "monitor BSY" flag for polled PDMA is non-optimal. The
polled requests generate an interrupt that isn't serviced until the
command has been cleared from the queue.
1996-02-22 14:31:26 +00:00
scottr
89179744bd
Use unsigned variables to calibrate delay_factor.
1996-02-22 02:04:14 +00:00
scottr
5fd93a11ca
Clear interrupt before enabling in calibrate_delay() (from John P. Wittkoski)
1996-02-19 21:40:48 +00:00
scottr
8fe7b2bbb7
Be a bit more careful when setting up the timer for calibrating delay().
1996-02-19 05:20:54 +00:00
briggs
ab3f741911
Update to latest Atari driver, but with some local modifications.
1996-02-19 02:51:03 +00:00
briggs
2efbb04ae0
Make delay() match prototype.
1996-02-17 19:23:03 +00:00
briggs
f851e3e8b3
Move spl stuff from param.h to psl.h. Prototype delay() in param.h.
1996-02-17 14:50:40 +00:00
briggs
946dc72362
Get d_npartitions right.
1996-02-14 14:20:54 +00:00
briggs
ef9b75f679
HZ used to be in Makefile.mac68k... It is 60 on the mac, not 100.
1996-02-14 04:26:38 +00:00
briggs
9401e46ed0
Change readdisklabel to check block 0 of the disk for a Macintosh magic
...
number before attempting to load the Macintosh partition info. If the
first 32-bits of block 0 contain the BSD disklable magic number, treat
it as a NetBSD disklabel.
When loading the Macintosh partition map, check the first 32 partitions
for the root, usr, and swap partitions--instead of the first 8. Still
only allows 8 total partitions for NetBSD use.
1996-02-11 22:31:47 +00:00
briggs
d03a91c75f
KNF-ified by Scott Reynolds a long time ago.
1996-02-11 15:23:19 +00:00
briggs
4323ae0307
Remove via_inited, as it is unused.
1996-02-11 01:20:46 +00:00
briggs
6945798b81
Correct ROM vectors for the LC 475.
1996-02-11 01:20:37 +00:00
briggs
ffc19f58b0
Back out last change. Bad karma to initialize the VIA that early.
1996-02-11 01:20:23 +00:00
scottr
0ae8a51904
PETE was pretty useless; SPOT is my own machine, and will better
...
reflect the status of sbc driver configuration.
1996-02-11 00:17:13 +00:00
scottr
af4f29bcb3
Identical to GENERIC, but uses the `sbc' driver.
1996-02-10 23:42:31 +00:00
scottr
ed73ac3b48
New SCSI driver for Macintosh II family machines, implemented using
...
the MI 5380 driver. It has been verified to work on the IIx, IIsi,
and IIci only, but should work with any Macintosh 5380-based SCSI
controller.
- This driver is _not_ intended to be a general purpose replacement
for the `ncrscsi' driver. It is an alternative for those having
problems with that driver.
- Disconnect/reselect doesn't (yet) work, so don't expect SCSI tape
or magneto-optical disk drives to function properly.
1996-02-10 23:28:41 +00:00
briggs
01c43471b9
Make a message more verbose for folks who try to boot in 24-bit mode.
1996-02-10 23:12:46 +00:00
mycroft
753fe3a25a
Fix mkdep problems due to missing flags.
1996-02-09 02:21:13 +00:00
scottr
3c8605f0f7
Add sbc driver.
1996-02-07 16:34:28 +00:00
christos
2c8314f73c
vm prototype changes
1996-02-05 02:06:38 +00:00
briggs
2a878c9a3a
Move debugging defines, etc. into mac68k5380.c and use them instead of
...
something similar but different. Make a few cosmetic changes.
1996-02-03 23:17:53 +00:00
briggs
3d8d566948
New delay() implementation from Scott Reynolds (scottr@edsi.org).
...
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:50:22 +00:00
briggs
6b6a46ed2f
Implement mac68k_register_via1_t1_irq(). Also, remove via_inited warning.
1996-02-03 22:50:19 +00:00
briggs
d13a039f24
New delay() implementation from Scott Reynolds (scottr@edsi.org).
...
Also some minor rearranging of the VIA initialization (init earlier).
1996-02-03 22:49:52 +00:00
briggs
20123d5253
O2 breaks on this port. Use -O until we can fix it.
1996-02-03 15:14:39 +00:00
mycroft
5bc076e17e
Use `-traditional-cpp' when building .s and .S files.
1996-02-03 00:43:50 +00:00
mycroft
dcd66e9f4d
Clone these, and fix many bugs.
1996-02-02 20:08:17 +00:00
mycroft
9db20bf150
Don't define _KERNEL here.
1996-02-02 19:42:08 +00:00
mycroft
9d9a70a5a2
Fix #includes.
1996-02-02 18:05:36 +00:00
briggs
5336dade8e
Force the talley counters to be read when we get the interrupt. GCC was
...
nicely optimizing the reads out for us. Kudos for this one go to
Steven R. Weiss <srw@hvcn.org>.
1996-02-02 15:30:56 +00:00
mycroft
cec913603e
Don't special-case conf.c.
1996-02-02 13:38:05 +00:00
mycroft
fc9d84fb46
assym.s -> assym.h
...
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
briggs
af9bcab2ce
Clean up and comment a bit.
1996-02-01 03:40:26 +00:00
briggs
cde62d494a
Fix for delay(usec) for small usec. From Scott Reynolds <scottr@edsi.org>.
1996-01-29 04:10:00 +00:00
briggs
229c36d3dd
Patch a few of the holes in the machine-dependent part of this driver.
...
Sync the m.i. part with the Atari.
1996-01-24 06:02:06 +00:00
briggs
1fd44da3df
Change an &= to an & -- the former stopped working for some reason
...
that I need to delve into when I have time.
1996-01-24 05:52:58 +00:00
briggs
af016e6224
Updates from Kelly Campbell <camk@ksu.ksu.edu> for some ROM addresses.
1996-01-15 12:29:48 +00:00
thorpej
57219ebad3
Remove vnode_if.[ch] during a "make clean", per PR#536 from
...
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
briggs
0d6552d914
Fix typo in last change.
1996-01-13 14:03:38 +00:00
briggs
46c929801f
Move splimp to 2 and spltty to 1.
1996-01-13 01:41:05 +00:00
briggs
2a61903be4
Patch to at least recognise FOCUS EtherLAN. From Erik Bertelson
...
<erik@sockdev.uni-c.dk>
1996-01-12 04:52:58 +00:00
briggs
46a202fc6a
Fixes from PR #1931 w/ minor mod in vm_machdep.c
1996-01-12 04:16:25 +00:00
briggs
39f642161a
Keep two states for pdma debugging. Turn debugging back on. Sigh.
1996-01-11 15:25:53 +00:00
briggs
631612b677
Move splzs to spl4 from splhigh. Really same difference...
1996-01-11 15:23:01 +00:00
briggs
2a9c1229ec
Add some more first guesses at some machines.
1996-01-09 15:26:53 +00:00
briggs
1b99515858
Add #defines for some more machines.
1996-01-09 15:26:02 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
briggs
f5269d0ff6
Fix from Paul Goyette for off-by-one error.
1996-01-06 15:56:12 +00:00
briggs
682c4ec08f
Bring in a few changes from Atari port.
...
Add support from Paul Goyette for keeping more than just the last 2
states when debugging.
1996-01-06 05:18:06 +00:00
jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
mycroft
3da4b2a160
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
...
Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-12-24 02:29:35 +00:00
mycroft
ce000f04ef
Remove deprecated cpu_setstack().
1995-12-21 05:01:32 +00:00
briggs
0a1c6c4827
The IIci also needs an sccClkConst of 115200 instead of 122400.
1995-12-18 14:38:02 +00:00
briggs
486bcce207
Remove printf() that I forgot about.
1995-12-13 14:30:29 +00:00
briggs
405ac4248f
Fix from Paul Goyette to disable linked commands on drives that
...
reject them for simple commands. Leo W. reports that this does
not work for some systems. It's better than what we have now,
though. From Paul Goyette <paul@pgoyette.bdt.com>.
1995-12-13 03:48:07 +00:00
briggs
4b2a9a582d
Update from Bill Studenmund <wrstuden@loki.stanford.edu> with some minor
...
cleanup from me. Now supports serial console.
1995-12-13 03:09:57 +00:00
briggs
37b09a913d
Double ring limits from Bill Studenmund <wrstuden@loki.stanford.edu>.
1995-12-13 03:08:12 +00:00
thorpej
de6dad9228
Move bcopy/ovbcopy/memcpy into m68/m68k/copy.s, which is used by all
...
m68k ports already anyhow. No use in keeping 6 identical copies of this
function around.
1995-12-11 02:37:55 +00:00
mycroft
0e0ac5ed68
cpu_fork() now returns void.
1995-12-09 04:37:23 +00:00
briggs
76b94759a1
Fix from Paul Goyette (paul@pgoyette.bdt.com) for drives that don't grok
...
linked commands.
1995-12-04 02:10:44 +00:00
briggs
99e494a984
Fix from Niklas Hallqvist / Chuck Cranor / Michael Hitch / OpenBSD to avoid
...
integer overflow in initial pmap setup. Triggerred by high values for
maxusers.
1995-12-03 13:52:50 +00:00
briggs
1b03745209
cmdlen-2 is right for the last byte of the command. Ifdef out for right now,
...
though, as some devices apparently don't support linked commands and will
reject commands that have the link bit set in them.
1995-12-01 15:14:11 +00:00
briggs
d416ec2cc9
Put the link flag in the right place.
...
Pointed out by Paul@pgoyette.bdt.com (Paul Goyette).
1995-11-30 14:25:40 +00:00
briggs
93d836857c
RAMDISK stuff.
1995-11-21 05:06:28 +00:00
briggs
447b897889
Define DST and TIMEZONE
1995-11-21 05:05:51 +00:00
briggs
e5a588356f
Small RAMDISK kernel.
1995-11-21 05:02:02 +00:00
briggs
369e3de013
Get rid of obsolete time specs.
1995-11-21 05:00:34 +00:00
briggs
f9ba6adcd7
Add rd_root.c from sun3.
1995-11-21 04:53:20 +00:00
briggs
0d91c3ff0b
Back the sccClkConst off to 115200 for several classes of machines.
1995-11-21 04:00:43 +00:00
briggs
9afe66efa5
Add rd support at the same address as the Sun3.
1995-11-21 03:39:45 +00:00
briggs
83604dcbd6
Add call to doshutdownhooks() before we attempt to reboot.
1995-11-14 04:05:49 +00:00
briggs
5b38a18f42
include files.fpe instead of just fpu_emulate.c--to get the new fpe code.
1995-11-03 04:50:21 +00:00
briggs
3074f94137
Remove ser1 from init list.
1995-11-01 04:59:31 +00:00
briggs
9a1fb2674a
Fixup error/debugging message.
1995-11-01 04:59:03 +00:00
briggs
c587e77144
Remove bogus assignment.
1995-11-01 04:58:21 +00:00
briggs
819cd49aa7
Remove -fno-builtin
1995-11-01 04:53:34 +00:00
briggs
4d13774bbc
Rearrange a bit. bpfilters -> 16 and ae0/ae1 -> ae*.
1995-11-01 04:52:46 +00:00
briggs
680ada5add
port-mac/1707: mac68k mouse drag problems with Cmd+arrow keys
...
from Ken Nakata <kenn@remus.rutgers.edu>
1995-11-01 04:40:21 +00:00
briggs
8218c4005c
Pull in all but one of Leo's changes from the atari copy.
1995-10-31 15:32:35 +00:00
briggs
47c507f8fd
SUNOS_SYS_sunos_sigreturn -> SUNOS_SYS_
...
sigreturn.
1995-10-15 03:01:57 +00:00
briggs
67e41c3280
Remove extra serial device--forgot to check this in earlier.
...
The serial device now handles both channels.
1995-10-12 17:39:45 +00:00
briggs
712a3f32c4
Nuke blkclr and use thereof.
1995-10-10 04:14:18 +00:00
briggs
2738554927
Get rid of libkern duplicates.
1995-10-10 03:49:04 +00:00
briggs
5e13eea9b1
sysarch -> sys_sysarch
1995-10-10 03:48:33 +00:00
briggs
fcb8923ffa
Remove extra reference to LIBKERN.
1995-10-10 03:47:59 +00:00
briggs
f5fae9d016
Port of Sun3/Sparc zs driver from wrstuden@loki.stanford.edu
...
(Bill Studenmund). Should be massaged into machine independence
for 1.2.
1995-10-09 12:42:16 +00:00
briggs
685b9057c2
Pick up changes from leo's latest version.
1995-10-08 17:25:19 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
briggs
5479e941d9
Add a second ppp. It makes the kernel a whole 8 bytes larger on disk.
1995-10-04 11:05:25 +00:00
briggs
8ede165771
ae0 -> ae* and add a couple of vnd devices.
1995-10-04 03:42:18 +00:00
briggs
6e435f9152
Include ether.h to get NETHER.
1995-10-04 03:38:27 +00:00
briggs
be8ef88444
Raise number of bpfs to 12 since CAP needs a minimum of 8.
1995-10-03 20:19:01 +00:00
briggs
1ddc4223b1
Add offset to mac68k_vidlog as suggested by chas@ohm.nrl.navy.mil.
1995-10-02 09:41:06 +00:00
briggs
633e32000c
Wrap call to arpintr() in NETHER to avoid unresolved external if no ether
...
devices are present. Suggested by Paul Goyette (paul@pgoyette.bdt.com ).
1995-10-02 09:38:38 +00:00
briggs
d510375b06
Change to allow nack_message() to take an argument and send
...
MSG_REJECT_MESSAGE instead of MSG_ABORT when we get an extended message.
This allows a DEC drive to work when it attempts to negotiate synch.
transfers on us.
1995-10-02 09:03:53 +00:00
briggs
0066d1a66f
Finally get this right... Final fix from Paul Goyette paul@pgoyette.bdt.com
1995-10-01 05:10:20 +00:00
briggs
9de2a25e73
Surround Debugger(); with #if DDB. Different fix than encl. for PR#1553.
1995-10-01 02:29:32 +00:00
briggs
c1138ce68a
Yet another error in the (next-to) last changes.
1995-09-30 21:34:54 +00:00
briggs
890baf19ea
Fix stupid error in one of my last changes here.
1995-09-30 19:42:34 +00:00
briggs
d73008fe8b
Always announce it when loading miniroot.
1995-09-28 04:17:24 +00:00
briggs
b1d771eeb5
Simplify nubus interrupt routines a bit.
1995-09-28 04:11:18 +00:00
briggs
a9f0a2f9c4
Fix PR 1514 from Walter Ruetten.
1995-09-28 03:15:54 +00:00
briggs
5a0bebbc54
Patch from Theo to finish clearing 040 kernel page tables.
1995-09-27 04:16:54 +00:00
briggs
232169396a
Bullet-proof a little.
...
Make some more pdma code conditional on USE_PDMA.
Handle transfers of size > MIN_PHYS.
1995-09-27 03:38:57 +00:00
briggs
4d52f57876
Add Technology Works ethernet card. From
...
Kazunari Nakamura <kazu@nkk.co.jp>.
1995-09-24 14:13:56 +00:00
briggs
e23598f24f
Much improved pdma transfers.
...
Still not nearly as fast as FWB's drivers under the MacOS.
Uses the "blind" transfer method instead of polled pdma.
1995-09-23 01:11:42 +00:00
briggs
01be7f2b8c
Need sys/mount.h for fhandle_t.
1995-09-21 11:27:43 +00:00
briggs
4a9cf8407c
Fix a warning.
1995-09-21 11:13:27 +00:00
briggs
fbd9919364
Fix warning and use __P for prototypes.
1995-09-21 03:36:25 +00:00
briggs
b895726b5c
MACCCLASSIC is Color classic. And it's more like an LC than hopeless.
1995-09-21 01:56:31 +00:00
briggs
de36f970fb
Fix a few oversights. From Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
1995-09-20 13:03:21 +00:00
thorpej
c9dfdd20b6
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:48:41 +00:00
thorpej
7d7396c414
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:53:47 +00:00
briggs
516ddf511f
Wrap only the message in ifdef DIAGNOSTIC.
1995-09-19 03:18:15 +00:00
briggs
909842fb1f
Correct jClkNoMem address for C650 from
...
nick@csua.berkeley.edu via Walter Ruetten.
1995-09-18 13:55:09 +00:00
briggs
e8dbcda856
Do not define MIN_PHYS here--it is m.d..
1995-09-18 13:52:43 +00:00
briggs
cb5010a4fe
Fix a spelling slight. Grab the faulting address if nofault in bus error.
1995-09-18 13:51:25 +00:00
briggs
927d165081
Optimize the via interrupt processing routines a tad. From
...
chas@ohm.nrl.navy.mil (Charles J. Williams).
1995-09-18 03:15:43 +00:00
briggs
cb4eb50b28
Change HwCfgFlags4 to something a bit more mnemonic.
1995-09-17 21:28:33 +00:00
briggs
1c8c505974
Fixes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to avoid panic()s when we read the PRAM values while ROM
vectors are missing.
1995-09-17 18:51:40 +00:00
briggs
b528dcf5c2
Fix from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>
...
to prevent his last changes from causing a panic if some
values are not filled in in the ROM vector table.
1995-09-17 18:50:17 +00:00
briggs
c4250f7102
Add rom vector for LCIII from Peter Kohler (kohler@ife.ee.ethz.ch)
...
via Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
1995-09-17 05:22:57 +00:00
briggs
a106882a85
Only use PIO instead of PDMA if DRIVER_NOINT.
1995-09-16 18:22:33 +00:00
briggs
ccaff4431c
Simplify doboot().
1995-09-16 15:35:05 +00:00
briggs
ea4e385abd
Map in the VIA space for the bloody Mac II ROMs that directly reference
...
a hardware address. Also map in the ROM space before we call doboot().
1995-09-16 15:33:54 +00:00
briggs
6ed4261a1b
Fix segment table reference bug (from Michael Hitch).
1995-09-16 15:09:28 +00:00
briggs
a8b0260a05
Sync. with atari ncr5380.c -- mainly whitespace changes.
1995-09-16 15:06:55 +00:00
briggs
214a1bac9f
Fixes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
to use ROM routines to read and write PRAM times, etc..
1995-09-16 12:35:53 +00:00
briggs
bee931c117
Set timezone to 0. The booter's GMT bias should be used, instead.
1995-09-16 12:33:06 +00:00
briggs
2e06f3f2bb
More changes from walter@ghpc8.ihf.rwth-aachen.de (Walter Ruetten)
...
for correct handling of timezones and PRAM <-> system time conversion.
1995-09-16 12:31:13 +00:00
briggs
4dc81200f5
Rename scsi_main_irq() to pdma_ready().
...
Missed a few ATNs in last patch. (pointed out by Leo).
Raise timeout from 100 to 1000. From Leo.
1995-09-16 11:45:18 +00:00
briggs
048e948791
As Leo pointed out, my last change was not safe. This one should be.
...
I added two new bitfields to ncr_softc. They flag which devices have
been selected, and which ones have failed to go to message out when
selected with ATN. If a target fails to go to message out the first
time it is selected, it goes into the latter bitfield. If it fails
thereafter, we treat it as we did before.
1995-09-15 01:52:18 +00:00
briggs
a0d6a95720
indentify.
...
Bring in a few changes from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de ).
Assume that PRAM time - GMT bias (set in the booter) is the current time
in UTC.
1995-09-14 23:44:12 +00:00
briggs
1b34b69c93
Gah... The Asante SCSI/ethernet box doesn't answer the ATN request
...
for a 'MESSAGE OUT' phase, so add support in scsi_select() for the
phase to be either 'MESSAGE OUT' or 'COMMAND'.
1995-09-14 02:54:05 +00:00
briggs
d8ab74fcf2
Honor new MACH_CLASSIIvx.
1995-09-14 02:49:11 +00:00
briggs
13c1f2d48b
Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
...
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
9c61c22d66
Clean up message a tad.
1995-09-14 02:43:51 +00:00
briggs
18a11cecc7
Update a comment.
1995-09-12 22:52:08 +00:00
briggs
d8dc3d91c0
Update for Leo's changes.
1995-09-12 22:31:45 +00:00
briggs
1ae7af5b59
Updates from Leo's changes in the atari port.
1995-09-12 21:20:18 +00:00
briggs
639f90ef6e
Update from Leo's changes.
1995-09-12 21:05:58 +00:00
briggs
c91abc3e61
Remove infinite loop per Leo and Mycroft.
1995-09-05 11:21:34 +00:00
briggs
19a99aa395
Get softc as parameter in interrupt function, using new changes from
...
via.[ch]
1995-09-04 05:07:16 +00:00
briggs
129ca2cea9
Make VIA2 interrupts pass an argument in and let the scsi_register_*_intr
...
functions use that, too.
1995-09-04 05:05:58 +00:00
briggs
4f76655592
Fix a goof in the latest changes.
1995-09-04 05:05:11 +00:00
briggs
02883e7341
Remove an extra "talk" command--from Ken Nakata <kenn@remus.rutgers.edu>
1995-09-04 02:50:57 +00:00
briggs
86d6e121cd
Add support for Extended Apple Mouse Protocol from
...
Ken Nakata <kenn@remus.rutgers.edu>.
1995-09-03 20:59:53 +00:00
briggs
b394d7fc7d
Enable ADB interrupts unconditionally if not using setup_egret().
1995-09-03 20:47:21 +00:00
briggs
de4100b643
Clean up a bit.
1995-09-03 14:54:31 +00:00
briggs
761b3a8340
Clean up some.
1995-09-03 14:51:38 +00:00
briggs
30c554fc9d
Changes from Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>.
...
This forces the need for booter version 1.8.
1995-09-03 14:37:16 +00:00
briggs
745cb60f16
Note that this is now an obsolete driver.
1995-09-03 03:39:38 +00:00
briggs
e9a9533544
Make the new m.i. scsi driver the default.
1995-09-03 03:37:32 +00:00
briggs
166af00381
Make a local copy of the atari m.i. scsi driver sources for the time
...
being. Some people aren't supping arch/atari and this allows those
people to get the sources.
1995-09-03 03:36:35 +00:00
briggs
a7783604fd
Optimize this some. Still seems slower than it ought to be.
...
Register interrupt functions with via.c.
Clean up somewhat. Turn off DEBUG.
1995-09-02 19:29:42 +00:00
briggs
4ed102bbd4
Optimize accesses to VIA2 a bit.
...
Force SCSI driver to register interrupt functions and remove default
handlers.
Bring in a few changes from
Walter Ruetten <walter@ghpc8.ihf.rwth-aachen.de>--more to come later.
Define VIA interrupt functions as returning void, not long.
1995-09-02 19:27:34 +00:00
briggs
42d7c233d5
Very minor cleanup.
1995-09-02 05:44:07 +00:00
briggs
9f203a792f
Weren't quite ready for the last change.
1995-09-02 05:41:12 +00:00
briggs
e60752e507
Rearrange a bit.
1995-09-02 05:35:59 +00:00
briggs
bee422d998
DTRT. This should be considered the base version of the file.
1995-09-02 03:19:37 +00:00
mycroft
29053c58b2
SA_ONSTACK --> SS_ONSTACK
1995-09-01 20:05:59 +00:00
briggs
b6fb219037
Process via2/rbv interrupts from low bit to high bit.
1995-09-01 04:10:11 +00:00
briggs
e46e8e7a57
A first pass at a scsi driver based on the Atari ncr5380{reg.h,.c} code.
1995-09-01 03:43:49 +00:00
briggs
d3930dd627
In child_return(), pass oticks of 0 to userret() instead of p->p_sticks to
...
avoid slighting the child of a timer tick if it gets one after starting.
Thanks go to cgd for noticing this.
1995-08-31 03:22:55 +00:00