Commit Graph

7348 Commits

Author SHA1 Message Date
Justin T. Gibbs c5e0851d47 Major overhaul of the aic7xxx driver:
- catch the interrupt type (EDGE/LEVEL) before chip reset instead
	  of guessing the right type.

	- Add pause variable to the ahc struct to better handle the different
	  interrupt types and pausing the sequencer.

	- CLRINTSTAT -> CLRSCSIINT: This is a documented bit in the CLRINT
	  register in newer Adaptec documentation, so use their name for it.

	- Report valid residual byte counts.

	- Don't mess with the target scratch areas > id 8 on single, narrow,
	  channel devices.  The BIOS does a checksum of this area and can
	  flip out if we zero it out.

	- Initialize the sequencer FLAGS scratch ram variable in the single
	  channel devices to 0.  This was the cause of the annoying warning
	  where we would get a cmdcmplt the first time we did any type of
	  transfer negotiation with no valid scb.  It also fixes the problem
	  that looked like the INTSTAT register wasn't clearing fast enough.
	  This only showed up on 294x cards, not motherboard aic7870s.

	- Add the AHC_AIC7870 type and use it as the superset of aic7870
	  based controllers.

	- clear the sync offset section of the targ scratch area so that
	  we default to asyncronous transfers.  This was only a problem
	  for wide controllers because there was a scenario where the
	  offset wouldn't get updated before a data(out/in) phase would
	  occur.  This required some change in the sequencer code since we
	  were depending on this field to hold the rate to negotiate.

	- allow sync and wide negotiated commands to be tagged (the sequencer
	  now handles this properly).
1995-03-31 13:54:41 +00:00
Justin T. Gibbs 793ac7a94c Use EISA_MAX_SLOTS to be consistent with other EISA drivers.
Fix off by one error in slot probe.

Update some comments.
Submitted by: rgrimes@FreeBSD.org
1995-03-31 13:36:57 +00:00
Jordan K. Hubbard 6c7de23fdb Back out the previous commit. 1995-03-31 11:48:35 +00:00
Jordan K. Hubbard 18cc36fb15 Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by:	Tom Gray - DCA <dcasba@rain.org>
1995-03-31 11:47:39 +00:00
Jordan K. Hubbard 9cd4774910 Add modem database file for new tip changes. 1995-03-31 11:41:58 +00:00
Andrey A. Chernov c03e3a2617 Fix overrun error define name 1995-03-31 11:04:22 +00:00
Andrey A. Chernov dfd88e5a00 Fix typing error sneaked somehow in prev. commit 1995-03-31 11:01:29 +00:00
Nate Williams 7b1fcc6ab5 Forgot one FreeBSD specific change needed.
date: 1995/02/04 20:27:23;  author: phk;  state: Exp;  lines: +1 -1
added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-03-31 08:21:06 +00:00
Nate Williams 73a425b915 Temporarily disable building CVS to avoid anyone hosing up their CVS
tree until a bit more testing is done.

Submitted by:	rgrimes@gndrsh.aac.dev.com "Rod Grimes"
1995-03-31 08:00:06 +00:00
Nate Williams 01c3e6a55a Merged in FreeBSD necessary changes in. Note, all of our source
modifications were *not* merged in (FreeBSD-DEVELOPER and symlink) but
the source is now the stock sources.
1995-03-31 07:55:30 +00:00
Nate Williams 488f2c4c00 This commit was generated by cvs2svn to compensate for changes in r7516,
which included commits to RCS files with non-trunk default branches.
1995-03-31 07:45:34 +00:00
Nate Williams 30d2417fd3 Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:34 +00:00
Nate Williams 06d8715958 Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:34 +00:00
Nate Williams 789377fada This commit was generated by cvs2svn to compensate for changes in r7514,
which included commits to RCS files with non-trunk default branches.
1995-03-31 07:45:33 +00:00
Nate Williams 33afdd16ab Original sources from CVS-1.4A2 munged to fit our directory structure. 1995-03-31 07:45:33 +00:00
Jordan K. Hubbard 85fad26631 I noticed that the current version of ncftp dos not do the very useful
job af warning me about mail as my work version does. This patch will
will fix this for bash(1) if MAILPATH is exported:
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-31 07:02:49 +00:00
Jordan K. Hubbard ee0afc78a8 Patches to make this work with FreeBSD with the DCF77 Boeder Receiver.
This is only useful to European users (esp. Germans) as DCF77 transmits
from Frankfurt.
Submitted by:	Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-03-31 07:01:11 +00:00
Jordan K. Hubbard b32d3189e4 Diskless boot support for 3C509.
I'm not exactly sure why all the inb/outw stuff got added to netboot.h
and I'd be happy if someone like Martin or Bruce could take a look at it!
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-03-31 06:51:37 +00:00
Jordan K. Hubbard ec835d2414 * Promiscuous mode added and interrupt logic slightly changed
*  to reduce the number of adapter failures. Transceiver select
 *  logic changed to use value from EEPROM. Autoconfiguration
 *  features added.
Submitted by:	"Serge A. Babkin" <babkin@hq.icb.chel.su>
1995-03-31 06:41:38 +00:00
Jordan K. Hubbard 496ccdde57 I and Seiji Murata <seiji@mt.cs.keio.ac.jp> contributed 3C589 PCMCIA
Etherlink III 'zp' on 2.0R, but it did not work with the -current.
Noriyuki Takahashi <hor@aecl.ntt.jp> san has fixed this bug.

Our alpha-testers are tested this driver with 3C589B-COMBO and
3C589B-TP.  And it works fine.

I also fixed a little about the use of ZP_DEBUG symbol and beautified
the awful Frankenstein-style indent :-) with "indent -c0 -nfc1 -i4".

[Also merge with Bruce's last changes]

Submitted by: "HOSOKAWA Tatsumi" <hosokawa@mt.cs.keio.ac.jp>
1995-03-31 06:10:22 +00:00
Bill Paul 4b2f613d23 Rework error reporting/logging: although the SunOS documentation says
that ypxfr is supposed to log messages to /var/yp/ypxfr.log if it exists,
using syslog() makes more sense, especially since ypserv does the same
thing already. Try to use stderr by default, and use syslog() if stderr
is not a tty.

Also update the man page to reflect this change.
1995-03-31 05:45:23 +00:00
Joerg Wunsch c0106644ad Wolfram's latest update.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-31 04:00:53 +00:00
Jordan K. Hubbard 8d0f93af56 Missing const clashes with prototype definition in ntp_stdlib.h; fixed. 1995-03-31 02:30:15 +00:00
Stefan Eßer 244c89d543 Include <stddef.h> for standard definition of offsetof() instead of
defining it explicitly in the driver.
1995-03-31 00:05:08 +00:00
David Greenman 8a31826613 Backed out changes in rev 1.5 that prevent sending FIN if in CLOSING
state. This causes an infinite loop in some rare cases (probably caused
by some other, much more difficult to find bug).
1995-03-30 23:35:55 +00:00
Andrey A. Chernov ca9301398c This sl enhancement helps to keep serial line (modem) connection alive.
It is common case when modem hangs with carier on but don't
receive anything from another side.
This thing commonly healed with hangup and redialing.
Enhancements below allows to determine when such action
is needed and inform attach program with SIGURG signal.
There two ioctls set: outfill and keepalive, used from both
sides of connection. Outfill repeatedly sends FRAME_END with
specified timeout (i.e. 40 seconds). It is needed to get input on
other side even if no user activity on slip line currently.
Keepalive checks FRAME_ENDs from other side, and if no one
got in specified timeout (i.e. 60 seconds, max modem retrain time),
send SIGURG to attach program.
I plan to add code to slattach to handle this thing too.

Reviewed by: wollman
1995-03-30 20:43:32 +00:00
Poul-Henning Kamp 295a3379fe Make build work, even if there is no obj subdir. 1995-03-30 19:45:20 +00:00
Stefan Eßer 7685716d64 Do not try to negotiate synchronous SCSI transfers in the Boot Kernel. 1995-03-30 15:41:33 +00:00
Søren Schmidt 1fe226ce8b Update to new screen update method. 1995-03-30 15:10:20 +00:00
Søren Schmidt 90fffd8e85 Fix probe message printing 1995-03-30 14:33:03 +00:00
Søren Schmidt 085db34497 Emulate hw cursor closely, and get start&end scanlines from BIOS. 1995-03-30 14:32:31 +00:00
Jordan K. Hubbard db2a3eb2aa Add gencat to Makefile
Obtained from: NetBSD
1995-03-30 12:49:25 +00:00
Jordan K. Hubbard 4633c1ace8 Add the gencat command for creating message catalog fodder for the new
catgets* routines.
Obtained from: NetBSD
1995-03-30 12:49:09 +00:00
Jordan K. Hubbard 03060874ed Add a necessary include file for the catgets* routines.
Obtained from: NetBSD
1995-03-30 12:47:56 +00:00
Jordan K. Hubbard 6eaef61813 Add the nls code for XPG3-style message catalogs to libc.
Obtained from: NetBSD
1995-03-30 12:47:27 +00:00
Jordan K. Hubbard c7e6130943 Add nls include to Makefile. 1995-03-30 12:46:36 +00:00
Ugen J.S. Antsilevich 9289ddbe2e make pass work also as the first keyword
(while addf skipped)
Reviewed by:
Submitted by:
Obtained from:
1995-03-30 12:18:10 +00:00
Andrey A. Chernov 923782ecb6 Restore my function key configuration stuff which Rod promise to
restore but really didn't do it.
Restore message from old rc about configuring syscons whith
echo added before it to go to new line after "echo -n xtend" f.e.
and similar stuff.
1995-03-30 09:39:51 +00:00
David Greenman 7b0047e213 Made pmap_testbit a static function. 1995-03-30 08:55:39 +00:00
Poul-Henning Kamp 139762f2be Install the dlopen.3 manpage. 1995-03-30 06:40:31 +00:00
Rodney W. Grimes 8c0aac9163 Make the creation of the header line in /etc/motd be consistent
with other BSD based systems.

Submitted by:	wollman
1995-03-30 06:34:46 +00:00
Rodney W. Grimes 711aa1c272 This is the rc work as provided by pts, I will me makeing some additional
changes to it based upon other outstanding bug reports and commits made
after his work.

Comments:

(a) sysconfig is still used to do all configuration.  I was not going to
    change that out from under you.... a user never need edit netstart
    or rc* unless they're being very weird.

(b) rc.maint has been folded back into rc.  It is just unworkable as
    a separate chunk because of ordering bogosities

(c) netstart does what it says... it starts up enough of the network to
    get up,  it doesn't start every bloody daemon that might talk to a
    socket...  netstart ifconfig's the devices and sets up routing if
    configured to do so.

(d) nfs disks are mounted immediately after netstart completes

(e) syslog is started as early as possible (right after nfs) so that error
    messages can get logged to remote syslog servers properly

(f) named is started (there is an argument that says that named should be
    started before syslogd because if you are the dns server for your domain,
    you'd like named to resolve remote hosts in syslog.conf,  but this is
    a minority case and the trivial workarround is to put the syslog host
    in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog
    to catch named errors, which is a MUCH more important and likely occurance)

(g) NOW all of the rest of the network daemons such as the time stuff, RPC,
    NIS, NFS, Kerberos and inetd are started

(h) the rest of the generic stuff is done (cron/printer/sendmail)

(i) shared libraries are set

(j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2,
    xtend, and all of the syscons stuff
    (this is actually started as /etc/rc.`uname -m`

(k) the syscons stuff has gotten a serious cleaning to make it consistent
    with rc conventions

(l) rc.local has had the comments about syscons removed (they are not relevant
    to this file now) and the full name of the kernel has been restored to
    /etc/motd

Submitted by:	pts
1995-03-30 06:26:19 +00:00
David Greenman 97338af32f Killed Mr. "Falcon". May he rest in peace. 1995-03-30 05:46:17 +00:00
Andrey A. Chernov 8587890744 Move DSIMICROCODE ioctl to 85,
old value (88) is equal SLIOGUNIT ioctl
1995-03-30 05:17:50 +00:00
Bill Paul 8d36de4ea2 Ack... clean up the logfile name generation that I botched in the last
commit.
1995-03-30 04:21:31 +00:00
Bill Paul effe773667 Fix up the way _PATH_YP is used to put together the pathname to the
NIS maps (get rid of extraneous slash a la /var/yp//domainname).

Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a
tty. This should allow logging to be done when ypxfr is called from
inside ypserv in response to a yppush request.

Update man page to reflect the change (and fix a typo).
1995-03-30 04:14:46 +00:00
Andrey A. Chernov cddeed288c Fix default mailpath 1995-03-30 01:13:41 +00:00
Andrey A. Chernov 5c95f7a6dc Add Delete key description
Fix Right window/Left window/Menu keys numbers
1995-03-30 00:22:29 +00:00
Rodney W. Grimes ad0c439a34 Submitted by: Mahesh Neelakanta <mahesh@gcomm.com>
Change I/O address of Intel EtherExpress driver (ix0) from 0x280 to
0x300.
1995-03-30 00:20:08 +00:00
Andrey A. Chernov b480c2f090 Remove reference to examples/syscons 1995-03-30 00:10:31 +00:00