summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce NCB_SCRIPT_PHYS and CCB_PHYS macros to find physical addressesse1995-09-111-89/+70
| | | | | | | | of NCR script labels and of command control block structure components. This allows for easy modification of the actual virtual to physical mapping operator used ... Make all applicable references to physical address values use the above macros instead of calls to vtophys().
* Generate prototypes for VOP functions. I decided to keep the old-stylebde1995-09-113-3/+78
| | | | | | definitions even though the functions are inline. If vnode_if.h was compiled by a non-ANSI compiler, then `inline' would be defined away, so vnode_if.h might compile correctly.
* Fix benign type mismatch in a call to VOP_BMAP().bde1995-09-111-2/+2
|
* Remove unconditional unlink at startup and conditionalised the unlink at exitpaul1995-09-111-3/+5
| | | | | | | | | so that it only unlinks the file if syslogd knows it created it. If the path specified for the socket already exists then syslogd will now exit with an "address already in use" error which is more sensible than blindly unlinking the existing filename. This stops syslogd -d foo/bar from unlinking foo/bar if it's a real file.
* Put back p_script component into NCR control block.se1995-09-111-3/+11
| | | | | The driver currently doesn't use it, but ncrcontrol needs it to print some script addresses relative to the script start.
* Restore two checks for TS_ISOPEN.. I managed to panic my machinepeter1995-09-112-6/+10
| | | | | without them.. I thought TS_CONNECTED implied TS_ISOPEN, but apparently that's not the case.
* Make the sample config file entry for mse0 use irq5 instead of irq6.jfieber1995-09-111-2/+2
| | | | | Apparently some bus mice won't go above 5 and the 2.0.5 LINT shows 5. Submitted by: Brian Handy <handy@condor.physics.montana.edu>
* Make sure that the prezero flag is cleared when needed.dyson1995-09-111-1/+2
|
* Fix an error that can cause attempted reading beyond the end of file.dyson1995-09-111-3/+11
|
* Code cleanup and minor performance improvement in the faultin clusterdyson1995-09-111-33/+29
| | | | code.
* Now works correctly with obj directories.jfieber1995-09-101-17/+12
| | | | | | | | | FORMATS can be defined as an empty string to suppress generation or installation of any files. Previously setting it to "null" had that effects. Now uses MANOWN, MANGRP and MANMODE for installation instead of BINOWN, BINGRP and BINMODE.
* Make pcvt and syscons live in the same kernel. If both are enabled, thenbde1995-09-1022-190/+483
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the first one in the config has priority. They can be switched using userconfig(). i386/i386/conf.c: Initialize the shared syscons/pcvt cdevsw entry to `nx'. Add cdevsw registration functions. Use devsw functions of the correct type if they exist. i386/i386/cons.c: Add renamed syscons entry points to constab. i386/i386/cons.h: Declare the renamed syscons entry points. i386/i386/machdep.c: Repeat console initialization after userconfig() in case the current console has become wrong. This depends on cn functions not wiring down anything important. sys/conf.h: Declare new functions. i386/isa/isa.[ch]: Add a function to decide which display driver has priority. Should be done better. i386/isa/syscons.c: Rename pccn* -> sccn*. Initialize CRTC start address in case the previous driver has moved it. i386/isa/syscons.c, i386/isa/pcvt/* Initialize the bogusly shared variable Crtat dynamically in case the stored value was changed by the previous driver. Initialize cdevsw table from a template. Don't grab the console if another display driver has priority. i386/isa/syscons.h, i386/isa/pcvt/pcvt_hdr.h: Don't externally declare now-static cdevsw functions. i386/isa/pcvt/pcvt_hdr.h: Set the sensitive hardware flag so that pcvt doesn't always have lower priority than syscons. This also fixes the "stupid" detection of the display after filling the display with text. i386/isa/pcvt/pcvt_out.c: Don't be confused the off-screen cursor offset 0xffff set by syscons. kern/subr_xxx.c: Add enough nxio/nodev/null devsw functions of the correct type for syscons and pcvt.
* cons.c:bde1995-09-106-58/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split off cdevsw initialization in cninit() into a new function cninit_finish() that isn't called until all hardware device drivers have been attached. The bdevsw entry of the driver for the physical console needs to be hooked after the physical driver has been attached in case the attachment modified the entry. Rearrange cninit() to avoid changing cn_tab until the driver for the physical console has been initialized, so that the previous driver (if any) can be used for debugging. Start removing half-baked lint support. bdevsw functions usually have unused args but /*ARGSUSED*/ was used for only about 5% of them. cons.h: Declare cn_init_finish(). autoconf.c: Call cn_init_finish(). Start adding prototypes. Functions with bogus linkage (extern where static is probably should be static) are explicitly declared as extern so that the can be found easily (extern in a non-header is usually wrong). All: Continue cleaning up init stuff: init functions shall be static; INITs should be at the start of files...
* Fix a bug with the clean target.jfieber1995-09-101-10/+16
|
* Updating /usr/include/kerberosIV/des.h so eBones will build breaksmarkm1995-09-103-15/+4
| | | | | | | rcp and rlogin. (patch supplied) Submitted by: John Capo <jc@irbs.com>
* Fix a few minor bugs in makewhatis.joerg1995-09-101-4/+33
| | | | Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
* Re-initialize the terminal after ^Z / fg.joerg1995-09-101-0/+1
| | | | Submitted by: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)
* Fix a bug that prevented %'s and \'s from being passed to the programjoerg1995-09-101-2/+11
| | | | | | invoked. Submitted by: fenner@parc.xerox.com (Bill Fenner)
* Call output process in slstart() whether or not there is any output. Asbde1995-09-101-9/+10
| | | | | | | | | | | | | | | in pppstart(), the output process may be overloaded to handle hardware flow control and hardware output completions. Don't wait for output to drain in slclose(). Discard output immediately. New output is not prevented while processes are waiting for output to drain (this is a bug), so the wait was sometimes forever. Infinite waits are also possible when CCTS_OFLOW is enabled and CTS is down. Infinite waits were also caused by the above bug in slstart(). Start changing new init stuff yet again: rename unused arg `dummy'. Reviewed by: davidg
* Fix wakeups for TIOCDRAINWAIT. The conditional wakeups introduced in revbde1995-09-101-2/+3
| | | | | 1.59 defeated the point of doing the wakeups (having reduced timeouts take effect immediately).
* Fixed init functions argument type - caddr_t -> void *. Fixed a couple ofdg1995-09-0941-174/+177
| | | | compiler warnings.
* message catalog for fr_FR.ISO_8859-1jmz1995-09-092-0/+340
|
* Add fr_FR.ISO_8859-1 to LANGSjmz1995-09-091-1/+1
|
* Be gentle and allow both magic's (the own one and the other side'sjoerg1995-09-091-2/+5
| | | | | | | one) as a valid answer to an echo request. This makes the log less noisy when connecting to Trumpet Winsock or FreeBSD 2.0.5's pppd. :) Submitted by: melvin@zytek.com (Stephen Melvin)
* Avoid the "calculated sectors per cylinder disagrees with disklabel"joerg1995-09-091-1/+9
| | | | | warning for the default case where the user hasn't specified either -t or -u on the command line. It's been confusing our users.
* More hacking on devfs..julian1995-09-093-179/+469
| | | | | | | | | | | | I can now do an mv on devices and directories in devfs This was the hardest part.. link, delete and symlink will follow in short order. This code works but has definitly got vnode locking problems I am electing to get the structure of it working before spending too much time on the vnode confusion so it's probably not reliable at the moment.. never-the less it looks good. :)
* Patch to the atapi driver, by Serge V.Vakulenko, minor changessos1995-09-092-29/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | by me... Original message: This patch upgrades the ATAPI CD-ROM driver to version 1.3. It has three bugs fixed: 1) The `controller not ready' message at startup and later. It was caused by staled media change bit. 2) Incorrect shuffling of model string for some drives (NEC, Mitsumi). 3) Handling of drives which report itself as been of direct-access type, instead of CD-ROM type. There is one known bug which is not fixed yet -- probing in absense of IDE disks. A work-around exists though (thanks Steve!). If you have no IDE disks attached, then remove them from the kernel config file to make the CD-ROM attach correctly. Unfortunately, there is no way to disable them from the kernel interactive config mode. Reviewed by: sos (Soren Schmidt) Submitted by: vak@gw.cronyx.msk.su (Serge V.Vakulenko)
* Obtained from:4.4lite2julian1995-09-091-10/+14
| | | | | | | | | | | | | | | | | | fix a change where a shortcut resulted in teh wrong answer.. e.g. touch a touch b mv a b resulted in b being removed and a being moved to b in the shortcut.. touch a ln a b mv a b the wrong link was removed.. leaving a instead of b, giving a different result to when both files were separate.
* Change the errx(0,...) to errx(1,...)jkh1995-09-081-2/+2
| | | | Submitted by: Mike Murphy <mrm@alpharel.com>
* Actually, 97 out of 304 devsw functions had benignly mismatched types.bde1995-09-085-27/+26
|
* Add target directories for the FAQ and the Handbook.jfieber1995-09-081-1/+5
|
* Add a makefile.jfieber1995-09-081-0/+6
|
* Perl script to convert NCR script address into label+offset.se1995-09-081-0/+31
| | | | Useful to find the failed NCR instruction ...
* Add a makefile.jfieber1995-09-081-0/+12
|
* Don't use vtophys() for constant addresses, cache the translations inse1995-09-081-22/+65
| | | | the NCR control block (ncb) and command control block (ccb) instead.
* Add bsd.sgml.mkjfieber1995-09-081-2/+2
|
* A makefile for sgml source files.jfieber1995-09-081-0/+150
| | | | Reviewed by: Rod Grimes rgrimes@gndrsh.aac.dev.com
* d_stop functions always returned void. Fix the declaration of d_stop_tbde1995-09-082-4/+4
| | | | to match.
* Added devfs nodes for other devices.. (didn't read the docs correctly)julian1995-09-081-1/+10
|
* add RCS Id strings so we know what we havejulian1995-09-082-0/+6
|
* added ID strings so we know what version we have...julian1995-09-082-0/+7
|
* Slight optimization for the standard case of rotdelay=0.dg1995-09-081-11/+11
|
* Declare `geomtab' as static. It was bogusly shared between the asc andbde1995-09-082-2/+2
| | | | the gsc drivers.
* 3 out of 5 new devsw functions had benign type mismatches.bde1995-09-081-5/+5
|
* Applied patches that make the driver compile on NetBSD again.se1995-09-081-30/+83
| | | | | | | | | They shouldn't affect FreeBSD, since they are within #ifdef NETBSD directives. Changed the HAD_ERROR return code into COMPLETE according to a comment in "/sys/scsi/scsiconf.h" Submitted by: Andreas Wrede <andreas@planix.com>
* Fixed error in maxcontig calculation that caused it to default to "1".dg1995-09-081-1/+1
|
* Fix my copyright.dg1995-09-082-4/+4
|
* Fix benign type mismatches in devsw functions. 82 out of 299 devswbde1995-09-0834-188/+260
| | | | functions were wrong.
* Remove machine name from Dave Chapeskie's e-mail address.asami1995-09-082-4/+4
|
* added the dev_link external registrationjulian1995-09-082-8/+48
| | | | | | | | used to produce a second link to an already exixting device e.g. dev_add /disks/sd0 dev_link /scsi/bus0/targ0/lun0 to /disks/sd0 (not real syntax)
OpenPOWER on IntegriCloud