Commit Graph

31022 Commits

Author SHA1 Message Date
Robert V. Baron
41159be768 Pass2 complete 1998-09-02 19:09:53 +00:00
Masafumi Max NAKANE
0d59b5e22c Add ^G to the end of boot.help on the installation floppy so that it
beeps when the Boot: prompt appears on the screen and people installing
FreeBSD onto PC without display monitor can tell when to hit `-h'.
1998-09-02 18:04:18 +00:00
Bruce Evans
3baf1478c9 Added a vfs_oid pointer and a vfs_uninit() function to struct
vfsops.  vfs_oid will be used to attach and detach vfs sysctls
dynamically.  vfs_uninit() will be used to clean up before
modunloading vfs LKMs.  The nfs LKM needs these features most.
1998-09-02 17:25:51 +00:00
Bruce Evans
53d2eb24a9 Backed out previous commit. VFS_LKM_NO_DEFAULT_DISPATCH wasn't used for
long, and the ifdef for it broke the forward declaration for the
dispatch function.
1998-09-02 17:03:49 +00:00
Bruce Evans
ac648592d9 Keep build-tools objects separate from `all' objects so that my
cross-builds work.
1998-09-02 15:22:11 +00:00
Garrett Wollman
db028362a0 Properly fragment multicast packets.
PR: 7802
Submitted by:	Steve McCanne <mccanne@cs.berkeley.edu>
1998-09-02 15:11:14 +00:00
Bruce Evans
cb997c9220 Fixed the elf case of the creation of the libcrypt.so -> libscrypt->so
link.  Shared libraries are in ${SHLIBDIR}, not necessarily in ${LIBDIR}.
1998-09-02 15:09:15 +00:00
Bruce Evans
0f09aefa00 csu must be built before all shared libaries for ELF, since ELF shared
libraries are linked to at least crti.o.  Always build it first.
1998-09-02 15:02:18 +00:00
Bruce Evans
9a15012667 Fixed munging of the SUBDIR list in rev.1.16-1.18. 1998-09-02 14:56:59 +00:00
Bruce Evans
83294a65d7 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
Bruce Evans
1d0de5e557 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
Andrzej Bialecki
58325806f4 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
Bruce Evans
99b32a5043 Nuked setting of crt here too.
Obtained from:	src/etc/root/dot.profile rev.1.17.
1998-09-02 14:10:22 +00:00
Andrzej Bialecki
f52f05009b Ugh... Small correction to the previous commit.
_Now_ it compiles on 2.2.7...
1998-09-02 13:11:23 +00:00
Andrzej Bialecki
2effb4d0f5 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
David E. O'Brien
287bb46fa2 Cut-n-paste fub.
Noticed by:	bde
1998-09-02 10:09:08 +00:00
Wolfram Schneider
0f1a6b7b3a Diagnostic rewritten in English.
Submitted by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
1998-09-02 10:05:47 +00:00
Mark Murray
1134b86422 Add libcrypt. Elf was breaking. 1998-09-02 06:31:02 +00:00
John Polstra
63fac2b9ef Suppress duplicate entries in ldd output. 1998-09-02 02:51:12 +00:00
John Polstra
93df8d681b 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 Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +00:00
John Polstra
cefbc49679 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
John Polstra
cb690d1f0b 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
Bill Paul
5ca6331a4c "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
Garrett Wollman
85e7f5492b 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
Gary Palmer
f58619de89 Remove redundant decl. of time(). Causes problems on alpha 1998-09-01 15:17:28 +00:00
KATO Takenori
a6ccc598a3 Sync with sys/i386/conf/Makefile.i386 revision 1.120. 1998-09-01 07:18:09 +00:00
KATO Takenori
794cfbb48e Sync with sys/i386/i386/machdep.c revision 1.306. 1998-09-01 07:17:36 +00:00
Jordan K. Hubbard
45878e4d34 Silence potentially bogus warning. 1998-09-01 06:58:11 +00:00
Jordan K. Hubbard
2086027352 Put MSDOSFS back and look for something else to trim. 1998-09-01 06:57:18 +00:00
John Birrell
741d299c21 Force NOMAN and NOINFO on legacy-install as well as legacy build. 1998-09-01 06:07:47 +00:00
John Birrell
1021bf1362 Add the clean targets again. 1998-09-01 06:02:00 +00:00
John Birrell
11a09d8243 Add the clean cleandepend and cleanobj targets back. 1998-09-01 05:53:00 +00:00
Luoqi Chen
4ef872a4c5 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 Takenori
aa53a702c9 - Fix style bug.
- hw.ispc98 -> machdep.ispc98.

Submitted by:	Garrett Wollman (hw -> machdep)
1998-09-01 02:04:17 +00:00
Mike Smith
7ae76930a5 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
John Birrell
ff1284f6c0 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
John Birrell
c155091cc8 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
John Birrell
04df7eaa71 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
Mike Smith
c73b70eec4 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
John Birrell
f471c44869 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
John Birrell
f3c6146d5e Force the upgrade kernel to be aout. 1998-08-31 20:22:07 +00:00
John Polstra
f55ccce3ca 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
Søren Schmidt
f90ea9ee53 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
Søren Schmidt
58dde31aeb 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
Søren Schmidt
5d0c8abac1 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
Garrett Wollman
9898afa1f1 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
Jordan K. Hubbard
119cff04ef Don't set the router_enable variable by default. 1998-08-31 17:47:52 +00:00
Wolfram Schneider
acd8019083 Sort cross references. 1998-08-31 16:41:09 +00:00
Wolfram Schneider
4d3ee60941 Support multiple databases. For example
$ look miau  dict1 dict2 dict3
1998-08-31 16:38:23 +00:00