Commit Graph

323 Commits

Author SHA1 Message Date
Joerg Wunsch
3023486ce7 Corrected the xref to the driver man page to be fdc(4) now that
we have one (instead of fd(4)).
1994-10-28 17:07:32 +00:00
Jordan K. Hubbard
794559559f Remove eeprom from the default list of subdirs. It gets added properly
in the sparc case anyway.  Next step will be to move some of the i386
specific things, like fdformat and fdwrite, into an i386 .if clause.
1994-10-28 04:35:13 +00:00
Stefan Eßer
03c90f359f Fix typo in #if which prevented use of getbootfile() under FreeBSD-2.0. 1994-10-26 19:23:02 +00:00
Jordan K. Hubbard
e1f89fd7bc From: Michael Reifenberger <root@rz-wb.fh-sw.de>
Could you please commit this patch to usr.sbin/crunch/examples ?
This should make fixit.conf compilable again.
VI needs some hacks.

[Note:  I'm not sure how relevant this example is anymore, but then it's only
an example]
Submitted by:	mr
1994-10-26 14:52:43 +00:00
Jordan K. Hubbard
bf9e2e599f From: John Hay <jhay@mikom.csir.co.za>
Make swapinfo use libc functions for obtaining device information.

Note:  swapinfo should actually be deprecated, not fixed.  pstat -s performs
the same function.
Submitted by:	jhay
1994-10-26 14:49:07 +00:00
Steven Wallace
be0856f8c8 Applied patch009. Also added appropriate #include <string.h> which
would have detected that memset was not being passed a pointer in the first
place.

Submitted by:	Gene Stark (?) - 1.1.5.1 patch009
1994-10-25 20:50:41 +00:00
Bruce Evans
22ab7c8472 Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
a poor value for a magic number, and we need to be compatible.
1994-10-25 17:33:25 +00:00
Garrett Wollman
a365d1180c Added lsdev. 1994-10-24 22:22:44 +00:00
Garrett Wollman
9332379174 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
Poul-Henning Kamp
8962635a7b These patches fix some lesser problems:
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway.  /phk

Reviewed by:	phk
Submitted by:	bde
1994-10-24 20:09:39 +00:00
Garrett Wollman
7a880ea190 Updated to latest kernel code. Also provided a friendlier output format,
which is enabled by default (use `-c' to get the old format).  The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):

Device     St Parent     Description
---------- -- ---------- --------------------------------------------------
isa0       NC -
sc0        NC isa0       Parallel printer adapter
ed0        NC isa0       SMC8216/SMC8216C
sio0       NC isa0       RS-232 serial port
sio1       NC isa0       RS-232 serial port
fdc0       NC isa0       floppy disk/tape controller
fd0        NC fdc0       floppy disk
wdc0       NC isa0       ST506/ESDI/IDE disk controller
wd0        NC wdc0       ST506/ESDI/IDE disk
npx0       NC isa0       Floating-point unit

Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible.  See the `mcd' driver for an example
of one which actually does something with the `state' field.
1994-10-23 21:33:57 +00:00
Jordan K. Hubbard
31895db09f Add xten. 1994-10-22 14:59:35 +00:00
Doug Rabson
18269b5553 Change to use the correct lock file directory. 1994-10-22 14:40:48 +00:00
Jordan K. Hubbard
3200ea201e X-10 stuff from 1.1.5.1. 1994-10-22 09:55:43 +00:00
Andrey A. Chernov
6dde05f573 spkrtest added 1994-10-22 02:16:04 +00:00
Andrey A. Chernov
485752ff47 Speaker driver test script
Obtained from: FreeBSD 1.1.5.1
1994-10-22 02:09:06 +00:00
Garrett Wollman
5b36462392 Change `on'' to `at'' globally. 1994-10-18 22:01:58 +00:00
Poul-Henning Kamp
28c94285c2 Added a slot in the swap-dev-table for NFS-diskless to abuse. 1994-10-18 08:16:29 +00:00
Andrey A. Chernov
27e3c1f843 Remove machdep.color_display 1994-10-18 03:41:16 +00:00
Garrett Wollman
cc52ab733a First bugfix: isa devices print as at isa?' rather than on isa0'. 1994-10-17 23:29:15 +00:00
Garrett Wollman
0ed1ac8d35 lsdev(8), a user-land utility to query the device configuration database
managed by kern_devconf.c.  A useful feature is that the following
script generates almost well-formed config-file lines for all ISA devices
in the system:

lsdev -t isa | awk '{ print "device $0" }'
lsdev -t disk | awk '{ print "disk $0" }'
1994-10-17 23:26:10 +00:00
Andrey A. Chernov
5a66307202 Document new machdep variables, pointed by Rod 1994-10-17 18:55:21 +00:00
Gary Palmer
d377a7bd10 Change references from /386bsd' to /kernel' 1994-10-17 06:50:29 +00:00
David Greenman
0477ab473a Added slstat. 1994-10-17 06:06:45 +00:00
David Greenman
1cf7789777 slstats for FBSD 2.0. Copied in the repository from 1.1.5, and then applied
patches from John Hay.

Submitted by:	John Hay
1994-10-17 06:05:32 +00:00
Garrett Wollman
379bb2d779 New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
Poul-Henning Kamp
eab1c60e10 Stop "make install" from falling over if DESTDIR is defined. 1994-10-15 07:45:45 +00:00
Stefan Eßer
a494b3b537 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Make -s option set parameters for all targets by default.
1994-10-15 00:03:32 +00:00
Gary Palmer
8dc10afa87 Move `ncrcontrol' into machine-dependant section. 1994-10-14 23:55:50 +00:00
Joerg Wunsch
b365f23675 #include'ing mysterious stuff from ${DESTDIR}/sys/<somewhere> is no longer
necessary.
Requested by: phk
1994-10-14 16:03:33 +00:00
Jordan K. Hubbard
cfa2a10c70 Sigh. NOW it's ok! :-) 1994-10-14 05:57:49 +00:00
Jordan K. Hubbard
1593f21e50 Print a better verbose message when creating packages. 1994-10-14 05:56:15 +00:00
Jordan K. Hubbard
69bb95d933 This should do it - I forgot about pkg_info. 1994-10-14 05:55:57 +00:00
Jordan K. Hubbard
9b98d77e09 Whoops - variable was in wrong scope. Correct. 1994-10-14 05:43:41 +00:00
Jordan K. Hubbard
ae38c11f2d Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:42:24 +00:00
Jordan K. Hubbard
5da4a65126 Fix bug in home directory calculation that I introduced with the free space
checking code.  Fix the free space checking code, while I'm at it! ;)
Thanks to Garrett for spotting the home dir problem.
1994-10-14 05:34:04 +00:00
Stefan Eßer
1dc73d350b Added ncrcontrol (display and configure NCR 53c810 SCSI parameters). 1994-10-13 18:10:40 +00:00
Stefan Eßer
176416ca2e Added call to getbootfile() and removed reference to ncr.imask. 1994-10-13 18:01:32 +00:00
Stefan Eßer
7d44d0e3cf ncrcontrol will be installed SETGID kmem in /usr/sbin. 1994-10-13 17:45:40 +00:00
Stefan Eßer
35321ba474 Moved into correct MAN section ... 1994-10-13 17:43:51 +00:00
Stefan Eßer
a9db861824 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Config and statuts display utility for the NCR PCI SCSI driver.
1994-10-12 12:02:52 +00:00
David Greenman
e96c54247f Clean up after last commit: get rid of some unused variables. 1994-10-10 05:19:11 +00:00
David Greenman
1cb2c62684 Rewrote swap code to work with our swap layout. Much of the code stolen
from swapinfo.c.
1994-10-10 02:33:50 +00:00
Rodney W. Grimes
4ac2ef542b Add -U option which does the same things as -u except exits with 0
instead of 2 on MISMATCH.
1994-10-09 20:28:31 +00:00
David Greenman
ceff08fff5 Modified to use swaplist instead of swapmap. 1994-10-09 07:45:58 +00:00
David Greenman
8d7547c27e #if 0'd out the meat of the swap code until I get a chance to rewrite it. 1994-10-09 07:42:32 +00:00
Jordan K. Hubbard
90c00ca832 Be optionally verbose about free-space checking. I need this to ascertian
whether or not this always works.
1994-10-08 23:55:36 +00:00
David Greenman
29568da84a After a comment from Rod Grimes about buf.h, I went back and looked at this
and found that swapinfo doesn't need that include file and five others (!).
Sheesh.
1994-10-05 10:20:17 +00:00
David Greenman
5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
Garrett Wollman
66f9b7d2d7 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00