Commit Graph

31157 Commits

Author SHA1 Message Date
bde
89d62e66b9 Removed a buggy ifdef for not linking libmd explicitly. Explicit
linkage is needed for the NOSHARED=YES case, so it is simplest to
never depend on the automagic linkage for elf shared libraries.

Reviewed by:	jdp
1998-09-02 14:46:20 +00:00
bde
83594b3e3a Add -aout to CFLAGS and LDFLAGS in bsd.kmod.mk, not in
src/lkm/Makefile.inc.  This fixes broken builds of the syscons LKMs
when OBJFORMAT=elf.  Removed src/lkm/Makefile.inc since it became
empty and is worse than useless.
1998-09-02 14:29:09 +00:00
abial
c6af9e903c Add options for bridging and bandwidth limiting (disabled by default).
Submitted by:	Luigi Rizzo <luigi@iet.unipi.it>
1998-09-02 14:16:07 +00:00
bde
2f1c86bfc4 Nuked setting of crt here too.
Obtained from:	src/etc/root/dot.profile rev.1.17.
1998-09-02 14:10:22 +00:00
abial
e04c758419 Ugh... Small correction to the previous commit.
_Now_ it compiles on 2.2.7...
1998-09-02 13:11:23 +00:00
abial
e618724b5d Added code to display interface table and link layer info, as well
as bridging statistics when using Luigi's bridging code.

Also added some ifdef's to (hopefully) get it to compile under 2.2.x

Submitted by:	Luigi Rizzo <luigi@iet.unipi.it>
1998-09-02 11:48:07 +00:00
obrien
3b8162003f Cut-n-paste fub.
Noticed by:	bde
1998-09-02 10:09:08 +00:00
wosch
150c594f49 Diagnostic rewritten in English.
Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1998-09-02 10:05:47 +00:00
markm
f32becc18e Add libcrypt. Elf was breaking. 1998-09-02 06:31:02 +00:00
jdp
45eff87b42 Suppress duplicate entries in ldd output. 1998-09-02 02:51:12 +00:00
jdp
6bd2d04608 Style fixes. If it seems like a lot of lines of changes, it's
because I moved some functions.  Mr. Tidy likes them to be in
alphabetical order.
1998-09-02 02:00:20 +00:00
brian
387abc60ff Add Id keywords 1998-09-02 01:34:57 +00:00
jdp
81ca502a92 Handle dlsym(NULL, ...) properly, by searching in the caller's
shared object.  Note, this searches _only_ that object, and not its
needed objects, in accordance with the documentation.

Also fix dlopen(NULL, ...) so that the executable's needed objects
are searched as well as the executable itself.
1998-09-02 01:09:34 +00:00
jdp
bf8ea8d3a7 Implement the weak aliases for private entry points in the inet_*
and res_* modules in a way that works for ELF.  I moved the aliases
out of res_stubs.c and into the individual modules where the entry
points are defined.  Weak aliases don't work in ELF unless that is
the case.  (Actually, I'm surprised it worked for a.out.)

This should fix the undefined "inet_addr" and related symbols in
various applications that fail to include <arpa/inet.h> or
<resolv.h> as they are supposed to do.
1998-09-02 00:53:17 +00:00
wpaul
7accff6b6d "xl%d: chip is is in D%d power mode " -> "xl%d: chip is in D%d power mode " 1998-09-01 21:32:04 +00:00
wollman
c97cc8ee06 Separate wakeup conditions for page I/O count (pg_busy) and lock (PG_BUSY).
This is not sa completely solution to the deadlock, but the additional wakeups
have helped in my observation.

Suggested by: John Dyson
1998-09-01 17:12:19 +00:00
gpalmer
be7570dbc1 Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
kato
e8276b98d6 Sync with sys/i386/conf/Makefile.i386 revision 1.120. 1998-09-01 07:18:09 +00:00
kato
1a37f7b056 Sync with sys/i386/i386/machdep.c revision 1.306. 1998-09-01 07:17:36 +00:00
jkh
7144badade Silence potentially bogus warning. 1998-09-01 06:58:11 +00:00
jkh
9f6b1115ba Put MSDOSFS back and look for something else to trim. 1998-09-01 06:57:18 +00:00
jb
117c78efa6 Force NOMAN and NOINFO on legacy-install as well as legacy build. 1998-09-01 06:07:47 +00:00
jb
9cbf9bf62a Add the clean targets again. 1998-09-01 06:02:00 +00:00
jb
8243f3b9a2 Add the clean cleandepend and cleanobj targets back. 1998-09-01 05:53:00 +00:00
luoqi
6579ddcc26 Check for NULL pointer before freeing a struct sockaddr. m_freem() can handle
NULL, buf free() can't.
1998-09-01 02:31:52 +00:00
kato
9a6b0ba36d - Fix style bug.
- hw.ispc98 -> machdep.ispc98.

Submitted by:	Garrett Wollman (hw -> machdep)
1998-09-01 02:04:17 +00:00
msmith
a43b5b132e New commandline/script parser, supports backslash quoting and environment
variable substitution.

Submitted by:	Jordan Hubbard <jkh@freebsd.org>
1998-09-01 00:41:24 +00:00
jb
f038ce5877 Add a target to check the consistency of the make OBJFORMAT variable
with the object format determined by objformat. This prevents foot
shooting (a form of boot scooting for hackers?) where local changes
to /etc/make.conf or /etc/make.conf.local try to override OBJFORMAT
in an incomplete way.
1998-09-01 00:39:02 +00:00
jb
91db9d3931 Change BINFORMAT to KERNFORMAT and add -aout or -elf to the tool
arguments as appropriate. This is necessary because setting OBJFORMAT=aout
in the makefile doesn't get exported to the environment. I wish our
make could do that!
1998-09-01 00:11:02 +00:00
jb
4fa5599a7a Oops, I missed the update from /etc/objectformat to /etc/objformat
which caused a port-ELF upgrade to continue to build aout.
1998-08-31 23:34:37 +00:00
msmith
815f3686d0 Bootloader update.
- Implement a new copyin/readin interface for loading modules.
   This allows the module loaders to become MI, reducing code duplication.
 - Simplify the search for an image activator for the loaded kernel.
 - Use the common module management code for all module metadata.
 - Add an 'unload' command that throws everything away.
 - Move the a.out module loader to MI code, add support for a.out
   kld modules.

Submitted by:	Alpha changes fixed by Doug Rabson <dfr@freebsd.org>
1998-08-31 21:10:43 +00:00
jb
c3fa37d604 MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
1998-08-31 20:48:13 +00:00
jb
116f00b602 Force the upgrade kernel to be aout. 1998-08-31 20:22:07 +00:00
jdp
f731a1a207 Remove a work-around for an assembler bug that has been fixed since
April, 1997.  The work-around causes problems under ELF.
1998-08-31 20:01:48 +00:00
sos
f49344e69a Fixed bug in Miro Tuner detection. Missing Goto.
Removed Hauppauge EEPROM 0x10 detection as I think 0x10 should be a
PAL tuner, not NTSC.
Reinstated some Tuner Guesswork code from 1.27

Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
1998-08-31 18:37:19 +00:00
sos
8e27b7c215 Renamed BT848[SG]CAPAREA to BT848_[SG]CAPAREA.
Added PR kern/7177 for SECAM Video Highway Xtreme with single crystal
PLL configuration submitted by Vsevolod Lobko <seva@alex-ua.com>.
In kernel configuration file add
options OVERRIDE_CARD=2
options OVERRIDE_TUNER=11
options BKTR_USE_PLL

Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-08-31 18:35:06 +00:00
sos
2cddefeee2 Added Capture Area ioctl - BT848[SG]CAPAREA.
Normally the full 640x480 (768x576 PAL) image is grabbed. This ioctl
allows a smaller area  from anywhere within the video image to be
grabbed, eg a 400x300 image from (50,10).
See restrictions in BT848SCAPAREA.

Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-08-31 18:31:36 +00:00
wollman
bae4326618 Bow to tradition and correctly implement the bogus-but-hallowed semantics
of getsockopt never telling how much it might have copied if only the
buffer were big enough.
1998-08-31 18:07:23 +00:00
jkh
343eedd829 Don't set the router_enable variable by default. 1998-08-31 17:47:52 +00:00
wosch
68cda92e4a Sort cross references. 1998-08-31 16:41:09 +00:00
wosch
e8396430fb Support multiple databases. For example
$ look miau  dict1 dict2 dict3
1998-08-31 16:38:23 +00:00
luoqi
8b3223d67b Use 16bit register in inline asm code to set segment registers. 1998-08-31 16:18:45 +00:00
wollman
639269dc95 Correctly set the return length regardless of the relative size of the
user's buffer.  Simplify the logic a bit.  (Can we have a version of
min() for size_t?)
1998-08-31 15:34:55 +00:00
wpaul
1d273f8340 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
dfr
c077a48b51 All libs build on alpha now. 1998-08-31 13:47:38 +00:00
dfr
d3af000c01 Get definition of va_list from <stdarg.h>. 1998-08-31 13:47:03 +00:00
abial
8c7dba5d2d init.ee was being copied to wrong place.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:39:01 +00:00
abial
42bb5c8507 Add HOME variable to environment.
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:36:43 +00:00
abial
77133e55b5 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
abial
c64a002e99 Add link gzip -> gzcat
Submitted by:	Eric P. Scott <eps@sirius.com>
1998-08-31 13:35:39 +00:00