Commit Graph

11529 Commits

Author SHA1 Message Date
mycroft 53fb29bd67 We don't need a special clean: target here. 1997-05-07 17:16:05 +00:00
mjacob 11fc3c2a7a In case someone doesn't compile in DEBUG we need to still
snag the msgbuf. Also, observe protocols about message buffer
being 'mapped'.
1997-05-07 17:13:32 +00:00
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft 5432d44374 Override the proginstall target to do our special hackery. (Yuck.) 1997-05-07 16:15:01 +00:00
mycroft 29ed66d6d3 Minor change. 1997-05-07 16:13:46 +00:00
mycroft f778381424 Clean up weirdness. 1997-05-07 16:13:13 +00:00
mycroft 6e0450c70f Use proginstall:: to disable installing PROG. 1997-05-07 15:59:08 +00:00
mycroft ba4cf66fbe Add a missing .PHONY. 1997-05-07 08:26:04 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
lukem 6fe4889b92 cleanup use of whitespace 1997-05-07 02:20:26 +00:00
lukem a9016579ab clean up whitespace use 1997-05-07 02:14:59 +00:00
lukem 8744fe853c clean up use of whitespace 1997-05-07 01:55:23 +00:00
lukem c4eb220ea5 minor whitespaco fixes 1997-05-07 00:32:44 +00:00
lukem 7f69a90075 whitespacos i missed 1997-05-07 00:29:18 +00:00
lukem 3490941ddb cleanup unecessary quotage of options 1997-05-07 00:27:33 +00:00
lukem 8c57ea0789 clean up use of whitespace
remove unnecessary quotes around options
1997-05-07 00:23:43 +00:00
pk 45cc2d6db4 turbosparc: 256 contexts, page tables cannot be cached. 1997-05-06 21:00:54 +00:00
lukem 4abf5a1a72 be consistent with use of spaces and tabs.
don't need quotes around options with _'s in the name
1997-05-06 00:56:53 +00:00
lukem 5352e2713a be consistent with use of spaces and tabs. 1997-05-06 00:31:49 +00:00
thorpej 3a12db07c6 Update for USELEDS changes (including: garbage-collect LED frobbing
code; it has moved to leds.c)
1997-05-05 21:15:41 +00:00
thorpej 500498e411 Update for USELEDS changes. 1997-05-05 21:14:04 +00:00
thorpej e677b62290 Garbage-collect LED-related stuff. 1997-05-05 21:12:49 +00:00
thorpej aec958ddf3 Don't initialize the DMA controller here. 1997-05-05 21:11:59 +00:00
thorpej 95bae625a2 Update for USELEDS changes. 1997-05-05 21:09:13 +00:00
thorpej 9c8fdf3dad Use dio_intr_establish(). 1997-05-05 21:08:26 +00:00
thorpej 9eddfbfca3 Update for USELEDS changes. 1997-05-05 21:07:31 +00:00
thorpej ff163c6424 Use dio_intr_establish(). 1997-05-05 21:06:41 +00:00
thorpej feb623a9ea - Use dio_intr_establish().
- Update for USELEDS changes.
1997-05-05 21:05:32 +00:00
thorpej 3a85f14da4 Use dio_intr_establish(). 1997-05-05 21:04:16 +00:00
thorpej 73b24faec6 Do a bit of spring cleaning. 1997-05-05 21:02:39 +00:00
thorpej 82cab4fef4 Prototype dio_intr_establish() and dio_intr_disestablish(). 1997-05-05 21:01:33 +00:00
thorpej 5bada123f8 - Initialize the DMA controller in dioattach().
- Implement dio_intr_establish() and dio_intr_disestablish().
1997-05-05 21:00:32 +00:00
thorpej 0a8e2a9ce8 Use dio_intr_establish(). 1997-05-05 20:58:18 +00:00
thorpej bd2bc06c75 - Make "USELEDS" a defopt'd option, so we can generate dependencies on
it.  Conditionally compile leds.c on USELEDS.
- Rearrange mainbus and intio declarations slightly.
- Add declaration for the forthcoming "frodo" driver.
1997-05-05 20:57:29 +00:00
thorpej 663cee4555 Pull the LED frobbing code out of machdep.c. Since there is more than
one LED on an hp300 SPU, rename the file to indicate plurality.
1997-05-05 20:54:34 +00:00
thorpej 397e92e33c New-style kgdb_machdep.c, mostly duplicated from the sun3 port, modified
slightly by me.
1997-05-05 20:51:05 +00:00
thorpej 95dd345f81 Garbage-collect old KGDB code that is no longer used. 1997-05-05 20:48:26 +00:00
ragge e3a104cb1f Oops, I forgot to check this file in after clock changes. 1997-05-04 19:13:33 +00:00
pk 6c717dd82c Bump version number to celebrate the fact that the bootblocks can be used
unmodified across all platforms.
1997-05-04 14:19:22 +00:00
mjacob b9e2002bb5 Oops- Really should do local files before common. 1997-05-04 01:53:01 +00:00
mjacob f534e05161 Fix tags target. 1997-05-04 01:49:14 +00:00
cjs 85207f1f0c Oops. ep at eisa is still `untested.' 1997-05-03 21:27:24 +00:00
mycroft 90f17dd8ab Oops; put the __attribute__ in the right place. 1997-05-03 12:49:05 +00:00
mycroft a60739aacf Make sure struct trapframe is packed tightly. 1997-05-03 10:16:58 +00:00
mycroft 94313a874b Oops; reverse sense of previous test. 1997-05-03 08:46:09 +00:00
mycroft 1dafb51ea6 Eliminate unused variable in '030-only kernels. 1997-05-03 08:41:29 +00:00
mycroft fc324bb0b9 Eliminate unused variable when !USELEDS. 1997-05-03 07:09:57 +00:00
briggs 5230506ca5 Support for clearing interrupts on a Rasterops Colorboard 364.
Thanks go to Michel Chalufour <michelc@tiac.net> for grovelling around for
me.
1997-05-03 02:29:54 +00:00
jeremy 3f7423a432 Wrap all label references with new macros in m68k/asm.h in preperation
for ELF switchover. (eventually)
1997-05-02 23:07:35 +00:00
ragge 0a9b7dccc7 BPF and multicast support added, patches provided by Jonathan Stone
and Ken Wellsch. Fixes PR#2796.
1997-05-02 17:11:24 +00:00
pk a05df4e228 * finish off support for the 82077 chip as found on sun4m machines.
* add non-dma mode bit to `specify command', so formatting disks starts
  working (thanks to Jeremy Cooper for finding out about this).
1997-05-02 13:03:44 +00:00
pk 3e9d89dcd0 Switch to copy of file in /sys/dev/ic. 1997-05-02 08:30:42 +00:00
jeremy e5380025ac Now in dev/ic. 1997-05-02 06:31:16 +00:00
briggs 1b2e317732 Thanks to Tobias Beal <tbeal41@maine.maine.edu>, we can clear interrupts
on at least one Radius Precisioncolor 8 board.
1997-05-02 00:54:28 +00:00
gwr 7a80e420ed Remove unused part of sun3_kcore_hdr. 1997-05-01 22:48:09 +00:00
briggs aba671db48 Treat drhw 118 and 119 the same for Apple ethernet cards. 1997-05-01 18:17:13 +00:00
thorpej 766d429d62 Correct a comment long since outdated. 1997-05-01 16:24:26 +00:00
gwr 24af362f60 Implement pmap_pa_exists() so that /dev/mem works.
This was the reason ps (kvm_getargs) did not work.
1997-05-01 15:00:11 +00:00
gwr b9a0ca59bb oops... 1997-05-01 14:58:20 +00:00
gwr 887d5be03e Forgot to import this. (Thanks, der Mouse) 1997-05-01 14:57:17 +00:00
cjs 4072012b2b Ep driver on ISA bus is no longer untested. Also optimistically
removed the `untested' designation from the EISA-bus version, since
there's no reason at all why it won't work.
1997-05-01 07:11:11 +00:00
thorpej 989ed431e1 Oops, the numbers for "t" and "s" got swapped around. No functional
difference, just correct now.
1997-05-01 05:26:48 +00:00
briggs a64bc3c19c Clear the interrupts properly on an E-Machines Futura II LX and make a wild
guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364.
Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
1997-05-01 03:34:07 +00:00
briggs ef185efb22 Add in a couple more board types. 1997-05-01 03:31:07 +00:00
gwr 5e11440dae Fix printf format vs. arg type warnings (in DEBUG sections). 1997-04-30 23:28:03 +00:00
scottr 19f1b8dd3f Remove dependency on if_aereg.h for vendor constants; these are really
driver-, not architecture-specific.
1997-04-30 19:47:11 +00:00
scottr b28e1b9459 Fix typo in last change. 1997-04-30 19:32:32 +00:00
scottr 4a36cdfd19 Adjust to use16bit -> dcr_reg change in MI driver. 1997-04-30 18:10:37 +00:00
mycroft 19c4f04eeb Sync with GENERIC, and nuke procfs and kernfs. 1997-04-30 06:06:02 +00:00
augustss 526ef2f618 Change the interface between the high and low level audio drivers
so that all audio encoding parameters are set at once.  This simplifies
the interface and make error checking easier.
1997-04-29 21:01:33 +00:00
scottr 0852aa1f1a Use the new 8390 driver back end. 1997-04-29 05:17:13 +00:00
scottr 63ac9ee6e0 Use the new MI 8390 driver, and garbage collect. 1997-04-29 04:40:22 +00:00
jonathan d6611ebcef * Add fixes for possibly-uninitialized variables from rev 1.11.
(The operator-precdence changes in 1.11 were pulled up in rev 1.14).

* If the chip asserts a SCSI-bus error (SII_BER) in sii_intr,
  reset the SII_BER bit instead   of ignoring it.
  XXX SII_BER May need checking and resetting elsewhere.
1997-04-29 01:58:38 +00:00
gwr 42f8cf900b Use unsigned when doing copy/xor check. 1997-04-28 23:43:56 +00:00
gwr cb96a536e4 Add a comment about obio_mapin(). 1997-04-28 23:38:47 +00:00
gwr 1046c915b6 Drivers that use obio_mapin should enforce OBIO attachment
(just to be paranoid).
1997-04-28 23:30:19 +00:00
gwr 304d49b554 include <machine/leds.h> 1997-04-28 23:21:01 +00:00
gwr 712f2e8d93 Moved leds_* declarations into leds.h 1997-04-28 23:19:39 +00:00
gwr 589bdf49d5 si_intr: if our CSR indicates an interrupt, return 1. 1997-04-28 22:10:41 +00:00
gwr 445e244536 Do console initialization earlier (see obio_init).
Document initialization order dependencies.
1997-04-28 22:08:36 +00:00
gwr 2e1c5c36ad Be quiet in _save_symtab() unless there is a problem.
Improve some comments (and sync with sun3x code).
1997-04-28 22:06:20 +00:00
gwr 2223431f0a No longer needs an early init call (just normal autoconfig).
Only animate the LEDs when we were idle (like SunOS).
1997-04-28 22:04:29 +00:00
gwr df35245ac0 Fix a bug where OBIO locators were not presented to the children.
Rename obio_alloc to obio_mapin; add comments, etc.  (like sun3x)
1997-04-28 22:02:43 +00:00
gwr 388bf0e0e0 Rename obio_alloc/obio_mapin and check for obio in match functions
for attachments that will use obio_mapin.
1997-04-28 21:59:19 +00:00
gwr a5efc65699 Sync. up with the sun3x version. 1997-04-28 21:55:59 +00:00
gwr 479d3fa66d No longer needs an early init call (just normal autoconfig). 1997-04-28 21:51:49 +00:00
gwr 3c841dcb79 Export the symbol _Idle for clock.c (and fix some comments). 1997-04-28 21:49:38 +00:00
gwr dcd4fae823 Use AUTOVEC_BASE instead of 0x18. 1997-04-28 21:48:25 +00:00
gwr 46cd1d0fec Add a kernel declarations section. 1997-04-28 21:47:10 +00:00
gwr 52e455e8ba Fix declaration of get_control_byte(). 1997-04-28 21:46:31 +00:00
gwr 236a126750 Declare peek_long(). 1997-04-28 21:45:47 +00:00
gwr a0d8cf3b65 Kill an obsolete comment. 1997-04-28 21:44:53 +00:00
scottr c69d32662f From Mycroft: Oops; forgot to GC the last mbuf allocated when
out of clusters.
1997-04-28 20:31:16 +00:00
mycroft df082e3c8d A handle of 0 means the open failed... 1997-04-28 18:46:15 +00:00
mycroft 37cb09ba66 DTRT if OF_read() returns 0 when no data is available. 1997-04-28 18:33:57 +00:00
scottr 70dcf0b5f6 Undo a hack added in the last overhaul (which caused an extraneous byte
to be written to the target).  Also, use the sc_min_dma_len field
to determine whether to use PDMA or PIO.
1997-04-28 15:59:20 +00:00
pk 547d95a029 Remove esp FLUSH when residual bytes are present in FIFO, the ncr53c9x
driver will flush when necessary. Doing the FLUSH here interferes
with DMA-enabled target selection.
1997-04-27 22:12:40 +00:00
thorpej 97a6c32e58 Garbage-collect a bunch of _very_ hp300-specific code, most of which
doesn't work anyhow (due to current and future fundamental differences
between NetBSD and HP-UX device semantics).  This can probably be shared
with other m68k ports now.
1997-04-27 21:38:57 +00:00
thorpej ba0a5d5c58 Bump version: Better SPU detection code 1997-04-27 21:18:31 +00:00
thorpej 8b4cae0516 CPU -> SPU 1997-04-27 21:17:13 +00:00