Commit Graph

877 Commits

Author SHA1 Message Date
is 397d9b2133 Add two manufacturer/product id combinations which I stumbled over analyzing
an unrelated bug report. This will make kernel startups a bit more readable
in the presence of unsupported hardware.
Information contributed by Andreas Bussjaeger.
1996-07-17 13:33:28 +00:00
is 7c66bb9bef Cleaned up copyright notice, fixed a typo, and sync the comment in the
GSP assembler file with reality.
1996-07-08 13:28:41 +00:00
is 6e4842626b There are Blizzard boards without SCSI options - we need to probe for the
existence of the SCSI hardware in the boards adress region.
Thanks to Oster Nerhus for the detailed bug report and to Ralph Schmidt for
the recommended probing method.
1996-07-01 08:00:02 +00:00
is a63c9b84e2 - Add code to loadbsd.c to allow booting on DraCos. This could be done
in a more elegant way, but it works as is, and we need it now.
- Add a README and Makefile for the above. Note that this directory should
  NOT be added to ../Makefile's SUBDIRS.
1996-06-26 15:53:05 +00:00
is 24a0b3ecb0 Forgotten $(DESTDIR) in special install rule. 1996-06-21 21:55:53 +00:00
is 0569d3582c Use the right microsecond delay address. To achieve this, also map that
piece of hardware into kernel virtual memory (was only a guess 'til now).
XXX Unfortunately, the hardware vendor reserves the right to change this in
future DraCo revisions. We must rethink delay() and DELAY(), at least for the
DraCo, soon.
1996-06-20 09:31:58 +00:00
is 40cd9f0062 During the data type cleanup, a bug crept in in the code handling mbufs with
odd length. This would lead to corrupt data sent.
1996-06-18 20:50:00 +00:00
is 59bbde87bc Don't use the inline assembler 64bit integer division if our kernel might
run on 68060. Some graphics boards need delay() in early initialization (that
is, before initcpu() was called.
1996-06-18 11:41:48 +00:00
is 052a8aa0ba Fix a bug in the 68020+68851 / 68030 branch of the buserr handler:
For these CPU's, you have to use the ptest operation to search the mmu
tables in order to decide whether it is a real bus error or just a
page fault or write protection violation.

Our old code assumed user space always when calling ptest, and
erroneously assumed the BUSERR bit in the ptest output (mmusr
register) is the only indication for bus errors to check.

In fact, we have to follow a multistage decision tree to decide. 68060
CPUs are much easier to handle correctly.
1996-06-13 19:12:25 +00:00
is 5af73f7ab0 Activate M68040 cache flushing code also in 68060 only kernels. 1996-06-10 16:11:20 +00:00
cgd 352d972c94 locc() is unused. Remove it from the machine-independent kernel interface. 1996-06-10 15:33:33 +00:00
veego 15088ebf44 Make this really work on the Domino. Patch from Klaus Burkert 1996-06-09 13:21:10 +00:00
is 623536ac6e Make this really really compile. 1996-06-08 15:42:00 +00:00
is f39d801ab0 Really compile and install keymap loader and binary keymaps. 1996-06-08 15:28:41 +00:00
mhitch c16e87c7b7 Add tty_attach() calls for pstat -t. Closes PR #2519 1996-06-06 04:47:31 +00:00
is 87e300e2dc Not needed anymore due to newer boot loader 1996-06-05 16:10:45 +00:00
is 7aaddee417 #define GRFIOCBLANK_LIVE and GRFIOCBLANK_DARK in grfioctl.h to make absolutely
clear which switches the video signal on and which off.
Make all grf_??.c (which supported it) use the same polarity of the test.
While being here, use a > test instead of implicit != to make it extensible
to darker than dark values for power managment systems.
1996-06-03 18:55:08 +00:00
is 1530e15480 Don't get fooled by the CyberSCSI MK I, which uses the same man/prod id
as the Fastlane Z3, but is different enough to let the kernel crash.
Closes PR #2492 by Matthias Scheler. [thanks also to Ralph Schmidt for
confirmation of the patch]
1996-06-03 17:07:20 +00:00
is 4c4c6e7b5f Pull INSTALL into the trunk. 1996-05-30 20:50:48 +00:00
mhitch 601c0013e0 Fix the third LBA extraction from a 6 byte SCSI command that I missed. 1996-05-30 03:15:07 +00:00
mhitch ab7b439a98 The logical block address in a 6 byte command is 21 bits, not 20.
Also a transfer length of 0 indicates 256 blocks.
1996-05-27 05:49:49 +00:00
is eafd041aca Fix few more places where 040+060 rlevant stuff was only compiled for 68040,
preventing 68060-only kernels to work. (68060 only kernel is tested now by
using it to commit this patch).
1996-05-25 21:54:22 +00:00
is 33d61f4da3 Show real interupt names (e.g., systat vmstat) on the DraCo. 1996-05-25 17:08:48 +00:00
is 25b2ef1b72 Yet another unused variable cleanup; noticed in a kernel without bpfilter. 1996-05-25 16:30:16 +00:00
is 4d0559ac27 Fix stupid pasto. 1996-05-25 15:23:52 +00:00
is 452b12520a Delete some occurences of kernel startup debug code, move others inside
#ifdef DEBUG_KERNEL_START.
1996-05-24 19:59:33 +00:00
is c978bf3f9f Make the GRFIOCBLANK ioctl set the right timing divisor when switching the
screen back on.
1996-05-24 19:26:12 +00:00
is 70d3595ab1 Fix two conditionals code parts, which were intended to avoid two
branches for pure-M68060 and Non-M68060 kernels, but would have made
the former never save its floating point context.
1996-05-21 18:22:13 +00:00
is 893de3dcc8 Sync with the cpu.h change: setconf() only used if defined(GENERIC). 1996-05-21 17:15:40 +00:00
veego 7212a830ea - grf_cl.c, grf_clreg.h: added support for Piccolo SD64
- grf_cv.c, grf_cvreg.h, ite_cv.c: some cleanups
- grf_rh.c, grf_rhreg.h, grf_rt.c: new blank ioctl and some KNF
- grf_et.c, grf_etreg.h, ite_et.c: new graphics driver for et4000 based board
                                   (oMniBus, Domino and Merlin)
- grfabs_cc: fix PR#2034
- grfvar.h: new grfunit for GRF_ET4000_UNIT
- scsidefs.h: no longer useful
- zbus.c: new entries for: Piccolo SD64, oMniBus, Domino and Merlin
1996-05-19 21:05:20 +00:00
veego f5faf322a0 GENERIC - added scsi scanner entry
- enable MS-DOS file system support
        - removed unsed GRF_CL5426 entry
        - added new graphics driver (grf6) for oMniBus, Domino and Merlin
1996-05-19 21:04:48 +00:00
veego 68bbcedb0c conf.c - added scsi scanner entry
pmap.c - -Wall fixes for MACHINE_NONCONTIG and M68040 || M68060
1996-05-19 21:04:18 +00:00
is 83f62ea033 Screenblank support:
- new fbio.h in arch/amiga/include, defining only FBIOSVIDEO
- add an IOCTL translation to arch/amiga/dev/grf.c
- add screenblank to the list of specials to build on amiga.
1996-05-19 20:06:02 +00:00
is 1a41d54c27 Yet some more cleanup for missing prototypes, if DRACO is supported. 1996-05-19 19:03:01 +00:00
is a7a99df915 Some more Prototypes needed for DraCo support. 1996-05-19 15:35:43 +00:00
is 40c19a2309 Add some forgotten #ifdef M68060 to make gcc -Wall happy. While I'm here,
add the _kernel_text symbol for libkvm.
1996-05-19 14:55:27 +00:00
veego 3a44d948a6 Another -Wall fix. 1996-05-19 09:13:56 +00:00
is 0ffd802ca1 Make "options DRACO" kernels boot on Amiga mainboards, too:
- don't change the _lev2intr and _lev6intr entry points in static code
- set the level 2, 5, 5 and 6 interrupt autovectors from initcpu() on DraCo.
1996-05-17 12:56:49 +00:00
is 16465b6509 merge. 1996-05-16 20:18:01 +00:00
is d0bd068b17 cleanup comment. 1996-05-16 17:52:22 +00:00
is ee807dac4c Correct a -Wall correction. 1996-05-16 17:50:25 +00:00
is eced298a2b - tell new version of assembler to still accept 851/030 opcodes when compiling
with -m68060
- add -Wall -Wstrict-prototypes
1996-05-16 17:07:08 +00:00
is 9546c59d96 Only declare setconf() #ifdef GENERIC. 1996-05-16 16:10:11 +00:00
is d5793c310d add DCIA prototype. 1996-05-16 16:02:15 +00:00
is 5b2b46b306 Fix for unused var warnings in compiler problem workaround. 1996-05-16 15:53:02 +00:00
is 317ba427c1 Now that we imported the 68060 software support package and committed the
glue code for it, activate this again.
1996-05-15 21:10:57 +00:00
thorpej e64215c6f4 Oops, I accidentally commented out the "le" attach directive. Thanks,
veego!
1996-05-12 16:17:19 +00:00
is 2a8a23a622 Disable .include of arch/m68k/060sp/Makefile.inc for now. 1996-05-12 13:36:02 +00:00
mhitch 70b7922d41 Use new format for dumpfile and include chip memory in dump.
Fix another -Wall warning (from '060 integration).
1996-05-12 04:10:15 +00:00
mhitch 8afe5318ba Used by the new libkvm and kernel coredump. 1996-05-12 02:47:46 +00:00
mhitch b3186217c2 Use dumpconf() to set dumplo instead of directly setting it. 1996-05-12 02:41:00 +00:00
mhitch 177ffe3ea4 Fix yet another -Wall warning. 1996-05-12 02:38:23 +00:00
mhitch caf4c8f158 Remove old-style disk instrumentation now that iostat, systat, and
vmstat are fixed.
1996-05-12 02:26:03 +00:00
mycroft 540f9550c0 Make `make depend' work for libraries. 1996-05-11 16:11:30 +00:00
is d6ea9eae71 Cleanup the mess I left when committing yestereve's changes; in this case,
an unused variable.
1996-05-10 15:36:05 +00:00
is e138ae4f38 Clean up the mess I left over from my yestereve's commit: partially unused
variables left over from color background debugging, partially wrong #ifdefs
making some variables unused in non-M68060 kernels.
1996-05-10 14:30:53 +00:00
is 93b32419b8 Back out last change, which was caused by a wrong way merge at home.
Sorry for the inconvenience.
1996-05-10 13:02:33 +00:00
mhitch 82b89f1181 Finally convert the pv_entry allocation to match the hp300 pmap.c.
This should reduce the possibility of a panic when unable to allocate
a new pv_entry under low memory conditions.
Changed a couple of kmem_free() calls to kmem_free_wakeup() as in the
hp300 pmap.c.
-Wall cleanup: unused variable when M68060 not defined.
1996-05-10 01:47:45 +00:00
is f6ab1073c8 First part of M68060 and DraCo support.
* for the M68060 part: store buffer and branch target cache aren't
  enabled yet (this needs cleanup of lots of locore.s code which is a
  maze of little passages, all a little different) (and it wasn't yet
  tested in an accellerated Amiga, only in the DraCo).

  I've included a workaround for 2 of the CPU bugs in chips with Masks
  1F43G and earlier, but didn't bother to deal with the can of worms
  in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
  reported at kernel startup time, or at least mention it (or the mask
  revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

  I assigned machine id 32000+nn (0x7Dnn), where n is the machine
  readable Quicklogic custom chip revision (also printed at boot
  time).  "Guaranteed to work" up to rev. 3, newer DraCo's aren't
  guaranteed to have any CIA (we don't have a driver for the new timer
  yet).

  Supported are:

  - MF-II keyboards on the native interface and A3000 keyboards via
    the CIA.
  - builtin SCSI interface (yet another instance of siop)
  - CIA timer.
  - Zorro II devices which don't do DMA (don't get mapped to Zorro II
    address space in the DraCo)
  - "local bus" devices which are autoconfigured by the boot rom
    (should be all); only an Altais driver is there (looks like a Retina Z3)

  Not yet supported are:

  - native timer of newer machines.
  - Real Time Clock.
  - serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

  XXX You need an enhanced boot loader, which will committed in a few days.

  XXX std.draco should and will go away.
1996-05-09 20:30:30 +00:00
thorpej 748810b06d Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:46:37 +00:00
thorpej 17033bca9c Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.

Changed struct ifnet to have a pointer to the softc of the underlying
device and a printable "external name" (name + unit number), thus eliminating
if_name and if_unit.  Updated interface to (*if_watchdog)() and (*if_start)()
to take a struct ifnet *, rather than a unit number.
1996-05-07 00:35:07 +00:00
thorpej c98492db67 Make the MI LANCE driver standalone, and use cfattach to resolve
naming conflicts between bus attachments on ports that can have
multiple instances of the LANCE.
1996-05-07 00:34:17 +00:00
veego 1e69d1d283 Make this compile. Fixes PR#2047 1996-05-05 22:25:00 +00:00
veego ba1ef888e9 removed the define for cdev_ss_init 1996-05-05 16:17:27 +00:00
mhitch c871eb1ec2 Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b)
uses MSDOS MFM track encoding.  From Ezra Story (ezy@panix.com) with
a couple of changes by me.
1996-05-04 04:54:00 +00:00
mhitch d4339afe48 Startup modified to work with kernel loaded directly into fast memory.
This removes the need to have enough chip memory to load the kernel
when booting.  Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed.  Chip memory is still required for the /dev/reload
process.
1996-05-04 04:45:18 +00:00
mhitch 0f07d81f63 Add floppy index interrupt processing.
Startup modified to work with kernel loaded directly into fast memory.
This removes the need to have enough chip memory to load the kernel
when booting.  Kernel memory is dual-mapped (VA == 0 and VA == PA)
for enabling the MMU, and the VA == PA mapping removed after start_c()
has completed.  Chip memory is still required for the /dev/reload
process.
1996-05-04 04:43:23 +00:00
mhitch 3c4859d5d8 Add support for loading kernel into fastmem, if the kernel also supports
loading into fastmem.  This removes the requirement that the kernel fit
into chipmem.
Add a -Z flag to force loading into chip memory.
Add a -s option for compatibility with my bootblock loader.
Move the test exit to just before starting the kernel;  this lets the
test mode actually load the kernel and do the version checks.
1996-05-04 01:23:37 +00:00
mhitch 5895a434e4 Missed a prototype for kernel_reload(). 1996-05-02 19:34:27 +00:00
mhitch 84974b0849 Add a check in the kernel reload device (/dev/reload) to protect
against the MMU switch code being in different locations between
the running kernel and the new kernel.  Returns ENODEV if the reload
fails.
Change the error return from EFAULT to ENOEXEC when kernel_reload
gets a short write on the exec header.
1996-05-02 02:08:22 +00:00
mhitch bcb9d27216 More cleanup for -Wall with DEBUG. 1996-05-01 16:58:41 +00:00
mhitch b1d1cbe84b Define BSR_MASK and use BSR_MASK to get the current bank select register.
Clean up the debugging code a bit and the warnings from -Wall.
Don't define ESDEBUG - it can now be set from the config file.

If the Ethernet chip gets reset during the copy of the transmit buffer,
requeue the current packet and reinitialize the controller.  This recovers
from an apparent hardware bug when running on my A2000/Zeus system.
1996-05-01 15:55:28 +00:00
mhitch bb91ff2547 Define BSR_MASK and use BSR_MASK to get the current bank select register. 1996-05-01 15:51:08 +00:00
veego b03bb4a6e5 Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
1996-05-01 09:59:24 +00:00
veego 03088f61b8 <sys/cpu.h> is no longer needed 1996-05-01 09:56:22 +00:00
is af547471fe Give example for INSECURE option in the GENERIC config file in a comment.
Closes PR 2355 giving a different explanation of the option than proposed.
1996-04-30 17:40:34 +00:00
is 068f1fb582 We really have two mouse port units, honestly. 1996-04-30 17:25:42 +00:00
mhitch bcd490a50d Remove include of sys/cpu.h. 1996-04-30 06:09:51 +00:00
mhitch 1f2555ebd4 dk_establish() now returns void. 1996-04-30 05:00:51 +00:00
mhitch 74de027054 Add floppy index interrupt routine for future MSDOS floppy support.
Don't seek to track 0 before checking for diskchange:  if drive steps,
the diskchange flag is cleared.  Just select the drive, then test for
a diskchange.
Clean up for -Wall with FDDEBUG defined, and fix a message typo.
1996-04-29 06:23:47 +00:00
mhitch d6d4fbe664 Correct NetBSD->RDB partition block mapping - fixes -Wall warning. 1996-04-29 06:15:32 +00:00
mhitch 03c347c3bd More cleanup for -Wall warnings. 1996-04-28 07:01:08 +00:00
mhitch 0f666b973a More cleanup of -Wall warnings when compiled with DEBUG. 1996-04-28 06:59:08 +00:00
mhitch 810a98153e Add prototypes for serial and floppy interrupt functions. 1996-04-28 06:57:15 +00:00
mhitch c3fa50adb7 Fix warning from word transfer pseudo-dma function. 1996-04-28 06:49:35 +00:00
mhitch d48db213fa Prototype the pseudo-dma function declarations. 1996-04-28 06:41:01 +00:00
mhitch f7679aaef1 Fix warning from -Wall. 1996-04-28 06:36:16 +00:00
mhitch 2b6ece67ba Fix warnings from -Wall. 1996-04-28 06:33:58 +00:00
mhitch 5b9b315985 Cleanup for -Wall if CL5426CONSOLE is not defined. 1996-04-28 06:31:47 +00:00
mhitch 0fa2771b31 Correct check for NULL pointer references in siop_scsidone().
Only call Debugger() if DDB is defined.
If the wait for reselect is interrupted and sc_nexus was NULL, only
print the debug message if DEBUG is defined.
1996-04-28 06:28:24 +00:00
veego 2c2a65b39e Add a __noreturn__ attribute for doboot 1996-04-27 20:55:08 +00:00
veego c12ef8ae8f Make the compiler happy if you make a kernel with -Wall 1996-04-27 20:53:31 +00:00
veego dccff2509f Fixed a compile bug which come from the new mouse driver
Remove the fd* entry from the GENERIC config and changed the std.amiga
entry for the floppy
1996-04-27 20:51:07 +00:00
veego 0b892f0599 Fixed a compile bug which come from the new mouse driver
Fixed a bug with the noreturn attribute of boot and doboot
1996-04-27 20:48:47 +00:00
is a0864f1ad0 Remove double empsc entry, fix a typo, and our "zbus" is a unified Zorro
bus interface for a long, long time.
1996-04-26 20:21:59 +00:00
veego f726c602da another prototyp cleanup 1996-04-25 05:57:38 +00:00
is 09916f81d3 Make the Amiga mainboard mice, which used to be pseudo-devices, real devices.
(We want to support Amigoids without this interface in the near future.)
1996-04-24 11:41:16 +00:00
veego 463c504dc7 The prototyp for cpu_set_kpc is now in sys/systm.h 1996-04-23 22:54:49 +00:00
veego 112379ef29 Added some ifdef's for RETINA_SPEED_HACK
Argh, why is a fuction from the RetinaZ2 console driver in the console
driver for the RetinaZ3 ? Fixed.
Fixed some warnings from -Wall if you don't use -DDEBUG
1996-04-23 22:53:05 +00:00
veego 1ca9fb10a0 The prototyp of cpu_coredump is now in sys/signalvar.h
Added an ifdef DEBUG for struct phys_segs
1996-04-23 22:46:39 +00:00
is 0536f1591a Protect two critical lines of ser.c with splser(). Without this, a
race condition exists which makes the internal serial drop incoming
characters under heavy load.
1996-04-23 17:03:04 +00:00
is 5b809af42a Changed the speed calculations of the Amiga-builtin-serial driver to
allow any baudrate the hardware allows, and to forbid two baudrates
(50 and 75) which the hardware does NOT support but which the old
speed conversion table pretended to support.
1996-04-23 16:38:32 +00:00
veego d9b8ec83bd Ups, I removed a label which should go into a ifdef 1996-04-23 05:14:40 +00:00
christos 78403e6c0c Add a hardware dependent initialization function lehwinit() 1996-04-22 02:25:54 +00:00
veego a922ebfb8b - Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:13:16 +00:00
veego 974e9f6e22 - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
        - has now a real console mode
        - another bugfix for boards with the new S3 chip
- Ariadne:
        - fixed crashes with aeput (mbuf failure)
1996-04-21 21:10:48 +00:00
veego dbf4b28b74 Added support for multiple floppy drives
Added entry for the emplant scsi driver
1996-04-21 21:09:40 +00:00
veego db6f1b1304 Cleanup for -Wall and -Wstrict-prototypes 1996-04-21 21:06:46 +00:00
cgd d7d306aeb7 change LANCE copy & zero functions' names to start with amd7990_, and
remove their 'integrate' (usually defined to be 'static') keywords.
when lance drivers are split up by attachment, more than one file will
reference the copy/zero functions (i.e. not just the file that pulls in
am7990.c... and eventually inclusion of am7990.c should go away entirely).
1996-04-18 00:25:11 +00:00
is 1ac76dc9c2 Typo in the new new config conversion fixed. 1996-04-05 15:53:41 +00:00
mhitch 3ce4de5491 Pass reserved blocks in label so adosfs computes root block
correctly (close PR 2232).
1996-04-05 05:08:07 +00:00
mhitch a3fa4a5449 Compute partition offset with sectors/track and number of heads from the
Amiga partition block.  Print a diagnostic if the sectors/track or
number of heads differs from the RDSK values.
Fix sorting by partition offset (don't drop last partition).
Save filesystem blocksize for adosfs partitions.  (Closes PR 2232)
1996-04-05 04:50:26 +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
is 62dcb879c0 Typo squished. 1996-03-30 16:22:55 +00:00
is a0d45384b6 The interrupt routine of the ivsc (and the empsc, which seems to have copied
it) looks truncated. At least the return(1) is missing, which I now add as
a first stopgap. Somebody needs to find out if anything else is missing for
these boards.
1996-03-28 19:23:32 +00:00
is 8435085f72 Adapt to new attach scheme. Fix operator precedence error. Normalize
function name prefixes.
1996-03-28 18:56:08 +00:00
is fa2b7f8f47 Emplant SCSI driver backend by Sean Riddle and Bo Najdrovsky. 1996-03-28 18:41:45 +00:00
is 77e56e826d Yet more MC68060 bits. 1996-03-26 16:55:37 +00:00
mhitch e1d4601b24 Fix for SCSI mode sense disk_pages structure change, and use the _lto3b()
conversion function.
1996-03-24 04:12:27 +00:00
is a6a8779b4e It looks like the sense_data structure lost the extended_ prefix in the
name of some of its members. Adapt sbic.c to this. (Fixes PR 2245)
1996-03-23 15:09:54 +00:00
is 2ecf0a7b85 Interupts must be disabled and cleared before the PROM is read, as the int
line is shared with one of the PROMs address lines.
From PR #1478 by Jukka Marin.
1996-03-21 21:00:21 +00:00
is ab622e51f5 - Zeroth version of M68060 support (dont want to cause emulation traps for
the "Fast Assembler Version of the copy loop)
- Yet another sanity check included: initialize unused receive buffers to
  zero sender id; and test for sender hardware id of zero in the receiver.
  Gives us better error messages in case flaky hardware causes spurious
  receive interupts.
1996-03-20 13:28:50 +00:00
is f6ff8b93d4 Add clobber lists at the appropriate places. The MMU initialization would
brake with gcc272 -O2.
1996-03-19 11:12:10 +00:00
mhitch d2ac60afc0 A couple more misses from the device attachment changes:
afcd_cd --> afsc_cd
atzsccd --> atzsc_cd
1996-03-18 04:58:36 +00:00
is ecc1ccd3cd These should be and clauses, after cgd's recent config change (the second
one). Should probably also be done to the view packet, but I'm not 100% sure.
1996-03-17 19:36:33 +00:00
cgd 94907fa254 adjust to deal with expression support for optional file specs 1996-03-17 13:21:09 +00:00
mhitch b00a2c1e30 Clean up typos and other errors from new device attachment changes. 1996-03-17 05:53:57 +00:00
thorpej 5c67e5fad9 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:16:48 +00:00
mhitch a5c0ced572 Removed Debugger() declaration - the prototype is in sys/systm.h. 1996-03-16 08:19:43 +00:00
mhitch 48118d719d Correct 53c710 initialization for the A4000T. Remove the A4000T probe
debugging output.
1996-03-15 22:11:09 +00:00
is 1c6c1c4af9 If compiling with "options M68060", tell compiler not to use
instructions which have to be emulated by the operating system on that
chip.  This code will still run on M68020, M68030 and M68040, but
might be a bit slower on those chips.
1996-03-15 20:09:52 +00:00
is ed24bc5ba8 AMIGA_68060 flag in cpu.h and genassym.c. 1996-03-15 19:47:45 +00:00
christos ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +00:00
is ce4541b2da Altais graphics board support, and some nicer formatting of preconftab.
Closes PR #1812 by myself.
1996-03-06 20:13:28 +00:00
is 006fe839fe Back out change intended for netbsd-1-1 and accidentally committed here 1996-03-06 16:40:16 +00:00
is 3020e66dd5 Fix problems with fast CPUs and Picasso boards. Patches originally by,
Klaus Burkert <crest@arkon.dontpanic.sub.org>, sent in by Ezra Story.
Closes port-amiga/2135.
k
1996-03-05 18:08:33 +00:00
veego e77f3c0a27 ups, ite5 is at grf5 and not at grf4 1996-03-05 17:46:23 +00:00
is 04145bfde8 Fix for newer S3 chipsets by Matthias Scheler (from -current). 1996-03-04 20:36:56 +00:00
is 7873fac590 Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
1996-03-04 19:49:11 +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
veego 39aeb2aa25 console driver for the CyberVision64 1996-03-02 14:28:51 +00:00
veego 18fd2ce9c2 Updated for the new CyberVision64 console
gen_cvtab.c is no longer needed
1996-03-02 14:02:53 +00:00
veego 6160a6474d Updated for the new CyberVision64 console
and a small cleanup in the GENERIC config
1996-03-02 14:00:31 +00:00
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
is c1e8e92697 "major" declarations which got lost when the scsi stuff was changed to
include ../../../scsi/conf/files.scsi
1996-03-01 19:42:26 +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
mycroft 2ce52ae489 Define build programs with `?=', so they can be overridden with `makeoptions'. 1996-02-26 02:53:20 +00:00
chopps 6ab6c3037d remove floating point expressions. gen_cvtab.c generates a conversion
table to replace a specific floating point expression in grf_cv.c
1996-02-24 20:13:00 +00:00
chopps 830ceda65d remove generic scsi stuff and use ../../../scsi/files.scsi 1996-02-24 08:59:21 +00:00
chopps c6768054a9 cleanup, add (commented-out) serial buffer and lev6_defer options 1996-02-24 08:58:37 +00:00
chopps 1bf748f356 use newly allocated ethernet address (fixes #2117) 1996-02-24 07:47:36 +00:00
chopps d1d39c63d4 remove local strncmp (fixes #2115) 1996-02-24 07:44:06 +00:00
chopps d22df43756 cast to arg to caddr_t (fixes #2114) 1996-02-24 07:43:14 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
christos 2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
chuck 623ec41006 Ensure siop_acb alignment via malloc rather than let alignment depend
on the size of MI data structures that come before it in the softc.
Chip will not function properly if alignment is wrong.  (as per OpenBSD)
Detected and fixed by: Chuck Cranor <chuck@ccrc.wustl.edu>
                and Michael L Hitch <osymh@gemini.oscs.montana.edu>
1996-02-03 18:47:07 +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
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
chopps 702c1321e2 add swedish keyboard support by Stefan Pedersen 1996-01-28 20:19:51 +00:00
chopps 79964e580d debug flag to as is uneeded and unsupported #1948 1996-01-28 20:09:08 +00:00
chopps d00a79e34d fix bounds check #1939 1996-01-28 20:06:15 +00:00
chopps 2684692a5a add check for "A4000 bonus" (small b) 1996-01-28 20:01:10 +00:00
chopps ab86728e62 aftsc uses afsc.c #1976 1996-01-28 19:57:47 +00:00
chopps 9819a7c27e make sure master enable is set #1920 1996-01-28 19:48:39 +00:00
chopps b59cfad66c use dma_cachectl instead of cachectl 1996-01-28 19:43:34 +00:00
chopps a802a2ef07 add UNION/UMAPFS accepts CR 1890 1996-01-28 19:37:42 +00:00
chopps f14299b866 fix loading of 0 to intended value of 256. closes 1871 1996-01-28 19:29:15 +00:00
chopps 225c9b3965 fix typo closes 1978 1996-01-28 19:23:24 +00:00
chopps 6bed5b0c0c applied patch from 1811 which unifies mode support across gfx boards. 1996-01-28 19:19:05 +00:00
chopps e717f326d5 remove MAXPARTITIONS, closes #1923 1996-01-28 19:12:46 +00:00
thorpej 18960b616f Call disk_busy() a bit earlier in case an exceptional condition causes
fddone() (and thus disk_unbusy()) to be called directly from fdstart().
Pointed out by Ezra Story <ezy@panix.com>.
1996-01-15 21:53:50 +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
thorpej cca25e85ec Fixed typo (that I probably introduced with the disk changes). From
Thorsten Frueauf <frueauf@ira.uka.de>, PR #1924.
1996-01-14 00:23:56 +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
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
chopps 5a1be463d3 explicitly mask the address value 1995-12-31 01:22:03 +00:00
chopps 4bf7b86bd1 rename grf_ul.gsp 1995-12-27 16:54:37 +00:00
chopps d1d2589f0f remove -fno-builtin (pr#1727) from Bernd Ernesti 1995-12-27 08:22:54 +00:00
chopps 7286a43eb4 cleanup for -Wall (pr#1559) from Ignatios Souvatzis 1995-12-27 08:09:51 +00:00
chopps fd9084650c make changed from pr#1824 from Ignatios Souvatzis 1995-12-27 07:51:40 +00:00
chopps ff82249d85 add vnd (pr#1744) from Robert Leland 1995-12-27 07:40:08 +00:00
chopps 38d473982a fixup the table (pr#980) from Ignatios Souvatzis 1995-12-27 07:31:58 +00:00
chopps 7ecc586ed0 add support for GRFIOCBLANK (pr#1810) from Ignatios Souvatzis 1995-12-27 07:24:27 +00:00
chopps 05ab6375cc fix initializtion (pr#1853) from Ignatios Souvatzis 1995-12-27 07:21:07 +00:00
chopps dafae56a80 fix for newer boards (pr#1829) from Matthias Scheler 1995-12-27 07:15:53 +00:00
chopps f7ea355074 remove uneeded routines (pr#1837) from Bernd Ernesti 1995-12-27 07:09:37 +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
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
jtc 0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
chopps b2d4fa2dd3 cleanup warnings (fixes pr#1642) 1995-10-20 10:08:24 +00:00
chopps 29dcca9ffe fix use of uninit vars from Bernd Ernesti <bernd@arresum.inka.de> 1995-10-09 19:26:15 +00:00
chopps 11c134fb80 fix typo 1995-10-09 15:53:39 +00:00
chopps d9a781419d revert last commits was a mistake 1995-10-09 15:23:22 +00:00
chopps 78bd894529 add prototypes for isr stuff fixes pr# 1284 and 1569 1995-10-09 15:19:58 +00:00