Commit Graph

1427 Commits

Author SHA1 Message Date
sos
da6326c1ef Got a little closer with socksys emulation. 1994-10-17 22:13:10 +00:00
sos
7a4daf58ca Added more SCO compat ioctl's. 1994-10-17 22:12:06 +00:00
phk
a87bfe683f 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
phk
93841a2173 #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
phk
e7536ddeff 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
phk
3636a6db90 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
phk
071d10f334 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
ache
93ee3660bb Initialize color_display as undefined, cosmetique 1994-10-17 12:44:02 +00:00
ache
63843cb1d1 Ifdef color_display by NSC, pointed by Rod 1994-10-17 12:36:43 +00:00
dg
ccce4955a0 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
phk
caadb2f384 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
sos
ca4647b889 Added socksys module 1994-10-16 20:39:52 +00:00
sos
79989a11a3 Added load of socksys driver. 1994-10-16 20:39:16 +00:00
wollman
fcbe4ad1d7 Actually document dk_* variables! 1994-10-16 05:03:05 +00:00
wollman
456a060976 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
wollman
c4ebe36a0b 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
wollman
9d3d10662f 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
wollman
46a19625d1 Add interface to new device configuration table. Also implement
transfer statistics for iostat, vmstat, and systat.
1994-10-16 03:50:36 +00:00
wollman
75018964fa Machine-dependent parts of device configuration table. 1994-10-16 03:50:01 +00:00
wollman
44cde5c87e Added kern_devconf.c as standard. 1994-10-16 03:49:43 +00:00
se
ccb43dfe5a Fixed typo and message format change to avoid line wrapping. 1994-10-15 23:27:39 +00:00
phk
682ae148fe Added ed2 device, on a hard-jumpered location for SMC Ultra 1994-10-15 22:19:38 +00:00
phk
687e53b0ba 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
ache
0398136f19 Add color_display variable for CPU_COLORDISP sysctl. 1994-10-15 21:33:58 +00:00
phk
e870798eee 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
ache
f76ae39352 ADd CPU_COLORDISP sysctl to handle console display type 1994-10-15 21:25:03 +00:00
ache
378cac598e CPU_COLORDISP sysctl added for console display type 1994-10-15 21:18:11 +00:00
ache
d2e6f2862c Prevent modem hanging forever on close with CTS off:
use 1min timeout to wakeup ttywait
1994-10-15 18:05:25 +00:00
ache
32696c9c2e ttywait: check conditions again right after oproc
Obtained from: (I know, but can't say :-)
1994-10-15 17:59:02 +00:00
dg
eb282b107c 1) Some of the counters in the vmmeter struct don't fit well into the Mach VM
scheme of things, so I've changed them to be more appropriate. page in/ous
   are now associated with the pager that did them. Nuked v_fault as the
   only fault of interest that wouldn't be already counted in v_trap is a VM
   fault, and this is counted seperately.
2) Implemented most of the remaining counters and corrected the counting of
   some that were done wrong. They are all almost correct now...just a few
   minor ones left to fix.
1994-10-15 13:33:09 +00:00
dg
0319b110ad Count vm faults as v_vm_fault, not v_fault. 1994-10-15 10:33:47 +00:00
dg
3cb54af0bc Properly count object lookups and hits. 1994-10-15 10:28:47 +00:00
phk
d1749692ef Sanitized a little bit. All SCSI is now "controllers" and LINT is more
sorted now.
1994-10-15 08:09:42 +00:00
ache
4aec6df298 Add back variable declaration removed by wrong previous cleanups 1994-10-15 04:14:23 +00:00
ache
b01d3c662a Add back variable declaration removed by wrong prevous cleanups. 1994-10-15 04:08:44 +00:00
phk
a022f22e6b $DESTDIR missing... 1994-10-15 03:59:19 +00:00
phk
c4b061eaa0 Fix the problem with panics when mounting on nonexistant directories. Probably
my fault in the first place...
1994-10-15 02:53:26 +00:00
se
0ff230d311 Submitted by: "Randall W. Dean" <rwd@osf.org>
Fixed typo in initialisation of DMODE:
PCI burst length now really 16 transfers as advertised ...
1994-10-14 23:59:36 +00:00
phk
20388ecc89 I added PROCFS back to the GENERIC kernels. ps(1) needs /proc, so almost
any machine will load it anyway.
1994-10-14 23:16:29 +00:00
sos
4132b1981b Fix install of ibcs2 script. 1994-10-14 22:56:40 +00:00
ache
a92485cbac Fix range checking bug, pointed by peter@haywire.dialix.com 1994-10-14 16:37:58 +00:00
dg
28cf896d68 Got rid of redundant declaration warnings. 1994-10-14 12:26:18 +00:00
dg
6b186a4c66 The code I wrote to write mbufs out using PIO had a bug in the handling
of mb_offset given the right sequence of 1 and 0 byte mbufs. This bug
was discovered by John Hood who also provided this fix -  which is a
rewrite of the routine (and is easier to understand than the code I wrote).

Submitted by:	John Hood <cgull@smoke.marlboro.vt.us>
1994-10-14 11:56:36 +00:00
jkh
9dfe9407ee Last commit not quite right - this works. 1994-10-14 09:04:19 +00:00
jkh
3dd6a4b3cf Get the EXCLUDES correct so you can actually exclude GUS support. 1994-10-14 09:01:20 +00:00
jkh
90ce517544 Add missing )'s to previous midnight changes. :-) 1994-10-14 08:57:25 +00:00
sos
b914c50dad Added coff & ibcs2 modules.
Reviewed by:
Submitted by:
Obtained from:
1994-10-14 08:54:31 +00:00
sos
8c25a4d2ac iBCS2 emulator core files.
This is the main files for the iBCS2 emulator. It can be use
compiled into the kernel by using:

options		IBCS2
options 	COMPAT_IBCS2

or as a lkm module using:

options		COMPAT_IBCS2

and then loading it via the ibcs2 script in /usr/bin

REMEMBER: this code is still experimental ! NO WARRENTY !

Submitted by:	sef@kithrup.com, mostyn@mrl.com, sos@kmd-ac.dk
1994-10-14 08:53:16 +00:00
sos
e5a7fbf2bb LKM module for the coff loader (used for iBCS2 emulation) 1994-10-14 08:46:12 +00:00
sos
eefd04ea19 LKM module for the iBCS2 emulator 1994-10-14 08:45:16 +00:00