Commit Graph

3531 Commits

Author SHA1 Message Date
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
Søren Schmidt
e33700d2b0 Got a little closer with socksys emulation. 1994-10-17 22:13:10 +00:00
Søren Schmidt
be92194467 Added more SCO compat ioctl's. 1994-10-17 22:12:06 +00:00
Poul-Henning Kamp
3595e6807d isa_device.h: Added flag for sensitive HW. ed# seems to break if anything
else has been probed.  This feature could go away again, if we can curb the
problem another way.

if_ed.c, syscons.c:  Set the above flag.  ed# because it needs it, syscons
because it looks stupid to "detect" the display you have already filled up
with text :-)

bt742a.c: Check bt_cmd() return-val during probe, thus failing on adaptec's.
Also silenced various printf's during the probe.

isa.c:  Probe devices with the above flag set before the rest.  Reduce the
number of "conflict" messages per device to one.

***
Please test the GENERIC-kernel now, if nobody can make it fail, GENERICAH
and GENERICBT has a finite and short life-expectancy...
***
1994-10-17 21:16:41 +00:00
Poul-Henning Kamp
161e7c8d87 #ifdef'ed the verbose probe messages. Only until I find a good way of
making it run-time selectable, then it will be back (at will).
1994-10-17 21:11:31 +00:00
Poul-Henning Kamp
677060b407 GENERIC is our new all singing and dancing kernel. Please report ASAP if
there is anything GENERICAH or GENERICBT can, which this one cannot.

MINI changed to reflect the SCSI-pecking-order.
1994-10-17 21:10:20 +00:00
Andrey A. Chernov
fb46136e56 Add new machdep variables 1994-10-17 20:50:41 +00:00
Andrey A. Chernov
5a66307202 Document new machdep variables, pointed by Rod 1994-10-17 18:55:21 +00:00
Poul-Henning Kamp
4853df5bb0 Netboot TNG. I have seen this compile, I don't know if it works.
I have put it here, because I belive we could share some code among the
various kinds of boot-code, whenever we get the time to look at it.

Submitted by:	Martin Renters
1994-10-17 17:55:31 +00:00
Poul-Henning Kamp
6ae324074a This is a bunch of changes from NetBSD. There are a couple of bug-fixes.
But mostly it is changes to use the list-maintenance macros instead of
doing the pointer-gymnastics by hand.

Obtained from: NetBSD
1994-10-17 17:47:45 +00:00
Poul-Henning Kamp
5ffce483b4 Spelling mistakes.
Submitted by:	Chris Kukulies
1994-10-17 17:16:47 +00:00
Andrey A. Chernov
1d3d5e17f6 Initialize color_display as undefined, cosmetique 1994-10-17 12:44:02 +00:00
Andrey A. Chernov
50249c77fe Ifdef color_display by NSC, pointed by Rod 1994-10-17 12:36:43 +00:00
David Greenman
27de4e40b8 Put sanity check for negative hold count into #ifdef DIAGNOSTIC so that
it doesn't consume an extra 3k of kernel text because of gcc's bogus
inlining code.
1994-10-17 10:43:56 +00:00
David Greenman
8678b0ebb5 Restore all of my changes that Garrett clobbered in the previous commit. 1994-10-17 10:34:42 +00:00
Paul Richards
32a6f4e778 Fixed bug in exec code, cp -R now works.
Added code so sysinstall can run as init.
1994-10-17 07:13:13 +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
Poul-Henning Kamp
a8a4ffd402 Various changes to the 1.1.5.1'sh install procedure. 1994-10-17 02:32:41 +00:00
Poul-Henning Kamp
1be9232f73 This basically allows you to stick a disklabel on any partition.
For it to be useful, you must stick your disklabel on the partition which
starts where the MBR says FreeBSD lives.  If you don't do that, you might
get a bad day.

Oh, that probably also means that putting swap there is a bad idea...
1994-10-17 02:31:33 +00:00
Poul-Henning Kamp
e57dc19458 Added a missing 'break;' 1994-10-16 22:07:47 +00:00
Poul-Henning Kamp
3972fa6670 Symorder complains if INET isn't in the kernel. I added '-m' to inform it
that it should exit(0) even if this is so.  fixed a /386bsd -> /kernel in
the man-page while at it.
1994-10-16 22:01:44 +00:00
Søren Schmidt
afc889a280 Added socksys module 1994-10-16 20:39:52 +00:00
Søren Schmidt
e8c1ac7fef Added load of socksys driver. 1994-10-16 20:39:16 +00:00
Søren Schmidt
7c6a51f145 LKM for socksys driver (iBCS2 emulation) 1994-10-16 20:38:50 +00:00
Poul-Henning Kamp
3626ca509d Some changes to the old floppies to handle the new /etc/init's way of doing
things.
1994-10-16 20:38:27 +00:00
Gary Palmer
4325553db7 Remove `ld' from the clean line also. Someone should look at all the
non-i386 machine lines sometime.
1994-10-16 20:03:03 +00:00
Paul Richards
8f091f9cf1 Remove a bogus BINDIR line 1994-10-16 06:17:03 +00:00
Garrett Wollman
84d2542342 Actually document dk_* variables! 1994-10-16 05:03:05 +00:00
Garrett Wollman
3b97fdf905 Add semi-bogus initialization of dk_wpms so that systat and friends actually
do something useful with the disk stats.  (This needs to be determined
dynamically, but I don't want to screw with this driver.)
1994-10-16 05:02:37 +00:00
Garrett Wollman
379bb2d779 New way of getting disk drive names. 1994-10-16 04:04:56 +00:00
Garrett Wollman
5955221aba dkstat.h: declare dk_names
sysctl.h: add HW_DEVCONF
devconf.h: machine-independent parts of config table
1994-10-16 03:53:00 +00:00
Garrett Wollman
8478cabaea kern_clock.c: define dk_names[][].
kern_sysctl.c: call dev_sysctl for hw.devconf mib subtree
kern_devconf.c: sysctl-accessible device-configuration and -management
	interface
1994-10-16 03:52:14 +00:00
Garrett Wollman
e78014a8dc Add interface to new device configuration table. Also implement
transfer statistics for iostat, vmstat, and systat.
1994-10-16 03:50:36 +00:00
Garrett Wollman
6b4375e296 Machine-dependent parts of device configuration table. 1994-10-16 03:50:01 +00:00
Garrett Wollman
3345fd3909 Added kern_devconf.c as standard. 1994-10-16 03:49:43 +00:00
Gary Palmer
4396424c51 Remove directories we don't have from the clean SUBDIR's and add note
about it (some of the missing dirs are still referenced by other
clauses in the `.if')
1994-10-16 02:56:01 +00:00
Paul Richards
db0f7eef49 Add DPADD for libraries. 1994-10-16 02:25:54 +00:00
Paul Richards
c83e0fb6db Add some missing libraries to LDADD 1994-10-16 00:04:42 +00:00
Stefan Eßer
65005ce25c Fixed typo and message format change to avoid line wrapping. 1994-10-15 23:27:39 +00:00
Poul-Henning Kamp
b16d240853 Added ed2 device, on a hard-jumpered location for SMC Ultra 1994-10-15 22:19:38 +00:00
Garrett Wollman
7b82c373ed Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.
1994-10-15 21:39:54 +00:00
Poul-Henning Kamp
daf49c81cc This kernel is a barebones kernel. No networking, no CD's no nothing.
Will be used to get a little bit of FreeBSD onto a disk, from where
other kernels can be loaded.
1994-10-15 21:36:25 +00:00
Andrey A. Chernov
6d718805b0 Add color_display variable for CPU_COLORDISP sysctl. 1994-10-15 21:33:58 +00:00
Poul-Henning Kamp
ed7a91b5d2 moved a message into a #ifdef DEBUG. This message comes out if a kernel
doesn't have any networking in it.  For instance the new "MINI" install-
kernel.
1994-10-15 21:33:17 +00:00
Andrey A. Chernov
2b2701db9a ADd CPU_COLORDISP sysctl to handle console display type 1994-10-15 21:25:03 +00:00
Garrett Wollman
ac08bc0c4a For those who want a little more control over their build process...
Added two new targets, `most' and `mostinstall', which compile and
install (respectively) just the binaries from just the ``core'' parts
of the system.  This makes it easier to do something like the following
(which I do):

	# cd /usr/src
	# make obj depend
	(scrutinize make output)
	# make most
	# make mostinstall

...which will not confuse things by installing new libraries, /usr/share,
games, gcc (two extra times), and so on.  Obviously, if you do this, then
you have to be careful to watch for changes in include files and make macros,
and do the appropriate thing in those cases.  (It usually still doesn't
involve building GCC three times or libc six.)
1994-10-15 21:19:56 +00:00
Andrey A. Chernov
9d40918f0f CPU_COLORDISP sysctl added for console display type 1994-10-15 21:18:11 +00:00