Commit Graph

653 Commits

Author SHA1 Message Date
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