Commit graph

31064 commits

Author SHA1 Message Date
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
Nicolas Souchu c3e2dc6b48 Submitted by: nsouch
Philips I2C bus generic support other new bus architecture.
1998-09-03 20:51:50 +00:00
Mark Murray e29c2a4f89 Bump up the E_SHELL constant after an extra field was added, thus making
this refer to the wrong data.
Submitted by:	axl@iafrica.com (Sheldon Hearn)
1998-09-03 17:32:22 +00:00
Andrzej Bialecki bccec1d693 Added Makefile to have true dependency of kernel image on the kernel
config file.
1998-09-03 10:41:36 +00:00
Andrzej Bialecki d3f8852a1b Minor fixes to 'clean' script.
Changed the 'build' script to use ../${TYPE}/conf/Makefile in order to
have true dependency of kernel image on the kernel config file.
1998-09-03 10:40:27 +00:00
Andrzej Bialecki 4805acd6f2 Set OBJFORMAT=aout, until crunchide learns about ELF format... 1998-09-03 10:16:03 +00:00
Satoshi Asami 9a797b889f Bump __FreeBSD_version to 300004 to indicate post E-day.
Reviewed by:	jdp
1998-09-03 08:28:42 +00:00
Matthew Dillon ffec7ed1d6 Reviewed by: J Wunsch <j@uriah.heep.sax.de>
-current commit for st.c, kernel support for /bin/mt's 'comp' option.
    (tested with exabyte and DAT tape units.  Does not apparently work with
    all SCSI tape's, though).
1998-09-03 07:01:39 +00:00
Jordan K. Hubbard 2ab54b7d11 Allow quoted strings (single or double) for grouping whitespace separated
items.  Eliminate warnings.
1998-09-03 06:14:41 +00:00
Mike Smith 06b57b0e09 Bootstrap updates.
- Move some startup code from MD to MI sections
 - Add a 'copyout' and some copyout-related functions.  These will be
   obsoleted when BTX is available for the 386 and the kernel load
   area becomes directly addressable.
 - Add the ability load an arbitrary file as a module, associating
   and arbitrary type string with it.  This can be used eg. for loading
   splash-screen images etc.
 - Add KLD module dependancy infrastructure.  We know how to look for
   dependancies inside KLD modules, how to resolve these dependancies
   and what to do if things go wrong.  Only works for a.out at the
   moment, due to lack of an MI ELF loader.  Attach KLD module information
   to loaded modules as metadata, but don't pass it to the kernel (it
   can find it itself).
 - Load a.out KLD modules on a page boundary.  Only pad the a.out BSS
   for the kernel, as it may want to throw symbols away.  (We might want
   to do this for KLD modules too.)
 - Allow commands to be hidden from the '?' display, to avoid cluttering
   it with things like 'echo'.  Add 'echo'.
 - Bring the 'prompt' command into line with the parser syntax.
 - Fix the verbose 'ls'; it was using an uninitialised stack variable.
 - Add a '-v' flag to 'lsmod' to have it display module metadata as well
   (not terribly useful for the average user)
 - Support a 'module searchpath' for required modules.
 - The bootstrap file on i386 is now called 'loader' to permit the
   /boot directory to use that name.
 - Discard the old i386 pread() function, as it's replaced by
   arch_readin()
1998-09-03 02:10:09 +00:00
Brian Somers 9de9848b61 Install amd.conf 1998-09-02 21:09:14 +00:00
Brian Somers ec28eec908 This is AMD.CONF, not AMQ.CONF 1998-09-02 21:07:47 +00:00
Nicolas Souchu edcfcf270b printing with compatible mode fixed if ECP available + more verbose if bootverbose set 1998-09-02 20:34:34 +00:00
Poul-Henning Kamp 67a895f650 Widen and change the layout of the IPFW structures flag element.
This will allow us to add dummynet to 3.0

Recompile /sbin/ipfw AND your kernel.
1998-09-02 19:14:01 +00:00
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