Commit Graph

31036 Commits

Author SHA1 Message Date
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
Luoqi Chen
492fa09693 Use 16bit register in inline asm code to set segment registers. 1998-08-31 16:18:45 +00:00
Garrett Wollman
d224dbc106 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
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