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