Commit Graph

11617 Commits

Author SHA1 Message Date
Justin T. Gibbs cc4f672cec The long awaited stability patch set for the aic7xxx driver:
aic7xxx.seq and aic7xxx.c depend on aic7xx_reg.h
1996-01-03 06:26:15 +00:00
Justin T. Gibbs adf516474d The long awaited stability patch set for the aic7xxx driver:
1) Use cpp to preprocess the sequencer code.

2) Convert all "magic numbers" to #defines shared by the sequencer and
   kernel driver via the aic7xxx_reg.h file.  (The assembler still needs
   to be re-written in lex/yacc to allow ~|& type constructions).

3) Raise ATN on parity errors for "in" phases and send an initiator detected
   error or message-in parity error message as appropriate.

4) Turn off the reselection hardware from the time or a (re)connection to
   busfree.  It seems that some fast targets were able to reconnect before
   the sequencer was able to see busfree.

5) The message buffer is considered "in-use" when there is a positive length
   count.  The ACTIVE_MSG flag was unnecesary.

6) Properly set SCB_NEXT_WAITING to SCB_LIST_HEAD in scbs being added to
   the waiting scb list.  This is a change in how the list code works to
   facilitate some planned work in the reset code.

7) The fields in the SCB have be re-arranged to be quad-word aligned.

8) The inb code has been rewritten to catch phasemisses and be more efficient.

9) Go back to "snooping the bus" to determine if the incomming identify
   message will be followed by a simple queue message.  Its much faster than
   doing a search through the SCBs.

10) Implement better tag range checking for incomming tags.

11) Make sdtr_to_rate more accurate (use 25 instead of 24 in calculations -
    must have been asleep that night).

12) Rearrange some routines to reduce code complexity and size.

13) Update comments and formatting.

14) Fixed bugs I've forgotten about??

Reviewed by: David Greenman <davidg@FreeBSD.org>
1996-01-03 06:25:32 +00:00
David Greenman 3ba657329e Reworked the stop/reset code to properly run-down allocated buffers and
made the code detect and handle wedged cards.
1996-01-03 05:22:32 +00:00
John Fieber a30c935636 Typo.
Submitted by:	"Julian H. Stacey" <jhs@freebsd.org>
1996-01-03 03:18:36 +00:00
Jordan K. Hubbard fc648b5f66 Six. Six categories. :-) 1996-01-03 02:22:03 +00:00
Satoshi Asami 7ecb65fa26 Prepare to add support for parity. Report the post-parity size,
allocate space around parity blocks.
1996-01-02 23:32:54 +00:00
John Fieber 5578e3e91e Correct phone number for xinside.
Submitted by:	Richard Van Dyke <rav@xinside.com>
1996-01-02 23:31:25 +00:00
Garrett Wollman ac9ce50507 Clean up GCC warnings, condition out some compatibility cruft, add $Id$.
Pointed-out-by: jmb
1996-01-02 20:09:22 +00:00
Paul Traina f8c4a67b6a Using csh constructs in shell scripts is a boo-boo. 1996-01-02 19:47:05 +00:00
Peter Wemm 876791a6b6 Fix the number of ports created for devfs.. it had been only creating
enough nodes for the number of ports on the last module, not the number
of ports _total_ that the driver is managing...

Submitted by:  Robert Sanders <rsanders@mindspring.com>
1996-01-02 19:39:09 +00:00
David Greenman 864ef7d17e Moved the #ifdef DIAGNOSTIC in vrele() so that the check for negative
v_usecount is always performed and only the call to vprint is conditional.
1996-01-02 18:13:20 +00:00
Joerg Wunsch 644104e65f Introduce a wormunit() so the control device will work. 1996-01-02 15:44:00 +00:00
Peter Wemm 5c7acd6044 Fix last "fix" - I had introduced a fencepost error.. :-(
Happily pointed out by: julian :-)
1996-01-02 09:20:29 +00:00
Peter Wemm 638c3d07b7 Fix up the DEVFS minor numbers that the Specialix driver registers... 1996-01-02 09:18:07 +00:00
Peter Wemm 689d68d9c2 Remove unnecessary debug printf's ("no references", "bad-id") - these
were development aids :-) and normal events.

Initialise the "hidden" blueprint mount "mnt_op" and "mnt_vfc" fields so
that a statfs() on a devfs file would not panic anymore. Fixes PR#911.

Head-scratching by: Julian and Peter
1996-01-02 09:14:49 +00:00
Joerg Wunsch 9f5ae2b97b Use cvs -Q release, instead of cvs release -Q, for removing the
modules module.
1996-01-02 07:39:03 +00:00
Poul-Henning Kamp 18e73f4fb6 I have some problem here, which shows up in the ahc0 driver. It isn't where
it originates, so I catch it here and fail.
This may expose the same bug on other disk controllers (both scsi & ide).
1996-01-01 20:20:45 +00:00
Jordan K. Hubbard daa0d839fc Add Czech Republic mirror. 1996-01-01 17:24:28 +00:00
Bruce Evans e5171bbec0 Fixed user-mode mcount which I broke in the previous revision.
Do it the old way for now.

Moved recent additions around a lot to minimise ifdefs.

Added prototypes.
1996-01-01 17:11:21 +00:00
Peter Wemm b8321444f8 Extract the login name when doing a ps on a dead kernel. 1996-01-01 17:08:17 +00:00
Peter Wemm a1d2540fa0 Fix the reversed source and dest args to bcopy() in the kernel space
sysctl handler (ouch!)

Add a "const" qualifier to the source of the copyin() and copyout()
functions - the other const warning in kern_sysctl.c was silenced when
copyout was declared as having a const source.. (which it is)
1996-01-01 17:05:07 +00:00
Peter Wemm 8735cebc64 fill in kinfo_eproc.e_login - otherwise a sysctl to read the eprocs wont
get the login names, and "ps -ax -O login" will return an empty column
under the login name.
1996-01-01 17:01:03 +00:00
Bruce Evans 151eb452b6 Added new devfs manpages here too. 1996-01-01 16:58:10 +00:00
Bruce Evans 13fd2edc0c Added io.4. 1996-01-01 16:54:34 +00:00
Peter Wemm 01cc6d5ae0 Document the change that I made to pipe(2) 1996-01-01 15:40:31 +00:00
Peter Wemm 780dc5a8b9 Only #include <sys/shm.h> if SYSVSHM (for shmexit() prototype)
Add missing #include <sys/sem.h> if SYSVSEM  (for semexit() prototype)
1996-01-01 12:23:39 +00:00
Joerg Wunsch 03897e52bd Document the /dev/io security hole. 1996-01-01 11:01:13 +00:00
Peter Wemm 6ee78bf046 Make pipe() return a set of bidirectional pipe fd's rather than one-way only
just like on SVR4.

This has no effect on any current programs in our source, but makes
the use of SVR4 code a little easier.  There is no code or implementation
cost in the kernel.. This two-line change merely sets the modes on the ends
of the pipes to be bidirectional.  There are no other changes.
1996-01-01 10:28:21 +00:00
Peter Wemm 062d242e1a My really ugly hack to ifconfig to make it pick up interface aliases
and the ethernet address for non-root users.

I apologise to the world for propagating the ugliness of some of the code
constructs within ifconfig...  Fixing them would just abou mean rewriting
most of the function call interfaces, something I didn't have the stomach
for. :-)
1996-01-01 09:05:22 +00:00
Peter Wemm 38df03f3e6 Get sendmail to detect when to use the setproctitle() in libutil
This uses osreldate.h and other stuff to determine whether it's on a
-current system.  It should still compile cleanly on a -stable branch
system.
1996-01-01 08:54:01 +00:00
Peter Wemm 5f30a3e6fb Minimal changes to get named to use libutil's setproctitle()...
The old code is still there with #ifdef OLD_SETPROCTITLE
1996-01-01 08:44:53 +00:00
Peter Wemm c128302002 Make inetd use setproctitle from libutil instead of it's own version.
The old code can probably still be compiled with #define OLD_SETPROCTITLE
1996-01-01 08:42:23 +00:00
Peter Wemm c129841af7 Make nfsd use setproctitle from libutil...
Old code is still #ifdef OLD_SETPROCTITLE for comparison with the old
code.
1996-01-01 08:39:39 +00:00
Peter Wemm 10dcae5806 Add hooks into the mount_mfs code in newfs to do the FreeBSD-style
LKM loading if it was not configured into the system.

Note that the LKM for MFS is not enabled by default, but I got it working on
my machine..  I'll see what I did..
1996-01-01 08:37:28 +00:00
Peter Wemm b63e1fe2c4 Make ftpd use setproctitle() from libutil
I've left the old code in there under #ifdef OLD_SETPROCTITLE in case
somebody wants to try to compile out ftpd on some other machine.
1996-01-01 08:35:11 +00:00
Peter Wemm 358a579f84 Add libutil/beforeinstall to the includes target 1996-01-01 08:33:17 +00:00
Peter Wemm 3b7e1cc80f Bump libutil revision after recent addition of setproctitle().
Install (optional) libutil.h with prototypes for the functions and
document this in the man page.

minor cleanups to the various routines, include the prototype file, declare
return codes etc.
1996-01-01 08:27:41 +00:00
Jordan K. Hubbard cd5e85eb47 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
Jordan K. Hubbard 738c371d22 Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items.  These work around the two
largest issues holding me back with some of my sysinstall changes.
1996-01-01 03:43:58 +00:00
Andreas Schulz 961c0bd1a8 Add sasc to the clean/cleandir target. The machine dependent targets
doesn't get cleaned up otherwise.
1995-12-31 21:32:17 +00:00
Joerg Wunsch d95793c934 Hopefully the last bogons that prevented me from running a successful
`make release':

. the `doc' distribution was missing, so the FAQ and handbook files
  couldn't be installed (Q: why did the psd etc. files install, only
  that the dirs had the wrong ownership?)

. the crunched binaries do need now -lipx
1995-12-31 17:10:05 +00:00
Joerg Wunsch a5749c94e4 The etc.i386/fstab.* files have been nuked, so don't try to install
them.
1995-12-31 17:06:56 +00:00
Joerg Wunsch 7560bb26ff Finally complete my fix for the behaviour of getpass(3) upon receipt
of signals.  Signals are now properly caught, tty state is being
restored, and the previous sigaction triggered.  Upon receipt of a
sigcont, echo is turned off again.

SIGTSTP causes a buffer flush, the man page mentions this.  (Although
i rather think of it as a feature than a bug.)

This is likely to be my last FreeBSD action for 1995, xearth shows
me that our .au guys must already write 1996. :-)
1995-12-31 14:00:25 +00:00
Joerg Wunsch cfaaf1594e Restrict /devfs/io perms to 0600.
Nobody in our regular source tree, or in the non-distfile part of the
ports tree does use /dev/io anyway, so this might be replaced by
another scenario some day.
1995-12-31 09:32:16 +00:00
Joerg Wunsch 0ac727259c Restrict /dev/io perms to 0600. 1995-12-31 09:30:30 +00:00
Poul-Henning Kamp 1fccc1f2ff Make the counters unsigned longs so that tapes don't contain negative
number of bytes.
1995-12-31 09:00:24 +00:00
Joerg Wunsch 96b2792e12 Add man pages for devfs functions after Julian's descripton.
Someone must be the first. :)
1995-12-31 00:08:18 +00:00
David Greenman b2b1f785bc In memory test, cast pointer as "volatile int *", not "int *" to make sure
that gcc doesn't cache the value used in the test. Pointed out by Erich
Boleyn <erich@uruk.org>.
1995-12-30 23:13:32 +00:00
Joerg Wunsch b7738481bc 2.1.0R is over and out. Comment out the tags for it from the release
Makefile (so release builds in -current require to set it from the
command line).

Make the cleanup of ${CHROOTDIR} non-fatal.  Otherwise, it stops
immediately if the ${CHROTDIR} is on a separately mounted file system.
1995-12-30 21:15:45 +00:00
Peter Wemm 6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00