Commit Graph

21625 Commits

Author SHA1 Message Date
John Polstra 713da3ed8b Make setbits() SMP-safe. Eliminate the SETBITS() macro, and replace
all uses of it with the equivalent calls to setbits().

This change incidentally eliminates a problem building ELF kernels
that was caused by SETBITS.

Reviewed by:	fsmp, peter
Submitted by:	bde
1997-05-21 22:56:05 +00:00
Satoshi Asami 5c49694977 Fix comment about LOCAL_DIRS. Now it works as advertised. :) 1997-05-21 22:48:51 +00:00
Jordan K. Hubbard d50204c1b0 Remove evil MAKE_LOCAL and MAKE_PORTS hacks and replace them with
a simpler, more general LOCAL_DIRS hack.
Reviewed by:	asami
1997-05-21 19:41:16 +00:00
Joerg Wunsch eceeb60438 Initialize the buf_queue of the pt(4) driver.
PR:		kern/3629: /sys/scsi/pt.c doesn't...
Submitted by:	simokawa@sat.t.u-tokyo.ac.jp (Hidetoshi Shimokawa)

Add a catch-all record for removable SCSI devices to default them to
only one LUN.

PR:		kern/3580: Bad LUN probes on Xyratex...
1997-05-21 19:35:11 +00:00
Nate Williams c4b0dab7d5 - The 3Com 3C589D card is now supported. 1997-05-21 18:49:34 +00:00
Justin T. Gibbs cc80aa3972 Several bug fixes for the ee16 support from Richard Straka:
1) Adjust NFRAMES from 16 to 8 per 16k of memory.
2) Acknowledge interrupts to the card early in the interrupt
   handler before processing the event that caused the interrupt.
   This frees the card to process addtional events instead of
   waiting for the driver to finish handling events.
3) Changed the initialization of the transmit buffers to be a
   loop so that the number of buffers can be more easily changed.
4) Moved the code to take the adapter out of loop back mode to just
   before we enable the receiver.

I also made the driver dynamically size its resource arrays at attach
time so that we can take full advantage of adapters with more than 16k
of memory.

Richard has some other changes he's working on to improve performance,
but this should get ee16 support working reliably again.

Thanks to Wes Santee <wes@bogon.net> for testing these patches.

Submitted by: Richard Straka <straka@user1.inficad.com>
1997-05-21 18:26:09 +00:00
Peter Wemm 348d458447 Attempt to work around the problem Bruce reported with 'cvs diff -rHEAD'
complaining about long-deleted files having been deleted and that there
is no diff available.
1997-05-21 16:21:08 +00:00
Bill Paul 48d26cf410 Small tweak to the group parsing code to stop it from core dumping
on malformed /etc/group entries. This is a band-aid until I can pull
in the newer group parsing code from getgrent .

Pointed out by: branson@belmakor.hq.ferg.com (Branson Matheson)
1997-05-21 15:10:42 +00:00
Kazutaka YOKOTA e8adebf242 Introducing "Jumping Daemon" screen saver. This is really cute and
eye-catching :-)

Submitted by:	ssigala@globalnet.it
1997-05-21 14:18:27 +00:00
Kazutaka YOKOTA f3cdf68921 Introducing "Jumping Daemon" screen saver. This is really cute and
eye-catching :-)

Submitted by:	ssigala@globalnet.it

Also fixed some `extern' declarations in saver.h.
1997-05-21 14:18:00 +00:00
Masafumi Max NAKANE 3b0091645a Merge the EN version chages, 1.247 -> 1.249. 1997-05-21 08:28:12 +00:00
Philippe Charnier 6cb01af4ac replace obsolete @ctrl{A} with @kbd{C-A}. Suppress compilation warning. 1997-05-21 06:12:22 +00:00
Satoshi Asami 3fbb21ddba Add Brian Handy <handy@lambic.space.lockheed.com> for his bclock
port submission.
1997-05-21 04:19:23 +00:00
Satoshi Asami a4104f235c Add Vanill Ice <vanilla@Minje.Com.TW> for the filerunner port update. 1997-05-21 03:27:15 +00:00
Steve Price 9e5a9c06d0 Remove y.tab.h from the beforedepend target. Also add a
rule that shows the dependency of arith_lex.[co] on y.tab.h.

Suggested by: Bruce Evans <bde@zeta.org.au>
1997-05-21 03:23:23 +00:00
Jordan K. Hubbard 7d5d7bbeb1 Add a space to moused_port line.
PR: 3644
Submitted by: Michael Perlman <canuck@caam.rice.edu>
1997-05-21 00:23:54 +00:00
Joerg Wunsch 07f0846feb Major nit: i've confused link0 and link1 in my brain and/or in either
the man page or the source file.  Fix this.

Minor problem: don't choke with ENETDOWN early.  As long as our output
queue has space, put the IP packets there even if IPCP ain't up yet.
We will eventually be able delivering them once the PPP state machine
came up.
1997-05-20 22:54:04 +00:00
Masafumi Max NAKANE 717e6a1a64 Merge the EN version changes, 1.246 -> 1.247. 1997-05-20 14:25:19 +00:00
Philippe Charnier d4af06e356 Remove me from add. contributors, I am now in committers. 1997-05-20 11:13:54 +00:00
Doug Rabson a97613a7cd Plug a memory leak in nfs_link.
PR:		kern/1001
1997-05-20 08:06:31 +00:00
Masafumi Max NAKANE 57b2860e4c Merge the EN version changes, 1.245 -> 1.246. 1997-05-20 02:04:34 +00:00
Masafumi Max NAKANE ecdead78b8 Merge the en version changes, 1.67 -> 1.69. 1997-05-20 02:03:00 +00:00
Masafumi Max NAKANE 0ebc4fdc90 Merge the EN version changes, 1.17 -> 1.18. 1997-05-20 01:53:11 +00:00
John Fieber 71faa51e6d Fixed botched author entity definition. 1997-05-20 00:32:52 +00:00
Joerg Wunsch cc04bc5fed Add a man page for sppp(4). 1997-05-19 22:04:40 +00:00
Joerg Wunsch 00081cc989 Major overhaul of the SyncPPP layer. Basically, this comprises now a
full implementation of the sate machine as described in RFC1661, and
provides support for plugging in various control protocols.  I needed
this to provide PPP support for the BISDN project (right now).

Unfortunatley, while the existing API was almost up to the point, i
needed one minor API change in order to decouple the this-layer-
started and this-layer-finished actions from the respective Up and
Down events of the lower layer.  This requires two additional lines in
the attach routines of all existing lower layer interface drivers that
are using syncPPP (shortcutting these actions and events).  Apart from
this, i believe i didn't change the API of all this, so everything
should plug in without too many hassles.  Please report if i broke
something in the existing drivers.

For a list of features (including new ones like dial-on-demand), and
things still to be done, please refer to the man page i'll commit asap.

Encouraged by:	Serge Vakulenko <vak@cronyx.ru>
1997-05-19 22:03:09 +00:00
John Polstra 5cc6677fdc Eliminate a variable that is set but never used. 1997-05-19 18:16:29 +00:00
John Polstra 3d9a9402b4 Mention that "-P" is the default. 1997-05-19 18:16:00 +00:00
John Polstra af37439b0e Add the new src-contrib-crypto collection. 1997-05-19 17:39:20 +00:00
Jean-Marc Zucconi fd64e6845e Remove the select command. The WORMIOCQUIRKSELECT ioctl call has been removed
from the driver.
1997-05-19 17:37:30 +00:00
Jean-Marc Zucconi 16a086a02f The 'wormcontrol select' command no more exists. 1997-05-19 17:35:57 +00:00
Jean-Marc Zucconi 8d496aeec7 Set the quirks for the worm drives. 1997-05-19 17:32:10 +00:00
Jean-Marc Zucconi 1ad8b2cb84 A few improvements to the worm driver.
- remove all calls to scsi_stop_unit(). Some drives refuse commands when
  stopped. This will fix the 'device not configured' message which was
  cleared after opening/closing the tray.
- Never set the logical block address in the scsi_cmd struct when writing.
  The computation was bogus for block sizes not a multiple of DEV_BSIZE.
  (the bug is still there in the READ case)
- reset the block size to the 2048 bytes in finalize_track() track to avoid
  an error when mounting a disk after an audio write.
- remove the WORMIOCQUIRKSELECT ioctl. Quirks are now recorded at probe time
  (see scsiconf.c)
- change and expand the argument to the WORMIOCPREPTRACK ioctl. It now possible
  to select more track options (copy bits, ISRC codes, track type,
  track number)
- add an error handler to catch false errors (warnings in fact) and record
  the error type.
- add an ioctl call (WORMIOERROR) to get more information on the nature of the
  error when a command or a write failed.
- add an ioctl call (WORMIOCFINISHTRACK) to finalize a track without closing
  the device (closing the device still finalize the track if the command was
  not performed)

Approved by:	joerg
1997-05-19 17:30:50 +00:00
John Polstra 7136226da3 Include the new "src-contrib-crypto" collection. 1997-05-19 17:22:52 +00:00
Eivind Eklund 6ad98044a1 `it's'' -> `its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
Joerg Wunsch 1b5639dd31 Fix my usual omission: add Philippe Charnier to the list of contributors.
Reminded by:	max
1997-05-19 15:54:37 +00:00
Doug Rabson 32ad9cb531 Fix a few bugs with NFS and mmap caused by NFS' use of b_validoff
and b_validend.  The changes to vfs_bio.c are a bit ugly but hopefully
can be tidied up later by a slight redesign.

PR:		kern/2573, kern/2754, kern/3046 (possibly)
Reviewed by:	dyson
1997-05-19 14:36:56 +00:00
Masafumi Max NAKANE 7c7a602790 Submitted by: Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
Merge the EN version changes, 1.15 -> 1.17.
1997-05-19 14:12:49 +00:00
KATO Takenori 0f5ccb66e4 Recognize AMD 486 CPUs. 1997-05-19 12:41:35 +00:00
KATO Takenori beaea33867 Synchronize with sys/i386/isa/sio.c revison 1.167. 1997-05-19 12:39:42 +00:00
Satoshi Asami e2e7cf5071 Typo fix. Also, __FreeBSD_version of -current doesn't change after
each release anymore. :)
1997-05-19 12:32:34 +00:00
Peter Wemm d3e0a2504d Now I really understand the reason for the style.9 rule about not having
visible type names in prototypes in user space headers.  libutil.h
generates warnings with -Wall over the use of "const char *ttyname".
It's lucky it wasn't a #define conflict.
Is a single '_' prefix acceptable? or does it need to be two?
1997-05-19 10:04:15 +00:00
Jordan K. Hubbard 919d435ace Neaten up some things which were inconsistent, add a few more flags
to things which need them, general cleanup.
Submitted by:	Brian Somers <brian@awfulhak.org>
1997-05-19 07:46:51 +00:00
Jordan K. Hubbard 08aa3c9084 sysconfig -> rc.conf
PR:		3461
Submitted by:	"Donald J. Maddox" <root@cola97.scsn.net>
1997-05-19 07:30:45 +00:00
Jordan K. Hubbard 1be44fa424 accounting -> accounting_enable
Submitted by:	Jian-Da Li <jdli@csie.nctu.edu.tw>
1997-05-19 03:20:22 +00:00
Brian Somers 80e37c722b Output exit status description of child in background mode. 1997-05-19 03:02:36 +00:00
Brian Somers 6efd9292f6 Mega update to sort out bad implementations
of reconnect & -background.

o   Fix reconnect anomolies.
o   Make reconnect apply to failed LQR hangups (& mention in man page).
o   Make reconnect effective in -background mode.
o   Listen on socket in -background mode.
o   Try all phone numbers in -background mode.
o   Insist on system arg in -background mode.
o   Make a control-connection close command exit in -background mode.
o   Output status message to stdout on exit of parent in -background mode.
o   Don't notify parent of success too soon.
o   Describe termination EX_* code.
o   Miscelaneous diagnostic corrections.
o   Remove redundant connect_time from modem.c.
o   Don't repeatedly DownConnection().
1997-05-19 02:00:16 +00:00
Tor Egge fdc984f7b6 Break apart initialization of s and inp from the declarations in
in_setsockaddr and in_setpeeraddr.
Suggested by:	Justin T. Gibbs <gibbs@plutotech.com>
1997-05-19 01:28:39 +00:00
Steve Price b7059dd6df Add explicit y.tab.h rule so that 'make depend clean all' does
not fail with an "don't know how to make y.tab.h" error.
1997-05-19 00:29:29 +00:00
Steve Price e7a0b0244d Use the __unused attribute where warranted. 1997-05-19 00:18:52 +00:00