thorpej
82ae3a106e
Don't use a hard-coded hex address for the 0'th APCI port; use definitions
...
from <hp300/dev/frodoreg.h>
1997-05-12 07:47:03 +00:00
thorpej
0c5b002449
Add prototypes for standalone APCI driver.
1997-05-12 07:45:41 +00:00
thorpej
05333d3fa5
- Add glue for standalone APCI console driver.
...
- Make the romputchar() useage conditional only on "userom".
1997-05-12 07:44:53 +00:00
thorpej
225fbfa100
Build the standalone APCI driver.
1997-05-12 07:43:18 +00:00
thorpej
bbbc6052c1
Add a standalone APCI driver, adapted from the standalone DCA driver
...
by me. This driver should only be invoked when there are no other
suitable console devices present in the system. This situation currently
exists on the 425e, for which we do not have a frame buffer driver,
and who's PROM does not map the second APCI UART to select code 9,
like is done on the 4{00,25,33}{t,s}.
1997-05-12 07:41:55 +00:00
scottr
5842491f1c
Add en implementation of the Deferred Task Manager, contributed by Paul
...
Goyette <paul@pgoyette.bdt.com>.
1997-05-12 07:29:29 +00:00
scottr
ee80f1200e
Implement new NuBus slot space mapping/probing code, utilizing bus.h (and
...
our MD bus_space_probe() extension). This has several side effects:
- NuBus drivers must map and unmap slot space, rather than relying
on this happening before they are attached.
- Functions exported to NuBus drivers from nubus.c now need to be
supplied with a bus space tag/handle pair.
- Old bus map/peek functions can be garbage collected, as can pmap
support for the same.
Because of some current limitations of the bus space specification, we
are violating the abstraction in grf_mv (NuBus grf driver). All such
violations are clearly marked /* XXX */, and must be addressed when
the specification is updated.
1997-05-11 19:11:27 +00:00
jeremy
1c454cc472
Diagnostic LED on 3/80 appears to be active-high, not active-low as previously
...
thought. It remains to be seen if this is true for the 3/470.
1997-05-11 06:16:26 +00:00
jeremy
3d8d0c485c
Add call to leds_init() after everything has started up ok.
1997-05-11 06:15:09 +00:00
fvdl
f99df8aa9c
rdsetimage -> mdsetimage in comment (enami tsugutomo, PR 3596)
1997-05-10 11:06:53 +00:00
matthias
9e785c6d3f
* Define proc0paddr here and not in locore.s.
1997-05-10 09:29:26 +00:00
augustss
e63a553175
Change the interface between high and lowlevel audio drivers again:
...
Set the encoding parameters slightly differently.
Remove the SW encoding/decodinf functions from this interface
and move them to the audio_parameter struct; this is both more efficient
and flexible.
1997-05-09 22:16:27 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
oki
6fd182057f
cleanup use of whitespace
1997-05-08 16:39:35 +00:00
matthias
5c6f7fca32
* Update asm.h to be more like the other port's asm.h.
...
* Update locore.s to use all the macros defined asm.h
* Update random.s to use the much nicer algorithm from the m68k port.
1997-05-08 13:44:11 +00:00
scottr
94e0a9b88d
Update to current configurations.
1997-05-08 04:09:27 +00:00
thorpej
47aae56862
Sync w/ SPARC port, from Paul Krannenburg <pk@netbsd.org>:
...
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-05-08 01:33:49 +00:00
augustss
c4a52794f1
Convert to new orthogonal audio encoding scheme and implement
...
some of the new encodings. The change to ioctl AUDIO_GETENC is
NOT backwards compatible.
1997-05-07 18:51:31 +00:00
mycroft
84bca5d679
Don't use _SUBDIRUSE outside of bsd.subdir.mk.
1997-05-07 17:28:47 +00:00
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
thorpej
3cb561ed9f
Don't define our own machineid values - pull in <machine/hp300spu.h>
1997-04-27 21:15:14 +00:00
thorpej
fbad957c52
Update getmachineid() for new machineid values.
1997-04-27 21:13:55 +00:00
thorpej
767517edcc
Don't even look for a Domain keyboard if we're not a 400, 425, or 433.
1997-04-27 21:12:43 +00:00
thorpej
5b511796c1
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425. Adapted by me from
...
code provided by Mike Smith. While I'm here, convert this file to use
macros from <machine/asm.h> rather than making assumptions about how
C labels are handled.
1997-04-27 21:10:06 +00:00
thorpej
cdb54b8d65
Update for new SPU options.
1997-04-27 21:06:29 +00:00
thorpej
b27a863b02
Generate option headers for SPU type options, so that we may generate
...
dependencies on them.
1997-04-27 21:05:49 +00:00
thorpej
772891accd
Use information provided by <machine/hp300spu.h> to determine if we
...
might have a physical address cache.
1997-04-27 21:02:34 +00:00
thorpej
650df29d4d
These files depend on things in <machine/hp300spu.h>
1997-04-27 20:58:55 +00:00
thorpej
18a931000e
Use <machine/hp300spu.h> to determine if we might have a physical address
...
cache.
1997-04-27 20:54:39 +00:00
thorpej
544f501d29
Rewrite identifycpu() to be partially table-driven, and to be more
...
sane in general. Since we can uniquely identify each SPU type
(except for 318/319/330, because there _are_ no differences, really),
require that the appropriate SPU option be configured into the kernel.
1997-04-27 20:53:30 +00:00
thorpej
d62e267a0c
Uniquely identify 345 vs. 375 vs. 400 and 380 vs. 425, useful when
...
looking for hp4xx-only hardware during autoconfiguration. Code
mostly from Mike Smith, with a few changes by me.
1997-04-27 20:50:01 +00:00
thorpej
9d4c5c9106
- Define new machineid and mmuid constants.
...
- Rearrange slightly.
1997-04-27 20:47:23 +00:00
thorpej
fc79829eab
#include <machine/hp300spu.h>
1997-04-27 20:43:37 +00:00
thorpej
80ff0f0f2f
- Move a bunch of hp300 SPU-specific stuff out of cpu.h, and place it
...
in new hp300spu.h file. This includes the code that associates
model number with cpu/mmu/cache combinations.
- Define "mmuid" constants for several models, derived from code
provided by Mike Smith.
1997-04-27 20:37:07 +00:00
thorpej
f5ccce44c8
srt0.s renamed to srt0.S via repository copy Magick - we want this
...
file to be preprocessed before it is assembled.
1997-04-27 20:29:43 +00:00
briggs
d25f63a7bf
What was I thinking?
1997-04-27 19:26:48 +00:00
is
5c869c4c5b
The delay loop needs 8 cycles, not 3, on the 68030; so use _that_ value
...
for the pre-calibration.
1997-04-27 18:14:34 +00:00
tls
c96effb7f8
don't allow i386_set_ioperm if securelevel > 1, either (and fix a really silly bug)
1997-04-26 21:33:42 +00:00
tls
3d9b09a843
If in highly-secure mode, don't ever allow access to IO ports
1997-04-26 20:30:02 +00:00
jonathan
26adc250c2
Stop ignoring DCD transitions on ioasic SCC serial lines.
...
From entropy@zippy.bernstein.com>.
1997-04-26 02:26:54 +00:00
jonathan
45d369d5fb
Ted Lemon's (RR 3540) cross-compilation patch: use ${SIZE} instead of size,
...
Also add "SIZE=? size", so that native kernel compiles work, too.
1997-04-26 02:20:59 +00:00
jonathan
55a34d0cf4
Add "options MIPS1" and delete commented-out lines inherited from GENERIC.
1997-04-26 01:35:41 +00:00
gwr
5d8f130bb6
Be quiet in sunmon_abort().
1997-04-25 22:26:14 +00:00
veego
560544f47c
Add a -I${.CURDIR} to build netbsd.sa with a obj dir
1997-04-25 22:17:33 +00:00
leo
7c2c0c846c
- Provide the reasonable size that can/may be mmap-ed. This might differ
...
from the current frame buffer size.
- The et-driver now allows for a 16Kb io-region (was 8Kb) that can be
mapped. The XFree server uses this.
1997-04-25 19:25:38 +00:00
leo
d5733f126e
Allow formatting of 360Kb floppies.
1997-04-25 19:18:04 +00:00
leo
d1c63a4095
Changes to bounds_check_with_label:
...
- Take care of the case where d_secsize < DEV_BSIZE (From Waldi Ravens)
- Don't check if an unsigned value <= 0. This was the cause of various
panics when savecore(1) was reading at bogus offsets because the crash
dump format was changed. Thanks to Jason for unintently revealing the
bug ;-)
1997-04-25 19:16:30 +00:00
gwr
92efd222d0
Hack for now: if fpu is there, report it as an mc68882.
1997-04-25 19:16:10 +00:00
gwr
dfc2e0f30d
Add devices: idprom, oclock. Add file leds.c.
1997-04-25 19:12:57 +00:00
gwr
1676e3a212
Add idprom, oclock, and rearrange somewhat.
1997-04-25 19:11:48 +00:00
leo
ef06b2e55d
Use info on the actual RAM-segments to check the validity of /dev/mem
...
accesses. Reformat some comments.
1997-04-25 19:07:45 +00:00
gwr
cd6ee4737e
Renamed obio_alloc/obio_mapin.
1997-04-25 19:02:46 +00:00
gwr
678f326c7f
Make idprom_init() figure out where the IDPROM resides.
...
Add autoconfig glue, which currently just shows the
address where the IDPROM was found.
1997-04-25 19:02:06 +00:00
gwr
49f095a342
No longer need eeprom_init().
1997-04-25 18:57:49 +00:00
gwr
e2ca51d2a1
Fixed OBIO locators bug, so this can do the normal thing now.
...
Also improved handling of spurious interrupts, and sync up with
the sparc version.
1997-04-25 18:55:05 +00:00
gwr
4c64781365
Moved the actual model identification work into identifycpu(),
...
which used to be in _startup.c:_verify_hardware().
Use sunmon_abort() in cpu_reboot() for now...
1997-04-25 18:52:11 +00:00
gwr
9ae1b69554
Rename "Idle" to "_Idle" so clock.c can reference it.
1997-04-25 18:48:39 +00:00
gwr
25d7b6b348
Provide a struct representing only the clock.
1997-04-25 18:47:41 +00:00
gwr
885a1fc439
Add /dev/leds support.
1997-04-25 18:46:10 +00:00
gwr
2dd63e3378
Use bus_mapin, and minor tweaks.
1997-04-25 18:45:39 +00:00
gwr
f7749f47fe
Add "oclock" support for the Sun3/470.
1997-04-25 18:31:37 +00:00
gwr
8f9276c727
Move the _verify_hardware() work into machdep.c:identifycpu().
...
Call obio_init() after _vm_init() so we can use peek_byte() to
probe the idprom. Be quiet in _save_symtab() when all is well.
1997-04-25 18:29:58 +00:00
gwr
b41693a034
Moved bus_scan() and bus_print() from here to bus_subr.c
...
because they are now different in sun3 vs sun3x.
1997-04-25 18:07:36 +00:00
gwr
477a320277
Moved bus_scan() and bus_print() here from autoconf.c
...
because they are now different in sun3 vs sun3x.
1997-04-25 18:02:47 +00:00
gwr
3619a4da3d
Rename obio_alloc to obio_mapin, update *_init declarations.
...
Remove OBIO_P4_REG (not a fixed address, but per-device).
1997-04-25 18:00:49 +00:00
gwr
fd42058232
Add kernel function declarations.
1997-04-25 17:52:54 +00:00
gwr
23f821bcc5
Add idprom_init().
1997-04-25 17:42:34 +00:00
gwr
963c410824
Change the OBIO address probe order a little, to allow determination of
...
which kind of idprom and clock we have (3/80 vs 3/470 differences).
Fix a bug where obio_submatch() failed to copy some locators.
Rename obio_alloc to obio_mapin. Add lots of comments.
1997-04-25 15:35:27 +00:00
gwr
20ac88e4b1
Add /dev/leds support for the 3/470.
1997-04-25 15:15:45 +00:00
briggs
e861dbf8c7
A couple of performance improvements from Denny Gentry <denny1@home.com>
1997-04-25 03:40:09 +00:00
thorpej
1a3df57d81
Preprocess .s files before assembling them.
1997-04-25 02:26:48 +00:00
thorpej
ffd2acc819
Minimalistic changes to not make assumptions about how C labels
...
are handled. This file's ".s" counterpart must now be pre-processed.
1997-04-25 02:26:04 +00:00
thorpej
dcca39c0f1
- Don't make assumptions about how C labels are handled.
...
- Use PANIC() where appropriate.
1997-04-25 02:22:00 +00:00
thorpej
d8b7a2f037
- Don't make assumptions about how C labels are handled, use macros
...
provided by <machine/asm.h> instead.
- Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 02:17:38 +00:00
thorpej
722ead42ca
Don't make assumptions about how C labels are handled, use macros
...
provided by <machine/asm.h> instead.
1997-04-25 02:16:38 +00:00
thorpej
48fa8154e7
Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 01:49:05 +00:00
thorpej
82f0cd80c8
Sync with hp300.
1997-04-25 01:46:53 +00:00
thorpej
6649814b0e
Machine-dependent crash dump header - just pulls in <m68k/kcore.h>
1997-04-25 01:45:31 +00:00
thorpej
6df98d905a
Sync with hp300:
...
- Clean up cpu_startup()
- Convert to new crash dump format.
1997-04-25 01:44:09 +00:00
thorpej
1b1a15a81f
Adjust for <m86k/m68k/trap_subr.s>
1997-04-25 01:42:51 +00:00
thorpej
6a00a9aa75
Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 01:35:45 +00:00
thorpej
deb6fcac46
Add several common trap vector stubs. Not all of them are here (yet),
...
but several are.
1997-04-25 01:33:18 +00:00
cgd
f5bfcda4fe
comment out text after #endif. "Pasto!" pointed out by Kevin Sullivan
...
in PR 3529.
1997-04-24 23:58:24 +00:00
thorpej
658ce85446
Add several useful macros:
...
- ENTRY_NOPROFILE() and ASENTRY_NOPROFILE(), similar to ENTRY() and
ASENTRY(), but without the profiling prologue.
- GLOBAL()/ASGLOBAL() and LOCAL()/ASLOCAL(), for defining global and
local variables with C and ASM labels.
- BSS()/ASBSS(), for defining items in the BSS segment, with C or
ASM labels.
- PANIC("panic message") - shorthand for calling panic() from assembly code.
- VECTOR(), ASVECTOR(), VECTOR_UNUSED - shorthand for defining entries
in the vector table.
Also, change RCSID() to pad out the string to even boundary.
1997-04-24 22:49:39 +00:00
gwr
021d7c2fe5
s/REGENTS/FOUNDATION/
1997-04-24 22:37:11 +00:00
mycroft
bba8a4e9b1
GC.
1997-04-24 20:45:53 +00:00
mycroft
0b3a169a66
This is no longer needed.
1997-04-24 20:45:10 +00:00
thorpej
5fddec888d
Add Domain keyboard support source files (oops, forgot to commit this
...
file when I integrated the rest of it!). Fixes PR #3523 , from
Thorsten Frueauf <frueauf@ira.uka.de>.
1997-04-24 20:39:26 +00:00
scottr
72111ae284
From Mycroft: If we fail to allocate a cluster to hold a large packet,
...
simply drop it rather than using a chain of tiny mbufs.
1997-04-24 16:52:05 +00:00
veego
3b947046b9
remove a duplicated : for the install rule.
1997-04-24 08:22:45 +00:00
is
412fee4faf
- Minor brushup of man page.
...
- Try to fix manual installation.
1997-04-24 08:02:29 +00:00
mycroft
d1c236b1e4
Tweak to improve performance slightly on very small packets and headers.
...
Suggested by Jonathan Stone.
1997-04-24 05:46:20 +00:00
cgd
1b16a9577a
note eb64+/AlphaPC 64 support
1997-04-23 20:52:45 +00:00
scottr
c1c244e0a3
Implement new crash dump format. Mostly taken from hp300, extended to
...
support multiple physical RAM segments by me. Garbage collect functions
obsoleted by this change.
1997-04-23 19:15:16 +00:00
briggs
ed74d8f653
On video devices, if we're loading non-default resource values, save the
...
resource ID. Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.
1997-04-23 13:37:43 +00:00
scottr
9784a8d3cf
space vs. tab formatting, KNF
1997-04-22 21:00:04 +00:00
scottr
b09a74e8b9
If we can't map SONIC register space, just print a diagnostic message and
...
continue. Make formatting consistent and KNF while here.
1997-04-22 20:56:15 +00:00
scottr
a653364eb1
Remove obsolete drsw diagnostic; make formatting consistent; KNF.
1997-04-22 20:32:08 +00:00
scottr
65673e5ec2
Make formatting consistent; inline -> __inline__; KNF.
1997-04-22 20:26:24 +00:00
scottr
2111f73a90
Remove obsolete drsw diagnostic
1997-04-22 20:21:59 +00:00
scottr
e733e600d3
#ifdef DIAGNOSTIC, print the NuBus type fields for unrecognized boards.
1997-04-22 20:20:32 +00:00
briggs
d13ebf0e72
Make sure that we unmap the space that we mapped if we can't identify the card.
1997-04-22 13:45:38 +00:00
mrg
00e4b647d9
add NetBSD RCSid.
1997-04-22 07:48:31 +00:00
briggs
d2a4acec48
Initialize 'offset' to make gcc happy.
1997-04-22 03:04:33 +00:00
ragge
749ec2a297
Remove #define LEDEBUG.
1997-04-21 22:04:23 +00:00
mycroft
58fbadc150
Put back missing label.
1997-04-21 18:20:14 +00:00
scottr
43f35682d8
April 18 update from John Wittkoski, w/space vs. tab KNFing by me.
1997-04-21 18:04:28 +00:00
matthias
9dd24ca41c
* Print device information in md_attach_hook. Since this is a pseudo device,
...
we have to output the device name as well.
1997-04-21 16:20:39 +00:00
matthias
237a4629c4
* Somehow the definition of ieee_handler_disable got lost in my last commit.
1997-04-21 16:17:44 +00:00
matthias
7bc1bddc96
* Do not use Debugger(), use breakpoint().
1997-04-21 16:17:39 +00:00
matthias
16fbb47606
* Do only check against sd* if we did boot from a scsi disk.
1997-04-21 16:17:36 +00:00
matthias
34bffb6338
* Omit Debugger() if DDB is not defined.
1997-04-21 16:17:32 +00:00
matthias
7fe4f42d0a
* Add a comment describing movs[bdw]nu.
...
* Add breakboint().
1997-04-21 16:16:31 +00:00
matthias
5a23a56e6b
* Apply a fix from Ian Dall to reduce system load and fifo/silo overflows
...
when running at high speeds. This works by using hardware RTS again and
using the receive fifo threshold as well as the transmit fifo provided
by the sc26c92.
1997-04-21 16:16:16 +00:00
matthias
61d420149f
* Use higher timeouts for PLIP.
...
* Do some cosmetic reformatting.
* If the interface is considered dead, re-enable receive interrupts from
time to time.
1997-04-21 16:16:10 +00:00
matthias
12994a40ab
* Configure ncr*, not ncr0. That allows the user to specify flags for ncr0
...
in his config file.
1997-04-21 16:15:59 +00:00
cgd
fc8625db4f
minimal changes to make hacked wd driver work under a different name.
...
It is configured (in config files) as 'awdc'/'awd', but shows up as
'wdc'/'wd', so that a minimal amount of code had to be modified to make
the name change work. This is only intended to be temporary, anyway.
1997-04-21 14:47:33 +00:00
cgd
dbb6d5170a
Convert to use bus_space_* macros. The resulting code isn't quite correct,
...
but works on the alpha (since there's currently no floppy drive support).
1997-04-21 13:38:38 +00:00
cgd
ba574b6f20
copy ISA wd driver from /sys/dev/isa/wd.c. This rev is unmodified.
...
This is temporary, until /sys/dev/isa/wd.c is properly bus_space_*-ified.
1997-04-21 13:36:49 +00:00
mycroft
89205383a7
Make microtime() work correctly with a 4- or 4C-only kernel.
1997-04-21 05:47:08 +00:00
briggs
fc43576e8d
Take care when accessing DAFB--some quadra-class machines use other video
...
controllers.
1997-04-21 00:57:59 +00:00
scottr
7e00ee54d8
Fix itematch() for case where fboff is not zero. From Dave Huang,
...
closes PR #3501 .
1997-04-20 20:31:18 +00:00
pk
43445623fd
mmmmap() should return -1, not ENOTSUP.
...
Optimize the case of writing to /dev/zero etc, like the alpha,i386 and m68k.
1997-04-19 21:28:53 +00:00
ragge
400a0d512e
Fix so that these files compile again after recent ARP changes.
1997-04-19 15:02:27 +00:00
ragge
12c25bea6a
Update floppy boot files to confirm to new boot syntax.
1997-04-19 11:42:14 +00:00
jonathan
902f17af37
Correct sense of fi->fi_blanked in bt455_video_off().
1997-04-19 08:25:31 +00:00
jonathan
22d3d9819d
Correct sense of FBIO[GS]VIDEO ioctl as noted in PR #3515 .
1997-04-19 08:21:59 +00:00
thorpej
2c8a12761d
Fix a pasto
1997-04-19 01:47:24 +00:00
thorpej
a53aafbf1a
...and again.
1997-04-19 01:40:08 +00:00
thorpej
28d3c2e2d3
Replay history....
1997-04-19 01:39:44 +00:00
pk
d3028dd4a2
* Remove ineffective and incorrect cache flush in viking_mmuenable().
...
* A bunch of cosmetic changes.
1997-04-18 19:51:05 +00:00
cgd
09b3ed084e
add ep at isa and eisa
1997-04-18 19:41:17 +00:00
ragge
df9ea3ac75
Updates to KA43 (VS3100/76) support by Bertram Barth.
1997-04-18 18:53:38 +00:00
ragge
36b2211d14
Change implementation of TOY clock addressing. Gives us only
...
one routine for three different HW implementations.
1997-04-18 18:49:33 +00:00
scottr
19c5134870
For small writes, use PIO rather than PDMA; this increases the reliability
...
of the driver (considerably, on some systems/targets).
1997-04-18 17:38:08 +00:00
briggs
bbc4732fd1
Fix from Denny Gentry--initialize receive seq. counter.
1997-04-18 12:04:37 +00:00
scottr
11b0f01c17
Make sure to call adbop() on Power Manager-based machines. Noted by
...
Takashi Hamada, who also provided the code I based this modifcation
on.
1997-04-18 05:53:41 +00:00
cgd
0f72c17209
try a slightly different heuristic to differentiate between ISA and PCI
...
(VGA) consoles.
1997-04-18 00:07:53 +00:00
thorpej
84c938e92f
oops, forgot to commit this yesterday - newvers.sh script for boot
...
program.
1997-04-17 20:24:17 +00:00
thorpej
d76ea6e415
STRIP -> STRIPFLAG
1997-04-17 07:46:24 +00:00
thorpej
5b733ef58a
STRIP -> STRIPFLAG
1997-04-17 07:41:05 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
thorpej
28b6ad9af8
- Pull in new ofwmagic.S and soft_spl.c files
...
- firepowerbugs -> firmworksbugs
1997-04-16 23:27:05 +00:00
thorpej
61da87f25a
- Use genassym.sh to facilitate cross-compiling.
...
- Various clean/catch-up.
1997-04-16 23:26:06 +00:00
thorpej
de6c03ee6c
Update for current PowerPC code, some from Wolfgang.
1997-04-16 23:14:24 +00:00
thorpej
87bbb0ba3b
Always define MACHINE_NONCONTIG.
1997-04-16 23:03:52 +00:00
thorpej
54cc37063b
Nuke __BROKEN_INDIRECT_CONFIG
1997-04-16 23:03:16 +00:00
thorpej
49fd2f3af7
Use new va-ppc.h
1997-04-16 23:02:34 +00:00
thorpej
d3112d23d1
Garbage collect stuff now hidden my machine_vec.
1997-04-16 23:02:00 +00:00
thorpej
afd0c2db7e
Yow, "what happened"? Anyhow, correct apparerent CVS botch, and fix
...
RCS ID.
1997-04-16 23:00:53 +00:00
thorpej
974b5a78b0
Minimal profiling definitions - profiling doens't yet work.
1997-04-16 22:58:46 +00:00