Commit Graph

1040 Commits

Author SHA1 Message Date
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
Poul-Henning Kamp
68ce205552 Typo in a comment. 1994-10-18 07:21:57 +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
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
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
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
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
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
Andrey A. Chernov
2b2701db9a ADd CPU_COLORDISP sysctl to handle console display type 1994-10-15 21:25:03 +00:00
Andrey A. Chernov
9d40918f0f CPU_COLORDISP sysctl added for console display type 1994-10-15 21:18:11 +00:00
Andrey A. Chernov
22171b7a33 Prevent modem hanging forever on close with CTS off:
use 1min timeout to wakeup ttywait
1994-10-15 18:05:25 +00:00
David Greenman
976e77fc9c 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
Poul-Henning Kamp
4da5299d11 Sanitized a little bit. All SCSI is now "controllers" and LINT is more
sorted now.
1994-10-15 08:09:42 +00:00
Poul-Henning Kamp
da330b4225 $DESTDIR missing... 1994-10-15 03:59:19 +00:00
Stefan Eßer
6055e04518 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
Poul-Henning Kamp
5c6f82a20a 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
Andrey A. Chernov
0a97fb590a Fix range checking bug, pointed by peter@haywire.dialix.com 1994-10-14 16:37:58 +00:00
David Greenman
687ad8d189 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
Jordan K. Hubbard
c59ce636ad Last commit not quite right - this works. 1994-10-14 09:04:19 +00:00
Jordan K. Hubbard
e1e0de6dae Get the EXCLUDES correct so you can actually exclude GUS support. 1994-10-14 09:01:20 +00:00
Søren Schmidt
69b770e238 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
Søren Schmidt
6e542db138 Main iBCS2 include file. First part of iBCS2 emulator. 1994-10-13 21:08:11 +00:00
Søren Schmidt
5411ea9d8c Added ibcs2_socksys file. 1994-10-13 20:19:11 +00:00
Søren Schmidt
539168b09f Added socksys device (for iBCS2 emulation)
Reviewed by:
Submitted by:
Obtained from:
1994-10-13 20:17:06 +00:00
Stefan Eßer
55f018a694 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
removed PCI mapping call from vga_attach() in pcisupport.c.
1994-10-13 01:12:31 +00:00
Stefan Eßer
152f2ff316 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Debugging option changed, getirr() removed.
1994-10-13 01:11:13 +00:00
Bruce Evans
b2f6e97280 Work around FIFO bug in SMC UARTS.
Fix endless loop in siopoll() for an event on a tty with no tty struct.
Don't generate unwanted interrupts in the serial console driver.  These
bugs probably don't matter unless the tty struct is dynamically allocated.

Support polled mode.  To use it, leave out the irq and the vector in
the config file.  It only causes extra overhead for open polled ports.
The maximum usable speed is approximately 1000 bps for a 16450 and
15000 bps for a 16550.

Other cosmetic changes.
1994-10-12 19:49:11 +00:00
Stefan Eßer
fb912bf5b8 Submitted by: Matt Thomas <thomas@lkg.dec.com>
#ifdef MULTICAST removed.
1994-10-12 11:39:37 +00:00
Stefan Eßer
140e168d9b Submitted by: Matt Thomas <thomas@lkg.dec.com>
Preliminary FAST Ethernet support added (DEC21140).
1994-10-12 11:19:36 +00:00
Stefan Eßer
157823e855 Temporary disable scanning for VGA cards, was causing problems. 1994-10-12 11:06:49 +00:00
Stefan Eßer
5044407419 Submitted by: Bruce Evans <bde@zeta.org.au>
Function getirr() could clobber interrupt controller state.
1994-10-12 04:17:24 +00:00