Commit Graph

1008 Commits

Author SHA1 Message Date
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
Poul-Henning Kamp 1915df31ae Added a 10ms delay after the HW-reset in bt_init(). This makes some funky
old boards more happy.
Reviewed by:	Julian
Submitted by:	Julian
1994-10-12 04:15:30 +00:00
Stefan Eßer 8f7b2bb2fb Name change: pci_intel.c -> pcisupport.c 1994-10-12 03:56:49 +00:00
Stefan Eßer 468010e809 Small corrections:
pci config line now without irq
	boot message changed
1994-10-12 02:41:21 +00:00
Stefan Eßer 65772aee92 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Bug fixed, that caused system hang on first interrupt on some motherboards.

New version of PCI bus configuration code, now supports dynamic interrupt
configuration (using BIOS supplied values).
NCR SCSI and DEC Ethernet driver patched to use this feature.
*** Remove PCI IRQ specifications from your kernel config file ! ***
1994-10-12 02:33:23 +00:00
Stefan Eßer 86e0c19b6c Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Name change: pci_intel.c -> pcisupport.c
1994-10-12 02:27:08 +00:00
Stefan Eßer 8870af7f56 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Files merged and name change: pci_device.h + pcibios.h -> pcireg.h
1994-10-12 02:25:03 +00:00
Stefan Eßer 22d3e9a6d7 Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Name change: ncrstat -> ncrcontrol
1994-10-12 02:23:14 +00:00
Stefan Eßer a7d314a58f Submitted by: Wolfgang Stanglmeier <wolf@dentaro.GUN.de>
Name change: ncr_reg.h -> ncrreg.h
1994-10-12 02:21:56 +00:00
Søren Schmidt fabbd9b7ce Ouch, fixed bug in errno translation (ibcs2 support). 1994-10-11 22:37:14 +00:00
Poul-Henning Kamp f9b94d9135 minaddr #ifdef lost in previous commit. Sorry. 1994-10-10 18:06:58 +00:00
Søren Schmidt 76d121f2b4 Hmm, only translate errno when doing an actual return.
Reviewed by:	sef@freefall.cdrom.com
1994-10-10 07:33:01 +00:00
Poul-Henning Kamp 4a5014e48b Got rid of "APM" macro. Now only NAPM is needed to activate the APM stuff. 1994-10-10 01:14:03 +00:00
Poul-Henning Kamp 702c623a8a Cosmetics. Silence gcc -Wall. Much more to do here :-( 1994-10-10 01:12:27 +00:00
Poul-Henning Kamp e81c2e89d8 locore.s: Made the APM stuff depend on NAPM > 0 rather than a separate
"APM" macro.
machdep.c: Made the APM-descriptors unconditional.
Bruce: if these still conflict with your debugger, please put in a reservation
for your debugger.  These three desc. can be anywhere, as long as they are
contiguous, so just move them as needed.
1994-10-10 01:10:22 +00:00
Poul-Henning Kamp a12dee4de7 Cosmetics. Added a prototype. 1994-10-10 01:06:48 +00:00
Jordan K. Hubbard c67da8bec0 Make the Bt545S work a little nicer with a strategic delay.
Submitted by:	dyson
1994-10-10 00:46:09 +00:00
Søren Schmidt c96f129304 Updated to convert errno return in syscall if conversion tabel present. 1994-10-09 22:02:06 +00:00
David Greenman 35c10d2239 Got rid of map.h. It's a leftover from the rmap code, and we use rlists.
Changed swapmap into swaplist.
1994-10-09 07:35:18 +00:00
Poul-Henning Kamp 82b695b22d A couple of prototypes moved out from here. 1994-10-08 22:27:58 +00:00
Poul-Henning Kamp 50a1a05445 Added prototypes. 1994-10-08 22:21:34 +00:00
Poul-Henning Kamp 3fb3086e98 db_disasm.c: Unused var zapped.
pmap.c: tons of unused vars zapped, various other warnings silenced.
trap.c: unused vars zapped.
vm_machdep.c:  A wrong argument, which by chance did the right thing, was
corrected.
1994-10-08 22:19:51 +00:00
David Greenman 329726aa91 Completely removed trailer support. The only reason I wrote that code in
the first place was so that BPF could grok trailer packets. I've since
decided that this is a job for tcpdump to decipher (if at all). Also
fixed up checks for received packet length to better cope with ancient
starlan boards.
1994-10-08 09:24:20 +00:00
Rodney W. Grimes 80fb3d79f6 Correct #ifdef for nfs_disless support is #ifdef NFS, there will be no
option DISKLESS for the 2.0 nfs diskless support.   A 2.0 diskless kernel
simple needs NFS linked in statically.
1994-10-08 06:20:52 +00:00
Poul-Henning Kamp 26dc463449 I forgot this bit of APM stuff last week. 1994-10-07 21:23:33 +00:00
Poul-Henning Kamp db9c7160f8 Reviewed by: phk
Submitted by:	 Thomas David Rivers <rivers%ponds@ncren.net>

WARNING: might hide some bug below!  I commit this to improve the stability
of 2.0.

Thomas wrote:
-------------
 I have been running a kernel with this change since October 4th; barring
unrelated network router troubles, the pitiful little machine has
completed several builds without any interaction from me, and continues
to chug along.

 I re-read wd.c, and added appropriate printfs() to look for references
to dk_badsect[].  My changes should have printed something when dk_badsect[]
was referenced.

 I got no output :-(

 Thus, I'm forced to concluded that something else is examining some
spurious memory... which happened to be in dk_badsect[] of the disk structure
in wd.c.  I can find no other explanation of why this unnecessary
initialization causes things to operate correctly.

 On the premise that such an initialization isn't going to hurt anything,
I'm going to suggest it go into 2.0.

 I'd like to thank everyone for there assistance, particularly David,
John and Bruce.
1994-10-07 21:17:41 +00:00
David Greenman f8f472c265 #ifdef DISKLESS the copying of the nfs_diskless structure. Not the best
solution, but the only one I have time for at the moment.
1994-10-07 05:45:27 +00:00
Andrey A. Chernov 24c989ac53 Change first CFLAGS+= to CFLAGS= or we got really bad results
especially with -m486 from make.conf
1994-10-07 05:36:01 +00:00
Rodney W. Grimes 9949ebf656 1. BOOTSEG and BOOTSTACK are now set from the Makefile, the boot code has
been relocated to run in the 64k segment at 0x10000 with the stack at
    the top of this segment.  This corrects the problems machines with 512K
    base memory had booting.

2.  startprog routing rewritten to convert the BOOTSEG ss to a KERNELSEG
    ss, this eliminated the last of the >512K memory references.  Additional
    cleanup in here included a better way to copy the arguments to the
    kernel stack.

3.  Elimination of argv and esym cruft saved a few bytes.

4.  Only need to truncate the head.a_entry to a meg boundary once intead
    of every time we used it!  [Saving more bytes].

5.  Addition of version 1 bootinfo structure support.  These boot blocks
    pass the kernel name in to the kernel now.

6.  Removed historical comments about MACH argv stuff, as it is useless now.
1994-10-06 09:41:05 +00:00
Rodney W. Grimes 76b993fbbe 1. bootinfo.h defines the structure passed in to the kernel by the
new boot code.
1994-10-06 09:25:25 +00:00
Rodney W. Grimes 0b62704dc3 1. Eliminate unused esym global from locore, our boot code never supported
that and when it does it will be done differently.

2.  The kernel now does a frame setup on entry so it ``looks'' like a
    real function call.  This will be needed by future boot code and
    debuggers.

3.  Clean up stack offsets to all be in decimal and use %ebp when copying
    parameters in from the boot code.

4.  Implement version 1 of the uniform boot code passing mechanism with
    support for kernelname passing and nfs_diskless structure passing.

5.  Document the 3 different ways the kernel is called depending on what code
    is calling it.
1994-10-06 09:22:47 +00:00
Andrey A. Chernov 03e4d516a4 Add code to handle CPU_DISRTCSET 1994-10-04 18:44:21 +00:00
Andrey A. Chernov fd34b8e78c Add disable_rtc_set variable to block resettodr() call, needed for
adjkerntz -i, per Bruce suggestion
1994-10-04 18:39:10 +00:00