Commit Graph

1028 Commits

Author SHA1 Message Date
jonathan 51194cb458 Fix #ifdef DEBUG prinf() lint: bp->b_bcount is long, not int. 1996-12-01 00:43:45 +00:00
jtk 6f602476b2 tabstop corrections, thanks to Paul Kranenburg 1996-11-30 01:45:39 +00:00
jtk 88449561be Add floppy formatting facility.
i386 floppy controller code came from FreeBSD, as worked on by:
   jc@irbs.UUCP (John Capo)
   vak@zebub.msk.su (Serge Vakulenko)
   ache@astral.msk.su (Andrew A. Chernov)
   joerg_wunsch@uriah.sax.de (Joerg Wunsch)
   dufault@hda.com (Peter Dufault)

formatting ioctl interface is generalized to an MI interface.  see fdc(4)
and fdformat(1)
1996-11-29 16:28:38 +00:00
thorpej 9a6796b559 In isa_attach_hook(), set a variable to indicate that an ISA bus has
been attached to the system.  If, by the time mainbus wants to attach
an ISA an ISA has not yet been attached to the system, attempt to attach
an ISA to mainbus.
1996-11-28 02:43:53 +00:00
thorpej 446317125e In fdcresult(), the loop that pulls status off the controller is treated
as a "timeout", yet there's no specific delay in each iteration.  Add
a small delay (10 usec... pretty arbitrary) in each iteration.  This
fixes the "fdcresult: timeout" problems I've been having on my 200MHz P6.
1996-11-27 19:53:51 +00:00
mycroft 135b1cea1f Remove incomplete and unused `fast' vector code. 1996-11-20 14:09:07 +00:00
jonathan a935a72af3 Fix cut-and-paste errors. 1996-11-20 11:37:52 +00:00
jonathan 584f698f2c * Add old-style vmstat -i interrupt counters for normal and stray interrupts.
Interrupts for irqs with handlers are counted as normal, even if none of
  the handlers claim the interrupt.
  Should all be redone with hierarchical event counters. that count
  hardware events and invocations of each handler separately.

* Increment cnt.v_intr for normal interrupts (bugfix).
1996-11-20 10:47:14 +00:00
mikel 5d1041a8ee remove extra $(DESTDIR). Fixes port-i386/2878. 1996-11-14 08:05:58 +00:00
thorpej a0dffcafc2 Use bitmask_snprintf(). 1996-11-13 07:00:30 +00:00
mikel 752f0f5c9c Fix typo; PR port-i386/2666. 1996-11-07 07:30:19 +00:00
mikel 2241acdd09 vga_move_charset() shouldn't need XSERVER. Fixes port-i386/2904. 1996-11-06 05:28:49 +00:00
mikel acaccdd747 make X support code dependent on XSERVER; PR port-i386/2528. 1996-11-05 06:21:25 +00:00
explorer 236a28d49e Make this compile without COMPAT_10 or _11 1996-10-31 01:16:57 +00:00
fvdl 016d7b35dc Make this compile without COMPAT_10 (unused variable). 1996-10-24 12:22:43 +00:00
thorpej 16c4c5af26 New bus.h implementation/interface:
- No more distinction between i/o-mapped and memory-mapped
	  devices.  It's all "bus space" now, and space tags
	  differentiate the space with finer grain than the
	  bus chipset tag.
	- Add memory barrier methods.
	- Implement space alloc/free methods.
	- Implement region read/write methods (like memcpy to/from
	  bus space).
This interface provides a better abstraction for dealing with
machine-independent chipset drivers.
1996-10-21 22:24:37 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
fvdl 3e338cbad4 Fix compiler warning (PR 2852) 1996-10-17 19:38:45 +00:00
christos bd73314ed9 backout previous kprintf changes 1996-10-13 03:19:38 +00:00
christos 06555645c2 printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:24:36 +00:00
explorer e331708d2f turn off floppy motor (and light) even if the drive isn't found. This fixes
some laptop indicator lights which would be stuck on after the probe
1996-10-09 16:10:14 +00:00
mycroft 2bc736661a Implement poll(2). 1996-09-07 12:40:22 +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
mycroft 0947abc4ec Oops; fix typo. 1996-08-31 05:10:03 +00:00
mycroft fbfd18b011 Make sure b_resid is always set before biodone(). 1996-08-30 19:59:07 +00:00
mycroft ecde95b64d clock >= tty | net | bio 1996-08-30 15:39:31 +00:00
thorpej c4366945e5 Quiet the ahc driver down a bit by only enabling some of less useful
messages #if defined(DEBUG) in the NetBSD case.
1996-08-28 23:39:40 +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
mycroft 312e49bad1 After processing an AST, check for another one. Pointed out by ws. 1996-08-15 15:34:03 +00:00
soda d2bb4c7a65 AHA-284x VL front-end to ahc driver by Jason Thorpe.
This is tested under both netbsd-1-2 branch and main trunk.
1996-08-05 21:14:29 +00:00
jtk 517f2ace37 One more fix as pointed out by enami tsugutomo <enami@ba2.so-net.or.jp>:
check slen before accessing cp[1] in GETNUM macro.
1996-07-21 04:01:01 +00:00
jtk a6c08ef5e8 fix PRs 219, 2295, 2612: speaker bugs on i386 port: remove overruns due to
faulty bounds checking; repair faulty octave limiting.
1996-07-14 01:03:13 +00:00
fvdl 8e6a25cd1d Make this compile with PCVT_SCANSET == 2 (PR #2622) 1996-07-13 23:26:03 +00:00
chuck 59896583e3 add softnet interrupt for native mode atm 1996-07-04 03:17:53 +00:00
cgd 78937ab274 change > to >= in #endif comment, too. 1996-06-04 20:01:58 +00:00
cgd 6110ea9366 #ifdef tty_attach() with PCVT_NETBSD >= 120 (rather than just >),
since tty_attach() is now in the 1.2 release.
1996-06-04 19:53:28 +00:00
cgd abc294c9d9 don't tty_attach() the mouse emulator tty. 1996-06-04 19:47:51 +00:00
cgd d4b462666e if PCVT_NETBSD > 120, do tty_attach() calls so that pstat -t will work.
If these changes are pulled up to the 1.2 release branch, they should
be changed so that they are included if PCVT_NETBSD >= 120.
1996-05-31 00:03:59 +00:00
cgd 311886cbbe add call to tty_attach() so pstat -t will work with pccons ttys. 1996-05-30 23:59:11 +00:00
fvdl b7a6989848 NetBSD1_1 -> NetBSD1_2, so use it properly (PR 2475) 1996-05-28 12:28:45 +00:00
christos be8ad0bbb0 Recognize MFII keyboard ids for BIM ThinkPad 76X's. Closes PR/2468 1996-05-25 18:19:07 +00:00
christos 0bc76ac7c3 make this compile again; remove CONF_SLOW_INTERRUPT 1996-05-21 20:46:45 +00:00
mycroft db4ceee7f8 Remove the PCVT_SLOW_INTERRUPT option. It is required. 1996-05-12 23:33:32 +00:00
mycroft f7624a5fd1 Use intr.h. 1996-05-12 23:24:47 +00:00
mycroft eda98d375d Use intr.h. 1996-05-12 23:11:54 +00:00
mycroft a8e2ce97e4 Implement IPL_HIGH. 1996-05-12 23:06:06 +00:00
thorpej ea8aad3319 Use <machine/bus.h> ... on the right track to making this an MI driver. 1996-05-12 01:37:02 +00:00
christos cd2b07ab7c We have our own prototype now for fillw() 1996-05-05 22:20:51 +00:00
christos 079631f59d Remove unneeded casts to fillw() since now it takes a void * argument. 1996-05-05 19:48:15 +00:00
christos db7563a62d Fix gcc -Wall warnings 1996-05-05 19:46:15 +00:00