Commit Graph

1177 Commits

Author SHA1 Message Date
mhitch 0d05b5c280 Use the buffer length passed as a parameter to vmapbuf() and vunmapbuf()
instead of bp->b_bcount.  The I/O operation may have changed bp->b_bcount,
and not all of the kernel virtual memory will be freed.  This will result
in the VM system putting pages back on the free list which are still
mapped.   This may cause a deadlock later trying to enter pages into
the kernel pmap.  [See PR#4120 for more details.]
1997-09-18 03:38:31 +00:00
is 718fb97e11 Support for the upcoming NetBSD/Amiga Hypercom driver family:
* support chip clocks != COM_FREQ, by introducing sc_frequency (for the
  mainline code) and adding a frequency parameter right after the rate
  parameter to comcnattach() and com_kgdb_attach().
- Make com_isa and com_multi initialize sc_frequency to COM_FREQ.
- Make i386/machdep.c and alpha/dec_xxx.c call com*attach() with the freq.
  parameter.
* supio_attach_args get two more fields: a sc_ipl and a sc_arg, both ints.
- com_supio uses the first for interupt establishment (all childs will, as
  soon as they exist) and the 2nd for sc_frequency.
- drsupio passes sc_ipl alway as 5, and for the "com"s, sc_arg as 16*115200
- hyper will pass sc_ipl as 6, and sc_arg as 16 * 460800
1997-09-16 20:34:23 +00:00
is dc914f2ee7 Only create verbose delay loop calibration message for DIAGNOSTIC kernels. 1997-09-15 22:17:55 +00:00
is 33d1f0d190 A few more boards. This really should be split into a seperate file, only
active if the kernel has ZBUS_VERBOSE similar to PCI, EISA, (podulebus?),
but I don't have that stuff ready yet.
1997-09-15 21:37:35 +00:00
mycroft a9155c5057 Set the status word as well, and remove a bogus comment. 1997-09-12 10:29:20 +00:00
mycroft 30073771b6 Move definition of FPCOPROC into the Makefile, since it's always required. 1997-09-12 08:13:26 +00:00
mycroft e9f392b0a9 Eliminate some uses of FPCOPROC. 1997-09-12 08:08:50 +00:00
mycroft 49f0bbb105 Nuke Locore.c. It's way too out of date to be useful at this point. 1997-09-12 07:59:20 +00:00
mycroft 982f24e698 Always initialize all registers in setregs(). 1997-09-12 07:00:30 +00:00
mycroft 16a8787248 Fix execve(2) and *setregs() interfaces so emulations can set registers in a
more correct way.  (See tech-kern.)
1997-09-11 23:01:44 +00:00
chopps 44f6ba6c55 VM_MAX_ADDRESS is the user max address -- adjust 1997-09-11 14:01:07 +00:00
veego b8b28812be Add missing keypad entry for '+' and correct a comment. From pr#3893. 1997-09-06 12:41:10 +00:00
is 7a5cd3368f We may not open the 'a' partition here, as there are Amiga partition tables
without an 'a' partition. We open the RAW_PART partition instead.
Without this, a boot partition on the 'b' or later partition of such a disk
won't be found.
1997-08-31 16:33:13 +00:00
is e7c8f94f9d Yet another BROKEN removed, and another small cleanup. 1997-08-27 20:41:30 +00:00
is 1dc1561ebc Rename the _probe function to _match, and remove the
#ifdef _BROKEN_INDIRECT_CONFIG which we dont need here.
Thanks to Bernd Ernesti for pointing this out.
1997-08-27 20:35:46 +00:00
is 2f824e16e8 Oops, forgot this in last kilocommit:
Attach com at drsupio, drsupio at mainbus, and make
the ttyC0 stuff refer to the com driver.
1997-08-27 20:18:19 +00:00
is 0564e80e3e This is no longer needed. 1997-08-27 19:37:30 +00:00
is f7c9a70a19 Define supio, a direct bus with a single locator, the port number. This
is for "standard PC i/o stuff" at known and constant locations, e.g. when
multi-io chips are used on non-ISA mainboards.
Implement drsupio.c, the DraCo version of this.
Attach the generic com.c to this bus.
Remove the old drcom hack.
1997-08-27 19:32:47 +00:00
is 45a8ec2d22 Amiga port bus.h. Currenlty, only the _1 functions are implemented. 1997-08-27 18:52:57 +00:00
is 2e45e81622 machine/intr.h for the Amiga port. Mostly a wrapper around other includes. 1997-08-27 18:41:25 +00:00
is 47e8019573 Add __GENERIC_SOFT_INTERRUPTS implementation.
Currently, this is only kind of a wrapper around the *_sicallback() function
family. This way, we'll only break the new driver if it doesn't work.
After more drivers are converted, we'll change it to be the other way round.
1997-08-27 18:31:14 +00:00
bouyer 6f3bab1f59 Merge scsipi branch in the mainline. This add support for ATAPI devices
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
augustss 6616d47838 - Change audio_hw_if a little: set_param now sets the play and record modes
at the same time instead by using two different calls.  This enables
  it to check more easily if the combined mode is all right.
- Improve the error checking in audio.c.
- Add a new audio property, AUDIO_PROP_INDEPENDENT, show if the
  play and record settings are independent.
- Fix some buglets in audio.c.
1997-08-24 22:31:23 +00:00
mjacob 6ac7f6248f add a before tab to SCSIVERBOSE 1997-08-23 19:16:06 +00:00
mjacob 1a7afa3853 add commented out reference SCSIVERBOSE option 1997-08-20 18:38:13 +00:00
augustss 332ad95e76 Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
veego 3dac730d96 French keymap. From Eric Delcamp in pr: port-amiga/3923 1997-08-06 17:08:15 +00:00
augustss 658656bb99 Audio changes:
- Change the way attach and open works to allow multiple audio
	  devices.
	- Split the mulaw.c file into two to avoid dragging in mulaw
	  convertsion when they are not needed.  Add 16 bit alaw/mulaw tables.
	- Change the way audio properties are gotten.
	- Recognize more versions os SoundBlaster.
1997-07-31 22:33:08 +00:00
veego ccd583103e Fix the doublescan mode which was broken in the last commit. 1997-07-30 11:05:55 +00:00
veego 777749b558 - Remove grfvideo_mode->hblank_stop and grfvideo_mode->vblank_stop.
- Add grfvideo_mode->disp_flags to select interlace, doublescan,
  sync-on-green and horizontal/vertical sync polarity.
- Add some constants for grfvideo_mode->disp_flags.
1997-07-29 17:54:11 +00:00
veego 1d8c390628 - Change the check in r[ht]_getvmode for md->DEP == 4 to md->DEP != 4.
This fixes a wrong output from grfconfig /dev/grf[23]
- changes for the grfconfig interface:
  - Remove gv->hblank_stop and gv->vblank_stop.
  - Only print doublescan and interlace flags. Horizontal/vertical sync
    polarities are not yet supported and sync-on-green will never be
    supported.
1997-07-29 17:52:05 +00:00
veego eb3d5738b5 - changes for the grfconfig interface (provided by Ignatios Souvatzis):
- Remove gv->{hblank_stop,vblank_stop} and use the other grfvideo_mode
    values to set ba->data.
  - Add gv->disp_flags to select interlace.
  - Not yet supported are: doublescan, sync-on-green and the horizontal/vertical
    sync polarity.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:50:01 +00:00
veego f46269ea78 - increase the number of possible grfmodes from 8 to 24
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:46:24 +00:00
veego ce2e3d407b - s/inline/__inline/
- Use interrrupt #6 instead of #2. #6 is the default interrupt and there
  seems to be a problem with Cyberstorm 060 and #2.
- Set the interrupt register before enabling the interrupt.
- GC M2INS
- minor cleanup
- Switch from +hsync/+vsync to -hsync/-vsync.
- changes for the grfconfig interface:
  - Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
    gv->{htotal,vtotal}.
  - Add support for gv->disp_flags to select interlace, doublescan and
    horizontal/vertical sync polarity.
  - Return EINVAL for gv->disp_flags and sync-on-green.
  This makes it possible to use xfree values for grfconfig.
1997-07-29 17:44:20 +00:00
veego 8b5fbedb3c s/inline/__inline/ 1997-07-29 17:42:03 +00:00
augustss a63034762b Audio: Remove the machine dependant code I put in audio.c by mistake.
This adds another method to audio_hw_if.  Also remove a field from
audio_hw_if that was not read-only.
1997-07-28 20:56:05 +00:00
augustss d828d675e3 Update forgotten audio driver for changes in audio_hw_if. 1997-07-28 10:04:35 +00:00
augustss d58bc6796f audio: Simplify handling of AUDIO_SETFD and committing of encoding mode. 1997-07-27 23:51:48 +00:00
is 3ca46d33e1 Lowering spl when doing disk I/O below splbio() isnt recommended. 1997-07-26 22:07:54 +00:00
is 449feee671 Fix the mess I apparently have done committing 1.52 of autoconf.c
In particular: add back the 1.50->1.51 change, and add back Amiga audio.
Thanks to Thorsten Frueauf, who pointed this out in PR 3911.
1997-07-23 10:47:12 +00:00
is 181debe530 Fix a complaint by Eric Delcamp on port-amiga... looks like Thorsten Fruehauf
didn't find all occurences of unprotected is_draco(), and I didn't look hard
enough, either, when fixing.
1997-07-23 10:19:42 +00:00
kleink 97db364868 a2kbbc_match(): check unit explicitly against 0. Minor KNF. 1997-07-22 23:12:13 +00:00
is b3567b75c3 Fix PR 3907 by Thorsten Frueauf, using his first method. 1997-07-22 15:03:22 +00:00
is 4d8c2c3528 Make Amiga battery clocks autoconfiguration devices, so that they can be
left out of specialized configurations.
1997-07-19 00:01:40 +00:00
is fc3de9d828 Make the DraCo hardware clock an autoconfiguration device. 1997-07-17 23:29:28 +00:00
is 3c0c2ec93b Don't assemble _fpemuli: unless FPU_EMULATE is defined (by Thorsten Frueauf).
While here, remove a comment which should have gone months ago.
1997-07-17 16:22:54 +00:00
jtk 594536a71f use locator defines in "locators.h" to index cf_loc[] 1997-07-17 01:28:54 +00:00
is ae6e3e81bc Amiga glue code for the m68k fpu emulation subsystem.
XXX This (the m68k FPE, not the glue code) is known to be broken for
68LC040/68040V and 68LC060 cpus. This is also the reason we don't
bother to add options FPU_EMULATE to the DRACO configuration file, as
DraCos only come in 68040V (very few) and 68060 variants.
1997-07-16 00:01:51 +00:00
is 006b61726d Amiga glue code for the m68k fpu emulation subsystem.
XXX This (the m68k FPE, not the glue code) is known to be broken for
68LC040/68040V and 68LC060 cpus. This is also the reason we don't
bother to add options FPU_EMULATE to the DRACO configuration file, as
DraCos only come in 68040V (very few) and 68060 variants.
1997-07-16 00:01:44 +00:00
augustss 5b3b56dd1a Garbage collect some unused routines. 1997-07-15 07:51:04 +00:00
augustss 8727da130b In the name of backwards compatibility AUDIO_ENCODING_LINEAR has been
renamed AUDIO_ENCODING_SLINEAR and AUDIO_ENCODING_LINEAR reverts to the
NetBSD 1.2 sematics.  A kernel with COMPAT_12 defined will accept
AUDIO_ENCODING_LINEAR and treat it as before, without COMPAT_12 it
will be rejected.
1997-07-15 07:46:04 +00:00
veego 89c8d10a08 Updated for the use of ${FILES}. 1997-07-14 15:07:04 +00:00
veego 4a8fd6d9af s/MAP/FILES/ 1997-07-14 15:05:12 +00:00
veego def2a88260 s/BOOTBLOCKS/FILES/, remove the no longer needed install: rule and set the
BINDIR to /usr/mdec.
1997-07-14 15:03:05 +00:00
leo 198bd713f2 Generate assym.h dependencies when making 'depend'. 1997-07-12 22:07:36 +00:00
perry ad1710ce1e update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson 1997-07-12 16:18:36 +00:00
is c7e3ab1310 - Fix gain control.
- play mono stuff on all channels.
1997-07-10 22:18:42 +00:00
veego 1c599835b4 Restore the defines of UPAGES and NPTEPG. 1997-07-10 08:22:36 +00:00
is e76096387d Make multichannel output work. The cc parameter to hw_start_output is
a byte counter, it seems. Somebody should really write man 9 audio_if.
While here, make debug output invisible #ifndef AUCCDEBUG.
1997-07-09 22:37:08 +00:00
kleink 96914606be From sun3:
Correct handling for Trap #2 in SunOS executables,
 now that we know it is supposed to flush the cache.
 (Was thought to be "some obscure FPU operation".)
1997-07-08 16:56:31 +00:00
is 487476c2a9 Implement the RTC_OFFSET kernel option/rtc_offset variable for the Amiga port.
To get the old behaviour, set options RTC_OFFSET=0 in your kernel configuration
file.
1997-07-06 23:17:53 +00:00
is 5e6f97d4ef A first hack at DraCo real-time clock support; only reads clock, currently.
Also only whole seconds are used (while the hardware provides 1/256 seconds).
1997-07-06 22:27:19 +00:00
is 5171612d6c Multichannel output still doesn't work, but while working on it, I repaired
the double buffering code, and setting a couple of other parameters works now.
1997-07-04 21:00:15 +00:00
is e03fce55ed addql does set condition codes, so we are not allowed to put it in between
the andl and the jeq.
Mea maxima culpa.
1997-07-04 20:52:50 +00:00
is 86f86c044c Use function types for vectab, instead of u_int8_t *. 1997-06-29 13:49:45 +00:00
is 7fe3065765 Make aucc work in the presence of LEV6_DEFER. 1997-06-23 23:46:23 +00:00
is cadf1d32d2 fdboot is too big again. leave it out. 1997-06-23 20:44:49 +00:00
mrg fbac1c1b2c move man pages into share/man. 1997-06-22 05:16:57 +00:00
kleink df92c57dc5 Change last commit to use `#error'. 1997-06-21 22:46:43 +00:00
is 2bf81e9e34 aucc.o depends on LEV6_DEFER 1997-06-21 22:13:46 +00:00
is ff79d0a7dd Make this fail to compile with LEV6_DEFER.
XXX This isn't nice, but stopping the  system clock isn't nice, either.
We will repair this soon.
1997-06-21 21:52:37 +00:00
is 4b718644a7 Add RCS ids, and clean up some unused in newstyle audio hardware drivers
functions.
1997-06-20 21:45:11 +00:00
is 2c7d61677f Only check for kernel bus probes when we are sure it is a bus error.
(As a side effect, this moves the  testing decision out of the main path
of the page fault code.)
1997-06-17 00:34:11 +00:00
is 5d784f73b2 Forgotten part of the 68060+bootblock+stupid ROM support: tell locore.s
that we're using BB060STUPIDROM.
1997-06-17 00:17:26 +00:00
is 483b07bee4 Add option BB060STUPIDROM, which makes the early kernel startup probe for
an 68060/68LC060, possibly switching on the 68060 FPU, instead of trusting
the value passed from the ROM OS to us by the bootblock.

Most 68060 boards, unlike the DraCo (which seems to have heavily patched OS
ROMs) don't set the AMIGA_68060 flag; instead, upon detecting an 68060, its
FPU is disabled to make the ROM scheduler work, and at a much later time (at
least, later than bootblock booting time), the "68060.library" installs the
Motorola 68060 software support, patches the scheduler for the 68060 FPU, and
re-enables the FPU.

Maybe this will be fixed one day, if Amiga International sells upgraded OS
ROMs which know about the 68060. Until then, and for legacy machines, this
kludge is needed if we want to boot a non-DraCo 68060.

Btw, thats why this is NOT in std.amiga, but in GENERIC; the DRACO
configuration doesn't need it (and I still plan to make std.draco go away).
1997-06-16 21:12:38 +00:00
is 1445a45c28 Moved manpage to share/man/man8/man8.amiga 1997-06-16 13:39:48 +00:00
is 4a4420172f Actually commit the sample rate to the hardware.
While we're here, add missing parts of (software encoded) ULINEAR encoding.
1997-06-15 23:05:43 +00:00
is c577eb43ec A bit more of KNF. 1997-06-15 21:11:33 +00:00
veego 2b9117da0a Add a missing ; if CV64CONSOLE is undefined. 1997-06-15 21:09:10 +00:00
mhitch 987abc8e3d When trying to find the boot partition, look at all partitions marked as ffs
or swap partitions.  Booting from a miniroot on the swap partition will
detect the miniroot as the boot partition (if the bootblock loader passes
the boot partition offset to the kernel).
1997-06-15 19:16:37 +00:00
is b14e608272 Amiga custom chip audio hardware driver, by Stefan Thesing
(thesing@cs.uni-sb.de), heavily hacked upon by me to
- make it work with -current audio system
- make it shut off Amiga audio DMA only at appropriate places.
XXX A couple of bugs still remain, which well be handled later.
XXX Among them: only mono output; doesn't refuse to handle input, but chokes;
will not play last millichunk (is this 20 ms?) of data.
1997-06-14 22:24:02 +00:00
mrg 552af779d2 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:46:19 +00:00
mrg dc6a98e92c bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:09:23 +00:00
is 650ce78c8c Make more clear what installbot can't do, and the user must do by hand from
AmigaOS, when installing bootblocks.
1997-06-11 16:01:59 +00:00
veego 42395ee36b The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 18:36:32 +00:00
veego d3c01fde2c s/amiga_btop/m68k_btop/ 1997-06-10 18:34:52 +00:00
veego 2e45a6e310 s/amiga_round_page/m68k_round_page/ 1997-06-10 18:30:28 +00:00
veego 7097d0f71e s/amiga_round_page/m68k_round_page/ s/amiga_btop/m68k_btop/
s/amiga_trunc_seg/m68k_trunc_seg/ s/amiga_round_seg/m68k_round_seg/
s/amiga_ptob/m68k_ptob/
1997-06-10 18:26:41 +00:00
veego d35d17a7c0 s/amiga_trunc_page/m68k_trunc_seg/ 1997-06-10 18:24:34 +00:00
veego b62ba16540 s/amiga_round_page/m68k_round_page/ 1997-06-10 18:22:24 +00:00
veego 931d90fcee Use the MI <m68k/param.h> include. 1997-06-10 07:54:35 +00:00
is b3b47459fe Fix typo. 1997-06-09 10:37:11 +00:00
veego a204fb7981 Initialize machine from MACHINE. 1997-06-08 23:54:19 +00:00
veego 3b868f100b Use 0x0001 for MDP_STACKADJ. Thanks Klaus. 1997-06-08 10:35:39 +00:00
veego 1d24d6350d GC unused MDP_AST, noticed by Klaus Klein. 1997-06-07 08:27:47 +00:00
is 7b1633fee3 Make fpfault() faster if 68020/30 only, and the code smaller if 68040/60-only. 1997-06-05 20:57:13 +00:00
is 7ff8fa13b1 Microoptimization in addrerr4060. Reduces code size. 1997-06-05 20:13:37 +00:00
is 6d6e724440 Reorganize buserr/addrerr stuff, to allow omitting unused code in single-cpu
kernels, at the same time getting rid of up to 3 conditional branches and a
bit over one cacheline fetch (for the 68060; the saving is a bit smaller for
040 and yet smaller for the 020/30).
While we're here, also get rid of an redundant lea (using SP-relative
addressing) and of two redundant pushes.
While we're here, also fix a panic which would tear us down on 68060 machines
if a branch prediction error ever occured.
1997-06-04 22:12:43 +00:00
veego 6647500cd2 New Hardware Cursor support from Michael Teske. 1997-05-25 22:46:21 +00:00
veego 9aca91d78c Converted for the use of sys/dev/clock_subr.[ch].
Add some comments about the a2000 oki clock chip and stop the clock while
writing.
1997-05-25 22:11:48 +00:00
veego b2361aa1f6 Remove some defines which are no longer needed.
clock.c uses now sys/dev/clock_subr.[ch].
1997-05-25 22:08:24 +00:00
veego 0e41c5cc23 Add dev/clock_subr.c and the major line for vnd, so you now use swaping
to a file.
Add comments and resort some entries.
1997-05-25 22:03:08 +00:00
veego 0275835c28 - Add and change some comments and options.
- Use 'options<SPACE><TAB>...'
1997-05-25 22:00:04 +00:00
veego d3e0c68735 Fix the DESTDIR problem. 1997-05-24 20:09:49 +00:00
veego 8c07b39516 Use genassym.sh to facilitate cross-compiling. 1997-05-22 22:50:38 +00:00
veego 2c7dbe6639 Add <machine/trap.h> so we don't need to define all the trap values in
assym.h.
1997-05-22 22:48:47 +00:00
veego ddf49ca947 Use genassym.sh to facilitate cross-compiling and add -Wmissing-prototypes. 1997-05-22 22:45:37 +00:00
veego f1b84d21b8 Make the install rule nicer. 1997-05-19 21:49:20 +00:00
is c53cd4cf48 Add forgotten CLEANFILES. Pointed out by Bernd Ernesti. 1997-05-19 21:34:58 +00:00
is 3274c536b3 Yet another try to sanitize the bootblock build. Each major target has now
its own subdirectory.
Smaller changes involved:
- installboot installs to /usr/mdec
- installboot.8 installs to /usr/share/man/cat8/amiga/
1997-05-19 21:18:58 +00:00
veego a078a4be55 Fix lossage from the latest vm_pmap changes. 1997-05-19 10:14:47 +00:00
veego cc8306e0d2 Remove a : which is too much. fix pr#3621 1997-05-14 18:12:10 +00:00
gwr a8af683eb9 Eliminate references to vmspace.vm_pmap 1997-05-13 18:00:49 +00:00
mycroft f778381424 Clean up weirdness. 1997-05-07 16:13:13 +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
thorpej 6a00a9aa75 Adjust for <m68k/m68k/trap_subr.s> 1997-04-25 01:35:45 +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
thorpej f05b58b229 Use common m68k sigcode. 1997-04-13 02:37:15 +00:00
thorpej e2b0388ed8 regdump() is prototyped in <m68k/cpu.h> now. 1997-04-09 19:34:53 +00:00
thorpej 702b4aa67b remove redundant file directives 1997-04-09 19:34:01 +00:00
thorpej 1cd753c689 regdump() takes a struct trapframe * 1997-04-09 19:33:18 +00:00
thorpej 7294a6f1e3 - Adjust for new <m68k/kcore.h>
- garbage-collect regdump() and friends
1997-04-09 19:32:09 +00:00
thorpej 2dbc4afec2 Use <m68k/m68k/proc_subr.s> 1997-04-09 19:29:05 +00:00
is e60bbb3b89 Actually ask for ARP initialization on this interface.
Somehow this commit was forgotten. Sorry folks.
1997-04-04 06:27:32 +00:00
christos e0443987e7 Add netatalk netisr 1997-04-02 21:48:55 +00:00
is 1309901ce0 The DraCo has had a com driver for quite a while. 1997-03-30 11:06:40 +00:00
is 2672ddd9d5 ifdef NARP -> if NARP > 0 1997-03-30 10:38:51 +00:00
veego 7e75a99bfc s/ae/le/ for the recent Ariadne changes. 1997-03-27 23:50:39 +00:00
veego 8116aa0fed Remove the ae entries for the Ariadne, it's now supported bye the le driver 1997-03-27 21:21:11 +00:00
veego fd019e12b5 if_le supports now the Ariadne card. 1997-03-27 21:15:11 +00:00
thorpej cb24b0200a Don't allocate mclrefcnt[]; it's dead and gone. 1997-03-27 21:01:20 +00:00
gwr 37b247edde Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/ 1997-03-26 22:42:13 +00:00
gwr 71e43d14ab Move findroot/setroot stuff from configure() to cpu_rootconf(). 1997-03-26 22:38:40 +00:00
mycroft 86f68e3d77 Build fdboot. 1997-03-24 19:53:34 +00:00
mycroft 25d692da5e Fix calculation of fmem and fmemsz for old ROMs. 1997-03-24 19:51:28 +00:00
mycroft 1b9557e827 Make the segment rounding code consistent. (No functional change.)
If DEBUG_MEMORY_LIST, wait for a keypress before starting the kernel; never
time out.
1997-03-24 18:56:26 +00:00
mycroft 86818ac5a8 Kluge to allow building on a M68K4K system. 1997-03-24 18:52:46 +00:00
is f63af0fda7 Now that ARP on ARCnet works, set it as default. 1997-03-23 15:59:41 +00:00
veego d34943dc4f Add a missing test for the PicassoIV, which fix the colour problem. 1997-03-21 09:40:58 +00:00
veego 2cae836714 Remove NAE, put the revision into ae_softc and fixes from dev/ic/am7990.c:
>Signed shifts are evil.
>Thanks to Michael Smith for reporting, Jason Thorpe for pointing to the
>report, doing a quick workaround which pointed me to the right code part and
>for testing the final fix.
1997-03-18 18:44:53 +00:00
is 7cdbc9038e If we #ifdef NARP, we should also #include "arp.h", not "ether.h".
Bug report and remote debugging by Bernd Ernesti.
1997-03-18 18:29:06 +00:00
gwr 08f7a407f9 Separate bcopy and copypage stuff from copy.s 1997-03-17 19:46:36 +00:00
is acad86274c Make this compile again. 1997-03-17 18:04:40 +00:00
is c63becaaa6 if_es.c 1997-03-17 17:55:54 +00:00
is 19e9d7bb20 Make this compile again on Amiga. Fix by Bernd Ernesti. 1997-03-17 17:51:41 +00:00
is 842df329b2 Make this compile on Amiga. Bug report by Bernd Ernesti. 1997-03-17 17:47:59 +00:00
thorpej 1d987a161b #include <net/if_media.h> 1997-03-17 03:17:34 +00:00
is 57f2f47e2c move if_arc.h to sys/net 1997-03-16 23:27:07 +00:00
thorpej b6f3695cd1 Use <m68k/m68k/support.s> 1997-03-16 11:04:52 +00:00
is 07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
mhitch 0918e34d85 After opening the disk device to force a disklabel read, it should really
be closed rather than opened again.
1997-03-15 02:59:43 +00:00
veego 344b3cf532 - Merlin works now in ZorroIII mode
- Fixes for Interlace and DoubleScan
- Memorysizedetction for 1MB Bords
- HiColor and TrueColor Support
- support for the Domino 16M proto card
1997-03-05 22:50:38 +00:00
veego b835a00fa8 - PicassoIV support
- Fixes for Interlace and DoubleScan
- Memorysizedetction for 1MB Bords
- Clockdoubling for PicassoIV and PiccoloSD64
  NOTE: Don't use the X11R6.1 Xserver with -useHWC on the SD64
       with a gfxmode >80Mhz or you get a broken mousepointer.
- HiColor and TrueColor Support
  (doesn't work yet, since it needs some fixes for the XServer)
1997-03-05 22:46:32 +00:00
veego 8f5155b610 PicassoIV and Domino proto 16M product id's. 1997-03-05 22:41:03 +00:00
veego 96c6c333c2 Protect MCLSHIFT definition so users can customize MCLBYTES.
patch from jonathan.
1997-02-27 08:31:17 +00:00
fvdl 115b6d92fa Define ALIGNED_POINTER 1997-02-24 23:16:53 +00:00
mrg 175166de6a comment PFIL_HOOKS as it is redundant (as an option) when used with ipfilter. 1997-02-18 21:10:19 +00:00
is 721627ba4a The last few libsa/open.c changes gradually increased code size, until fdboot
became too big. Disable its building, til we can squeeze a couple of bytes
out of the code again.
XXX Yes, this is a disgusting hack.
1997-02-05 22:32:44 +00:00
perry 19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
perry 0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
mhitch 93ce3347e7 Where did that 0 come from? Fix typo in cpu type definitions. 1997-02-02 18:37:16 +00:00
thorpej f5c8779ed3 zeropage -> devzeropage, and make it static. 1997-02-02 07:17:14 +00:00
thorpej e38eb392aa - Set cputype and mmutype (XXX we set 68040 in the 68060 case)
- garbage-collect extra copypage()
1997-02-02 07:15:05 +00:00
thorpej c4756a90f1 Define CPU, MMU, and FPU constants. 1997-02-02 07:05:52 +00:00
mhitch e65c38353c Use the disk offset to the boot block (first block in the partition) to
pass the block number of the boot partition to the kernel.  The kernel
will use the block number to determine which disk device the kernel was
booted from and set the boot device based on that instead of the old
"generic" method.
1997-02-01 01:46:26 +00:00
mhitch 3af372d68a If the bootloader passes the boot partition offset, try to determine which
disk device was the boot device and use that for setroot().
1997-01-31 23:26:10 +00:00
mhitch 965c7a43fe Get the boot partition offset from the boot loader. Also pass it when
doing a reload.  The partition offset will be used to determine which
disk device was the boot device.
1997-01-31 23:18:56 +00:00
mhitch d8489a6f7e "options GENERIC" is obsolete, don't need the prototype for setconf() anymore. 1997-01-31 22:59:19 +00:00
mhitch 78d0024855 "options GENERIC" is obsolute. 1997-01-31 22:55:42 +00:00
veego 87ba0ff405 :: -> : (pr #3154 with a minor change) 1997-01-31 10:16:07 +00:00
thorpej 739f23a219 This file is obsolete; this information is now generated by config(8). 1997-01-31 05:12:49 +00:00
thorpej e752da4888 Adopt for new file system and root spec grammar. 1997-01-31 01:45:40 +00:00
thorpej f1065bcb07 Garbage-collect unused bootdev global. 1997-01-31 01:44:13 +00:00
thorpej 16d4fd0ac8 Use the new machine-independent setroot(). 1997-01-31 01:43:37 +00:00
is 3d42605db3 Correct yet another typing error. 1997-01-29 17:19:35 +00:00
is 3d43ed097b fixed my own stupid typing error. 1997-01-29 17:12:51 +00:00
rat 96653b0aac Add missing #include <isofs/cd9660/cd9660_extern.h> to provide
prototype for 'cd9660_mountroot'.
1997-01-26 22:58:32 +00:00
mhitch 447adb9b1c Get rid of unused file: KDASSERT() is now defined in libkern.h. 1997-01-25 16:53:50 +00:00
is c3b56cd6af Added libboot.a to the CLEANFILES. 1997-01-23 15:38:15 +00:00
is 7c2b743adf * make object dirs work:
- move the helper programs txlt and aout2bb to the topmost directory
- build the few files from libsa in the topmost directory

* while doing this, hunted down mysterious code expansion: It seems
that ld aligns code segments differently when linking .o's directly
than when using an archive consisting of the same files. Abuse this
effect to make the bootblock even smaller. The floppy boot block
"fdboot" is now small enough to build; add it back to the Makefile.

* while being here, remove a file which was committed by mistake.
1997-01-21 18:26:07 +00:00
thorpej 3074220dfa Initialize max_target in the SCSI link. 1997-01-21 05:44:41 +00:00
is 972ce7fa89 Fix PR 3090. While here, fix two other comments. 1997-01-17 14:29:42 +00:00
gwr 4479ccc534 Use db_regs_t instead of struct mc68020_saved_state 1997-01-16 15:30:57 +00:00
perry b89a3425b7 Eliminate obsolete TIMEZONE and DST options.
Eliminate obsolete global kernel variable "struct timezone tz"
Add RTC_OFFSET option
Add global kernel variable rtc_offset, which is initialized by
RTC_OFFSET at kernel compile time.
on i386, x68k, mac68k, pc532 and arm32, RTC_OFFSET indicates how many
minutes west (east) of GMT the hardware RTC runs. Defaults to 0.
Places where tz variable was used to indicate this in the past have
been replaced with rtc_offset.
Add sysctl interface to rtc_offset.
Kill obsolete DST_* macros in sys/time.h
gettimeofday now always returns zeroed timezone if zone is requested.
settimeofday now ignores and logs attempts to set non-existant kernel
timezone.
1997-01-15 01:28:28 +00:00
mrg c71a371532 use pseudo-device ipfilter, not ipl. 1997-01-07 11:35:01 +00:00
is d97cf56937 Add manufacturer/product id for Apollo-68060 accellerator board. 1997-01-06 18:05:15 +00:00
is 61e3fad685 Build / install some stuff from stand (e.g.: bootblock) 1997-01-06 12:33:09 +00:00
veego 918ad06a75 Add PFIL_HOOKS and NSIP. 1997-01-06 09:59:32 +00:00
veego cf21385a5e use NIPL. 1997-01-05 21:44:24 +00:00
veego ea9ed8902e add a ipl pseudo-device. 1997-01-05 20:44:42 +00:00
veego 048acbeb1e add ipl device. 1997-01-05 20:39:01 +00:00
is 9ad0171cce Use the right parameter to decide whether it's early configuration. (I wonder
why this worked with some configurations... it shouldn't have).

While we're here, correct the 2.4% error in the delay divisor message.
1997-01-02 20:59:42 +00:00
veego d11893c65a Remove a no longer exists <machine/exec.h>. 1996-12-31 22:39:58 +00:00
veego b66e2c7e4d Add NOMAN= 1996-12-31 22:36:18 +00:00
is 5859191f82 First part of making hardware cursor actually work.
For some reason it wouldn't get positioned right when mapped in through the
blitter memory mapped location, so switched to the register mapping, which
works.
XXX colormap handling for the cursor is still broken.
1996-12-31 17:54:28 +00:00
is cb235d56eb Add names for some more Phase5 boards. 1996-12-31 17:44:04 +00:00
veego 94b6312429 Get rid of __BROKEN_INDIRECT_CONFIG. 1996-12-23 09:09:49 +00:00
veego c815213b05 Disable CD debug output. 1996-12-20 19:21:11 +00:00
veego 35d44f12b7 - Move SWAPPAGER, VNODEPAGER and DEVPAGER to std.draco.
- Remove not working KGDB.
- Remove unused PANICWAIT.
- Add ch and uk devices.
1996-12-20 19:18:16 +00:00