Poul-Henning Kamp
50edb6dded
Martins latest changes. RFC1048 and swap-file should be in the game now.
...
Submitted by: Martin Renters.
1994-10-19 20:25:37 +00:00
Garrett Wollman
f1d8109335
Add support for devconf to a large number of device drivers, and do
...
the right thing in dev_goawayall() when kdc_goaway is null.
1994-10-19 01:59:11 +00:00
Garrett Wollman
87b5fe25aa
Define SCSI_EXTERNALLEN outside of #ifdef KERNEL, for lsdev.
1994-10-19 01:49:23 +00:00
Garrett Wollman
fc4375072a
Forgot to bring this file over from previous commit.
1994-10-19 01:20:44 +00:00
Garrett Wollman
cdb29d3268
kdc_datalen is now a number, not a function pointer.
1994-10-19 00:10:10 +00:00
Garrett Wollman
324b24896b
all: register devices
...
cd.c sd.c: implement disk stats
1994-10-19 00:09:47 +00:00
Garrett Wollman
299b48a4da
Use a static length for externalized data, rather than calling a function.
1994-10-19 00:08:48 +00:00
Garrett Wollman
922006325b
isa.c isa_device.h: declare & define {e,}isa_{in,ex}ternalize().
...
fd.c: register devices and implement disk stats.
wd.c: fix disk stats and call isa_externalize() as appropriate.
1994-10-19 00:08:07 +00:00
Garrett Wollman
02694b627b
Move some declarations to more appropriate header files.
1994-10-19 00:06:24 +00:00
Garrett Wollman
f1815f8986
Implement disk_externalize().
1994-10-19 00:05:59 +00:00
Garrett Wollman
2a07a4c97e
Conditionally define CC, CWARNOPTS, etc., so that `makeoptions' in
...
config files actually does something useful.
1994-10-18 19:45:46 +00:00
David Greenman
a58d1fa15d
Fix the remaining vmmeter counters. They all now work correctly.
1994-10-18 14:59:20 +00:00
Poul-Henning Kamp
68ce205552
Typo in a comment.
1994-10-18 07:21:57 +00:00
David Greenman
08d7d166b8
Removed references to bclnlist which we don't use/support/need.
1994-10-18 06:55:57 +00:00
David Greenman
1b4bb67169
Fixed bug I just introduced that would have allowed a user to clobber
...
his kernel stack.
1994-10-18 04:40:41 +00:00
David Greenman
2d8f106204
Allow upages to be paged in/accessed.
...
Submitted by: John Dyson
1994-10-18 04:26:53 +00:00
Poul-Henning Kamp
430e2b9142
Spurious "int PHK;" removed.
...
Found it when I compiled my 'PHK' kernel... :-)
1994-10-18 03:53:12 +00:00
Poul-Henning Kamp
ac71bc2538
Added the final printf before jumping to the kernel.
1994-10-18 03:44:02 +00:00
Andrey A. Chernov
37b28ca421
Remove CPU_COLORDISP, GIO_COLOR now exists
1994-10-18 03:42:18 +00:00
Andrey A. Chernov
a5795badfb
Remove color_display, GIO_COLOR now exists
1994-10-18 03:34:53 +00:00
Poul-Henning Kamp
232b94fe38
Made '?' do the same thing as help.
...
Fixed bug in netmask command.
Loads kernel fine. I'm trying to get locore/autoconf to like the stuff.
1994-10-18 02:46:48 +00:00
Poul-Henning Kamp
b888f09c89
Bumped the version to 2.0.1-Development.
1994-10-18 01:50:21 +00:00
Garrett Wollman
d9581afbd9
MDDT_WDC -> MDDT_DISK
...
(NB: this is still not done yet.)
1994-10-17 23:34:21 +00:00
Garrett Wollman
0dcb1dd2e8
Add new definitions for lsdev.
1994-10-17 23:33:52 +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
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
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
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
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
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
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
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
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