Commit Graph

31085 Commits

Author SHA1 Message Date
John Polstra
a565ca5920 Implement ldconfig functionality for ELF. The hints are stored in
a different file than the a.out hints, namely, "/var/run/ld-elf.so.hints".
These hints consist only of the directory search path.  There is
no hash table as in the a.out hints, because ELF doesn't have to
search for the file with the highest minor version number.  (It
doesn't have minor version numbers at all.)

A single run of ldconfig updates either the a.out hints or the ELF
hints, but not both.  The set of hints to process is selected in
the usual way, via /etc/objformat, or ${OBJFORMAT}, or the "-aout"
or "-elf" command line option.  The rationale is that you probably
want to search different directories for ELF than for a.out.

"ldconfig -r" is faked up to produce output like we are used to,
except that for ELF there are no minor version numbers.  This should
enable "ldconfig -r" to be used for checking LIB_DEPENDS in ports
even for ELF.

I implemented the ELF functionality in a new source file, with an
eye toward eliminating the a.out code entirely at some point in
the future.
1998-09-05 03:31:00 +00:00
KATO Takenori
2bfe25d193 Sync with sys/i386/conf/files.i386 revision 1.201. 1998-09-05 02:36:18 +00:00
KATO Takenori
0e28be212a Sync with sys/i386/conf/Makefile.i386 revision 1.121. 1998-09-05 02:35:21 +00:00
KATO Takenori
6924358493 Increase 'maxusers' to 32. 1998-09-05 02:20:52 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
John Polstra
512a3bb59b Add hints file structures and defines. 1998-09-05 00:53:53 +00:00
Mike Smith
adae65a188 Escape the \ characters so that the intended beep at the end of the
boot.help message is actually appended correctly.
1998-09-05 00:36:18 +00:00
John Birrell
2ae7809185 Add -lcrypt. 1998-09-05 00:34:36 +00:00
John Birrell
e00072f9f4 Add -lcrypt when building kerberos. 1998-09-05 00:32:27 +00:00
Jordan K. Hubbard
92050c8b15 Actually *looking* at this file now, I see that a good deal more
can be eliminated. :)
1998-09-04 23:51:40 +00:00
Jordan K. Hubbard
c60f090882 Turn tcp_extentions off by default. They sometimes cause pain. 1998-09-04 23:37:24 +00:00
Luoqi Chen
02c71890cd Make irq forwarding truely functional. 1998-09-04 23:03:04 +00:00
John Birrell
2a356d7348 Enable rtld-elf for build on alpha too. We now have support for shared
libraries on alpha!
1998-09-04 22:55:17 +00:00
Mark Murray
9e59916c02 Unbreak "make release".
Submitted by:	Justin Gibbs
1998-09-04 22:18:49 +00:00
John Birrell
4c1e0b3596 YAMT (yet another missing target). It's a shame that these have to
be visible to the user. Maybe `make release' should call the backend
directly.
1998-09-04 21:19:37 +00:00
Mike Smith
14b1f19055 Increase 'maxusers' to 32; with the number of people using GENERIC as
their one-size-fits-all kernel, this should help reduce the "out of foo"
reports.

Reviewed by:	jkh
1998-09-04 19:55:51 +00:00
Andrzej Bialecki
c039505459 Bring the docs more up-to-date. Document the 'custom' setup. 1998-09-04 19:47:24 +00:00
Andrzej Bialecki
c7b3a66f65 Added special type of setup called 'custom'. It allows you to supply
your own config directory laid out exactly like the standard ones.

Suggested by:	Richard Wackerbarth <rkw@dataplex.net>
1998-09-04 19:38:57 +00:00
Doug Rabson
13575fc46f Add alpha support.
Submitted by: John Birrell <jb@cimlogic.com.au> (with extra hacks by me)
Obtained from: Probably NetBSD
1998-09-04 19:03:57 +00:00
Doug Rabson
26cdc317be Cosmetic changes to the PAGE_XXX macros to make them consistent with
the other objects in vm.
1998-09-04 18:49:35 +00:00
Brian Somers
9e8ec64b6b Don't cast potentially unaligned addresses to pointers to
non-char types on non-i386 architectures.
On Alpha and Sparc we get a bus error if we do.
1998-09-04 18:26:00 +00:00
Nicolas Souchu
c498ec5f46 Device registration temporaly removed until major number allocation ok. 1998-09-04 17:53:42 +00:00
Bill Paul
7d8b3c341b Modify the xl_mediacheck() routine to also test for the case where the
XCVR value read from the EEPROM is completely wrong. I've had one report
of a 3c900 card that returns an xcvr value of 14, which is impossible
(the manual states that all vales above 8 are reserved). If the value
is out of the expe

Add PCI vendor ID for the 3c980-TX server adapter card, which apparently
also uses the cyclone chip. Graciously supplied Mats O Jansson
<maja@cntw.com>.

Also noted by Mats, the 10mpbs cyclone adapters should be named 3c900B,
not 3c905B. I haven't actually encountered a 10mbps only cyclone adapter
yet, nor anybody who has one, but this makes sense given the naming
scheme used for the older boomerang adapters.
1998-09-04 16:22:15 +00:00
Warner Losh
94d1a20141 o Enable standby mode in apm utility. You need a newer kernel for this
functionality to work (however, the kernel changes were committed
  to current at 1998/07/05 23:29:11 PDT).
o Enable setting of a timer for later wakeup.  Note, not all APM
  BIOSes support this for all modes (mine doesn't support waking up on
  a timer from standby mode).
o Print out the APM capabilities, as reported by the BIOS.
o Report wake on ring indication.  No way to enable/disable this, but
  it is reported.
o update man page with above
o The output of this command has changed, so if you have a script that
  parses its output, then you may need to rewrite it slightly.
o The code attempts to deal with older kernels than July 5, 1998, but
  that part of the code isn't well tested.
1998-09-04 16:08:54 +00:00
Andrey A. Chernov
253ab668e2 make sbflush panic messages more descriptive 1998-09-04 13:13:18 +00:00
Andrey A. Chernov
569d43a2bb PAGE_WAKEUP -> vm_page_wakeup 1998-09-04 13:10:34 +00:00
Kazutaka YOKOTA
afab29051f Fix uninitialized variable.
PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)
1998-09-04 10:15:48 +00:00
John Birrell
5eb5dd7642 Add the distribute target that make release wants. 1998-09-04 09:19:19 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
Jordan K. Hubbard
d9c273e9c4 Just nuke the aout bootstrap stuff since we don't need it anymore.
Simplify accordingly for ELF.
Convinced by:	jb
1998-09-04 08:22:59 +00:00
Andrzej Bialecki
856306b2f9 Set OBJFORMAT=aout to affect the whole build - for now, it seems that too
many tools needed to build the floppies are dependent on a.out...
1998-09-04 08:08:05 +00:00
Doug Rabson
e69763a315 Cosmetic changes to the PAGE_XXX macros to make them consistent with
the other objects in vm.
1998-09-04 08:06:57 +00:00
Doug Rabson
bd2bbbf2f3 Make SimOS work again. 1998-09-04 08:01:26 +00:00
Doug Rabson
9872f76253 Make this build even if sio is not in the kernel. 1998-09-04 07:58:33 +00:00
Andrey A. Chernov
aa578ab67a add missing sys/queue.h 1998-09-04 07:48:53 +00:00
Jordan K. Hubbard
e8341fd0d4 Only move a.out libs if we're building for a.out. 1998-09-04 06:31:34 +00:00
Nicolas Souchu
f25c58e005 pcf.c added, support for the Philips PCF8584 I2C bus controller
(this is part of the iicbus system)
1998-09-04 06:06:55 +00:00
David E. O'Brien
5fd097d7cb revert back to rev 1.5 1998-09-04 06:01:42 +00:00
David E. O'Brien
68f65204d5 Don't assume that time_t is long.
(from rev 1.4 by bde of old AMD)
1998-09-04 04:42:28 +00:00
Mike Smith
0e02313a88 Generic plug-and-play enumerator infrastructure. Query supplied
enumerators, crossreference returned identifiers with a text-format
database and automatically load corresponding modules and dependancies.
1998-09-04 02:43:26 +00:00
Doug Rabson
cefd51ec44 Add manpages for the new device framework. 1998-09-03 21:52:05 +00:00
John Birrell
146cbe7e06 Only run ldconfig if the OBJFORMAT is aout. 1998-09-03 21:34:31 +00:00
John Birrell
1086db569a When creating /etc/objformat, respect DESTDIR.
Pointed out by: Zach Heilig -- zach@gaffaneys.com
1998-09-03 21:16:15 +00:00
Nicolas Souchu
d41c96ee24 Reviewed by: Doug Rabson
Submitted by:	nsouch
I2C and SMB files added + new bus arch. files description
1998-09-03 21:10:54 +00:00
Nicolas Souchu
8d8b289af3 Reviewed by: Doug Rabson
Submitted by:	nsouch
'local' token added to support new bus architecture .c files generated
by .m files.
1998-09-03 21:03:43 +00:00
Nicolas Souchu
4e190a62f8 Reviewed by: Doug Rabson
Submitted by:	nsouch
Philips PCF8584 chipset support. Chipset controller for the I2C bus.
1998-09-03 21:01:22 +00:00
Nicolas Souchu
b2dc47b48a Reviewed by: Doug Rabson
Submitted by:	nsouch
I2C and SMB ioctls
1998-09-03 21:00:08 +00:00
Nicolas Souchu
e04d3375b8 Reviewed by: Doug Rabson
Submitted by:	nsouch
root_bus_configure() call to initialize new bus arch in i386 env.
1998-09-03 20:59:28 +00:00
Nicolas Souchu
8afa373cc6 Reviewed by: Doug Rabson
Submitted by:	nsouch
Adding I2C and SMB entries to LINT, CONFIGVERS modified in Makefile.i386
1998-09-03 20:58:34 +00:00
Nicolas Souchu
d70424edcb Submitted by: nsouch
System Management Bus generic support over new bus architecture.
1998-09-03 20:52:54 +00:00