briggs
1d8ac2ad92
Update to something closer to the atari port.
1996-05-06 22:26:26 +00:00
scottr
aef8f5c3bb
Update for renamed sbc driver files
1996-05-06 06:40:03 +00:00
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
briggs
503d3c4927
Add constants for CSI's communications card.
1995-08-25 21:20:57 +00:00
briggs
ac0af4229f
Change VIA2:vPCR setting to allow scsi IRQ and DRQ.
1995-08-25 02:56:41 +00:00
briggs
1ed5c0babc
Some code to support a vector passed in from booter 1.8.
1995-08-24 04:27:16 +00:00
briggs
0484bdaf59
Don't panic on NMI and only take notice if DDB.
1995-08-24 04:25:07 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
briggs
68b61ea1ad
Fix comments. .space 0x1000 was accidentally left commented so it
...
still is--just explicitly, now.
1995-08-16 13:18:24 +00:00
briggs
37004a19e4
Missing cast and semicolon in last.
1995-08-16 05:17:31 +00:00
briggs
665a6a78bc
Load the old MacOS ROMBase value back in before we jump to reset.
1995-08-16 04:48:34 +00:00
briggs
ae51ffca30
Always fail when probed--until this driver works.
1995-08-14 03:55:28 +00:00
briggs
64ea04b1d0
Be more vocal about interrupts that we don't expect.
...
Include ncrscsi.h and ncr96scsi.h.
1995-08-14 03:16:07 +00:00
briggs
7d55e1196e
Document spl()s a bit, order the splfoo()s in splX() order.
1995-08-13 01:52:16 +00:00
mycroft
7a9cad50cd
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:23:56 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
briggs
52e968da1a
Fix oversight in last.
1995-08-12 18:48:47 +00:00
briggs
1fd03600dd
Get rid of cpu040 for good.
1995-08-12 04:08:29 +00:00
briggs
8f58d57321
Don't fake these values.
1995-08-11 17:48:19 +00:00
briggs
72d557cf87
The serial console works again (at least on the Q700).
1995-08-11 03:29:07 +00:00
briggs
d192d70a87
Note that we've been initialized.
1995-08-11 03:02:04 +00:00
briggs
100380f075
Do the serial console a bit better (still has problems).
1995-08-11 03:00:15 +00:00
briggs
81cc5998a1
Missing increment operator for if_opackets in last change.
1995-08-09 12:16:10 +00:00
briggs
b4eecb5362
We need to set cpu040 for just a while longer.
1995-08-09 03:25:25 +00:00
briggs
53af1e73b8
Make sure we don't remap video/serial before we're done writing to it.
1995-08-09 03:23:57 +00:00
briggs
71b21ba74e
Don't go bonkers if we don't have a real swap device.
1995-08-09 03:22:50 +00:00
briggs
dbdcebe34b
Fix a few 040-isms, remove an old comment, and add a few things for the future.
1995-08-09 03:21:59 +00:00
briggs
3b5979d56c
Remove cpu040 use from here. It should only be used at boot time.
...
Take out old method for determining load address for IIci/si.
Set all but IIsi/ci to use a clock initialization value of 115200 (not
the baud rate... ;-).
1995-08-06 04:39:56 +00:00
briggs
110cf98100
Get rid of int_video_{start,length} and wierd nubus mapping.
1995-08-04 03:21:46 +00:00
briggs
70065c2ed5
Nuke int_video_start in favor of consistent use of mac68k_vidlog.
...
Don't find the internal video more than once.
Probe for internal video before nubus instead of after.
1995-08-04 02:55:06 +00:00
briggs
fb5e0a34bb
Be consistent and use mac68k_vidlog instead of int_video_start.
1995-08-04 02:47:31 +00:00
briggs
b0a1bd6e17
Use panic() instead of printf();Debugger();
1995-08-02 11:53:02 +00:00
briggs
a76e2adfab
Get rid of reference to Debugger().
1995-08-02 11:50:43 +00:00
briggs
f60a2bbccf
Add kludge for LC video and change IIvx to assume 1MB of VRAM if we can't
...
figure out how much there really is.
1995-08-02 04:15:41 +00:00
briggs
fc8739097d
Fix signed/unsigned gaff in last.
...
Bring up-to-date with latest rash of changes to if_ed.c.
1995-07-30 21:39:17 +00:00
briggs
ff5fa674dd
Fix the internal video probe again.
1995-07-30 21:35:00 +00:00
briggs
80cd97e743
delay(7) instead of delay(20) seems sufficient
1995-07-30 21:30:57 +00:00
briggs
cf76e90671
Differentiate printf for illegal instruction/fpu traps in kernel mode.
1995-07-30 19:18:28 +00:00
briggs
139f62c079
Add support for Farallon from Brian Gaeke (brg@dgate.org).
1995-07-30 13:38:04 +00:00
briggs
cf0aca3cb4
Read the packet header count in bytes, not as a word--word reads return
...
invalid data on some cards (notably old Apple Ethernet NB and Farallon
cards at least).
1995-07-30 02:44:27 +00:00
briggs
a2f49ac930
Don't show up in "slot" 0xe.\n
1995-07-28 01:34:58 +00:00
briggs
58f294f29c
get rbv_nubus_intr working--at least on the IIsi.
1995-07-27 04:19:21 +00:00
cgd
ffe4785a58
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:33:32 +00:00
briggs
ff7dcdbfc5
Some debugging code added.
1995-07-23 21:54:47 +00:00
briggs
1c213ea5b6
Minor #def changes.
1995-07-23 21:51:47 +00:00
briggs
83d0f4f73d
Use get_mapping only if 030 and MMU enabled. Otherwise, fake it.
1995-07-19 16:39:03 +00:00
briggs
d9b318b2be
Add support for:
...
GENERIC
RB_ASKNAME
RB_MINIROOT
Also revved up the required version of the booter because we need the
booter fixes to get this functionality.
1995-07-18 04:10:13 +00:00
briggs
a5e4549306
Stop recursive jmp0panics.
1995-07-17 01:31:14 +00:00
briggs
8d0e9635a6
Get IIsi ethernet almost working. Still misses a number of interrupts.
1995-07-17 01:26:02 +00:00
briggs
c5fe9f62ff
Cleanup a bit.
1995-07-17 01:25:12 +00:00
briggs
c5724ea3a3
Some more bugs fixed and functionality corrected by:
...
"Paul R. Goyette" <paul@pgoyette.bdt.com>.
Implemeted the Set Scrolling Region, Set Tab Stop, and Clear All
Tab Stops functions.
1995-07-17 01:24:34 +00:00
briggs
a91a7f619b
GENERIC should have options GENERIC. Duh.
1995-07-17 01:21:29 +00:00
briggs
30c70a7c59
patch to handle cursor moves better. From Paul Goyette
...
(Paul@pgoyette.bdt.com )
1995-07-09 15:36:41 +00:00
briggs
fd69606246
Take out bogus message.
1995-07-08 12:39:12 +00:00
briggs
33cef0adfd
Clean up a lot. Run machdep.c through indent.
...
Remove a bunch of old debugging code and some dead code.
Put in some new comments. Need more.
1995-07-08 04:25:07 +00:00
briggs
3758e23b79
Add another routine for the grf display-specific drivers to return a physical
...
address.
1995-07-06 17:13:45 +00:00
briggs
e6992b3e60
Panic if we don't know how to relocate the video address.
1995-07-06 13:30:24 +00:00
briggs
84ee954356
Change NBSBASE to 0x90000000 and let it and NBSTOP be defined.
1995-07-06 13:25:30 +00:00
briggs
d1d1fbc094
Put in a cast to make compiler happy.
1995-07-06 04:17:15 +00:00
briggs
0ae9938e56
Fix (last?) bug in the IIvx kludge.
1995-07-06 03:44:46 +00:00
briggs
6503666839
If SYMTAB_SPACE is defined, set esym to be the same as end.
...
Fixup my IIvx kludge again.
1995-07-06 02:32:13 +00:00
briggs
f3274364d4
Fix a bug I introduced earlier.
1995-07-06 00:28:32 +00:00
briggs
e11c8dfd4c
Stupid programmer error in IIvx kludge.
1995-07-05 03:48:45 +00:00
briggs
38031d912a
First cut at a kludge for IIvx internal video.
1995-07-04 18:55:11 +00:00
briggs
6d08320888
Move SCSIBase from scsi.c.
1995-07-04 14:42:16 +00:00
briggs
2e4f1e0daa
Update a bit.
1995-07-04 14:38:49 +00:00
briggs
2510a4f689
A few nits.
1995-07-04 14:38:34 +00:00
paulus
1513342690
Add code to netintr to call pppintr
1995-07-04 12:14:32 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
briggs
f92d7eb51f
Clean up some types.
1995-07-04 03:34:09 +00:00
briggs
4d6ed092f1
Fixup a comment.
1995-07-04 03:30:11 +00:00
briggs
1040af3492
Add missing interface for getting a grfmode structure from kernel.
1995-07-02 05:26:27 +00:00
briggs
ed434b457d
Fix grfmap() as well as grfmmap().
1995-07-02 00:49:52 +00:00
briggs
932a8fc9af
Set and use new fboff element from grfmode structure.
1995-07-02 00:30:25 +00:00
briggs
af7f31e30a
Add a couple elements to the grfmode structure.
1995-07-02 00:29:03 +00:00
briggs
3401cca400
Fix buglet that was missed when converting nubus to non pa==va mapping.
1995-07-01 23:40:38 +00:00
briggs
303845a487
Remove this define--we're using the new dump type.
1995-07-01 18:47:51 +00:00
briggs
eec2d38c71
Take out ncr96scsi0.
1995-07-01 16:35:54 +00:00
briggs
36654b75d9
Use flags for scsi interrupts. clean up a small bit.
1995-07-01 16:35:16 +00:00
briggs
175a1e27f4
add needs-flag for the scsi chip interfaces.
1995-07-01 16:28:13 +00:00
briggs
12ab0410c7
Clean up a tad.
1995-06-30 05:25:41 +00:00
briggs
fcde92bcba
Fix straytrap(). Update a few values in the ROM table.
1995-06-30 05:25:01 +00:00
briggs
5fced13f51
Ooops.
1995-06-30 05:23:03 +00:00
briggs
705e6bd12b
Fix oversight.
1995-06-30 05:21:33 +00:00
briggs
29bb03860c
Option key fix from Ken Nakata (kenn@remus.rutgers.edu).
1995-06-30 01:23:21 +00:00
cgd
2b71eae2c7
note that most of dev/ic's contents have changed names
1995-06-28 04:30:30 +00:00
briggs
829668e8d3
Some random cleanup and some cleanup of the dump routines, modelled on
...
i386. Untested. Remove old mac68k-specific stack trace code, etc. as
the cleanup.
1995-06-28 04:09:25 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs
600cdad805
Stupid typo in last.
1995-06-25 14:02:09 +00:00
briggs
50d8509da2
Stupid pasto in last.
1995-06-25 13:53:21 +00:00
briggs
0958ef72c8
Add libcompat.
1995-06-25 13:39:37 +00:00
briggs
2a153a49b1
Fix the clean target.
1995-06-25 13:06:32 +00:00
briggs
4d6069140b
Get the units right...
1995-06-25 04:49:05 +00:00
briggs
b1addb6674
Patches from Walter Ruetten (walter@ghpc8.ihf.rwth-aachen.de)
...
and Daniel Risacher (magnus@mit.edu ). Apparently with some
helpful discussion from John Wittkoski (jpw@insoft.com ).
This works on my IIcx and IIsi. Still needs a bit of cleaning up.
1995-06-25 03:24:09 +00:00
briggs
b1598cdd1b
Remove a compile warning.
1995-06-25 02:46:46 +00:00
briggs
fc6fb65d62
Do something a lot closer to the right thing for FPU_EMULATE/FPSP/040
...
and subsets thereof.
1995-06-25 02:45:14 +00:00
briggs
5781a8dcc0
The kernel is called netbsd, not vmunix.
1995-06-24 17:24:24 +00:00
briggs
4f05f7e8f6
pmap_page_index isn't a macro.
1995-06-24 16:18:50 +00:00
briggs
1dadb15deb
Remove DIAGNOSTIC
1995-06-22 23:24:18 +00:00
briggs
3ddc81510c
Add avail_end to keep ps and friends happy. Possibly a short-term fix.
1995-06-22 03:08:29 +00:00
briggs
1ccd38d9e1
Don't use constants for addresses. VA != PA...
1995-06-21 03:59:07 +00:00
briggs
229ed22747
Add function to reconfigure addresses when ROM is remapped.
1995-06-21 03:46:52 +00:00
briggs
2beeae8058
Lots of changes from hp300.
...
Removed MACHINE_NONCONTIG conditionals. Only support that
configuration, now.
Some cleanup.
1995-06-21 03:45:10 +00:00
briggs
49b9eb5e4d
A number of clean-up related changes and a few changes relating to
...
the new mapping. "real mem" is now correct for MACHINE_NONCONTIG
machines. MACHINE_NONCONTIG conditionals have been removed--only
support that case, now.
1995-06-21 03:41:51 +00:00
briggs
778adb81d1
Bring in 040 code from hp300 port.
...
Remove memory mapping code.
Update cpu_switch and a few other functions from hp300 port.
1995-06-21 03:36:27 +00:00
briggs
3d04799c79
Remove warning.
1995-06-21 03:20:58 +00:00
briggs
19b569364f
Cleanup some--needs more pruning.
1995-06-21 03:20:22 +00:00
briggs
37b6dc390f
Put page mapping code into a C module.
...
Remove old 040 version of page mapping--new way handles 040, too.
Derived from hp300 pmap_boostrap.c.
1995-06-21 03:19:35 +00:00
briggs
4a9e8ef39f
Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
...
Remove unused mapin() macro. Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs
5dd8297b11
Cleanup some and make these look more like hp300 versions.
1995-06-21 03:14:06 +00:00
briggs
23622438bf
Get rid of pcb_cmap2.
1995-06-21 03:10:44 +00:00
briggs
c2184f6f5b
Update to look more like hp300. Clean up a lot.
1995-06-21 03:08:29 +00:00
briggs
04834fb800
Remove cpu_set_init_frame() define.
...
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
briggs
7542473d6d
Clean up I/O base settings a bit.
1995-06-21 03:03:13 +00:00
briggs
697011742c
Add some debugging (conditional on DEBUG). Add a more correct probe for
...
internal video. Clean up nubusprint() a bit.
1995-06-21 02:59:08 +00:00
briggs
e4ff96e47c
Make NUBUS_BASE_TO_SLOT and reverse not depend on VA==PA for NuBus.
...
Add constant for DRSW_FARALLON.
1995-06-21 02:57:19 +00:00
briggs
6ff2537ad3
Make no assumptions about the absolute address of nubus cards.
1995-06-21 02:52:09 +00:00
briggs
cb00a78de3
Treat 0 as a failure case for ae_id_card() and take out
...
null-op check for a 0 addrlist in init.
1995-06-21 02:50:22 +00:00
briggs
f462aa095a
Be a bit more careful on the probe... Make sure that the current slot's
...
addresses contain the int_video_start--or assume that internal video is
is "slot" 0xE.
1995-06-21 02:48:00 +00:00
briggs
1eec6bfc33
Add pmap_bootstrap.c and take out mac68k_init.c.
1995-06-21 02:43:19 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
briggs
67bfc330f1
Fix a typo that's gone unnoticed for a long time. Noticed by Brian
...
Gaeke (brg@dgate.org ).
1995-06-20 05:13:19 +00:00
briggs
caa1421dd6
Add FPSP back.
1995-06-19 03:55:15 +00:00
briggs
6f06373e06
Take out M68040, add a more specific swap and add vnd.
1995-06-19 03:53:58 +00:00
briggs
fec7ba6562
Rearrange slightly.
1995-06-16 04:45:22 +00:00
briggs
d37674426a
"Always compile before you commit."
1995-06-09 02:19:47 +00:00
briggs
90caf013ba
In the interrupt routine, bail out if we've not been initialized, yet.
1995-06-08 12:52:02 +00:00
briggs
0b3271404c
Make genassym depend on its C source.
1995-05-31 00:09:55 +00:00
briggs
81712d5ba7
Make a diagnostic message DIAGNOSTIC.
1995-05-25 11:48:06 +00:00
briggs
0521ad83a0
Make comment fit reality.
1995-05-17 00:45:55 +00:00
briggs
2b47f281fe
Some cleanup.
1995-05-17 00:37:33 +00:00
briggs
94ce6105d2
Add configuration for my gateway machine.
1995-05-17 00:33:59 +00:00
briggs
a43ca9e742
Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
...
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
briggs
fd807928aa
Add a memcpy entry point as at least a temp fix for compiling with a
...
recent gcc2 snapshot.
1995-05-17 00:28:14 +00:00
briggs
6201783f37
Set A2 to PS_STRINGS in setregs().
1995-05-17 00:00:42 +00:00
briggs
725cb78165
Actually probe for 881 vs. 882. Also add a case for 040, although it's
...
really lip-service at the moment.
1995-05-10 03:19:00 +00:00
briggs
56b5c26854
Get rid of a printf() that got left behind in the probe.
1995-05-06 18:44:48 +00:00
briggs
c4cb3e244c
Probe this like the other devices.
1995-05-06 18:33:19 +00:00
briggs
331e2bd82b
Add some code/defines to differentiate Asante and Interlan/Gator cards
...
correctly with the new nubus code.
1995-05-05 05:40:13 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
briggs
34e5f975f9
Don't set mrg vectors if we're using the serial console--this allows
...
machines w/ non-working desktop bus to actually get on with booting.
1995-04-30 17:01:06 +00:00
briggs
59b4da2b39
Add new nubus handling that's much more robust.
...
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
christos
843a2a3539
Use new files.sunos
1995-04-27 12:08:54 +00:00
briggs
a2bc99d6f1
Make these compile again.
1995-04-23 00:37:23 +00:00
christos
545f388282
Removed sunos_machdep.c
1995-04-22 23:40:24 +00:00
christos
94289bf2b0
Move sunos_machdep.c to m68k
1995-04-22 23:39:02 +00:00
christos
c5f01c2a4c
Fixed comparison in SYS__syscall to be against sysent instead of
...
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs
74b3f483db
Define DELAY.
1995-04-22 13:17:51 +00:00
briggs
a992a8136c
Add some multicast byteorder-related changes from djh@mulga.cs.mu.OZ.AU.
1995-04-22 12:08:12 +00:00
briggs
dda57ad059
Use vfs_shutdown().
1995-04-22 11:53:40 +00:00
briggs
9e1f939930
Get rid of old file from hp300 origins!?
1995-04-21 11:35:15 +00:00
briggs
5982b968a9
Enable nubus interrupts after registering.
1995-04-21 04:01:27 +00:00
briggs
7063b53b26
Separate nubus interrupt registry and enablement.
1995-04-21 04:00:55 +00:00
briggs
6bc53a2398
Handle grf_softc in the config.new manner.
...
Should have been done long ago.
1995-04-21 03:44:13 +00:00
briggs
13efb6c197
First pass of KNFication. Needs more.
1995-04-21 02:47:35 +00:00
briggs
85025d789c
Prototype iteopen correctly (oversight from a while back...).
1995-04-20 15:46:56 +00:00
briggs
a6ba5f8f7e
Update to use softc better and handle mainbus being indirect.
1995-04-20 15:32:01 +00:00
briggs
8288b9238d
Make mainbus an indirect device--needs more work, but it does function.
1995-04-20 15:31:23 +00:00
briggs
64bd3f0995
Move to ptytty
...
Nuke the grf's reset space holder.
1995-04-20 15:30:22 +00:00
briggs
df693904cd
include mi scsi files file.
...
Change several devices from needs-count to needs-flag.
1995-04-20 15:28:54 +00:00
briggs
4137a8ff57
Add itetty().
1995-04-20 15:27:43 +00:00
briggs
a7f44caf1b
Add a sertty() and update to use ser_softc instead of a bunch of arrays
...
everywhere.
1995-04-20 15:27:12 +00:00
briggs
1286501d43
Grab the sun3 cpu_coredump().
1995-04-20 15:25:41 +00:00
briggs
7345c91d2e
'twould help to unmount the filesystems, wouldn't it?
1995-04-19 14:01:58 +00:00
briggs
bf68945da5
Define struct ae_ring which is necessary because BYTE_ORDER == BIG_ENDIAN,
...
but the card is in x86 byte order mode because NuBUS does the swap "for us"
on 16- and 32-bit transfers. We should probably figure some way to use
the std struct ed_ring if/when all the 8390 drivers are all fully merged.
1995-04-19 04:46:06 +00:00
briggs
2b1a13ab2f
Initialize totlen in ae_put. Thanks to chopps for pointing it out!
...
Also, switch back from using struct ed_ring to using struct ae_ring
because BYTE_ORDER == BIG_ENDIAN, but the card is in x86 byte order
mode because NuBUS does the swap "for us" on 16- and 32-bit transfers.
We should probably figure some way to use the std ed_ring if/when
all the 8390 drivers are all fully merged.
1995-04-19 04:43:36 +00:00
jtc
4d37095e31
Fix typo: ieefp.h -> ieeefp.h.
1995-04-16 16:47:03 +00:00
briggs
38cb076019
Get this working. Mainly, don't always round to word transfers on
...
receive.
1995-04-16 00:14:54 +00:00
briggs
f93fa3c440
Update interrupts to use (void *client_data) instead of (int unit) as
...
parameter to interrupt function.
1995-04-13 04:04:58 +00:00
briggs
c9e2e6e2a8
Update to use dev/ic/dp8390.h. Mostly from mycroft.
...
Still get extra data on either transmit or recieve, but want to
checkpoint this work.
1995-04-13 03:58:18 +00:00
briggs
2bc91b9c2c
Almost working synch with if_ed.c. Much by mycroft. Fixups by me.
...
Inserts garbage characters--this driver isn't ready for use quite yet.
1995-04-12 15:01:14 +00:00
briggs
9554285cb6
Fixup from last changes.
...
Remove clock device.
1995-04-12 14:59:19 +00:00
briggs
13dc6a7a07
Make nubus indirect. Duh.
1995-04-12 14:57:40 +00:00
briggs
09ba51f21e
Fix typo from last changes.
1995-04-12 14:55:45 +00:00
mellon
df78dbb096
Reference cninit.c as well as cons.c
1995-04-11 09:52:11 +00:00
mycroft
7114c30418
Use global 8530 defs.
1995-04-11 03:00:38 +00:00
mycroft
e25c1817cf
kernel_pmap --> pmap_kernel()
1995-04-10 13:08:28 +00:00
briggs
a15027bd11
Remove old comment.
1995-04-10 13:01:19 +00:00
briggs
769e59cd1f
Remove bogus extra tape cdevsw entry.
...
Change adb dev init to a mouse dev init.
Remove non-existant clock device stuff.
1995-04-10 12:59:48 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9
Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
...
needed. Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236
Minor consistency nits.
1995-04-10 10:01:40 +00:00
mycroft
8f8bccf41f
Switch grfmap and grfmmap.
1995-04-10 07:56:46 +00:00
mycroft
942c5ec591
Map vnd device from chr to blk.
1995-04-10 07:54:45 +00:00
briggs
d5cfa2c98f
Synchronize with latest changes to hp300 conf.c and give dummy mem
...
open/close/map routines (map is dummy for now, but should be implemented
when I'm more awake).
1995-04-10 05:57:40 +00:00
mycroft
e957423a98
Move fp_except and fp_rnd definitions to machine/include.
1995-04-09 21:31:58 +00:00
briggs
c17558aa9b
Fixup types of a few functions to match if.h structure.
1995-04-08 20:55:26 +00:00
briggs
426b77c9eb
Put in a dummy PostEvent trap and enable ADB interrupts for IIci. From
...
Paul Goyette (paul@pgoyette.bdt.com ).
I went ahead and removed the conditional around setting the ADB interrupt
enable. I don't expect Apple will have changed this on any other models
as it's the same on all documented models.
1995-04-08 20:46:23 +00:00
briggs
7e4d7125a3
Back to previous version of the serial driver until we can figure out
...
why the new one gets a lot of overflows and doesn't work on the IIsi
or IIvx at all.
1995-04-08 13:20:52 +00:00
briggs
870235352d
Print a diagnostic if we do hit the watchdog and recover w/o resetting.
1995-04-08 13:17:55 +00:00
briggs
8ca9890ea2
Actually set the vectors for RBV as well as VIA2.
...
Don't go to spl4 when we have an ADB interrupt.
Turn off video interrupts on the SE/30.
1995-04-08 13:16:33 +00:00
briggs
10fc499f8c
Nuke FPCOPROC and add fpu device driver and FPU_EMULATE from sun3.
...
Still need to figure out how to handle this w/ FPSP on 68040's but
since we're not really using the 68040 yet...
1995-03-29 07:38:34 +00:00
briggs
7a557178ba
Get rid of some BARFs and assign some semi-reasonable spl()s...
1995-03-29 07:35:35 +00:00
briggs
9fca93fa60
Nuke FPCOPROC and add FPU_EMULATE to GENERIC.
...
Support the above with gwr's sun3 stuff.
1995-03-29 07:28:48 +00:00
briggs
4c88a6a961
Don't MRG_TEST the tracing if MRG_TRACE isn't defined. From
...
Paul Goyette (paul@pgoyette.bdt.com ).
1995-03-26 18:10:23 +00:00
briggs
625d11a739
sun3 fixes for COMPAT_SUNOS.
1995-03-26 15:53:36 +00:00
briggs
9d7efb1fb0
Do iteon() and iteoff(). Right now, they just clear/draw the cursor and
...
clear the screen. "We" should look at updating these further.
1995-03-26 15:52:21 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +00:00
briggs
5a8670a41a
add_nubus_intr takes int (*)(), not void (*)().
...
Fix slot interrupts more.
1995-03-25 22:30:39 +00:00
briggs
bc14b5cbcc
Don't count video interrupts.
1995-03-25 22:28:30 +00:00
briggs
bb035dee62
KERNEL -> _KERNEL
1995-03-23 20:19:16 +00:00
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +00:00
briggs
50e913cf92
Handle VIA2 (RBV?) better. Speed up interrupt processing (which had a
...
negative impact on the ethernet timeouts). This is still not correct,
but I am unsure what is correct. We can, apparently, get a nubus
interrupt without any slots showing an interrupt condition. Ick. This
does not always happen before we apparently lose an interrupt, either
(see last (chronological) log message for if_ae.c).
Someone with a fresh set of eyes should probably look at this, but it's
cobbled together to (mostly) work.
1995-03-23 14:16:38 +00:00
briggs
24787aea0e
Add macvideo_intr to handle video interrupts. Currently has behavior
...
that was previously in slot_noint().
1995-03-23 13:45:07 +00:00
briggs
129893572f
Serious kludge around network timeouts. Network timeouts seem to be
...
caused by the VIA missing the ethernet slot interrupt. If we get a
watchdog, try calling the via's nubus interrupt function. If that
causes an interrupt, don't reset anything. If it doesn't, use old
behavior (log timeout and reset).
Yuck.
1995-03-23 13:00:05 +00:00
briggs
8b2f3e8f69
Modify handling of via2 interrupts. Ethernet is much more reliable
...
for me, now (one problem down, anyway).
1995-03-20 05:59:42 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
briggs
a6f94aae0e
Let's do leave the RAW_PART alone...
1995-03-17 03:40:41 +00:00
briggs
5b07b9403e
Nuke NEWCONFIG. It's not used anymore at all.
1995-03-11 13:56:36 +00:00
briggs
999ff6a003
Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
...
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
mycroft
dc3d752c6c
Fix last arg to scdebug_ret().
1995-03-09 08:59:45 +00:00
mycroft
db7371a9b7
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
briggs
9940bbf358
Clean up via.c a good bit--still needs more. Get rid of some timing stuff
...
that we aren't using at all anymore.
1995-03-01 03:48:44 +00:00
briggs
50721bd46f
Raise watchdog timer a tad.
1995-03-01 03:47:08 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
briggs
52c429f919
Clean up via.c a bit. Still needs lots of work.
1995-02-22 01:42:43 +00:00
briggs
ada7451e87
Fix copyright, add CVS version, and cleanup comments.
1995-02-16 00:02:12 +00:00
briggs
9f5abcb930
Add support from Erik Vogan for reading and writing PRAM. Don't enable
...
writing yet, though.
1995-02-15 23:55:51 +00:00
briggs
ede2edbeb6
Update to add pramasm.s.
1995-02-15 23:54:56 +00:00
briggs
347304eb41
Many changes and updates from Dave Leonard (d@fnarg.net.au) and
...
Brad Parker (brad@fcr.com ). I've been sitting on these for a while.
Notes from Dave:
redocumented z8530 stuff.
Added break ioctls and detection.
Pass framing/parity errors to line discipline.
Added TIOC[SG]FLAG.
Attempt at bringing all chip ops together.
deepended s/w fifos to match chip's.
1995-02-11 19:06:57 +00:00
briggs
cce0e858f9
Trim the interrupt counter space some and add _eintrnames and _eintrcnt
...
for vmstat.
1995-02-08 04:06:48 +00:00
briggs
ff26dc4f91
Add major for vnd.
1995-02-05 06:13:52 +00:00
briggs
58f54fd9c6
Clean up cdev for vnd.
1995-02-05 04:57:06 +00:00
briggs
7190ebb7e0
Set sc_link->openings.
...
Simplification of scsi_cmd from pc532 mods to this driver.
1995-02-01 13:50:42 +00:00
briggs
5f2f921a78
Yank current sendsig, sunos_sendsig, sigreturn, sunos_sigreturn from amiga.
...
Don't dump regs/mem on debugger switch.
Cleanup dumpmem() a bit.
1995-02-01 13:48:45 +00:00
briggs
591bb531bd
Fixup sc_debug parameters.
...
Simplify indexing into systab a hair (from Amiga).
1995-02-01 13:46:23 +00:00
briggs
559641938a
Pull Amiga implementation of pagemove(). Seems mo' better.
1995-02-01 13:44:31 +00:00
briggs
cbaa686772
Explicity return error value in findblkmajor().
1995-02-01 13:40:59 +00:00
mycroft
3863b50c5c
Clean up deleted files.
1995-02-01 13:40:11 +00:00
briggs
28fbb7d0dd
Add a new config and remove some old ones.
1995-02-01 13:40:10 +00:00
briggs
c3d9bdcf9d
Align sigcode.
1995-02-01 04:49:37 +00:00
cgd
b56a5f27d4
add 'maxpartitions' keyword as first 'intesting' thing in the file, to
...
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
2ef4ca1f3d
vn -> vnd renaming, for consistency
1995-01-25 04:48:07 +00:00
briggs
c7b2ca3cf3
Add a nullcnpollc() to our constab initializor so we don't get jump to
...
zero panics when attempting to enter the debugger.
1995-01-21 05:31:17 +00:00
briggs
0379ca918b
Fix major brain damage from a while back. Old damage broke jump to zero
...
panic, leading to mass confusion.
1995-01-21 05:21:24 +00:00
briggs
cf017d6caf
sunos_sysent.c -> sunos_init_sysent.c and add a few tabs for
...
readability.
1995-01-21 00:14:11 +00:00
briggs
e2eea24235
%s/sun_/sunos_/g and grab a few comments from amiga trap.c.
1995-01-21 00:12:56 +00:00
briggs
572ad11ab2
Fixup for COMPAT_SUNOS. sun_ -> sunos_ and much from amiga folks.
1995-01-21 00:11:57 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
briggs
73c9e168bf
Fix minor compile warning.
1995-01-15 06:29:04 +00:00
briggs
ee0ad992ea
scsibus_data -> scsibus_softc in device search.
1995-01-15 06:28:36 +00:00
briggs
bc36ccab9a
Update for scsi changes. Incl. xs->resid = 0 (thanks Phil).
...
Changes compile, but are not tested.
1995-01-15 06:27:54 +00:00
briggs
a267ba6dc0
Add tun device at cdevsw[24], one up from hp300 location, but we already
...
have adb at 23.
1994-12-22 05:50:26 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
mycroft
d42a8b725e
Remove extra arg to d_open.
1994-12-14 19:10:08 +00:00
briggs
749ca327c9
Nuke Log in if_aereg.h and remove duplicate (and benign) sc->smem_size
...
assignment from Brad Parker (brad@fcr.com ).
1994-12-04 19:40:14 +00:00
briggs
1c47e24828
Mac ROM Glue changes from grantham@tenon.com.
1994-12-03 23:33:55 +00:00
briggs
f2301680d3
Same as GENERIC but w/o FPCOPROC option.
1994-12-03 23:31:58 +00:00
briggs
d703fa05aa
At least somewhat functional ethernet driver from Brad Parker
...
(brad@fcr.com ). Requires changes to via.c which are coming with
other changes in a moment...
1994-12-03 23:30:45 +00:00
briggs
bce9e69ed0
Handle supervisor/user data differently. Status of functionality
...
still nil.
1994-12-03 23:28:37 +00:00
briggs
fae5b57ec7
int -> u_long in ioctl() prototype.
1994-12-03 23:27:40 +00:00
briggs
4e06addf8a
Nuke DEBUG.
1994-12-03 23:26:25 +00:00
mycroft
dadc0f95cf
Clean up deleted files.
1994-12-03 14:45:42 +00:00
briggs
2bef12a661
Get rid of private delay().
1994-12-03 14:17:20 +00:00
briggs
037951ec4f
Remove private delay() and clean up some odd delay times that we were
...
using...
1994-12-03 14:16:58 +00:00
briggs
f04205a867
Implement a real delay() that at least approximates a usec delay.
1994-12-03 14:03:23 +00:00
briggs
c8d7d0f2f5
Re-arrange order of a comparison and compensate for change in device
...
structure locations.
1994-11-30 02:42:47 +00:00
briggs
e054795fb3
"../scsi/*.h" -> <scsi/*.h>
1994-11-29 03:43:52 +00:00
briggs
81828a6a38
Boolean goof. (True)
1994-11-29 03:38:48 +00:00
briggs
a9262a3090
SUN_SYS_sigreturn -> SUNOS_SYS_sigreturn
1994-11-29 03:37:37 +00:00
briggs
c02010b599
Add a dk_establish null routine. Clean up some whitespace. Needs a
...
real overhaul.
1994-11-28 04:43:51 +00:00
briggs
9f994613ae
compat/sunos/sun_* -> compat/sunos/sunos_*
1994-11-27 22:10:28 +00:00
briggs
82a9bf633f
sun_syscall.h -> sunos_syscall.h
1994-11-27 21:47:36 +00:00
briggs
3938bad3ff
Attempt to use sys/scsi.
1994-11-27 20:07:38 +00:00
briggs
0656455667
Experimental method of getting a scsi unit # from scsi target.
1994-11-27 19:59:09 +00:00
briggs
38952df227
Re-enable NFSCLIENT
1994-11-27 19:53:10 +00:00
christos
40abc70ce2
changed open prototype
1994-11-14 05:55:23 +00:00
briggs
492011ffd7
Modify the serial port initialization slightly so it works on the IIsi.
1994-11-03 16:15:27 +00:00
briggs
fc3961284c
Raise MCLBYTES to 2048.
1994-11-01 03:53:28 +00:00
briggs
6db067c176
sendsig() and sun_sendsig() code to u_long.
1994-10-31 23:47:23 +00:00
briggs
65c76f071d
Fixup a couple of missed fixes when updating to hp300/amiga
...
interpretation of mmutype. Thanks to Lawrence Kesteloot for
catching the first of these.
1994-10-31 01:15:53 +00:00
briggs
815a0b9aca
Fix a buglet in computation of fbsize. Pointed out by monroe@cs.pdx.edu.
1994-10-30 13:34:31 +00:00
briggs
c184327c57
Make this work. Kludge from grantham.
1994-10-28 19:55:37 +00:00
briggs
a43a6e9bdf
Use u_int32_t and friends. Comment a tiny bit...
1994-10-26 18:05:48 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
briggs
a509897f98
Before I forget...
1994-10-20 21:21:02 +00:00
cgd
d4bf824ec2
update for new syscall args description mechanism
1994-10-20 05:17:21 +00:00
cgd
f501e4e128
make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
1994-10-15 04:57:29 +00:00
cgd
49c34d3337
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
1994-10-14 18:26:22 +00:00
briggs
93b8f0f095
Change strategy slightly so that serial console is enabled if internal
...
console is not--regardless of the value of the boot-time flag.
Suggested by a question from bit@gnu.ai.mit.edu (jim howard - bit.map).
1994-09-30 00:52:44 +00:00
briggs
49e7735666
Actually implement serial boot (console) echo (minor change to ite.c).
...
Remove some old junk in ser.c and implement serial console and serial
boot echo (if serial console's enabled, clear echo).
1994-09-29 03:33:13 +00:00
jtc
23ece5babc
asm -> __asm (PR #463 ).
1994-09-16 02:39:36 +00:00
briggs
24de5a9668
Nuke a CVS Log entry. Attribute introspection to Brad.
1994-09-12 21:56:36 +00:00
briggs
400d187c01
Remove need for "bounds.h." Brad can still use it if he wants ;-)
1994-09-12 03:54:05 +00:00
briggs
9e4e942a2f
Give vnd a major number. Didn't work on my last attempt with it, but
...
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
briggs
5432aef717
Fix a scrolling bug when we have more than 64k to scroll.
1994-09-12 03:38:30 +00:00
briggs
9dc2628062
Snarf chopps changes for bus/addrerr handling.
1994-09-12 03:37:33 +00:00
briggs
e696d464eb
Use vn.h instead of forcing NVN to 0.
1994-08-30 11:04:17 +00:00
briggs
cdcb12bf54
Add USPACE.
1994-08-23 20:48:09 +00:00
lkestel
e0b83d37fb
Added Sysseg as argument to remap_MMU() so it can map the ROMs.
1994-08-08 00:14:42 +00:00
lkestel
ddd8267edb
Some machines (e.g., IIcx) have '030 and map all of memory (4 gigs) with
...
the MMU. Added sanity checking in the get_mapping() call to catch this
and stop at the end of RAM. Now available RAM is min of booter-specified
amount and what the MMU maps.
Also added remap_rom() ifdef'ed out which uses early termination pte's
to map 8 megs of ROM.
1994-08-08 00:11:40 +00:00
lkestel
acb0c1ec5f
Added ifdef'ed out code to map the ROM in pmap_init(). Might be enabled
...
later if we decide to use the ROM's for anything.
1994-08-08 00:08:47 +00:00
mycroft
558c00c001
Fix spelling of `STEREO'.
1994-08-05 22:56:19 +00:00
briggs
183f4c6128
Lots of cleanup. Add functions for serial console--just stubs for now.
...
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
grantham
703df009b8
Multiply GMTBIAS by 60; it's in minutes, time is in seconds.
1994-08-03 06:23:10 +00:00
briggs
d9e2b087ef
Clean up a bit. Move ite to 11, generic console to 0. Add lkm stuff
...
to at least give it a prayer of working...
1994-08-03 02:53:36 +00:00
briggs
08d96f103f
Nuke holdovers from old HP300 console code. Get rid of any reference
...
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
grantham
aa804576eb
To get Greenwich Mean Time, *subtract* the GMTBIAS from our time,
...
passed in from Booter. (Among its many features, MacBSD provides
time travel.)
1994-08-02 16:39:57 +00:00