Commit Graph

45346 Commits

Author SHA1 Message Date
Peter Wemm 931e989797 Always leave SP_DCEN on (monitor DCD). Otherwise the firmware *really*
does ignore DCD.  Even TIOCMGET cannot read DCD as the firmware doesn't
report it.  This has pretty interesting effects for ppp(8) which runs
in clocal mode and polls carrier (!).  (Specialix's linux driver does
this too)

Also update the firmware to 3.0.6 for the SX cards, as apparently there
was a problem with floating (disconnected) DCD pins causing stray carrier
transitions, especially at port open time.

It seems to work here, and carrier loss is detected nearly immediately
rather than having to wait for a LQR timeout (a few minutes) before ppp(8)
gives up.

DCD problem noted by: nsayer
2000-01-25 16:45:54 +00:00
Yoshinobu Inoue 0cac72f42c several tcp apps IPv6 update
-inetd
 -rshd
 -rlogind
 -telnetd
 -rsh
 -rlogin

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
2000-01-25 14:52:10 +00:00
Sheldon Hearn 71207448cf Improve the explanation on the (in)security of mktemp(3). 2000-01-25 13:58:46 +00:00
Munechika SUMIKAWA d59590d848 Fix return value check for inet_pton().
Obtained from:	KAME Project
2000-01-25 13:54:47 +00:00
Ruslan Ermilov 6f3dbe5e1a Now that kernel is capable of notifying user processes about
the interface MTU change (src/sys/net/if_sl.c,v 1.83), track
interface MTU with -dynamic option as well.

PR:		15494
2000-01-25 12:24:06 +00:00
David E. O'Brien 3b9aa3617c Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out.  And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.
2000-01-25 12:23:13 +00:00
David E. O'Brien e54b3aebe0 Fix English. Also use full spelling and reorg a little while I'm here.
Submitted by:	Andy Farkas <andyf@speednet.com.au>
2000-01-25 11:25:59 +00:00
Bruce Evans b10e61549b Remove i8042.h. This file is an improvement on its successors, but it
has been unused for too long.
2000-01-25 11:16:16 +00:00
Nick Hibma fcc56d9930 Install the USB include files in /usr/include/dev/usb.
We should still sort out some way of avoiding the clutter. Not all files
should be there.

Prompted by:   Louis A. Mamakos <louie@TransSys.COM>
2000-01-25 09:24:23 +00:00
Bruce Evans f4675a30ed Don't follow null pointers if we somehow have a null devswitch entry
despite having a non-null cn_tab entry.  This case now works the same
as if there is no physical console, except i/o at the kernel printf
level may still work.  This frees drivers of physical console drivers
from the responsibility of attaching the device no matter what.
2000-01-25 09:20:08 +00:00
Bruce Evans be16a3aba0 Fixed the profiling version ALTENTRY(). Again. The previous version
didn't set up the frame pointer before calling mcount, and then jumped
to the wrong place in ENTRY() to defeat the point of the jump.
2000-01-25 09:01:55 +00:00
Bruce Evans 615e071ef3 Removed ssc and su. 2000-01-25 08:46:15 +00:00
Bruce Evans 0e898a451c Fixed breakage of installation of zzz.8 in previous commit. MLINKS
consists of pairs of link names.
2000-01-25 08:39:15 +00:00
Peter Wemm 906ce4ba52 s/pass0/pass/ so the passthrough device is removed from BOOTMFS. 2000-01-25 07:25:58 +00:00
David E. O'Brien 873bfb6396 Remove historical vestage from the days when there was 1 boot floppy for
i386 and 2 for the Alpha.

Ok'ed by:	JKH
2000-01-25 07:07:32 +00:00
David E. O'Brien 7885e8b5d8 Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out.  And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.
2000-01-25 06:58:15 +00:00
Matt Jacob 8dc7582ba5 put things in place for jumbograms 2000-01-25 06:09:53 +00:00
Jordan K. Hubbard c798682445 o Fix http proxy code for various extentions and deal with FTP archive
format changes.

o Make anonymous ftp setup more analy retentive.

PR:		16070
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-01-25 05:56:49 +00:00
Matt Jacob 110bbc0dcf define jumbo packet size 2000-01-25 04:11:33 +00:00
Archie Cobbs 931f2cebff Reserve a major number for /dev/skip, used by the "security/skip" port. 2000-01-25 02:11:02 +00:00
Matthew Dillon b2dc65a8d3 Type-o, change from[...] = 0 to fromb[...] = 0. The incorrect buffer
was having its last element zero'd.  It turns out not to be a security
    hole or to have any real effect on the code because 'from' was previously
    pointing to a buffer of the same size as 'fromb', and the last
    element in fromb is already 0 anyway due to the use of sizeof(fromb)-1
    in the strncpy() call.  But I'm not pressing my luck so only the type-o
    is being fixed.
2000-01-25 01:51:21 +00:00
John Polstra 5bc2f0f789 Block almost all signals in the default locking method instead of
just a few of them.  This looks like it solves the recent

  ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/lockdflt.c:55

failures seen by some applications such as JDK.
2000-01-25 01:32:56 +00:00
Yoshinobu Inoue 69a3468578 Avoid m_len and m_pkthdr.len inconsistency when changing m_len
for an mbuf whose M_PKTHDR is set.

PR: related to kern/15175
Reviewed by: archie
2000-01-25 01:26:47 +00:00
Yoshinobu Inoue e2de10abe4 Fix the bug that IPv4 ttl is not initialized when AF_INET6 socket is used
for IPv4 communication.(IPv4 mapped IPv6 addr.)
Also removed IPv6 hoplimit initialization because it is alway done at
tcp_output.

Confirmed by: Bernd Walter <ticso@cicely5.cicely.de>
2000-01-25 01:05:18 +00:00
Matthew Dillon 1bd87e1b32 'start' command was not reenabling printing.
PR: bin/15728
2000-01-24 23:30:38 +00:00
Philippe Charnier 8743d3dc99 Back out previous commit minus spelling fixes. Should have asked maintainer
before.
2000-01-24 22:08:19 +00:00
Archie Cobbs 2476d833fb Fix typo for the flag ``--ungzip'' which should have been ``--gunzip''
as is documented in the man page.  Retain the older mistaken version
of the flag for backwards compatibility in case anybody is using it.
Add $FreeBSD$ tag as cvs requires it.

PR:		gnu/7800
2000-01-24 21:38:18 +00:00
Søren Schmidt fe08efdcfb General cleanup.
Dont be so verbose in the probe, only ONE line printed now, to get more
info boot verbose. Centralise most printf's in ata-all & ata-dma to use
the ata_printf function, it saves alot of codelines.

Repeat the identify command if drive fails the first.

Protect the timeout functions with splbio.

Dont update the transfer details before we are sure the transfer
succeded, this way they are proberly retried on errors.

Move the handling of next_writeable to userland.

Use the READ_CD command to read CD's. That enables us to read _anything_
via the normal read/write interface. This kindof obsoletes the READAUDIO
ioctl, but we keep that for now.
2000-01-24 20:45:24 +00:00
Mark Murray 268139931b Another target to keep "make release" orthogonal. 2000-01-24 20:45:13 +00:00
Mark Murray 5e8c735fa3 Make a "do nothing" target to help "make release" look clean. 2000-01-24 20:41:08 +00:00
Brian Somers 367d34f853 Move the *intrq variables into net/intrq.c and unconditionally
include this in all kernels.  Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.

Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.

Review not required by: freebsd-hackers
2000-01-24 20:39:02 +00:00
Søren Schmidt bba60a9636 Update to keep track of next_writeable in userland.
Recompile both kernel & burncd !!
2000-01-24 20:29:42 +00:00
Mark Murray 6f5a240646 Add a (commented out) macro that will, when uncommented, cause Kerberos5
(AKA Heimdal) to be built. Suitable admonishments about the experimental
state of this code are included.

SEROUS HACKERS ONLY!!
2000-01-24 20:16:41 +00:00
David E. O'Brien 9c8a631de5 Merge cc_drv into cc_int. Merge more shared files into cc_int. 2000-01-24 20:12:05 +00:00
Mark Murray d092560c58 Build Kerberos5 if the correct macro is set. This is not for the
faint_hearted; serious hackers only!
2000-01-24 20:11:53 +00:00
Mark Murray 9c36b0c57c Grr...
The previous commit comment should have been:
"Attach directory to build".
2000-01-24 20:07:39 +00:00
Mark Murray d12b18b9fb Move CFLAGS to a more obvious place and allow INET6 to work. 2000-01-24 20:06:02 +00:00
Mark Murray 9085ca309f Move CFLAGS to a more obvious place and allow INET6 to work properly. 2000-01-24 20:04:47 +00:00
Mark Murray 0de66b379c Bring in rest of K5 (AKA Heimdal) userland.
The brave amongst you may want to start playing with this (ATM
experimental) code.
2000-01-24 19:56:26 +00:00
Jeroen Ruigrok van der Werven f63bcb274d Update my email address. 2000-01-24 19:36:52 +00:00
Jeroen Ruigrok van der Werven 079f468a70 Add AUTHORS section. 2000-01-24 19:34:47 +00:00
Guido van Rooij 68d1433483 We _do_ support MS_ASYNC
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
2000-01-24 18:35:16 +00:00
Bill Paul f43d9309a5 Add support for DM9102A boards with Davicom DM9801 HomePNA PHYs. 2000-01-24 17:19:37 +00:00
Peter Wemm d224cddc38 Copy i386/isa/atapi-cd.[ch] to a new name so that it doesn't have the
same object file (atapi-cd.o) as the ata drivers. I'd have called it
wcd.[ch], but there's already one of those in the Attic that we can't
clobber - the good names are taken.
Fix building so that it can be compiled into LINT alongside ata.

Requested by:	bde
2000-01-24 17:16:03 +00:00
Ruslan Ermilov 2a787d5e7d Update skeleton dir file from the latest install-info(1). 2000-01-24 16:18:12 +00:00
Ruslan Ermilov 673494c6ca o No need to install `dir-tmpl' to /usr/share/info.
o Do not clobber an existing /usr/share/info/dir.

Reviewed by:	bde
2000-01-24 16:14:32 +00:00
Ruslan Ermilov a342f0f67c o Use --defsection and --defentry options of install-info(1) instead of
"fancy substitutions".
o Invoke install-info(1) with --quiet to automatically remove duplicate
  Info dir entries.

Reviewed by:	bde
2000-01-24 16:11:19 +00:00
Jeroen Ruigrok van der Werven cda5a90f00 Add dependant devices (device pci) that need to be present before
this driver can be used.
2000-01-24 16:09:45 +00:00
Ruslan Ermilov 76ac4b7bf9 Quietly delete duplicate Info entries with --quiet.
Reviewed by:	bde
2000-01-24 16:05:17 +00:00
Jeroen Ruigrok van der Werven 5c9037ff73 Bah! Give me the pointy hat. Never commit fixes when just awake.
anable -> enable

Spotted by:	Alexander Leidinger <Alexander@leidinger.net>
2000-01-24 15:21:43 +00:00