]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
30 years agoThis commit was manufactured by cvs2svn to create branch 'voxware'.
cvs2svn [Fri, 11 Mar 1994 10:27:26 +0000 (10:27 +0000)]
This commit was manufactured by cvs2svn to create branch 'voxware'.

30 years agoThis is the Linux generic soundcard driver, version 1.0c. Supports
jkh [Sat, 23 Oct 1993 10:55:52 +0000 (10:55 +0000)]
This is the Linux generic soundcard driver, version 1.0c.  Supports
SBlaster/Adlib/ProAudio Spectrum/Gravis/etc cards.  This is a BETA test
driver, please test it and get back to me!

30 years agoSoundcard driver include file (/usr/include/machine/soundcard.h)
jkh [Sat, 23 Oct 1993 10:50:21 +0000 (10:50 +0000)]
Soundcard driver include file (/usr/include/machine/soundcard.h)

30 years agoNew soundcard driver at major device 21
jkh [Sat, 23 Oct 1993 10:49:24 +0000 (10:49 +0000)]
New soundcard driver at major device 21

30 years agoAdd config + files information for new Linux soundcard driver
jkh [Sat, 23 Oct 1993 10:49:01 +0000 (10:49 +0000)]
Add config + files information for new Linux soundcard driver

30 years agoRemoved un-necessary dependencies for assym.s
nate [Sat, 23 Oct 1993 08:28:17 +0000 (08:28 +0000)]
Removed un-necessary dependencies for assym.s

30 years agoReverted back to older version of ./genassym, instead of ./genassym.o
nate [Sat, 23 Oct 1993 06:46:24 +0000 (06:46 +0000)]
Reverted back to older version of ./genassym, instead of ./genassym.o
since make depend wasn't picking up any new dependencies.  However, due
to a bug in the old code, the original dependencies weren't being used, so
this version is better than the original and the lastest version.
(And is more readable as well)

30 years ago * Revision 2.11 1993/10/23 04:21:03 davidg
dg [Sat, 23 Oct 1993 04:52:41 +0000 (04:52 +0000)]
 * Revision 2.11  1993/10/23  04:21:03  davidg
 * Novell probe changed to be invasive because of too many complaints
 * about some clone boards not being reset properly and thus not
 * found on a warmboot. Yuck.
 *
 * Revision 2.10  1993/10/23  04:07:12  davidg
 * increment output errors if the device times out (done via watchdog)
 *
 * Revision 2.9  1993/10/23  04:01:45  davidg
 * increment input error counter if a packet with a bad length is
 * detected.

30 years agoFrom Andrew Chernov:
dg [Fri, 22 Oct 1993 02:49:34 +0000 (02:49 +0000)]
From Andrew Chernov:

(see changes to getty which this patch is part of)

Basically, a few of the tty flags were changed to work better with
'CRT's, and the flags are better documented (documentation from Bruce
Evans).

30 years agoChange space to tab in ruserd line per Guido van Rooij
rgrimes [Thu, 21 Oct 1993 17:34:32 +0000 (17:34 +0000)]
Change space to tab in ruserd line per Guido van Rooij

30 years agoMake whatisdb after the whole system is installed, since the one in
rgrimes [Thu, 21 Oct 1993 17:33:43 +0000 (17:33 +0000)]
Make whatisdb after the whole system is installed, since the one in
share/man will only create entries for manual pages that have been
installed up to that point.

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
rgrimes [Wed, 20 Oct 1993 15:49:02 +0000 (15:49 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Date: Wed, 20 Oct 1993 18:28:44 +0300

Editors Note:
Line ended with comma (``,'') instead of semicolon (``;''),
this should not have effected the code.
Submitter made no comments other than it was ``simple''.

30 years agoInstall mse man page, and create link for it
rgrimes [Tue, 19 Oct 1993 20:20:33 +0000 (20:20 +0000)]
Install mse man page, and create link for it

30 years agoMove the mse mouse man page to the man4.i386 directory
rgrimes [Tue, 19 Oct 1993 20:19:15 +0000 (20:19 +0000)]
Move the mse mouse man page to the man4.i386 directory

30 years agoFixe a spelling error and added both the mse (logitech and ATI inport) and
nate [Tue, 19 Oct 1993 20:00:35 +0000 (20:00 +0000)]
Fixe a spelling error and added both the mse (logitech and ATI inport) and
the psm (PS/2 bus) mouse support

(The psm driver will have to come later)

30 years agoMake darn sure that fsck does not try to fsck dos file systems by setting
rgrimes [Tue, 19 Oct 1993 19:58:55 +0000 (19:58 +0000)]
Make darn sure that fsck does not try to fsck dos file systems by setting
the fsck pass to 0, same thing for dump field, in the fstab that is
created by this script.

30 years agoUpdated LINT to have the mse0 config line
nate [Tue, 19 Oct 1993 19:49:24 +0000 (19:49 +0000)]
Updated LINT to have the mse0 config line

30 years agoThis is my patched version of a busmouse driver originally by Rick Macklem
nate [Tue, 19 Oct 1993 19:46:49 +0000 (19:46 +0000)]
This is my patched version of a busmouse driver originally by Rick Macklem
(rick@snowhite.cis.uoguelph.ca).  I am currently using it with a Microsoft
InPort busmouse, under FreeBSD Epsilon.  I hadn't planned on supporting it,
but I have patched it a few times, and I guess this is now the de facto
reference version, so send me any problems or improvements.

                                                        - Gene Stark
                                                          stark@cs.sunysb.edu
                                                          October 9, 1993

30 years agomerge free.c realloc.c into malloc.c so that all three are linked in
rich [Tue, 19 Oct 1993 18:22:37 +0000 (18:22 +0000)]
merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc().  And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc.  Rich

30 years agoRemove reference to EPSILON release.
rgrimes [Tue, 19 Oct 1993 17:33:38 +0000 (17:33 +0000)]
Remove reference to EPSILON release.

30 years agoAdd ie0 to standard kernels, this is the ATT starlan/ethernet driver
rgrimes [Tue, 19 Oct 1993 01:28:09 +0000 (01:28 +0000)]
Add ie0 to standard kernels, this is the ATT starlan/ethernet driver
from Garrett Wollman.

30 years agoFree malloc'ed memory when resetting card.
paul [Mon, 18 Oct 1993 22:48:48 +0000 (22:48 +0000)]
Free malloc'ed memory when resetting card.

30 years agoCorrect config line for ie0 per Garrett Wollman.
rgrimes [Mon, 18 Oct 1993 22:46:58 +0000 (22:46 +0000)]
Correct config line for ie0 per Garrett Wollman.

30 years agoFix for version name in /etc/motd, now uses uname to get this information!
rgrimes [Mon, 18 Oct 1993 19:08:36 +0000 (19:08 +0000)]
Fix for version name in /etc/motd, now uses uname to get this information!

30 years ago>From: Julian Elischer <julian@jules.dialix.oz.au>
rgrimes [Mon, 18 Oct 1993 18:45:48 +0000 (18:45 +0000)]
>From: Julian Elischer <julian@jules.dialix.oz.au>
Date: Tue, 19 Oct 1993 02:22:41 -40962758 (WST)

As the subject line says:
I can;t believe this typo is still here.

Has NOBODY used the isa_dmastart() routine for 16bit DMA?

I know I just hit the dma regs directly for the AHA1542,
and it appears that either everybody else does as well, or
they only use 8bit DMA (e.g. floppy)

Editors Note:
The definition of DMA2_CHN was incorrectly using IO_DMA1!

30 years agoYank out Christoph Robitschko's hack for the hanging console problem as
dg [Mon, 18 Oct 1993 14:21:48 +0000 (14:21 +0000)]
Yank out Christoph Robitschko's hack for the hanging console problem as
it didn't actually fix it, and because starting the getty on /dev/console
instead of /dev/vga is a good work-around.

30 years agoChange getty entry to start on /dev/console instead of /dev/vga, this fixes
rgrimes [Mon, 18 Oct 1993 14:11:53 +0000 (14:11 +0000)]
Change getty entry to start on /dev/console instead of /dev/vga, this fixes
the syslogd problem with consoles that do not respond after hupping syslogd.

30 years agoPatch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
jkh [Mon, 18 Oct 1993 02:19:54 +0000 (02:19 +0000)]
Patch from stever@csuohio.edu (Steve Ratliff) to make FAT_CURSOR work
on HDA/CGA displays.

30 years agoModified memory allocation to use malloc rather than a static array.
paul [Sun, 17 Oct 1993 22:22:46 +0000 (22:22 +0000)]
Modified memory allocation to use malloc rather than a static array.

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 19:17:18 +0000 (19:17 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 17:21:10 +0000 (17:21 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 16:47:35 +0000 (16:47 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 15:24:44 +0000 (15:24 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 14:40:57 +0000 (14:40 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 14:15:10 +0000 (14:15 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoRemoved all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
rgrimes [Sat, 16 Oct 1993 13:48:52 +0000 (13:48 +0000)]
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
minor cleanup.  Added $Id$ to files that did not have any version info, etc

30 years agoChecked and corrected various bits of grammar, as requested.
jkh [Sat, 16 Oct 1993 12:41:36 +0000 (12:41 +0000)]
Checked and corrected various bits of grammar, as requested.

30 years agoAdd:
rgrimes [Sat, 16 Oct 1993 12:28:35 +0000 (12:28 +0000)]
Add:
device ed1 at isa? port 0x300 net irq 5 iomem 0xd8000 vector edintr

30 years agoDisable the aha_set_speed code since it breaks more than it fixes.
rgrimes [Sat, 16 Oct 1993 12:27:20 +0000 (12:27 +0000)]
Disable the aha_set_speed code since it breaks more than it fixes.

30 years agoFix the document title to match the format of our other docs.
rgrimes [Sat, 16 Oct 1993 12:22:45 +0000 (12:22 +0000)]
Fix the document title to match the format of our other docs.

Clean up some stuff so that it reads a little better (some one please
review this for me!)

Adaptec controllers are 154x and 174x series.  Add Buslogic 545S.

30 years agoRemove the EPSILON from the release level
rgrimes [Sat, 16 Oct 1993 12:06:30 +0000 (12:06 +0000)]
Remove the EPSILON from the release level

30 years agoFix the title up on this, removed the date and format it to match
rgrimes [Sat, 16 Oct 1993 12:05:51 +0000 (12:05 +0000)]
Fix the title up on this, removed the date and format it to match
the RELEASE NOTES.

Adaptec controllers are now 154x and 174x series, no more reference
to specific models.  Revamp the CSI hard disk controller section in
general to be more user readable.

Add the fact that the Mitsumi CDROM controller and drive are now
supported.

Add a note that the Intel 82501 serial chip is NOT supported.

Floppy controller is fd0, not fdc0, same for wd disk controller.

30 years agoAllow install floppy to be placed in the B: drive.
chmr [Sat, 16 Oct 1993 09:12:08 +0000 (09:12 +0000)]
Allow install floppy to be placed in the B: drive.

30 years agoEnable mcd0 (Mistumi CDROM) since we now have load space for it
rgrimes [Fri, 15 Oct 1993 12:47:02 +0000 (12:47 +0000)]
Enable mcd0 (Mistumi CDROM) since we now have load space for it

30 years agoDont just mask the Megabyte, we need all the bits below too,
rgrimes [Fri, 15 Oct 1993 12:33:03 +0000 (12:33 +0000)]
Dont just mask the Megabyte, we need all the bits below too,
and ELIMITNATE THE 28K BOGOUSITY.

30 years ago * Revision 2.8 1993/10/15 10:59:56 davidg
dg [Fri, 15 Oct 1993 11:06:41 +0000 (11:06 +0000)]
 * Revision 2.8  1993/10/15  10:59:56  davidg
 * increase maximum time to wait for transmit DMA to complete to 120us.
 * call ed_reset() if the time limit is reached instead of trying
 * to abort the remote DMA.
 *
 * Revision 2.7  1993/10/15  10:49:10  davidg
 * minor change to way the mbuf pointer temp variable is assigned in
 * ed_start (slightly improves code readability)
 *
 * Revision 2.6  93/10/02  01:12:20  davidg
 * use ETHER_ADDR_LEN in NE probe rather than '6'.

30 years agogenassym.c:
rgrimes [Fri, 15 Oct 1993 10:34:29 +0000 (10:34 +0000)]
genassym.c:
Remove NKMEMCLUSTERS, it is no longer define or used.

locores.s:
Fix comment on PTDpde and APTDpde to be pde instead of pte
Add new equation for calculating location of Sysmap
Remove Bill's old #ifdef garbage for counting up memory,
that stuff will never be made to work and was just cluttering
up the file.

Add code that places the PTD, page table pages, and kernel
stack below the 640k ISA hole if there is room for it, otherwise
put this stuff all at 1MB.  This fixes the 28K bogusity in
the boot blocks, that can now go away!

Fix the caclulation of where first is to be dependent on
NKPDE so that we can skip over the above mentioned areas.
The 28K thing is now 44K in size due to the increase in
kernel virtual memory space, but since we no longer have
to worry about that this is no big deal.

Use if NNPX > 0 instead of ifdef NPX for floating point code.

machdep.c
Change the calculation of for the buffer cache to be
20% of all memory above 2MB and add back the upper limit
of 2/5's of the VM_KMEM_SIZE so that we do not eat ALL
of the kernel memory space on large memory machines, note
that this will not even come into effect unless you have
more than 32MB.  The current buffer cache limit is 6.7MB
due to this caclulation.

It seems that we where erroniously allocating bufpages pages
for buffer_map.  buffer_map is UNUSED in this implementation
of the buffer cache, but since the map is referenced in
several if statements a quick fix was to simply allocate
1 vm page (but no real memory) to it.

pmap.h
Remove rcsid, don't want them in the kernel files!

Removed some cruft inside an #ifdef DEBUGx that caused
compiler errors if you where compiling this for debug.

Use the #defines for PD_SHIFT and PG_SHIFT in place of
constants.

trap.c:
Remove patch kit header and rcsid, fix $Id$.
Now include "npx.h" and use NNPX for controlling the
floating point code.

Remove a now completly invalid check for a maximum virtual
address, the virtual address now ends at 0xFFFFFFFF so
there is no more MAX!!  (Thanks David, I completly missed
that one!)

vm_machdep.c
Remove patch kit header and rcsid, fix $Id$.
Now include "npx.h" and use NNPX for controlling the
floating point code.

Replace several 0xFE00000 constants with KERNBASE

30 years agoparam.h:
rgrimes [Fri, 15 Oct 1993 10:07:45 +0000 (10:07 +0000)]
param.h:

Mark the fact that PGSHIFT and PDRSHIFT are really the same as
PG_SHIFT and PD_SHIFT, these should be collapsed some day soon.

Document that KERNBASE should really be KPTDPTDI << PDRSHIFT, for
now leave it as the constant 0xFE000000 until I make a seperate
common header file for this stuff (vmaddresses.h?)

Remove NKMEMCLUSTERS define, it was only being used to define
VM_KMEM_SIZE, so why have all the indirection.  Besides who wants
to work in CLBYTE sizes chuncks.

pmap.h:

Fix $Id$ and some other minor format clean ups.

Remove the XXX comment about NKPDE, since it now has the correct value
of 7.

Remove unused LASTPTDI and move the APTD into the very end of memory to
free up 4MB of kernel virtual address space.
Remove unused RSVDPTDI and free up 12MB of kernel virtual address space.

vmparam.h

Fix $Id$.

Increase SHMMAXPGS to 512 (2MB) now that there is room for it to be
bigger.  The XXX comment stays until the kernel moves down in memory
to free up enough space to use the proper default of 4MB.

VM_KMEM_SIZE is now a direct constant stating the size of the kernel
malloc region.  Increased the value from 3MB to 16MB.

30 years agoAdd detection code for what model of AHA154X/Z we are running on,
rgrimes [Fri, 15 Oct 1993 09:43:51 +0000 (09:43 +0000)]
Add detection code for what model of AHA154X/Z we are running on,
then use that information to fix the enhancemode features of the
1542C/CF boards by turning them off.

When doing this I found that the Buslogic 545S does NOT properly
mimic the 1542 families AHA_INQUIRE command.  It only returns 1
byte of information, when the adaptec manual clearly states that 4
bytes are to be returned.  I added a printf that explains the error
when we see a 545S for now, I tried to come up with a better solution,
but it involved to much work for now.

30 years agoMoved wt0 (Wangtek/Archive tape driver) to be with the rest of the
rgrimes [Thu, 14 Oct 1993 21:59:50 +0000 (21:59 +0000)]
Moved wt0 (Wangtek/Archive tape driver) to be with the rest of the
bio (block I/O) devices.

Added mcd0 (Mitsumi CDROM driver) but commented it out since there is not
enough room in this kernel for it.

30 years ago>From David Greenman
rgrimes [Thu, 14 Oct 1993 18:15:35 +0000 (18:15 +0000)]
>From David Greenman

Bruce Evans had limited the kernel virtual address space to not include the
last 4MB since it was not being used.  Other changes are being made that will
reloate the Alternate Page Directory Table (APDT) into this area so the limit
is being fixed to be the last virtual address. (Infact with this patch you
can now do that relocation)

30 years agoRemove machdep.c from files.i386 and put machdep.o in the SYSTEM_OBJS
rgrimes [Thu, 14 Oct 1993 17:09:55 +0000 (17:09 +0000)]
Remove machdep.c from files.i386 and put machdep.o in the SYSTEM_OBJS
line of Makefile.i386.  Fixes the extra rule that gmake complains about
for machdep.o.  This fix is from Joans 0lsson.

Rework the depends and rules for assym.s and genassym so that we now use
the .depend rule for genassym.o such that if you change any header files
that are included by genassym.c the right things happen.  This is probably
what has caused more bad kernel builds than any other thing in the
Makefile.i386!

30 years agoMove the wt0 (archive/wangtek tape driver) so that it is with the
rgrimes [Thu, 14 Oct 1993 14:05:44 +0000 (14:05 +0000)]
Move the wt0 (archive/wangtek tape driver) so that it is with the
other bio type devices.

Add mcd0 (mitsumi cd rom driver), to bad that GENERICBT is to large,
otherwise I could add this driver to it too.
--- 72,77 ----

30 years agoMakefile to install sample files in /etc/uucp with correct ownership and
rgrimes [Thu, 14 Oct 1993 12:18:29 +0000 (12:18 +0000)]
Makefile to install sample files in /etc/uucp with correct ownership and
permissions

30 years agoAdd subdir samples so that the sample scripts can get installed in /etc/uucp.
rgrimes [Thu, 14 Oct 1993 12:17:58 +0000 (12:17 +0000)]
Add subdir samples so that the sample scripts can get installed in /etc/uucp.
Add group to Makefile.inc for use in installing sample files

30 years agoAdd /etc/uucp for uucp configuration files
rgrimes [Thu, 14 Oct 1993 12:08:04 +0000 (12:08 +0000)]
Add /etc/uucp for uucp configuration files

30 years agoDisassociate DTR and RTS. They were coupled together and shouldn't have
dg [Thu, 14 Oct 1993 09:13:54 +0000 (09:13 +0000)]
Disassociate DTR and RTS. They were coupled together and shouldn't have
been. This was necessary to work around problems with some equipment
that don't respond favorably to having these both dropped simultaneously.

30 years agoUpdated gzip from version 1.2.2 to 1.2.4 due to popular demand
nate [Thu, 14 Oct 1993 00:33:38 +0000 (00:33 +0000)]
Updated gzip from version 1.2.2 to 1.2.4 due to popular demand

30 years agoSurround printf for uha_init board not responding printf with #ifdef UHADEBUG,
rgrimes [Thu, 14 Oct 1993 00:07:04 +0000 (00:07 +0000)]
Surround printf for uha_init board not responding printf with #ifdef UHADEBUG,
since the main line probe code now tells you it did not find one.

30 years agoIncrease the DELAY that supposedly makes the Bustek 545 work from
rgrimes [Wed, 13 Oct 1993 16:34:10 +0000 (16:34 +0000)]
Increase the DELAY that supposedly makes the Bustek 545 work from
1ms to 10ms.  I have my doubts, but oh well.

30 years agoChange uusnap to uustat -a, since we do not have a uusnap installed (some
rgrimes [Wed, 13 Oct 1993 16:26:03 +0000 (16:26 +0000)]
Change uusnap to uustat -a, since we do not have a uusnap installed (some
one did not finish porting uucp/contrib directory)

30 years agoALL:
rgrimes [Wed, 13 Oct 1993 15:59:30 +0000 (15:59 +0000)]
ALL:

Removed patch kit headers and rcsid strings, add $Id$.

isa.c:

Removed old #ifdef notyet isa_configure code, since it will never be
used, and I have done 90% of what it attempted to.

Add conflict checking code that searchs back through the devtab's looking
for any device that has already been found that may conflict with what
we are about to probe.  Checks are mode for I/O address, memory address,
IRQ, and DRQ.  This should stop the screwing up of any device that has
alread been found by other device probes.
Print out messages when we are not going to probe a device due to
a conflict so the user knows WHY something was not found.  For example:

aha0 not probed due to irq conflict with ahb0 at 11

Now print out a message when a device is not found so the user knows
that it was probed for, but could not be found.  For example:

ed1 not found at 0x320

For devices that have I/O address < 0x100 say that they are on the
motherboard, not on isa!  The 0x100 magic number is per ISA spec.  It
may seem funny that pc0 and sc0 report as being on the motherboard, but
this is due to the fact that the I/O address used is that of the keyboard
controller which IS on the motherboard.  We really need to split the
keyboard probe from the display probe.  It is completly legal to build
a pc with out one or the other, or even with out both!

npx.c:

Return -1 from the probe routine if we are using the Emulator so
that the i/o addresses are not printed, this is the same trick used
for 486's.

Do not print the ``Errors reported via Exception 16'', and
``Errors reported via IRQ 13'' messages any more, since these just lead
to more user confusion that anything.  It still prints the message
``Error reporting broken, using 387 emulator'' so that the person is
aware that there mother board is ill.

30 years agoRemoved hack that did the R_SHIFT of unsigned numbers, no longer need
rgrimes [Wed, 13 Oct 1993 07:11:11 +0000 (07:11 +0000)]
Removed hack that did the R_SHIFT of unsigned numbers, no longer need
to do this as I have changed to using PDTI's as the bases for the vm
system layout.

Eliminate constants SYSPDROFF and SYSPDREND, now use NKPTE to control the size
of the kernel virtual space.

Eliminate constant PDRPDROFF, now use PDTDTPI to control location of PTD,
PTDmap and PTDpde

Eliminate constant APDRPDROFF, now use APTDPTDI to control location of APTD,
APTDmap and APTDpde.

Still need to fix Sysmap location (it is still a constant).

.globl statements are now consistent with respect to <comma><space>, the
<space> being removed from all .globl statements.

Document the fillkpt macro as to what registers control what.

Fix some comments that went past column 80, and clean/line some others up.

Remove constand for _Crtat, now use KERNBASE+constant, this still needs work.

Replace constants for offsets of sigcode parameters with symbolic names
from assym.s

Mark the sigreturn() call with XXX since we use the hardcoded constant
for the system call number, this is bogus and should be a #define or
something some place!

The kernel before and after this change was verified with cmp, not one
byte changed.  These are all cosmetic clean up changes that makes the
code more correct and easier to move the kernels virtual address space
and size.

30 years agoDisable rpc services so that inetd no longer hangs when you are not
rgrimes [Wed, 13 Oct 1993 06:32:06 +0000 (06:32 +0000)]
Disable rpc services so that inetd no longer hangs when you are not
running portmapper.  These are site specific functionality and should only
be enabled for sites that want them, not by default.

These services REQUIRE portmapper to be running

30 years agoAdd Page Table Directory Indexes (NKPDE, KPTDI, PTDPTDI, APTDPTDI) to
rgrimes [Tue, 12 Oct 1993 15:33:18 +0000 (15:33 +0000)]
Add Page Table Directory Indexes (NKPDE, KPTDI, PTDPTDI, APTDPTDI) to
be used to replace more constants in locore.

30 years agoKPTDI_LAST renamed to KPTDI
rgrimes [Tue, 12 Oct 1993 15:09:37 +0000 (15:09 +0000)]
KPTDI_LAST renamed to KPTDI

30 years agoEliminate definition of I386_PAGE_SIZE and use NBPG instead
rgrimes [Tue, 12 Oct 1993 13:58:01 +0000 (13:58 +0000)]
Eliminate definition of I386_PAGE_SIZE and use NBPG instead

Cleaned up tabs vs spaces after #define to make file consistent.
Removed now unused definitions of I386_PAGE_SIZE and I386_PDR_SIZE

Note That these two where unused and had the wrong values anyway!
Changed I386_KPDES to NKPDE
Changed I386_UPDES to NUPDE

Redid constant assignments of *PTDI's to be sizeable and relative.

30 years agoEliminate definition of I386_PAGE_SIZE and use NBPG instead
rgrimes [Tue, 12 Oct 1993 13:53:25 +0000 (13:53 +0000)]
Eliminate definition of I386_PAGE_SIZE and use NBPG instead
Replace 0xFE000000 constants with KERNBASE
Use new definition NKPDE in place of a first-last+1 calculation.

30 years agoFixed PHYSTOKV, addition operator on pointers is the wrong thing to do
rgrimes [Tue, 12 Oct 1993 12:08:16 +0000 (12:08 +0000)]
Fixed PHYSTOKV, addition operator on pointers is the wrong thing to do
here.  This is really a crock, but it works.

30 years agoRemove erronous definitions of PHYSTOKV, correct one is in param.h now.
rgrimes [Tue, 12 Oct 1993 07:15:38 +0000 (07:15 +0000)]
Remove erronous definitions of PHYSTOKV, correct one is in param.h now.

30 years agoAdd PHYSTOKV used in scsi drivers with a correct definition based on
rgrimes [Tue, 12 Oct 1993 07:13:12 +0000 (07:13 +0000)]
Add PHYSTOKV used in scsi drivers with a correct definition based on
KERNBASE.

Change #define<tab> to #define<space> on lines that had it wrong

30 years agoUse KERNBASE for locating stuff in kernel virtual memory, not hard coded
rgrimes [Tue, 12 Oct 1993 06:59:36 +0000 (06:59 +0000)]
Use KERNBASE for locating stuff in kernel virtual memory, not hard coded
constants.

30 years agoi82586 support file for Garrett Wollmans ie driver
rgrimes [Tue, 12 Oct 1993 06:53:10 +0000 (06:53 +0000)]
i82586 support file for Garrett Wollmans ie driver

30 years ago> Gcc2 generates memcpy calls when doing some structure copying in the
rgrimes [Tue, 12 Oct 1993 06:52:34 +0000 (06:52 +0000)]
>  Gcc2 generates memcpy calls when doing some structure copying in the
> code. As this memcpy generation is done by the compiler it doesn't
> work to have memcpy a macro. Instead I made it a static function that
> calls bcopy.

Okay, I tracked down the d*mn thing that is causing the memcpy to be
emmitted by gcc2.  In the following patch is a fix to eliminate the
one place that was causing gcc to do the memcpy in function ie_readframe
for the ie_recv_frame_desc rfd = *(ie->rframes[num]) structure copy.

I also fixed the code so that the NS (XNS) support would compile with
out error and removed the cruft #define ns_* stuff from the softc
structures (I did this a while back for all the other either drivers)

Removed the $Log$ and all of the old log stuff, that is all kept in
the cvs tree, no need to duplicate it in the file... I'll copy it
into my commit message so that it is all retained, except the
revision numbers are going to get screwed up.

It now compiles cleanly under my LINT kernel...

>  I have not yet tested this on the AT&T fiver cards yet. But, Wollman
> has used it on various other AT&T cards. I'm pretty sure Terry also
> uses this driver.

$Log$ stuff from Garretts original file
 * $Log$
 * Revision 1.32  1993/06/20  15:56:15  wollman
 * Fixed warning message.
 *
 * Revision 1.31  93/06/20  15:52:28  wollman
 * More compilation lint.
 *
 * Revision 1.30  93/06/20  15:48:16  wollman
 * Commented all the rest of the cast-qual warnings.  Might be
 * fixed someday by changing the prototypes of bcopy(), bzero(), etc.
 *
 * Revision 1.29  93/06/20  15:40:13  wollman
 * Started fixing some of the cast-qual warnings (most just commented).
 *
 * Revision 1.28  93/06/12  20:39:14  wollman
 * Changed definition of MK_24 to silence -Wcast-qual.
 *
 * Revision 1.27  93/06/08  17:05:57  wollman
 * Attach routine now returns void.
 *
 * Revision 1.26  93/06/08  16:31:21  wollman
 * Deleted attempt to set watchdog timer, since we don't use it.
 *
 * Revision 1.25  93/04/16  22:15:31  wollman
 * Fixed infinite loop in iestart() which would cause the transmitter
 * to constantly step on the Ethernet, sending the same two packets over
 * and over again.  This crashes the router (really!) and makes other
 * network users very angry.
 *
 * Revision 1.24  93/04/14  23:57:47  wollman
 * Increased transmit buffer size from 1504 to 1512, just in case I don't
 * understand how the MTU is used.
 *
 * Revision 1.23  93/04/14  23:16:19  wollman
 * Fix iestart() so that it only tries to execute a command if one was
 * queued up (oops...).
 *
 * Revision 1.22  93/04/14  23:02:16  wollman
 * Unknown changes.
 *
 * Revision 1.21  93/04/12  18:29:33  wollman
 * Added multiple transmit commands.  Note that they are always queued in
 * pairs (there are only two to begin with), and the I flag is only set
 * on the second one.  This should decrease interrupt activity somewhat.
 *
 * Revision 1.20  93/04/12  15:36:05  wollman
 * Changed setup of config block to take into account difference between
 * StarLAN (10BASE-T) and Ethernet: StarLAN is Manchester, Ethernet is NRZ.
 *
 * Revision 1.19  93/03/23  18:58:44  wollman
 * Raised count of receive buffers from 32 to 48 and included analysis of
 * memory usage in a comment near that definition.
 *
 * Revision 1.18  93/03/18  03:59:53  wollman
 * Last try to get large TCP windows to work...
 *
 * Revision 1.17  93/03/18  03:54:10  wollman
 * Added RNR processing as a part of receive interrupts.  Hopefully this
 * will make everything Just Work now.
 *
 * Revision 1.16  93/03/18  03:23:24  wollman
 * Still having problems with RNR conditions.  Basic problem: say we
 * set TCP window to 16k, which is a semsible value.  Then smart
 * partners will blast 16k to us, of which we can fit 8k minus a bit
 * into our buffers.  (Need to look at that memory map..)  So, we get
 * an RNR interrupt.  The problem is, what do we need to do in this case?
 * The original code doesn't work, but it doesn't hang the system either.
 *
 * Revision 1.15  93/03/18  02:37:00  wollman
 * Disabled watchdog timer.  This gets called from a timeout somewhere,
 * which is running up at softclock.  This is at a higher priority than
 * we are, so we can get interrupted in the process of receiving something
 * by the timer expiration, which is not a nice thing to have happen.
 * Question: how can we keep this functionality, but do it in sync with
 * our interrupts?  (Ugh!)
 *
 * Revision 1.14  93/03/18  02:35:46  wollman
 * Fixed some more problems with receive code---it works!
 *
 * Revision 1.13  93/03/17  20:15:59  wollman
 * Think we fixed the serious (showstopper) bugs in 1.12.
 *
 * Revision 1.12  93/03/15  17:45:39  wollman
 * Changed filtering logic dramatically to avoid the unnecessary copyin
 * for BPF or multicast routing when the packet is not for us.  (We
 * have to run in promiscuous mode in this case.)  We still need to
 * deal with the problem of allocating one mbuf per receive buffer;
 * we should be able to get away with a single mbuf for all reasonable
 * incoming packets, and using an mbuf cluster will help avoid unnecessary
 * copying of data.
 *
 * Revision 1.11  93/01/30  20:23:15  wollman
 * Fiddled with reset code to hopefully make it work better when the
 * watchdog timer expires.  Question: why does it make a difference that
 * we do the same thing through ieioctl() as we were doing before.  The
 * old code, when iereset() was called, the receive unit would completely
 * die.  But, a cycle of ifconfig ie0 down ; ifconfig ie0 up' would bring
 * things back to normal.  So, we try to mimic that now.  Grrr...
 *
 * Revision 1.10  93/01/29  17:26:50  wollman
 * Finally fixed multicast routing/BPF mb_map full problem!!!!
 * It turned out that, when we received a packet not for us, we
 * would just return from ie_readframe(), *WITHOUT* freeing the
 * mbuf that the packet was in.  So, when running in promiscuous
 * mode (i.e., multicast routing or BPF without -p), we would have
 * (on our extremely busy subnet 4) a memory leak of epic proportions.
 *
 * We now hold on to a single mbuf chain allocated in this way,
 * and the next time a packet is read, we free it.  Also, the
 * next time a packet is transmitted, we free it.  This way,
 * we never lose more than 6 mbufs total (and on average more like
 * 3).
 *
 * Revision 1.9  93/01/23  14:22:21  wollman
 * Added some StarLAN Fiber modifications from L. Jonas Olsson.
 *
 * Revision 1.8  93/01/23  14:02:34  wollman
 * Added support for IP multicasting.
 *
 * Revision 1.7  92/11/21  17:51:59  wollman
 * Added StarLAN Fiber version point to my driver.
 *
 * Revision 1.6  92/11/20  18:21:45  wollman
 * Fixed documentation, made out-of-mbuf condition an error.
 *
 * Revision 1.5  92/11/20  18:14:02  wollman
 * Move change of ethertype to host byte order so that it's after
 * bpf_mtap.  Hopefully, this will allow us to listen to incoming
 * IP packets.
 *
 * Revision 1.4  92/11/20  18:11:00  wollman
 * Added code to drop packets when we run out of mbufs rather than
 * panicking.  This should alleviate the problems observed when using tcpdump.
 *
 * Revision 1.3  92/11/14  14:12:40  wollman
 * Added BPF support code.
 *
 * Revision 1.2  92/11/14  13:30:26  wollman
 * Added RCS keywords
 *

30 years agoincorporated patches from Marc Frajola (marc@escargot.rain.com) to
dg [Tue, 12 Oct 1993 06:32:28 +0000 (06:32 +0000)]
incorporated patches from Marc Frajola (marc@escargot.rain.com) to
unset TS_TBLOCK when the RBLEN falls below the low water mark.

30 years agoAdd ie0 (ATT ether net driver) and mcd0 (Mitsumi cd rom driver)
rgrimes [Tue, 12 Oct 1993 06:24:02 +0000 (06:24 +0000)]
Add ie0 (ATT ether net driver) and mcd0 (Mitsumi cd rom driver)

30 years agoMitsumi cd rom driver from Holger Viet as fixed up by Gary Clark II.
rgrimes [Tue, 12 Oct 1993 06:08:31 +0000 (06:08 +0000)]
Mitsumi cd rom driver from Holger Viet as fixed up by Gary Clark II.

Still a little rought, but it seems to be working.

30 years agoAdd support for Holger Viets mitsumi cd rom driver as prepared by Gary
rgrimes [Mon, 11 Oct 1993 07:39:13 +0000 (07:39 +0000)]
Add support for Holger Viets mitsumi cd rom driver as prepared by Gary
Clark II.

30 years agoAdd support for mitsumi cd rom driver from Holger Viet, as fixed up by
rgrimes [Mon, 11 Oct 1993 06:19:40 +0000 (06:19 +0000)]
Add support for mitsumi cd rom driver from Holger Viet, as fixed up by
Gary Clark II.

30 years ago>From: Julian Elischer <julian@jules.DIALix.oz.au>
rgrimes [Mon, 11 Oct 1993 04:53:23 +0000 (04:53 +0000)]
>From: Julian Elischer <julian@jules.DIALix.oz.au>
Subject: Re: Error reading from DAT (fwd)
Date: Mon, 11 Oct 1993 03:02:39 -40962758 (WST)

Some tapes won't do anything until you tell them to load.
Other tapes think that being asked to load is a great excuse to
make the next command return a "unit attention" (media changed) error.
Since we need to do the load, throw in a dummy instruction to cop the
error.

specifically for DEC DAT drives.

30 years agoFixed the options hd(1,... to be more accurate (removed word options it
rgrimes [Mon, 11 Oct 1993 02:43:42 +0000 (02:43 +0000)]
Fixed the options hd(1,... to be more accurate (removed word options it
now reads:

printf("use hd(1,a)/386bsd to boot sd0 when wd0 is also installed\n");

I know the person wanted more explination, but there is little room in
the boot blocks for verbose text!

30 years agoIf require script fails, don't try to delete installed package.
jkh [Sun, 10 Oct 1993 20:25:31 +0000 (20:25 +0000)]
If require script fails, don't try to delete installed package.

30 years agoAdded files necessary for automating packing of distributions.
jkh [Sun, 10 Oct 1993 20:24:47 +0000 (20:24 +0000)]
Added files necessary for automating packing of distributions.

30 years agoAdded if_ie entry for Garett Wollmans ATT driver, the drives will be imported
rgrimes [Sun, 10 Oct 1993 16:25:13 +0000 (16:25 +0000)]
Added if_ie entry for Garett Wollmans ATT driver, the drives will be imported
soon.

30 years agoSYSPDROFF and SYSPDREND are now calculated using KERNBASE, KERNSIZE and
rgrimes [Sun, 10 Oct 1993 06:07:57 +0000 (06:07 +0000)]
SYSPDROFF and SYSPDREND are now calculated using KERNBASE, KERNSIZE and
PDRSHIFT.

The SYSTEM constant that was defined in this file has been replaced
with KERNBASE from param.h.

Changed almost all # style comments to /* */ C style comments.  Several
comments cleaned up so that they make a little more since.

In the comments that describe C calling conventions to assembler routines
used a comma space sequence to seperate arguments and removed the space
between the function name and the argument list.

Removed useless comments like /* clr eax */.

Changed all comma space sequences on assemble instructions to just be comma.

Removed spaces after $ operators to make the file consistent, this may need
to change again (ie: $KERNBASE should probably be $(KERNBASE), but for now
it all seems to work just fine.)  This may become a problem with the C
pre-processor.

Changed several double blank lines to single blank lines that where used
to seperate the I/O routines, these routines are blocked enough that we
don't need double blank lines between them.

Changed sequence of I/O routines to be all input functions, all output
functions instead of just the opposite.

Moved the SHOW_A_LOT debug stuff to near the end of the file.

Changed two occurances of the constant 0xfff to NBPG-1.

30 years agoAdded a compile time #error so that if the user does not specify on of
rgrimes [Sun, 10 Oct 1993 06:01:44 +0000 (06:01 +0000)]
Added a compile time #error so that if the user does not specify on of
the proper I_X86CPU in the config file the following error will occur
while building the kernel: (had to line wrap the error for this message)

../../i386/i386/machdep.c:343: #error This kernel is not configured for one \
of the supported CPUs

30 years agoYou can now specify the type of floppy you want built (floppy3 or floppy5)
rgrimes [Sun, 10 Oct 1993 05:06:44 +0000 (05:06 +0000)]
You can now specify the type of floppy you want built (floppy3 or floppy5)
with a Makefile override.  The default is floppy5 since all distribution
floppies must be <= 1.2Mb so that every one can use them.

If you want to make 1.44MB floppies with more space on them do a
setenv FLOPPY floppy3
before running make.

>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sun, 10 Oct 1993 05:11:51 -0700

I went to make myself some boot floppies straight off the dist
today and ran into the fact that I'm using a 3.5" floppy as my drive A,
so I did the following (you can still use floppy5 as your default -
I just have it set to floppy3 for my machine).

30 years agoAdded PDRSHIFT and KERNSIZE so that the PDR offsets can be calculated in
rgrimes [Sun, 10 Oct 1993 02:09:44 +0000 (02:09 +0000)]
Added PDRSHIFT and KERNSIZE so that the PDR offsets can be calculated in
locore.s instead of being constants (3F8, 3FA).

30 years agoTry copy if rename of temporary catpage fails.
jkh [Sun, 10 Oct 1993 01:46:53 +0000 (01:46 +0000)]
Try copy if rename of temporary catpage fails.

30 years agoPut sound blaster in alaphabetic order
rgrimes [Sat, 9 Oct 1993 23:59:13 +0000 (23:59 +0000)]
Put sound blaster in alaphabetic order

30 years agoRemove patch kit header, add $Id$, fix tabing on sound blaster cdev entry
rgrimes [Sat, 9 Oct 1993 23:56:53 +0000 (23:56 +0000)]
Remove patch kit header, add $Id$, fix tabing on sound blaster cdev entry

30 years agoAdded sb entries for upcoming sound blaster driver
jkh [Sat, 9 Oct 1993 17:00:04 +0000 (17:00 +0000)]
Added sb entries for upcoming sound blaster driver

30 years agoAdd devsw entries for upcoming sound blaster driver.
jkh [Sat, 9 Oct 1993 16:56:44 +0000 (16:56 +0000)]
Add devsw entries for upcoming sound blaster driver.

30 years agoCorrect spelling of "SHMMAXPGS" so the config override will actually work.
dg [Sat, 9 Oct 1993 15:29:04 +0000 (15:29 +0000)]
Correct spelling of "SHMMAXPGS" so the config override will actually work.

30 years agoChanged the "Insert filesystem floppy" prompt to give the user a choice in
chmr [Sat, 9 Oct 1993 08:31:39 +0000 (08:31 +0000)]
Changed the "Insert filesystem floppy" prompt to give the user a choice in
which drive he wants the root file system (A or B).

30 years agoHandle both signals and errors in child processes, rather than just signals
jkh [Sat, 9 Oct 1993 00:48:26 +0000 (00:48 +0000)]
Handle both signals and errors in child processes, rather than just signals
as before.

30 years agoRemoved FAT_CURSOR as default since it breaks certain CGA displays
jkh [Fri, 8 Oct 1993 21:21:59 +0000 (21:21 +0000)]
Removed FAT_CURSOR as default since it breaks certain CGA displays
and it is better to conform to the lowest common denominator.
Those wishing to retain it can always use options FAT_CURSOR in
their config files.

30 years agoAll:
rgrimes [Fri, 8 Oct 1993 20:51:00 +0000 (20:51 +0000)]
All:
Remove patch kit headers, and add $Id$
This is mostly to align some more code with NetBSD.

cpu.h:
Remove the old function vs. include configuration stuff that was
ifdefed out when we went to inline functions.
Remove the define of resettodr that made it a nop, there is
already a function that makes it a nop, no need to #define one.
Remove the #defines of processor types, they are now defined
in cputypes.h, #include that file.
Add struct cpu_nameclass for support of cpu types.

frame.h:
include sys/signal.h, it will be needed in the future.
put the sigframe structure here that was in machdep.c

pcb.h:
Add multiple inclusion protection.
Add pcb_ldt and pcb_ldt_len to pcb structure, this is for the
user mode ldt.

30 years agoAll:
rgrimes [Fri, 8 Oct 1993 20:45:12 +0000 (20:45 +0000)]
All:
removed patch kit headers and sccsids, add $Id$.  This is a general
clean up and reallignment with NetBSD-current where possible.

genassym.c:
removed extranious include of reg.h
removed old FP_* defines that have been ifdefed out since the patch kit
removed PCB_SIGC that is not referenced anywhere
add trapframe and sigframe defines
add KERNBASE define for use in locore.s

locore.s:
include npx.h and use NNPX for turning on and off FPU
include machine/cputypes.h for the types of cpu (used in cpu_identify)
change SYSPDREND to be one higher, this is really the base of the
next area, and will be changing again next time I revise the file
Reverse the NOP defines, you now get slow NOP's by default, this
may be what is casuing us trouble with some systems.  If you want
the NOPS to be null you now need to have options DUMMY_NOPS.
Now get esym from the boot blocks which don't pass it yet, and
it is not used, but this will be changing.
Move the bit_colors stuff to be in with the rest of Bruces SHOW_A_LOT
things for debugging.
Added NetBSD's CPU type probe code, we now know what type of CPU
we are running on.
Adjust kernel pde calcuation to correct for change in SYSPDREND, no
longer need the +1.

machdep.c
include npx.h and use NNPX for turning on and off FPU
include isa.h, map.h(new file), exec.h in preperation for
changes that are still in process.
Add some of the code for MACHINE_NONCONTIG that will alow us
to better map around the BIOS memory area.
Now print the version, cpu id, real memory and availiable memory
during boot.
Correct the calculation of bufpages, the code was mixing pages
and bytes, it now does the right things.  Removed Bill's hack
for limiting the erronous calculation.
add the identifycpu print out code from NetBSD.
remove the definition of the sigframe struct, it belongs in
frame.h
put in printf's about syncing disks on a halt/reboot.
Change the halted message to be a little easier reading.
Clean up of the dump messages, makes the source and the output
much more readable.
Change 0,0 in several places to have spaces after the commas.

30 years agoRemove the ``loader overlaps bss, kernel must bzero'' printf since that
rgrimes [Fri, 8 Oct 1993 20:19:23 +0000 (20:19 +0000)]
Remove the ``loader overlaps bss, kernel must bzero'' printf since that
is so often reported as an error condition when it is not.  We print the
size of things so for those who want to know if this happened they can
figure it out from the size information that is printed.