Commit Graph

42025 Commits

Author SHA1 Message Date
luoqi
990795606c A few improvements and cleanups. 1999-10-21 21:15:02 +00:00
wpaul
6ac7cdd715 Make some tweaks to the RealTek driver:
- Fix a bug in rl_rxeof() handler: in the case where the packet wraps
  from the end of the receive buffer back to the beginning, we need to
  insure that at least sizeof(ether_header) bytes make it into the first
  mbuf. If we don't, then doing eh = mtod(m, struct ether_header *)
  loses. To avoid this, we use m_pullup() to suck at least MHLEN -
  RL_ETHER_ALIGN bytes into the first mbuf, which should also help
  small packets fit into a single mbuf.

  Pointed out by: Philip A. Prindeville <philipp@zembu.com>

- Make the transmit threshold autotuning: start off with a small value
  and jack it up when TX underruns are detected.

- Also improve TX error recovery: kick the chip in the head with a
  reset/init sequence to make sure it recovers afer a transmit error.
1999-10-21 19:42:03 +00:00
luoqi
e2a07af8e9 Non-functional changes. Add some comments before I start to forget how
everything works myself.
1999-10-21 15:49:25 +00:00
julian
8c2a435f28 fix typo 1999-10-21 14:31:32 +00:00
mpp
ca47257e31 Correctly document the -V and --version options.
PR:		docs/14417
Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
1999-10-21 11:30:10 +00:00
marcel
90f63b1ea8 Fix the duplicate filenames that are the result of using getdents.
glibc2 defines struct dirent differently than the Linux kernel does.
The getdents function therefore needs to read a heuristically defined
number of kernel dirents to satisfy the request. In case where too
many kernel dirents have been read, the function lseeks on the
directory so that a next call will start with the right dirent. The
offset used in lseeking is the offset-field in the last dirent passed
to the application. This can only mean that the offset-field holds
the offset of the next dirent and not the offset of the dirent itself.
1999-10-21 09:14:49 +00:00
luoqi
f9075340a8 Resurrect the aic driver. 1999-10-21 09:12:18 +00:00
julian
c5c63975d5 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
luoqi
028ec91c46 Add aic CAM driver support. 1999-10-21 09:00:20 +00:00
luoqi
5dab878b88 Adaptec 6260/6360 CAM driver. 1999-10-21 08:56:53 +00:00
julian
37b81ac9d3 Test commit of first Netgraph file 1999-10-21 07:27:47 +00:00
julian
698af92f86 Cleanup towards -Wall 1999-10-21 07:08:56 +00:00
bp
15e239d7e5 Use ${INSTALL} instead of 'install'. 1999-10-21 01:50:21 +00:00
brian
e9a7ac15d7 If we're running ppp -direct over a tcp or udp connection,
record the IP number in the `from' slot and not the tty slot.
We put ``ppp'' in the tty slot - in line with what ftp (and
probably others) does.
1999-10-21 01:19:23 +00:00
brian
113b2d5788 Don't go from PHASE_NETWORK to PHASE_ESTABLISH when we want to
re-open a device.  The fact that we're in NETWORK phase indicates
that there are other links in DATALINK_OPEN and that we don't want
to stop using them.
1999-10-21 00:19:33 +00:00
gallatin
d94d9af9ee fix a serious bug where, on alpha, due to a an int/long type mismatch,
the uid arg to use_yp() was getting clobbered by the call to my_yp_match().
This led to a problem where a NIS user could edit root's passwd information.
1999-10-20 15:20:00 +00:00
ru
d73b3f074e Remove one obsoleted entry from the BUGS section. 1999-10-20 12:59:35 +00:00
bp
f62abf8589 Add ncplist program. That makes minimal set of ncp
utilities to use NetWare volumes. Other functionality
(ncpsend, ncprint) will be added later.
1999-10-20 11:31:02 +00:00
tg
aea37455ea Fix termcap % code processing for some terminals.
Submitted by:	Ross Ridge <ross@zooid.guild.org> via
		buster@lambda.hh.provi.de (Andreas Burmester)
1999-10-20 08:52:09 +00:00
ru
cacca31f11 Allow for incoming DNS UDP queries. 1999-10-20 08:15:13 +00:00
billf
ec7bf4a432 mergemaster bmake glue. 1999-10-20 07:33:09 +00:00
billf
c52eba8b74 This commit was generated by cvs2svn to compensate for changes in r52400,
which included commits to RCS files with non-trunk default branches.
1999-10-20 07:22:52 +00:00
billf
0df9ba5e6f Import mergemaster into the tree, a product of freebsdcon.
Submitted by: 	Doug Barton <doug@gorean.org>
1999-10-20 07:22:52 +00:00
dillon
a7d2b0d180 A tentative agreement has been reached in regards to a procedure
to remove 'b'lock devices.  The agreement is, essentially, that
    block devices will be collapsed into character devices as a first
    step (though I don't particularly agree), and raw device names 'rxxx'
    will become simply 'xxx' in devfs in the second step (i.e. no 'rxxx'
    names will exist).  The renaming will not effect the original /dev
    and the expectation is that devfs will eventually (but not immediately)
    become the standard way to access devices in the system.

    If it is determined that a reimplementation of block device access
    characteristics is beneficial, a number of alternatives will
    be possible that do not involve resurrecting the 'b'lock device class.
    For example, an ioctl() that might be made on an open character device
    descriptor or a generic buffered overlay device.

    This commit removes the blockdev disablement sysctl which does not
    apply to the solution that was reached.
1999-10-20 06:31:49 +00:00
dwhite
6ee2209df1 Change MFS sizes to 2400k since gzip will compact free space anyway.
Add 'install' to the internal floppy type list.
1999-10-20 04:48:35 +00:00
peter
9417f5ac30 Remove pccard attachment stub, this caused pccard unit 0 to be allocated
and unusable by the pccard system since pccard doesn't attach to the
nexus any more.  This was stopping my 3c589D from working as pccard unit
0 is used directly for resource allocation and this fails when unit 0
isn't actually attached to anything.
1999-10-19 17:12:28 +00:00
brian
39e862702c Add the -unit command line switch for specifying the tun device.
Warn about -alias being depricated (but still allow it).
Don't moan twice about failing to open any tun device.
Fix a diagnostic and add the -quiet switch to the usage message.
1999-10-19 15:21:09 +00:00
dcs
caa1d92529 Make the "machine" target a prequisite to all source files.
Hinted-at by: bde
1999-10-19 03:53:59 +00:00
chris
a0f6301583 Give credit where credit's due. The previous commit should have the following
information:

PR:		docs/14407
Submitted by:	Greg Lewis <glewis@trc.adelaide.edu.au>
1999-10-18 23:03:47 +00:00
chris
41d570210c Fix a few typos (capitalization and punctuation).
PR:		docs/14407
Submitted by:	grog
1999-10-18 22:40:13 +00:00
ache
37bf0dde34 Add ua.koi8-u.kbd
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-10-18 22:17:08 +00:00
ache
8991712672 Add uk_UA.KOI8-U
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-10-18 22:04:06 +00:00
ache
503fdf43b3 Add uk_UA.KOI8-U
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-10-18 21:57:33 +00:00
ache
d7fbad0ea3 add uk_UA.KOI8-U
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-10-18 21:49:02 +00:00
ache
1ad28a7a19 add uk_UA.KOI8-U locale dirs 1999-10-18 20:18:04 +00:00
gallatin
a84f7947e5 Increase the timeout to be 3*hz. This recalibrates the timeout so that
it has the same value on all platforms.  Previously it was just under
3 seconds on x86 (typically hz<=128) and just under 1/3 of a second on
alpha (typically hz>=1024).  This covers up a race between ad_interrupt()
and ad_timeout() which is being looked into.

reviewd by: sos
1999-10-18 17:55:38 +00:00
phk
ed12aa381a Change the default for the vfs.bdev_buffered sysctl to zero.
This means that access to block devices nodes will act the
same as char device nodes for disk-like devices.

If you encounter problems after this, where programs accessing
disks directly fail to operate, please use the following command
to revert to previous behaviour:

        sysctl -w vfs.bdev_buffered=1

And verify that this was indeed the cause of your trouble.

See the mail-archives of the arch@FreeBSD.org list for background.
1999-10-18 16:59:50 +00:00
ache
ca90f5632f For emacs key binding clearly describe ^t/^u as "begin of file"/"end of file"
Old description "start of text"/"end of text" is too confusing assuming
text currently visible on the screen
1999-10-18 16:30:35 +00:00
ache
3f6dceea18 Moved to share 1999-10-18 14:00:59 +00:00
ache
92054f6774 Add colldef 1999-10-18 13:57:10 +00:00
ache
b994cdb165 Add 8859-5, remove BUILD_TOOLS ifdef 1999-10-18 13:54:51 +00:00
ache
ac9aa13de2 moved to share 1999-10-18 13:47:02 +00:00
ache
89a3748f38 Move sources one directory up 1999-10-18 13:39:50 +00:00
sheldonh
c66f2c8434 Append missing newline to log() message for permanent ARP modification
attempt warning, which was added in rev 1.48 .

PR:	14371
Submitted by:	sec@pi.musin.de (Stefan `Sec` Zehl)
1999-10-18 11:56:50 +00:00
bp
c43de700de Allow suppress printing of lines with zero counts
for an IPX address family.

PR:		14168
1999-10-18 05:45:05 +00:00
mdodd
00deed7eff This fixes the problem with SMC NE2000 cards hanging the box on
bootup.  Somehow my backout of an abortaive attempt at shared
memory autoconfiguration included this line:

        sc->mem_shared = 1;

Which is fairly important as it turns out.

Since I performed my pre-commit testing on a different box with a generic
NE2000 I didn't catch this.  Pointy hat.
1999-10-18 04:27:33 +00:00
green
9c379f2ef7 Fix a few things. Unbogosify a free(), {,UN}MARK with correct args, and
fix count checks.

Submitted by:	Martin Blapp <mb@imp.ch>
1999-10-18 03:52:20 +00:00
grog
5ccb30bf1f sdio_done:
Set the errors in the correct buffer header.

Inspection-provoked-by: Bernd Walter <ticso@cicely.de>
1999-10-17 23:56:47 +00:00
grog
a1894992f3 launch_requests:
Put splbio protection around the main launch loop.  We've seen cases where
  the bottom half was cutting off the branch on which we're sitting.

Experienced-by: Michael Reifenberger <root@nihil.plaut.de>
1999-10-17 23:55:10 +00:00
dwhite
12aedb126c Reverse the sense of the /mnt/boot/defaults dir check. This was causing
the bootloader to not load the loader.conf and thus the MFS image.  The result
was 'panic: no init'.
1999-10-17 22:42:57 +00:00