Commit Graph

153 Commits

Author SHA1 Message Date
leo
223682435b Oops, this one was missed in the BROKEN_INDIRECT_CONFIG cruisade. 1996-12-28 23:26:36 +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
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
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
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
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
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
76cc53af70 Hades floppy driver. 1996-11-09 22:27:25 +00:00
leo
758e7a3708 Adapt to the change in the floppy minor-number sceme. 1996-11-08 14:17:08 +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
86c616102f select -> poll 1996-10-16 12:57:11 +00:00
christos
17f5b2a175 backout previous kprintf changes 1996-10-13 04:10:34 +00:00
leo
3d5284e11e - Fix configuration name of 'lpt'
- add 'pcibus' as a mainbus device.
1996-10-11 21:07:02 +00:00
leo
64096bf6d1 - add a iteet_ioctl function so iteconfig(1) can be used to select the
screen geometry.
- Re-arrange et_loadmode() and et_inittextmode() to write into shadow
  register set instead of writing to the card-registers directly.
- provide et_hwsave()/et_hwrest() functions to transfer the card-registers
  to and from the shadow set.
1996-10-11 21:02:48 +00:00
leo
6cfe8836c4 *** empty log message *** 1996-10-11 21:01:26 +00:00
leo
b88d6013b6 Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
per ite-type.
1996-10-11 20:50:34 +00:00
christos
60dd5ceebe printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:06:28 +00:00
thorpej
b1b86c0c98 Merge the netbsd-1-2 branch into the mainline. 1996-10-08 23:40:40 +00:00
leo
3b5c181c8b Checkpointing my et4000 work. Note that the et-console will not be
functional until the minimal pci-support is checked in.
1996-10-04 07:27:52 +00:00
leo
f97dcb95be The KDASSERT macro is now defined in libkern 1996-09-25 15:10:15 +00:00
leo
8e7f6c2cf5 Catchup with -current:
- Extra argument to boot()
  - select -> poll
1996-09-25 15:03:20 +00:00
leo
0e805391a3 Prepare for (soon to come) et4000 PCI console 1996-09-16 06:49:03 +00:00
leo
ef074b3031 Prepare for (soon to come) et4000 PCI console. 1996-09-16 06:43:32 +00:00
leo
11c0ef7354 atari_realconfig now defined in <atari/device.h> 1996-09-16 06:27:11 +00:00
leo
70747dc24f Add support for Hades platform. 1996-09-16 06:20:44 +00:00
mycroft
b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
cgd
71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
leo
3a68f68754 Don't use an absolute I/O adress. 1996-08-23 11:14:59 +00:00
leo
6aab91675e Revert to polled-DMA on Falcon. 1996-08-16 08:25:46 +00:00
leo
4b5bff0d0f During a rather lengthy debug session with Markus Kilbinger (Thanks again!),
we managed to kill the following SCSI-driver bugs for the Falcon:
   - The Byte_Count_zero bit of the falcon DMA controller does not always
     tell the truth! This caused the SCSI-driver to choke on devices that
     disconnected in the middle of a DMA-transfer (mostly removables).
   - Printing debug info about the 5380 on the Falcon is *only* permitted
     when DMA is not active.
   - Some functions forgot to remove possibly pending sofware interrupts
   - Some debug options didn't allow debugging a single target while they
     could easily be made to do so. This is fixed.
1996-07-05 19:35:35 +00:00
leo
f1af6a2252 Add missing spl0() call. 1996-07-05 19:22:21 +00:00
leo
1301d25702 Pull down from release. Sorry, should have been the other way around.... 1996-06-18 11:10:04 +00:00
leo
d84f4c4b18 Add tty_attach() calls. 1996-06-18 05:54:59 +00:00
leo
0b59a91269 Add missing spl(x). (Jason Thorpe) 1996-05-30 13:41:58 +00:00
leo
b4ca145026 Get in sync with the mac68k version of the 5380 driver. Also increase
the maximum values of wait_req_xx() functions so some old (slow) scsi-1 drives
will work.
1996-05-15 09:21:29 +00:00
leo
dd8fd30935 Prototype + -Wall fixes. 1996-05-15 07:28:51 +00:00
leo
5f0e599c40 Remove a line of debugging code. 1996-05-14 10:25:01 +00:00
leo
b26b45a14d Corrections for removed <sys/cpu.h> and some more prototypes. 1996-04-26 06:59:15 +00:00
leo
7f0e5ecf77 - Fixup the ipending function for the Falcon. This seemed to be the source
of a lot of instability problems on the Falcon. I also enabled DMA on
  interrupt basis for the Falcon.
- Try to handle targets that request too much data more sanely.
- Some fixups for strict prototypes + -Wall

Thanks to Markus Kilbinger for providing the debugging support.
1996-04-26 06:50:12 +00:00
leo
df8c6afda1 Ignore joystick packages when running in 3b. emulation mode. 1996-04-23 11:02:01 +00:00
leo
18dd6b0909 Prototypes. 1996-04-19 20:35:31 +00:00
leo
b3fadef7e0 Yet more prototyping and -Wall fixes. 1996-04-18 08:51:11 +00:00