Commit Graph

59582 Commits

Author SHA1 Message Date
mjacob 91c88eb52f PR/9271 (from srp@zgi.com)- recognize (indirectly) HP4000s via density
code and do the right QIC type dance (1 FM @EOT, fixed block size).
2000-01-22 04:29:58 +00:00
shin 391a6bca4e add some '#ifdef's to clarify the difference between i386 and hpcmips. 2000-01-22 02:59:59 +00:00
kleink ee1ff1654b Another old-style chown(8) bites the dust. 2000-01-22 01:34:55 +00:00
jdolecek 95e5ddf0c5 Add SIGPWR description (from Johan Danielsson) 2000-01-22 00:34:30 +00:00
thorpej 6bf314dccf NetBSD 1.4Q -- buffer queue changes. 2000-01-21 23:48:07 +00:00
thorpej 0b0aecffd6 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:43:10 +00:00
thorpej f7c9b87381 Update for sys/buf.h/disksort_*() changes, plus make it compilable on
more systems.
2000-01-21 23:41:45 +00:00
thorpej dc59bc1db3 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:39:55 +00:00
thorpej 52242fdf9f Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:28:59 +00:00
thorpej 0ef111e8ee - Implement bowrite() -- perform an asynchronous, ordered write. 2000-01-21 23:22:24 +00:00
thorpej e3d3905ac7 Preserve B_ORDERED. 2000-01-21 23:21:46 +00:00
thorpej 05c6b5a9a0 - Add a B_ORDERED flag to communicate to drivers that an I/O request should
be issued/completed in order; that is, provide a barrier for I/O queues.
- Change the buffer driver queue links to a TAILQ, rather than using
  a home-grown equivalent.  Provide BUFQ_*() macros to manipulate buffer
  queues; these deal with the barrier provided by B_ORDERED.
- Update disksort() accordingly, and provide 3 versions:
	- disksort_cylinder(): historical disksort(), which keys on
	  b_cylinder (and b_blkno for the case when b_cylinder matches).
	- disksort_blkno(): sorts only on b_blkno.  Essentially the
	  same as disksort_cylinder(), but with fewer comparisons.
	- disksort_tail(): requests are simply inserted into the queue
	  at the tail.  This is provided as an option so that drivers
	  can simply have a pointer to the appropriate sort function.
  Note that disksort() now pays attention to B_ORDERED.
2000-01-21 23:20:51 +00:00
wrstuden 9c658d828e Need to include "reentrant.h" for FLOCKFILE macros. 2000-01-21 23:12:33 +00:00
fvdl da026ad067 Add SIGPWR description. Clean up some messages. 2000-01-21 22:57:54 +00:00
jdolecek 0c02a34772 Add SIGPWR entry (from Aymeric Vincent <Aymeric.Vincent@crans.ens-cachan.fr>) 2000-01-21 22:53:22 +00:00
jdolecek b4f09231f2 Add entry for SIGPWR (translation by Ignatios Souvatzis) 2000-01-21 22:24:12 +00:00
mjacob 04b750733c slight change for platform independence 2000-01-21 21:19:57 +00:00
mjacob 7faf9d32ea cleanup SAF-TE attachment code 2000-01-21 21:10:41 +00:00
mycroft e70f76146b Do file locking. 2000-01-21 19:56:07 +00:00
mycroft b714bb5102 Just call fflush() from _cleanup(), since it does the right locking. 2000-01-21 19:55:02 +00:00
mycroft f9b319ca18 Call __sclearerr(), nor clearerr(), so we don\`t try to double lock. 2000-01-21 19:54:13 +00:00
mycroft 0b24b6555f Do the lock *after* checking that the fp is valid. 2000-01-21 19:53:02 +00:00
mycroft 442e96d230 Initialize f._file for locking primitives. 2000-01-21 19:51:36 +00:00
tsubai 2d0426d8d2 Recognize MPC7400. 2000-01-21 18:49:52 +00:00
tsubai 16ea7fbbbb Match "keylargo-ata". 2000-01-21 18:45:14 +00:00
mjacob eb5546b1cb add cdev_ses_init alias to cdev__oci_init 2000-01-21 17:52:29 +00:00
mycroft 482d37a470 Do the pthread errno hack. That is, *always* do:
#define errno (*__errno())
This is necessary to make non-threaded libraries (e.g. libX11) continue to
work correctly when linked with -lpthread.  glibc also does this.
2000-01-21 17:11:20 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
mycroft 94753c3793 Sync. 2000-01-21 16:49:30 +00:00
mycroft 55f474fc12 Fix raidN device creation. 2000-01-21 16:46:04 +00:00
jdolecek d409b19eb6 Add SIGPWR entry (from Pooka) 2000-01-21 16:18:05 +00:00
tsutsui 331b00d2d8 Add "dumps on none" to config. 2000-01-21 13:38:47 +00:00
pk df99dfd934 Simplify toggling the FTP bit on sun4m machines. 2000-01-21 13:25:12 +00:00
pk 252d47729f Update FDC offsets used by fdintr.s 2000-01-21 13:24:06 +00:00
pk 6b2ebb44a7 Move several PIL_* definitions into the scope of LOCORE stuff. 2000-01-21 13:22:55 +00:00
pk f8ac5484fa Medium sized code overhaul:
* Improve communication between the `hard' and `soft' interrupt handlers
  to better distinguish various interrupt sources.
* Eliminate several race conditions where we would set a time out handler
  only after starting the command on the hardware.
* Handle most timeouts by resetting the controller; there isn't much chance
  of recovery in any other way.  Currently, the exception is a timeout
  on I/O, in which case we first try to pulse the controller's TC line
  in order to abort the pseudo-dma sequence.  Apparently, "normal"
  conditions can induce such a timeout when there's no disk in the drive.
* Reduce the formatting gap parameter to 0x54.
* On the obio bus, interpret the `status' attribute.
* Minimize console diagnostic output if the errors we get appear to be
  caused by the absence of a disk.
2000-01-21 13:22:01 +00:00
tsutsui 1bf52b391d rename (revert) memory disk filename /dev/mdX -> /dev/mdXa 2000-01-21 12:32:54 +00:00
tsutsui cac7cebd3e - rename (revert) normal memory disk device name /dev/mdX -> /dev/mdXa
- now raw partitions are used for memory disk ioctls
2000-01-21 12:28:22 +00:00
tsutsui a914ad6061 - use the raw partition for ioctl; `control device' is gone.
- remove `sc_flags' member from md_softc
 - add check code whether the md device is configured in mdread/mdwrite
2000-01-21 12:14:53 +00:00
shin 7d6a332830 change miniroot size. 2000-01-21 11:29:53 +00:00
shin b6e56aa759 oops, forgot to commit this file. 2000-01-21 11:27:52 +00:00
shin f81f1e9333 first cut of sysinst for hpcmips.
based on i386 version.
2000-01-21 11:25:58 +00:00
shin 823e065f6f fix format string in message. ('%' -> '%d') 2000-01-21 11:23:01 +00:00
abs 918a3dbacc small grammar fix 2000-01-21 11:10:51 +00:00
jdolecek de5a194e8c Improve rpc error translation (from Linux catalogs) 2000-01-21 11:04:05 +00:00
jdolecek 1c089347e1 Add entry for SIGPWR
Extensive changes (mostly taken from Linux czech catalogs), to improve
gramatics and semantic corectness
2000-01-21 10:46:47 +00:00
jdolecek 320ccac4d9 add SIGPWR entry 2000-01-21 10:01:49 +00:00
jsm 233f519d3d Clean up error reporting in tetris. 2000-01-21 02:10:56 +00:00
jsm 7e681e294b Fix high score table formatting bug.
Bug report and fix from Malcolm Parsons <malcolm@bits.bris.ac.uk>.
2000-01-21 00:54:53 +00:00
jsm d8d956c46c Improve snscore error handling. 2000-01-21 00:27:03 +00:00