leo
54608785fb
The ST-DMA driver now uses intr_establish.
1997-01-01 21:14:47 +00:00
leo
493e4aaebb
The Hades floppy driver now uses intr_establish(). Also the interrupt
...
accounting is fixed (ie. counted as the right interrupt).
1997-01-01 21:12:56 +00:00
leo
b3e93de260
The ST-DMA driver now uses intr_establish.
1997-01-01 21:11:44 +00:00
leo
139d65ffa2
Fix some leftovers from rd -> md rename.
1997-01-01 21:08:02 +00:00
pk
c4a0dfb011
omission in last commit: ramdisk.h => md.h
1996-12-28 23:50:44 +00:00
leo
aae827a845
- The Hades bios does not pass a 'bootpreference' in d5. Deal with it by
...
getting the 'bootpreference' ourselves when it is not set to any legal
value.
- Because the relation between memtop/membot and the video base does not
hold on the Hades, skip testing on it.
1996-12-28 23:37:53 +00:00
pk
a8b4babc16
rename: ramdisk => md
1996-12-28 23:37:26 +00:00
leo
223682435b
Oops, this one was missed in the BROKEN_INDIRECT_CONFIG cruisade.
1996-12-28 23:26:36 +00:00
pk
114271a083
rename: ramdisk => md
1996-12-28 23:10:44 +00:00
leo
c4b08fe059
Add intr_establish/disestablish functions. Currently only the lpt-driver
...
is converted to use them...
1996-12-26 23:25:01 +00:00
leo
112a968fb4
Make sure that the caches are pushed and turned off before jumping into
...
the kernel image. This makes booting a 040 kernel finally reliable.
1996-12-26 15:07:33 +00:00
leo
0b4a540e3b
Correct the IDE port-addresses and data transfer method so this will work
...
both Hades & Falcon.
1996-12-26 14:55:16 +00:00
leo
c6e901c459
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 16:20:57 +00:00
leo
291ced55a4
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 12:49:35 +00:00
leo
421158437b
Tweak the clockframe structure a bit so we are able to save a few cycles
...
at interrupt time. (From Gordon Ross).
1996-12-18 12:35:19 +00:00
leo
9f8a5d9694
Move up the initialisations for the delay routine in the initialisation
...
process. It's now also available to the different device probes.
1996-12-16 22:03:23 +00:00
leo
dff699a434
The file hdfd_intr.s should only be included in conjunction with the
...
Hades floppy driver.
1996-12-16 21:25:45 +00:00
leo
de3b8c8e4b
Implement an rtc-device. Credits for the idea goes to Wolfgang Solfrank.
...
Because there is no way yet to tell init(1) to execute commands before
single user-mode is entered, the inittodr() function is still partly
functional. It retrieves the value of the RTC and sets the time as if
the RTC was running at UTC. The resettodr() function is a No-Op. The
RTC can only be changed by a write to /dev/rtc.
The TIMEZONE and DST options are no longer needed and removed from the
config files.
1996-12-16 21:24:00 +00:00
leo
c473681077
Remove some code accidently checked in on previous commit.
1996-12-14 13:52:01 +00:00
leo
2d4e2c3931
Fix type (COPT -> COPTS).
1996-12-14 13:48:29 +00:00
leo
ae092ee765
Merge the formatting code from the i386-port.
1996-12-14 13:47:12 +00:00
thorpej
d502e68402
Fill in sc_link.max_target
1996-12-10 21:27:16 +00:00
thorpej
ef5333043b
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:46:44 +00:00
thorpej
66cbbf68ff
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:35:24 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
leo
f9ace39811
Plug some spl-holes in the lp-driver. Also be more strict in protecting
...
the register access to the psg-chip. The combination of those bugs
caused the printer to print garbage sometimes.
1996-11-17 13:47:09 +00:00
leo
d3ef248436
Shift screen a bit to the left.
1996-11-17 13:39:40 +00:00
leo
643abfa146
Make splbio really splbio. All holes now seem to be plugged. At least
...
on the Hades & TT030.
1996-11-17 13:38:03 +00:00
leo
a5d68d8e59
Move SWAPPAGER, VNODEPAGER and DEVPAGER options to std.atari.
1996-11-17 13:33:36 +00:00
thorpej
490126b07a
Use bitmask_snprintf().
1996-11-13 06:48:24 +00:00
leo
27c222f3e8
Add frequency table for Hades.
1996-11-10 21:52:37 +00:00
leo
1fcf303e02
Config file for the Hades.
1996-11-09 22:32:10 +00:00
leo
5d058e1b22
Add the Hades floppy driver.
1996-11-09 22:30:55 +00:00
leo
795ac1e7e2
Count in the Hades floppy driver.
1996-11-09 22:28:53 +00:00
leo
76cc53af70
Hades floppy driver.
1996-11-09 22:27:25 +00:00
leo
d1e1b34b28
Move the vector-table to kernel data space, so we can write to it.
1996-11-09 22:24:49 +00:00
leo
8481cf5e5b
Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason.
1996-11-08 14:21:02 +00:00
leo
fb386a941d
pba_bc -> pba_pc
1996-11-08 14:18:20 +00:00
leo
758e7a3708
Adapt to the change in the floppy minor-number sceme.
1996-11-08 14:17:08 +00:00
leo
489c388d79
Clear d0 before using it to turn off the 040 MMU. Clearing d0 was a side-effect
...
of the code removed in my previous commit.
1996-11-08 14:15:36 +00:00
leo
626210d212
Move the definition for the floppy device from std.atari to the different
...
config files because the Hades needs another driver for it.
1996-11-08 14:12:19 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
leo
dce3bea50b
Add msconfig to SUBDIRS.
1996-11-06 15:35:47 +00:00
leo
8d079317a6
pmap_changebit() no longer static.
1996-11-06 15:33:56 +00:00
leo
f2501673f5
Prototytpe bus_mem_map/bus_mem_unmap functions.
1996-11-06 15:33:05 +00:00
leo
44263b4564
Add the external drive to the standard setup.
1996-11-06 14:05:31 +00:00
leo
5f28db13df
- Make it's behaviour on minor numbers identical to that of the Hades
...
floppy driver.
- Fixup format types in the debug-printf's
- Don't print empty lines on unconfigured drives.
- When a drive is detected, show it's default format.
---- Warning: minor numbers are shifted! ---
1996-11-06 14:03:15 +00:00
leo
8bad301566
Re-arrange the order in which devices are scanned for a root filesystem.
...
It's really bogus to try a floppy before a harddisk.
1996-11-06 13:57:12 +00:00
leo
37ae30708a
pmap_changebit() can no longer be static since the bus_mem* functions use
...
it.
1996-11-06 13:55:38 +00:00