Commit Graph

45969 Commits

Author SHA1 Message Date
Bill Fenner
686d0736aa Fix coredump in gethostbyaddr() when the returned answer is too large to
fit in the static buffer.  This fix causes it to look like there is no
 data available, which is also wrong but is better than dumping core.

PR:		bin/10344
Reviewed by:	billf
Approved by:	jkh
2000-02-16 04:39:00 +00:00
Kazutaka YOKOTA
528b8853bb Make it clear that 'options XSERVER' is for pcvt and not for syscons.
Submitted by: Doug Barton <Doug@gorean.org>
Approved by: jkh
2000-02-16 04:27:04 +00:00
Matthew N. Dodd
8d5d0412c0 Track if_i{bytes,packets,errors}.
Approved by: 	jkh
2000-02-16 04:04:36 +00:00
Matt Jacob
af077239b6 Include the file that defines PCIM_CMD_BUSMASTEREN. 2000-02-16 02:22:37 +00:00
Mike Smith
7af42aebc4 Ensure that the busmaster enable bit is set; we can't assume that all
BIOS code will get this right (and some certainly doesn't).

Submitted by:	W. Gerald Hicks <jhix@mindspring.com>
Approved by:	jkh
2000-02-16 01:12:09 +00:00
Sean Eric Fagan
05d5ca3587 Fix a leak. (Thanks Bruce, this was a bonehead mistake on my part :).)
Submitted by:	Bruce Evans
2000-02-15 20:25:47 +00:00
Joerg Wunsch
2c6610f343 Hide the boring `not probed (disabled)'' messages behind bootverbose'.
This unspams the boot messages, concentrating on the drivers that have
actually been probed.

This basically resurrects revision 1.106 from old /sys/i386/isa/isa.c.

Reviewed by:	jkh, dfr
2000-02-15 19:23:34 +00:00
Andrew Gallatin
ac0bed8e35 The AlphaServer 1000A is now known to work. Remove mentions of it
being untested.

Approved by:	jkh
2000-02-15 18:49:27 +00:00
Andrew Gallatin
128f43c891 o Wilko Bulte has tested our AlphaServer 1000A ("Noritake") support
code & it survives a buildworld.  So remove the dire warnings about
  Noritake support being untested.

o Remove a disconserting printf() left over from NetBSD

Approved by: 	jkh
2000-02-15 18:47:51 +00:00
Jordan K. Hubbard
7db56b4c3e Add userconfig entries for the new atapi devices.
Submitted by:	Dan Papasian <bugg@bugg.strangled.net>
2000-02-15 18:33:25 +00:00
Yoshinobu Inoue
66182096e8 Fix pathname of pim6sd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:33:22 +00:00
Yoshinobu Inoue
c00ba6b645 Fix pathname of pim6dd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:30:24 +00:00
Yoshinobu Inoue
b85d5dc850 -P option was not enabled, so enable it
(The option specify IPsec policy for rtadvd to receive Router Renumbering
messages.)

Approved by: jkh
2000-02-15 18:24:27 +00:00
Yoshinobu Inoue
9bf48e31c5 Correct pathname of rtadvd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:21:38 +00:00
Jordan K. Hubbard
46fed58ae1 Include /usr/libexec in the list of upgrade targets by chflags'ing it first. 2000-02-15 18:13:56 +00:00
Bruce Evans
34ae9210dd Fixed regressions in rev.1.274:
1) Non-AST4 multiport cards were broken by bypassing the code that changes
   `idev' to the multiport master device.
2) AST4 multiport cards apparently were broken by inverting the test for
   the master device having an irq.
3) Error handling for nonexistent master devices was broken by removing a
   check for a null pointer.
4) `int' error codes returned by bus_get_resource() were assigned directly
   to the boolean variable com->no_irq.  Probably harmless, since the
   boolean is implemented as a u_char.

Submitted by:	part 1) by Chris Radek <cradek@in221.inetnebr.com>
		part 2) by yokota
Approved by:	jkh
2000-02-15 17:29:09 +00:00
Yoshinobu Inoue
1d1ade86f0 Fix bugs in telnet.
Sorry there were still several bugs.
   -error retry at af missmatch was incomplete.
   -af matching for source addr option was wrong
   -socket was not freed at retry.

Approved by: jkh
2000-02-15 15:59:12 +00:00
Yoshinobu Inoue
1132b408c5 Add -4 and -6 options.
Current getaddrinfo() implemetation has a problem of too much resolving
 waiting time on INET6 enabled systems.
 -4 and -6 options can limit name resolving address family and is a possible
 workaround for the problem.

Approved by: jkh
2000-02-15 15:11:40 +00:00
Yoshinobu Inoue
f5abb8467c Add IPv6 loopback entry into src/etc/hosts.
Missing IPv6 loopback name record cause name resolving lock
  on INET6 enabled systems in some cases.
  So define it.

Approved by: jkh
2000-02-15 14:59:16 +00:00
Poul-Henning Kamp
6fdb2d8e5c No arguments needed for fore_dnld any longer.
Approved by:	jkh
2000-02-15 13:21:43 +00:00
Poul-Henning Kamp
00494e78d5 With the kind permission of Marconi Communications (Formerly "Fore Communication"
include a copy of the 3.0.1 firmware for the PCA200E card in the fore_dnld
program.

There are various and subtle compatibility issues between the hfa driver and
the microcode, this version is belived to work best.

If a file is specified on the command line it will be used instead of the
embedded image.

Approved by:		jkh
2000-02-15 13:20:58 +00:00
Poul-Henning Kamp
693e27d473 Don't try to account for the partial quantum unless the process is
curproc.  This only makes any difference on SMP, where we used a
(potentially very bogus) switchtime from our own CPU to calculate
resource usage on another CPU.

This should remove some if not all calcru() related warnings on SMP.

Approved by:		jkh
2000-02-15 09:02:07 +00:00
Kazutaka YOKOTA
1e6c9556ad Change the text in the mouse protocol menu to indicate that protocols
for serial mice won't work with the PS/2 and bus mice.  No functional
change.

Approved by: jkh
2000-02-15 08:51:34 +00:00
Martin Cracauer
30de91e8b8 Allow comments in interpreter specification lines as in
#! /bin/sh # -*- perl -*-

This is simply "delete everything after the next '#', not counting the
first char in the line". No effort has been made to allow quoting,
backslash escaping or '#' in interpreter names.

The complies to POSIX 1003.2 in that Posix says the implementation is
free to choose whatever it likes.

PR:		bin/16393
2000-02-15 08:49:57 +00:00
Martin Cracauer
c11e75cfcf Fix ${#varname} (getting length of string) when in double-quotes.
Approved-by:	jkh

PR:		bin/12137
Submitted by:	"Danny J. Zerkel" <dzerkel@columbus.rr.com>
2000-02-15 08:00:11 +00:00
Jordan K. Hubbard
01ce53ab1c The people frobbing this file seem constitutionally unable to do so
without breaking it.  Use ${.CURDIR} properly so that beforeinstall
target will actually work in the presence of an obj dir.
2000-02-15 07:15:41 +00:00
Chris Costello
5ed909462a - Properly indent $FreeBSD$
- Remove NOOBJ to repair read-only building.

Submitted by:	bde
Approved by:	jkh
2000-02-15 04:27:46 +00:00
Bill Swingle
1d2ed2f751 PR: 10850
Submitted by:	Scott Hazen Mueller <scott@zorch.sf-bay.org>
2000-02-15 03:00:47 +00:00
Matt Jacob
a6dd44dea5 Add comments about 12160 options.
Approved: jkh
2000-02-15 01:08:27 +00:00
Matt Jacob
b6f774e39b Fix ITDEBUG macro.
Approved: jkh
2000-02-15 00:54:26 +00:00
Matt Jacob
14a3729325 Correctly identify which bus of dual bus SCSI adapters some target mode
commands (enable/disable/modify lun && immediate notify) we're talking about.

Approved: jkh
2000-02-15 00:53:49 +00:00
Matt Jacob
d667c06c77 Clean up some target mode debug messages. Fix (finally, I believe)
Andrew's problems with SCSI on some alphas- do not call isp_update
directly to update parameters- just mark them as being ready to
update for the next command- the system would just hang on a READ
CAPACITY for a drive. Really annoying because it wouldn't even timeout
(and it has a timeout) so either the SET PARAMETERS call was nuking
things or the f/w was really dropping the ball.

approved: jkh

Reviewed by:	gallatin@freebsd.org
2000-02-15 00:52:52 +00:00
Matt Jacob
e142669a43 If the CDB length is greater than 12 for parallel SCSI, ispscsicmd has
made the initial queue entry a EXTENDED CMD queue entry, so we have to
go straight to continuation segments for any data segments.

approved: jkh
2000-02-15 00:50:01 +00:00
Matt Jacob
fe4d046167 Clean out residual bogosity for fast posting stuff- ISP_NO_FASTPOST_SCSI
is gone as a define. We just don't support fast posting for anything less
than the 1240/1080/1280/12160 or Fibre Channel cards.

Put in support for CDB's larger than 12 bytes for parallel SCSI (up to 44
bytes are allowed).

Approved: jkh
2000-02-15 00:35:00 +00:00
Matt Jacob
ccbbdad719 Add isp.4 man page.
approved:jkh
2000-02-14 23:48:12 +00:00
Matt Jacob
a90b37e0a4 Add (finally) Qlogic man page.
approved: jkh
2000-02-14 23:47:55 +00:00
Matt Jacob
f79abbd357 Update and provide full Qlogic controller support info.
approved: jkh
2000-02-14 23:46:52 +00:00
Cameron Grant
73bd6f4aab fix ess end-of-buffer repeating
Submitted by:	nhibma
Approved by:	jkh
2000-02-14 23:37:02 +00:00
Nick Sayer
228524cb50 Add a blurb about SRA-enhanced telnet.
Not-Approved-by: jkh (he said documentation didn't need it)
2000-02-14 19:38:38 +00:00
Justin T. Gibbs
8425f9e744 Add references to new device support. 2000-02-14 16:41:08 +00:00
Justin T. Gibbs
7ddcd25763 Add references to new device support.
Add information on target mode.

Add more entries to the bugs sections (all having to do with target mode).
2000-02-14 16:40:58 +00:00
Justin T. Gibbs
3aae61260c Add references to new device support in the ahc, adv, and adw drivers. 2000-02-14 16:40:09 +00:00
Peter Wemm
b5c060826a s|/dev/log|/var/run/log| 2000-02-14 13:26:57 +00:00
Kris Kennaway
0c7304fede Back out the previous commit - it broke world and was not approved.
I don't know what I was thinking committing without approval - sorry.
2000-02-14 08:09:52 +00:00
Warner Losh
fb154652e7 More cards from posts to -mobile. 2000-02-14 08:02:27 +00:00
Peter Wemm
e463cfe7b6 Fix is_splxxx() warnings when not compiled with INVARIANT_SUPPORT.
Approved by:	jkh
2000-02-14 06:11:53 +00:00
Peter Wemm
194a0b6c97 Avoid a panic in __getcwd(2) when combined with umount -f. 2000-02-14 06:09:01 +00:00
David E. O'Brien
1e2901e23b Add libwrap and libutil from 3.4-RELEASE due to shlib version bump in 4.0. 2000-02-14 04:29:45 +00:00
Yoshinobu Inoue
3a6be83f49 Update major version.
Now libutil depends on libc.so.4, so needs to update the major version.
    Without this, old binaries which use libutil and build with libc.so.3
    will coredump on recent 4.0.

Solicited comment for cvs-committers and there seems to be no objection.

Approved by: jkh
2000-02-14 03:55:27 +00:00
Chris Costello
111b70aa08 Remove the version information from `.Os FreeBSD' here. Not only
might it confuse people, but it causes a warning message with
nroff, and no version history mentions a 1.2 version of FreeBSD.

If anything, a ``HISTORY'' section should show which version this
appeared in.
2000-02-14 01:47:54 +00:00