Commit Graph

30970 Commits

Author SHA1 Message Date
Bill Paul
cdb5ef5fba Fix handling of ENOBUFS condition. During reception, the filled mbuf
cluster from the RX descriptor is passed up to the higher layers and
replaced with an empty buffer for the next time the descriptor comes
up in the RX ring. The xl_newbuf() routine returns ENOBUFS if it can't
obtain a new mbuf cluster, but this return value was being ignored.
Now, if buffer allocation fails, we leave the old one in place and
drop the packet. This is rude, but there's not much else that can be
done in this situation.

Without this, the driver can cause a panic if the system runs out of
MBUF clusters. Now it will complain loudly, but it shouldn't cause a
panic.

Also added another pair of missing newlines to some printf()s.
1998-08-31 15:26:09 +00:00
Doug Rabson
2d9dae457a All libs build on alpha now. 1998-08-31 13:47:38 +00:00
Doug Rabson
11c0474d23 Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
Andrzej Bialecki
d238f54044 init.ee was being copied to wrong place.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:39:01 +00:00
Andrzej Bialecki
c6e41959d6 Add HOME variable to environment.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:36:43 +00:00
Andrzej Bialecki
1cc627a8e0 Remove some mysterious passwords (they are not used here anyway).
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:36:24 +00:00
Andrzej Bialecki
8a8ace1c23 Add link gzip -> gzcat
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:35:39 +00:00
Andrzej Bialecki
b0dcafa983 Remove CVS directories from the target floppy.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:35:06 +00:00
Andrzej Bialecki
9ba61eac9d We need only one device entry for PCI eth. cards.
Submitted by:	Luigi Rizzo <luigi@iet.unipi.it>
1998-08-31 13:21:45 +00:00
Andrzej Bialecki
94a87eb41a Oops.. Forgot to add the Makefile
Submitted by:	Jim Flowers <jflowers@ezo.net>
1998-08-31 13:10:25 +00:00
Andrzej Bialecki
2bbb4d132b Corrections and additions to FAQ. 1998-08-31 13:08:16 +00:00
Andrzej Bialecki
8856617191 The file /README mentioned here doesn't exist. Don't mention it.
Submitted by:	Jim Flowers <jflowers@ezo.net>
1998-08-31 12:50:31 +00:00
Andrzej Bialecki
3df8e17a55 Clean leftovers from localization of help files. 1998-08-31 12:45:47 +00:00
Andrzej Bialecki
6ccd368bfb We no longer need /proc dir, but we need /root...
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 12:32:30 +00:00
Andrzej Bialecki
0a4f14db2a Better explanation of CONFlict between sc0 and psm0.
Submitted by:	 Eric P. Scott <eps@sirius.com>
1998-08-31 12:28:39 +00:00
Brian Somers
c9a426e9e1 Remove OpenBSD build support - let the Makefile vary per
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
1998-08-31 12:14:32 +00:00
Brian Somers
7100135f12 Remove OpenBSD build support - let the Makefile vary per
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde

Add Id keyword.
1998-08-31 12:14:30 +00:00
John Birrell
0cdd2a270f Force OBJFORMAT=aout. 1998-08-31 11:43:26 +00:00
Jordan K. Hubbard
e11952d397 Argh! *Now* the correct 3.0 fix is committed. 1998-08-31 10:53:33 +00:00
Joseph Koshy
a6054afb48 Move setting of 'crt' mail variable to {/usr/src}/etc/mail.rc. 1998-08-31 10:53:06 +00:00
Jordan K. Hubbard
51509b513f Whoops! Stamp out a 2.2-ism that snuck between branches here. 1998-08-31 10:51:19 +00:00
Jordan K. Hubbard
87757a15d3 Accept gateway value of NO 1998-08-31 09:02:03 +00:00
Doug Rabson
f12eb036fd Change to use FreeBSD device major numbers and tty definitions. 1998-08-31 08:57:56 +00:00
KATO Takenori
582e52862a - hw.machine_arch returns cpu architecture type.
- moved definition of MACHINE_ARCH from cpu.h to parm.h as alpha.
- Added definitions of _MACHINE and _MACHINE_ARCH.
- Added hw.ispc98. The hw.ispc98 is 1 in PC98 kernel and is 0 in
  IBM-PC kernel.

Discussed with:	John Birrell <jb@FreeBSD.ORG>
1998-08-31 08:41:58 +00:00
Jordan K. Hubbard
2394cd9adb Initial support for using linux X servers under emulation - to use an
XFree86 server, users need to create the following links in their
/compat/linux/dev directory (assuming kernel configured with 4 VTs).

lrwxrwxrwx  1 root  wheel  7 Aug 30 22:59 tty0 -> console
lrwxrwxrwx  1 root  wheel  5 Aug 30 22:45 tty1 -> ttyv0
lrwxrwxrwx  1 root  wheel  5 Aug 30 22:45 tty2 -> ttyv1
lrwxrwxrwx  1 root  wheel  5 Aug 30 22:45 tty3 -> ttyv2
lrwxrwxrwx  1 root  wheel  5 Aug 30 22:45 tty4 -> ttyv3

VT switching is still not yet supported. Attempting to switch VT
currently will cause Xserver bus error.

Submitted by:	Chain Lee <chain@110.net>
1998-08-31 06:55:02 +00:00
Joseph Koshy
06f64964ea The `group{del,mod,show}' take require a '[group|gid]' argument.
PR: docs/7788
1998-08-31 04:49:04 +00:00
John Birrell
11fb97daa7 E-day build system changes.
- Moved most of the guts of Makefile to Makefile.inc1 to become the
  backend for the build system.
- The new Makefile doesn't suffer from problems including the wrong
  sys.mk because it doesn't use anything in there or bsd.own.mk. So,
  from now on, the proper build command is just `make world' (or
  buildworld).
- The intermediate makefiles called Makefile.inc0 and Makefile.upgrade
  fiddle with the OBJFORMAT and MAKEOBJDIRPREFIX variables so that
  both aout and elf object trees can coexist. Makefile.upgrade contains
  the aout->elf transition build.
- A cross build environment is now very close to reality. Specifying
  TOOLDIR, setting OBJFORMAT and MAKEOBJDIRPREFIX allow that.

See the comments in Makefile for more info.
1998-08-31 01:08:08 +00:00
John Birrell
7ceecc6645 The elf build wants to link against libcrypt. 1998-08-31 00:42:21 +00:00
John Birrell
7dcd8b7c45 BINFORMAT -> OBJFORMAT ready for E-day. Untested 'cause I'm outside
the US and not allowed to see this. I kept my eyes closed. 8-)
1998-08-31 00:35:10 +00:00
Brian Somers
e8ede338eb Add OpenBSD build support 1998-08-30 23:53:25 +00:00
Brian Somers
09bc8205a9 Add OpenBSD build support
Remove -Wmissing-prototypes
1998-08-30 23:53:00 +00:00
Bill Paul
11f73a416e Change the autonegotiation waiting period from 3 seconds to 5. This
delay controls how long the driver waits for autonegotiation to
complete after setting the 'autoneg restart bit' in a PHY. In some
cases, it seems 3 seconds is not long enough: with 3c905-TX cards
(external PHY), you sometimes see 'autoneg not complete; no carrier'
errors due to the timeout being too short. (3c905B adapters seem to
be happy with 3 seconds though.)
1998-08-30 22:24:18 +00:00
Gary Palmer
0451ac36bd Split lines into one subdir per line. 1998-08-30 20:58:16 +00:00
John Birrell
8472e43276 Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.
Suggested by: jdp
1998-08-30 20:40:29 +00:00
John Birrell
3cba807609 Remove BINFORMAT which is only set when building tools that need to have
a default format.

Include /etc/objformat to get the installed object type if it exists
and if OBJFORMAT is not already defined.
1998-08-30 20:35:24 +00:00
John Birrell
cdaa52cf0c BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 20:33:27 +00:00
John Birrell
84ebe84dc6 Make a local build tool static to avoid trying to use shared libraries
before rtld is installed.
1998-08-30 20:31:57 +00:00
Gary Palmer
cb7f1224bb Split lines into one subdir per line. 1998-08-30 20:28:50 +00:00
Gary Palmer
05da683dd4 Split lines into one subdir per line. 1998-08-30 20:22:15 +00:00
Gary Palmer
971104bfb7 Make pstat machine-independant again 1998-08-30 20:15:09 +00:00
Gary Palmer
dd6303bd2a DPDADD -> DPADD 1998-08-30 19:59:53 +00:00
Gary Palmer
1f4dcd683a Fix parallel makes falling over on xwhere 1998-08-30 19:59:35 +00:00
John Polstra
e2daa140cc Fix a bug which caused ldd to execute scripts listed on its command
line, instead of skipping them.

Also make a few minor cleanups.

PR:		bin/7783
1998-08-30 18:30:59 +00:00
Steve Price
3297b869e3 Typo fix: garbeld -> garbled
PR:		7784
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1998-08-30 17:33:05 +00:00
Gary Palmer
175ae25003 Add $Id$ 1998-08-30 17:02:51 +00:00
Wolfram Schneider
31033c2c38 PR: bin/5596
Change the diagnostic if there were no matching processes owned by
you.
1998-08-30 16:54:58 +00:00
Gary Palmer
521e091823 Still need -lmd on the alpha as it doesn't have shlibs yet 1998-08-30 16:07:18 +00:00
Mark Murray
e6d0d4a4c4 While I am no longer making a shared library, nuke the old one to prevent
ld from picking it up spuriously.
1998-08-30 13:08:54 +00:00
Mark Murray
0be70b48dd While I am no longer making a shared library, it is a good plan to nuke
the old ones to prevent ld picking it up spuriously.
1998-08-30 13:07:16 +00:00
Doug Rabson
506a7a2ed4 Remove some duplicated devices. 1998-08-30 10:50:30 +00:00