436 Commits

Author SHA1 Message Date
andrew
cf73b57b22 Changed the I486_CPU conditionals to be !I386_CPU, to handle the case
where both I386_CPU and I486_CPU are configured in the same kernel.
1993-06-27 05:24:24 +00:00
andrew
4b741818d8 Neatened up the AUTO_EOI conditionals. FAST_VECTOR() now saves & restores
the ES register, just to be on the safe side (since ES is used in some
locore routines).
1993-06-27 05:15:06 +00:00
andrew
d9022f90d2 Don't try to include "sio.h" just yet. 1993-06-27 04:59:47 +00:00
andrew
a9f16886f9 Re-entrancy protection. 1993-06-27 04:50:12 +00:00
andrew
e495c42118 Added a call to SHOW_STI in BPTTRAP macro. Avoid lots of nops and use
bswap if we're a i486.
1993-06-27 04:27:58 +00:00
andrew
13834263a8 Clobbered '/*' within comment, to keep gcc -Wall happy. 1993-06-27 01:24:55 +00:00
mycroft
100f7b0bc5 Oops. Reversed order of args to outb(). Still haven't gotten my 486 booted
with a new kernel to actually test this, though.
1993-06-23 05:48:57 +00:00
deraadt
05f50ca11e I don't know what I did that was so critical, but now the floppy driver
works on my machine (it did not before). Big voodoo.
1993-06-21 09:39:52 +00:00
deraadt
80ab28ea30 if the floppy does not exist, say nothing. 1993-06-20 08:42:05 +00:00
deraadt
277c73694e print "maddr 0xd0000 msize 65536" as "maddr 0xd0000-0xdffff" instead. 1993-06-20 07:24:53 +00:00
cgd
d1ed63195d fix the divide-by-zero problem w/old disks. this patch is ws's "fault." 1993-06-18 20:45:35 +00:00
cgd
55c2266339 install floppy boot block, too. 1993-06-18 08:03:14 +00:00
cgd
c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
cgd
9f1a8dc335 new floppy driver, merged from patchkit patch #153 1993-06-18 06:19:16 +00:00
cgd
6046a36e2d make it *do* something when loading the kernel, a la sun twiddling-thing 1993-06-18 02:28:58 +00:00
brezak
62571113bd Use NNPX instead of NPX from npx.h for activating npx. 1993-06-18 02:03:34 +00:00
mycroft
420720c2f3 Clean up deleted files. 1993-06-17 04:24:06 +00:00
mycroft
df4fb4cae4 Make ioctl definitions ANSI-compliant. 1993-06-17 04:07:41 +00:00
jtc
2a6a498c49 Move my assembly versions of strlen and ffs into the kernel 1993-06-16 22:22:39 +00:00
mycroft
409bc91101 Move asm.h from /usr/include/sys to /usr/include/machine. 1993-06-16 21:42:43 +00:00
brezak
06dc5c8e13 Use defines in timerreg.h and add spkr_reg.h for specific declarations. 1993-06-16 19:41:54 +00:00
mycroft
8959c6e228 Clean up deleted files. 1993-06-16 18:12:30 +00:00
brezak
c9a48f2b77 Move spkr.h to include/machine so users can use it. 1993-06-16 18:12:23 +00:00
mycroft
5a2b8d1abb Fix typo. 1993-06-16 02:59:42 +00:00
mycroft
94df11ad63 Make sysbeep() take a frequency, not a timer count, and add constants
BEEP_FREQ and BEEP_TIME which can be overridden in the config file.
1993-06-16 02:57:17 +00:00
mycroft
db4a41293e Nuke MID_I486 case. 1993-06-15 21:56:58 +00:00
mycroft
528edf6037 Move definitions of TIMER_FREQ to timerreg.h, and fix value of CF for DELAY(). 1993-06-15 21:37:14 +00:00
mycroft
2a2bde915f Need to check soft interrupts as well as ICU for overflow. 1993-06-15 20:54:06 +00:00
mycroft
930a773dce Clean up beep code a miniscule amount, add interrupt protection, and
make multiple beeps generate a continuous tone.
1993-06-15 20:34:54 +00:00
mycroft
5592ad3fbb Ignore interrupts if the device isn't open. This prevents stray interrupts
from hosing the works.  What a stupid architecture.
1993-06-15 01:50:32 +00:00
cgd
fae2a0b6f8 the previous change (to make NOPs do idle stuff) was irrelevant,
apparently; lamp is now stable with NOPs that do nothing.
1993-06-15 01:27:14 +00:00
mycroft
938b01e0ae Sigh. Save a few cycles occasionally. 1993-06-14 19:44:37 +00:00
mycroft
cf1dbb9fb8 Oops. Wrong name for ISO interrupt routine. 1993-06-14 19:35:59 +00:00
mycroft
e534ec58ec Add support for other networks than INET. 1993-06-14 19:29:30 +00:00
mycroft
42fb89da69 Explicitly disable mouse during attach. 1993-06-14 17:33:18 +00:00
mycroft
6bca967a4e These mice use 4 ports. 1993-06-14 17:04:22 +00:00
mycroft
08f233618d Rework neread(), and add BPF hooks for receiving. (Still need BPF hook
for transmitting.)
1993-06-14 16:49:09 +00:00
mycroft
625cd25efd 8390-based boards use 16 ports, not 8. 1993-06-14 16:45:25 +00:00
mycroft
fa1551c8a6 Work around a bug in XFree86. 1993-06-14 16:38:25 +00:00
mycroft
ddf64edfe6 Somebody didn't ftruncate()... 1993-06-14 15:57:07 +00:00
mycroft
60dfc2196f Fix egregious stupidity. 1993-06-14 15:35:14 +00:00
mycroft
6d58d97764 Update my config files. 1993-06-14 15:29:55 +00:00
mycroft
25b19a1b61 Add entry for pms. 1993-06-14 15:16:23 +00:00
mycroft
87bcb8ca95 Yeah, I'm awake. 1993-06-14 15:13:14 +00:00
mycroft
06f36e1045 Add preliminary (read: untested) PS/2 mouse driver. 1993-06-14 15:05:50 +00:00
mycroft
ba09c15c63 Return EBUSY if device already open. 1993-06-14 12:46:56 +00:00
cgd
330f5907f2 say "using exception 16" rather than "exception 16"; the latter
lookes like it could be an error message...
1993-06-14 07:06:49 +00:00
andrew
925a429d35 Reduced bus-on time from the default of 11ms -> 9ms, to prevent floppy from
becoming data-starved during simultaneous fd & scsi activity.
1993-06-14 04:16:03 +00:00
andrew
fe853a780c Changed the name of bms -> mms. 1993-06-14 02:28:34 +00:00
andrew
f9ce81fc82 Name change from bms -> mms. 1993-06-14 02:26:17 +00:00