Commit Graph

304 Commits

Author SHA1 Message Date
glass e1fec74952 clock.c: now compiles even if address is bogus :)
conf.c: compiled, until prom addition :)
cons.c: add entry for prom driver
lib.s: remove some includes; we're being included by locore.s
locore.s: include asm.h, syscall.h, add icode
m68k.s: now included by locore.s
added signal.s; contains signal support
sun3_startup.c: fixed compile bug in vector table initialization; fixed mon
	usage
swapgeneric.c: doesn't refer to drivers we don't have
1993-06-27 00:46:09 +00:00
glass 4c06bc4b0d removed dumb define for enablertclock() 1993-06-26 01:29:40 +00:00
glass 124d060763 added resettodr() 1993-06-26 01:17:52 +00:00
glass fba81270ab new intersil clock support; this time written from datasheet
still need to write resettodr()
1993-06-25 23:07:14 +00:00
glass 24e43b8ea3 initial commit 1993-06-25 10:31:21 +00:00
glass c6b347c351 adding include files...not much of this works 1993-06-25 10:28:37 +00:00
glass 68f2474ad2 initial commit. little of this actually works 1993-06-25 10:26:08 +00:00
glass 086f942e40 keep the directory from being deleted 1993-06-25 10:25:13 +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