unix-history/.git
30 years agoFix definitions to be in terms of a minimum number of constants by
Rod Grimes [Fri, 8 Oct 1993 13:01:34 +0000 (13:01 +0000)]
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define NBPG 4096
#define PGSHIFT 12
use:
#define PGSHIFT 12
#define NBPG (1 << PGSHIFT)

===================================================================
RCS file: /a/cvs/386BSD/src/sys/i386/include/param.h,v
retrieving revision 1.3
diff -c -r1.3 param.h
*** 1.3 1993/10/08 12:49:55
--- param.h 1993/10/08 12:53:19
***************
*** 52,76 ****
  #define ALIGNBYTES (sizeof(int) - 1)
  #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)

- #define NBPG 4096 /* bytes/page */
- #define PGOFSET (NBPG-1) /* byte offset into page */
  #define PGSHIFT 12 /* LOG2(NBPG) */
  #define NPTEPG (NBPG/(sizeof (struct pte)))

- #define NBPDR (1024*NBPG) /* bytes/page dir */
- #define PDROFSET (NBPDR-1) /* byte offset into page dir */
  #define PDRSHIFT 22 /* LOG2(NBPDR) */

  #define KERNBASE 0xFE000000 /* start of kernel virtual */
  #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)

! #define DEV_BSIZE 512
  #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
  #define BLKDEV_IOSIZE 2048
  #define MAXPHYS (64 * 1024) /* max raw I/O transfer size */

- #define CLSIZE 1
  #define CLSIZELOG2 0

  /* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
  #define SSIZE 1 /* initial stack size/NBPG */
--- 52,79 ----
  #define ALIGNBYTES (sizeof(int) - 1)
  #define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)

  #define PGSHIFT 12 /* LOG2(NBPG) */
+ #define NBPG (1 << PGSHIFT) /* bytes/page */
+ #define PGOFSET (NBPG-1) /* byte offset into page */
  #define NPTEPG (NBPG/(sizeof (struct pte)))

  #define PDRSHIFT 22 /* LOG2(NBPDR) */
+ #define NBPDR (1 << PDRSHIFT) /* bytes/page dir */
+ #define PDROFSET (NBPDR-1) /* byte offset into page dir */

  #define KERNBASE 0xFE000000 /* start of kernel virtual */
  #define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)

! #define KERNSIZE 0x00C00000 /* size of kernel virtual */
!
  #define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+ #define DEV_BSIZE (1 << DEV_BSHIFT)
+
  #define BLKDEV_IOSIZE 2048
  #define MAXPHYS (64 * 1024) /* max raw I/O transfer size */

  #define CLSIZELOG2 0
+ #define CLSIZE (1 << CLSIZELOG2)

  /* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
  #define SSIZE 1 /* initial stack size/NBPG */
***************
*** 92,99 ****
  #ifndef MCLSHIFT
  #define MCLSHIFT 11 /* convert bytes to m_buf clusters */
  #endif /* MCLSHIFT */
! #define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
! #define MCLOFSET (MCLBYTES - 1) /* offset within a m_buf cluster */

  #ifndef NMBCLUSTERS
  #ifdef GATEWAY
--- 95,102 ----
  #ifndef MCLSHIFT
  #define MCLSHIFT 11 /* convert bytes to m_buf clusters */
  #endif /* MCLSHIFT */
! #define MCLBYTES (1 << MCLSHIFT) /* size of an m_buf cluster */
! #define MCLOFSET (MCLBYTES - 1) /* offset within an m_buf cluster */

  #ifndef NMBCLUSTERS
  #ifdef GATEWAY

30 years agoRemoved patch kit header. Cleaned up tabbing and removed extra blank
Rod Grimes [Fri, 8 Oct 1993 12:49:55 +0000 (12:49 +0000)]
Removed patch kit header.  Cleaned up tabbing and removed extra blank
lines to match NetBSD.  Added $Id$.
Added MID_MACHINE from NetBSD.
Removed definition of DELAY() for non-kernel soures.
Fixed some small english errors that had been corrected in NetBSD.
File is now identical to NetBSD's, but will be changing soon for some
of my clean up work.

30 years agoThis fix is from Chris Demetriou
Rod Grimes [Fri, 8 Oct 1993 12:19:22 +0000 (12:19 +0000)]
This fix is from Chris Demetriou
You need a SUFFIX: line that has nothing on it so that the built-in
SUFFIX rules get cleared.  This is why we did not build the c library
using the optimized assembler sources for the i386.

You need to make clean in src/lib/libc and rebuild libc, then relink
the rest of the world for this fix to take effect.

30 years agoArchitecture specific syscalls (i386) from NetBSD
Rod Grimes [Fri, 8 Oct 1993 11:31:40 +0000 (11:31 +0000)]
Architecture specific syscalls (i386) from NetBSD

30 years agoMissing header file from Net/2 tape.
Rod Grimes [Fri, 8 Oct 1993 11:28:05 +0000 (11:28 +0000)]
Missing header file from Net/2 tape.

30 years agoRemoved patch kit header and rcsid, added $Id$.
Rod Grimes [Fri, 8 Oct 1993 10:50:42 +0000 (10:50 +0000)]
Removed patch kit header and rcsid, added $Id$.

Put the __main() {} for GCC2 here so that we match NetBSD

30 years agoRemoved patch kit headers, and rcsid, add $Id$, relocate Terry Lamberts
Rod Grimes [Fri, 8 Oct 1993 10:47:13 +0000 (10:47 +0000)]
Removed patch kit headers, and rcsid, add $Id$, relocate Terry Lamberts
copyright to match the location that it is in NetBSD.

Remove the __main() {} dummy function, it belongs in kern/init_main.c

30 years agoAllow ^C to interrupt with some semblance of politeness to cgd.
Jordan K. Hubbard [Fri, 8 Oct 1993 02:39:36 +0000 (02:39 +0000)]
Allow ^C to interrupt with some semblance of politeness to cgd.

30 years agoMore paranoid dealings with system()
Jordan K. Hubbard [Fri, 8 Oct 1993 02:38:15 +0000 (02:38 +0000)]
More paranoid dealings with system()

30 years agoChristoph Robitschko manual page fixes to correct the references to vmunix
Rod Grimes [Fri, 8 Oct 1993 01:43:06 +0000 (01:43 +0000)]
Christoph Robitschko manual page fixes to correct the references to vmunix
by replacing the name with 386bsd.

30 years agoChristoph Robitschko manual page fixes to correct the references to vmunix
Rod Grimes [Fri, 8 Oct 1993 01:37:04 +0000 (01:37 +0000)]
Christoph Robitschko manual page fixes to correct the references to vmunix
by replacing the name with 386bsd.

30 years agoChristoph Robitschko manual page fixes to correct the references to vmunix
Rod Grimes [Fri, 8 Oct 1993 01:27:59 +0000 (01:27 +0000)]
Christoph Robitschko manual page fixes to correct the references to vmunix
by replacing the name with 386bsd.

30 years agoAdded uname system call, autogenerated via make init_sysent.c in ../kern
Rod Grimes [Fri, 8 Oct 1993 01:09:22 +0000 (01:09 +0000)]
Added uname system call, autogenerated via make init_sysent.c in ../kern

30 years agoAdded uname() system call from NetBSD
Jordan K. Hubbard [Fri, 8 Oct 1993 01:06:55 +0000 (01:06 +0000)]
Added uname() system call from NetBSD

30 years agoAdd uname syscall using Makefile, make init_sysent.c.
Rod Grimes [Fri, 8 Oct 1993 01:06:28 +0000 (01:06 +0000)]
Add uname syscall using Makefile, make init_sysent.c.

30 years agouname command from NetBSD
Jordan K. Hubbard [Fri, 8 Oct 1993 00:40:50 +0000 (00:40 +0000)]
uname command from NetBSD

30 years agoAdded target for uname command from NetBSD
Jordan K. Hubbard [Fri, 8 Oct 1993 00:40:35 +0000 (00:40 +0000)]
Added target for uname command from NetBSD

30 years agoNew version mangler from NetBSD.
Jordan K. Hubbard [Fri, 8 Oct 1993 00:38:09 +0000 (00:38 +0000)]
New version mangler from NetBSD.

30 years agoChanges to add NetBSD's uname() to the kernel
Jordan K. Hubbard [Fri, 8 Oct 1993 00:36:13 +0000 (00:36 +0000)]
Changes to add NetBSD's uname() to the kernel

30 years agoAdded utsname.h for uname
Jordan K. Hubbard [Fri, 8 Oct 1993 00:21:23 +0000 (00:21 +0000)]
Added utsname.h for uname

30 years agoadded missing fake_syslog.c to SRCS line in Makefile.
Christoph Robitschko [Thu, 7 Oct 1993 23:38:43 +0000 (23:38 +0000)]
added missing fake_syslog.c to SRCS line in Makefile.

30 years agoThe type of inspeed was char for the old sgtty compatible interface. This
Rod Grimes [Thu, 7 Oct 1993 08:09:31 +0000 (08:09 +0000)]
The type of inspeed was char for the old sgtty compatible interface.  This
will not work when trying to store a termios speed into it, as termios
declares the speed to be an int.  Corrected by changing type of inspeed
to int.

Also for the termios case you must set c_ispeed and c_ospeed if the user
has specified a speed on the command line (inspeed != 0).

The setting of the baud rate from the command line now works on FreeBSD.

30 years ago>From: Paul Mackerras <Paul.Mackerras@cs.anu.edu.au>
Rod Grimes [Thu, 7 Oct 1993 02:19:37 +0000 (02:19 +0000)]
>From: Paul Mackerras <Paul.Mackerras@cs.anu.edu.au>
Date: Thu, 7 Oct 1993 10:27:04 +1000

Cameron Elliot (cam@claircom.com) has found a bug in if_ppp.c, in
the part of pppstart which handles Jolitz-style ring buffers, which
I believe FreeBSD uses.  So you might like to apply the following
patch (below).  The patch also makes pppoutput call pppstart every
time, not just when the output queue is empty.  The idea is to make
it a bit more robust against serial drivers which lose interrupts.
If the driver does lose a transmit interrupt, the driver's t_oproc
routine will still get called again when the higher level protocols
retransmit.

30 years agoFrom ljo:
Rod Grimes [Wed, 6 Oct 1993 20:49:17 +0000 (20:49 +0000)]
From ljo:

machdep.o is a defined to be a target in 2 places.  This was caused by
the addition of the LOAD_ADDRESS stuff.  Removed the extranious target
of machdep.o.

30 years agoAdded /dev/zero and /dev/io, they have been around for a while, time to
Rod Grimes [Wed, 6 Oct 1993 03:35:03 +0000 (03:35 +0000)]
Added /dev/zero and /dev/io, they have been around for a while, time to
have some /dev entries.

30 years ago>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Rod Grimes [Tue, 5 Oct 1993 23:22:07 +0000 (23:22 +0000)]
>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Date: Sat, 2 Oct 1993 09:04:29 -0400
Description:
The prototype for sscanf in stdio.h does not match the man page
The man page is correct.
Repeat-By:

Fix:
Change the line in stdio.h from:
int     sscanf __P((char *, const char *, ...));
to:
int     sscanf __P((const char *, const char *, ...));

>From: Rod Grimes

You also need to fix src/lib/libc/stdio/sscanf.c to match this!

30 years ago>From: guido@gvr.win.tue.nl (Guido van Rooij)
Rod Grimes [Tue, 5 Oct 1993 21:55:35 +0000 (21:55 +0000)]
>From: guido@gvr.win.tue.nl (Guido van Rooij)
Date: Tue, 5 Oct 1993 20:00:24 +0100 (MET)
I have a link : /usr/src->/disk3/src
this makes (a nice feature) the obj appear in /usr/obj/disk3/src/....
However, when make world cleans up the obj directories, it always
tries to find them in /usr/obj. Wrong according to me.

Rod:
Fixed by using the same algorith that the .mk files use to locate the
obj directory.

30 years agoFrom: bob@obiwan.uucp (Bob Willcox)
Rod Grimes [Tue, 5 Oct 1993 19:23:49 +0000 (19:23 +0000)]
From: bob@obiwan.uucp (Bob Willcox)
Newsgroups: comp.os.386bsd.bugs
Date: 12 Jul 93 03:41:13 GMT

I had this little problem with the passwd command when a user was
trying to add a password and they currently did not have one.
Seems that passwd does not take into account the empty old password
case.

30 years agoMoved Rob Shady from core team to contributors
Rod Grimes [Tue, 5 Oct 1993 01:47:43 +0000 (01:47 +0000)]
Moved Rob Shady from core team to contributors

30 years agoLatest changs for XFree86 2.0
Jordan K. Hubbard [Mon, 4 Oct 1993 22:23:03 +0000 (22:23 +0000)]
Latest changs for XFree86 2.0

30 years agoLatest changes for XFree86 2.0
Jordan K. Hubbard [Mon, 4 Oct 1993 22:21:10 +0000 (22:21 +0000)]
Latest changes for XFree86 2.0

30 years agoDocument the new, less restrictive, behavior of the matching operator.
J.T. Conklin [Mon, 4 Oct 1993 22:07:27 +0000 (22:07 +0000)]
Document the new, less restrictive, behavior of the matching operator.

30 years agoAllow expressions like "expr 'ABC' : '^.*$' to work as is done in other
J.T. Conklin [Mon, 4 Oct 1993 21:58:53 +0000 (21:58 +0000)]
Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
expr implementations.

30 years agoChanged Scott Mace's email address to smace@neosoft.com
Rod Grimes [Mon, 4 Oct 1993 06:13:55 +0000 (06:13 +0000)]
Changed Scott Mace's email address to smace@neosoft.com

30 years agoSplit the src-tarball target up into multiple targets, there is now
Rod Grimes [Fri, 1 Oct 1993 21:34:23 +0000 (21:34 +0000)]
Split the src-tarball target up into multiple targets, there is now
a tar ball for each top level src directory, plus the base tar ball
that has the very toplevel files in it.

30 years agoRelease level changed from GAMMA to EPSILON
Rod Grimes [Fri, 1 Oct 1993 19:22:43 +0000 (19:22 +0000)]
Release level changed from GAMMA to EPSILON

30 years agoUpdated to reflect the fact the there is no longer an ne driver, told to
Rod Grimes [Fri, 1 Oct 1993 04:43:56 +0000 (04:43 +0000)]
Updated to reflect the fact the there is no longer an ne driver, told to
use ed0 as the replacement, noted new addresses

30 years agoChanged address freebsd-comments to freebsd-questions
Rod Grimes [Fri, 1 Oct 1993 04:40:57 +0000 (04:40 +0000)]
Changed address freebsd-comments to freebsd-questions

30 years agoMoved declaration of pk_flowcontrol to be earlier so that compiler warning
Rod Grimes [Fri, 1 Oct 1993 04:27:09 +0000 (04:27 +0000)]
Moved declaration of pk_flowcontrol to be earlier so that compiler warning
is eliminated about being declared extern, then static

30 years agoFixed cd0 line to match the GENERIC* kernel configs
Rod Grimes [Fri, 1 Oct 1993 04:26:21 +0000 (04:26 +0000)]
Fixed cd0 line to match the GENERIC* kernel configs

30 years agoRemove old ethernet drivers if_ec, if_ne, and if_we from config files
Rod Grimes [Fri, 1 Oct 1993 04:20:19 +0000 (04:20 +0000)]
Remove old ethernet drivers if_ec, if_ne, and if_we from config files
and from files.i386, they are no longer supported.

30 years ago * Revision 2.5 93/09/30 17:44:14 davidg
David Greenman [Fri, 1 Oct 1993 00:56:43 +0000 (00:56 +0000)]
 * Revision 2.5  93/09/30  17:44:14  davidg
 * patch from vak@zebub.msk.su (Serge V.Vakulenko) to work around
 * a hardware bug in cheap WD clone boards where the PROM checksum
 * byte is always zero

30 years agoNew resting home for console.h, it is machine specific.
Rod Grimes [Fri, 1 Oct 1993 00:00:43 +0000 (00:00 +0000)]
New resting home for console.h, it is machine specific.

30 years agoChange #include <sys/console.h> to <machine/console.h>, file will be moved
Rod Grimes [Thu, 30 Sep 1993 23:59:49 +0000 (23:59 +0000)]
Change #include <sys/console.h> to <machine/console.h>, file will be moved
shortly

30 years agoAnother russian keymap.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:38:27 +0000 (23:38 +0000)]
Another russian keymap.

30 years agoA bunch of extra cyrillic folks for our russian comrades.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:38:07 +0000 (23:38 +0000)]
A bunch of extra cyrillic folks for our russian comrades.

30 years agoAdded share/syscons/scrnmaps directory
Rod Grimes [Thu, 30 Sep 1993 23:31:37 +0000 (23:31 +0000)]
Added share/syscons/scrnmaps directory

30 years agoRussian screen map
Jordan K. Hubbard [Thu, 30 Sep 1993 23:28:54 +0000 (23:28 +0000)]
Russian screen map

30 years agoRussian keymap
Jordan K. Hubbard [Thu, 30 Sep 1993 23:28:44 +0000 (23:28 +0000)]
Russian keymap

30 years agoRussian font.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:25:22 +0000 (23:25 +0000)]
Russian font.

30 years agoAdded scrnmaps dir.
Jordan K. Hubbard [Thu, 30 Sep 1993 23:24:48 +0000 (23:24 +0000)]
Added scrnmaps dir.

30 years agoThis is a fix for the 32K DMA buffer region that was not accounted for,
Rod Grimes [Thu, 30 Sep 1993 23:16:17 +0000 (23:16 +0000)]
This is a fix for the 32K DMA buffer region that was not accounted for,
it relocates it to be after the BIOS memory hole instead of right below
the 640K limit.
THANK YOU CHRIS!!!

From: <cgd@postgres.Berkeley.EDU>
Date: Wed, 29 Sep 93 18:49:58 -0700
basically, reserve a new 32k space right after firstaddr,
and put the buffer space there...

the diffs are below, and are in ~cgd/sys/i386/i386 (in machdep.c)
on freefall.  i obviously can't test them, so if some of you would
look the diffs over and try them out...

30 years agoDocs updated to reflect additional flags.
Jordan K. Hubbard [Thu, 30 Sep 1993 21:48:34 +0000 (21:48 +0000)]
Docs updated to reflect additional flags.

30 years agoRemove we0, since it is being removed from the system
Rod Grimes [Thu, 30 Sep 1993 20:45:37 +0000 (20:45 +0000)]
Remove we0, since it is being removed from the system

30 years agoOnly configure one cd unit now since the code is fully dynamic,
Rod Grimes [Thu, 30 Sep 1993 20:44:32 +0000 (20:44 +0000)]
Only configure one cd unit now since the code is fully dynamic,
add comment about this to the device cd0 line.

30 years agoThis is the enhanced version of mt(1) command, with
Rod Grimes [Thu, 30 Sep 1993 20:30:41 +0000 (20:30 +0000)]
This is the enhanced version of mt(1) command, with
interface to new streamer driver added.

There are two new (QIC-02) commands:

erase           - erase the tape
retension       - retension the tape

Command 'mt status' prints brief description of driver flags
and tape controller error register.

Serge Vakulenko, <vak@zebub.msk.su>

30 years agoSupport for new wt driver. Removed old references to as* disk types since
Rod Grimes [Thu, 30 Sep 1993 20:18:59 +0000 (20:18 +0000)]
Support for new wt driver.  Removed old references to as* disk types since
they are long gone.

30 years ago>From: vak@zebub.msk.su (Serge V.Vakulenko)
Rod Grimes [Thu, 30 Sep 1993 20:12:37 +0000 (20:12 +0000)]
>From: vak@zebub.msk.su (Serge V.Vakulenko)
Date: Thu, 30 Sep 1993 15:13:17 +0300

Description:
Old wt driver is too incomplete and buggy.
It does not support Archive controllers, BSD-like
tape ioctls, multiple tape controllers, different
tape density etc.
Fix:
This driver is a replacement of the old one.
It was not tested on different controllers, though.

This is the streamer tape driver for 386bsd and FreeBSD,
which supports Wangtek and Archive controllers.
It was developed as a replacement of the old Wangtek
tape driver from CMU.

In comparison with the CMU driver, this version has the following enhancements:
1) Support for Archive SC402 and SC499 tape controllers added.
2) Support for up to three tape controllers on the same machine.
3) Support for BSD-style ioctls MTIOCGET, MTIOCTOP.
   Mt command now works adequately with this driver.
4) Asynchronous REWIND and FSF operations, close() will not wait
   until they finish.  The next open() will wait for it instead.
5) Use of WTQICMD ioctl is limited to ERASE and RETENS operations.
   This prevents the user from locking the tape driver by strange
   tape operations.
6) Tape density switching added.
7) The status of the process, blocked on the tape operation,
   is displayed at the WCHAN column of the `ps' command as:

wtread    reading data from the tape
wtwrite   writing data to the tape
wtrfm     reading the tape marker
wtwfm     writing the tape marker
wtrew     rewinding the tape
wterase   doing WTQICMD ERASE operation
wtretens  doing WTQICMD RETENS operation
wtorew    doing MTIOCTOP REW/OFFL operation
wtorfm    doing MTIOCTOP FSF operation
wtowfm    doing MTIOCTOP WEOF operation

Block interface (writing blocks less than 2048 bytes) is not functioning
pwoperly.  Use raw interface instead.

30 years agoFrom: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Rod Grimes [Thu, 30 Sep 1993 19:25:55 +0000 (19:25 +0000)]
From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Date: Wed, 29 Sep 1993 23:28:10 -0400
Subject: C Shell sometimes exhibits strange behavior processing loops
Index: /usr/src/bin/csh/dir.c FreeBSD-1.0

Description:
(Perhaps this should be forwarded to a general BSD bug list.
I don't have access to sources other than for FreeBSD, so I
don't know how/when this particular bug was introduced. - EWS)

The C shell sometimes barfs with crazy syntax error messages
when processing scripts containing "foreach" loops.

The problem is this:  function dinit() in file dir.c makes
the call

    cp = dcanon(str2short(tcp), STRNULL);

The function str2short() in file str.c returns the value
of its static variable "sdst", which is initialized to point
to a malloc()'ed memory area.  However, function dcanon()
in file dir.c calls xfree() to free its first argument.
This can result in the freed area being reallocated for
other purposes, while it is still retained in the static
variable "sdst", and used for subsequent strings.

I observed this bug when the seek code in function bgetc()
in file lex.c was exercised by processing of "foreach" loops.

Repeat-By:
This is difficult, because the bug is highly environment dependent
(i.e. on exact contents of .cshrc and .login, as well as the
script being run).  Basically, try a lot of scripts with complicated
"foreach" loops in them and you might observe the problem.

30 years ago * Revision 2.4 93/09/29 21:24:30 davidg
David Greenman [Thu, 30 Sep 1993 05:27:55 +0000 (05:27 +0000)]
 * Revision 2.4  93/09/29  21:24:30  davidg
 * Added software NIC reset in NE probe to work around a problem
 * with some NE boards where the 8390 doesn't reset properly on
 * power-up. Remove initialization of IMR/ISR in the NE probe
 * because this is inherent in the reset.

30 years ago * Revision 2.3 93/09/29 15:10:16 davidg
David Greenman [Wed, 29 Sep 1993 22:15:53 +0000 (22:15 +0000)]
 * Revision 2.3  93/09/29  15:10:16  davidg
 * credit Charles Hannum

30 years ago * Revision 2.2 93/09/29 13:23:25 davidg
David Greenman [Wed, 29 Sep 1993 20:30:26 +0000 (20:30 +0000)]
 * Revision 2.2  93/09/29  13:23:25  davidg
 * added no multi-buffer override for 3c503
 *
 * Revision 2.1  93/09/29  12:32:12  davidg
 * changed multi-buffer count for 16bit 3c503's from 5 to 2 after
 * noticing that the transmitter becomes idle because of so many
 * packets to load.
 *
 * Revision 2.0  93/09/29  00:00:19  davidg
 * many changes, rewrites, additions, etc. Now supports the
 * NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
 * a variety of similar clones. 16bit 3c503 now does multi
 * transmit buffers. Nearly every part of the driver has
 * changed in some way since rev 1.30.

30 years agoAdd symbolic name for system page directory end, and change constant to
Rod Grimes [Wed, 29 Sep 1993 02:37:41 +0000 (02:37 +0000)]
Add symbolic name for system page directory end, and change constant to
a calculation for the system page directory tables.

30 years agoUpdated for new location of syscons fonts and keymap files
Rod Grimes [Wed, 29 Sep 1993 02:25:59 +0000 (02:25 +0000)]
Updated for new location of syscons fonts and keymap files

30 years agoFixed Makefiles to install into the new places (/usr/share/syscons/X)
Rod Grimes [Wed, 29 Sep 1993 02:25:30 +0000 (02:25 +0000)]
Fixed Makefiles to install into the new places (/usr/share/syscons/X)

30 years agoAdded a Makefile to decend into the 2 supdirectories
Rod Grimes [Wed, 29 Sep 1993 02:16:53 +0000 (02:16 +0000)]
Added a Makefile to decend into the 2 supdirectories

30 years agoChange syscons.* to just syscons. Remove patch kit header. Add $Id$
Rod Grimes [Wed, 29 Sep 1993 02:15:37 +0000 (02:15 +0000)]
Change syscons.* to just syscons.  Remove patch kit header.  Add $Id$

30 years agoWhoops, always forgetting my adds!
Jordan K. Hubbard [Wed, 29 Sep 1993 02:00:04 +0000 (02:00 +0000)]
Whoops, always forgetting my adds!

30 years agoBullied syscons into accepting new view of the universe (/usr/share/syscons/)
Jordan K. Hubbard [Wed, 29 Sep 1993 01:53:49 +0000 (01:53 +0000)]
Bullied syscons into accepting new view of the universe (/usr/share/syscons/)

30 years agoMoved keymaps from syscons.keymaps for a more asthetically pleasing universe
Jordan K. Hubbard [Wed, 29 Sep 1993 01:48:50 +0000 (01:48 +0000)]
Moved keymaps from syscons.keymaps for a more asthetically pleasing universe

30 years agoMoved fonts from syscons.fonts for a more asthetically pleasing universe
Jordan K. Hubbard [Wed, 29 Sep 1993 01:48:23 +0000 (01:48 +0000)]
Moved fonts from syscons.fonts for a more asthetically pleasing universe

30 years ago>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Rod Grimes [Wed, 29 Sep 1993 01:11:19 +0000 (01:11 +0000)]
>From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Date: Wed, 29 Sep 1993 01:54:53 +0300

To bring this error try to make two swap partitons on one disk:
one of the partitions will be not recognized.
Fix is simple: set uninitialized val variable.

30 years agoFrom: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Jordan K. Hubbard [Wed, 29 Sep 1993 00:42:10 +0000 (00:42 +0000)]
From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
AltGr Lock code for zero repeat count ommited, so AltGr Lock
works only one time and never again :-)

30 years ago From: "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
Jordan K. Hubbard [Wed, 29 Sep 1993 00:37:13 +0000 (00:37 +0000)]
 From:  "Andrew A. Chernov, Black Mage" <ache@astral.msk.su>
     Subject:  fix syscons.c (util) error with funkeys and add mapscr code
     This patch provide two goals:

     1) Functional key numbers are from 0 to 59 (see kbdtables.h),
     not from 1 to 12, like assumed in syscons utility, I fix this.

     2) Mapscr ability in syscons driver is *very* helpful
     (especially for russians), but interface for it ommited in syscons
     utility. I add it (choose '-S SCRNMAP' option for it
     and .scr extention).

30 years agoConvert another printf into an lprintf since this should only be output
Rod Grimes [Tue, 28 Sep 1993 21:50:59 +0000 (21:50 +0000)]
Convert another printf into an lprintf since this should only be output
for debugging.

Thanks Chris.

30 years agoChanges to go with syscons updates.
Jordan K. Hubbard [Tue, 28 Sep 1993 21:09:28 +0000 (21:09 +0000)]
Changes to go with syscons updates.

30 years agoVersion number support for XFree86
Jordan K. Hubbard [Tue, 28 Sep 1993 20:53:48 +0000 (20:53 +0000)]
Version number support for XFree86

30 years agoFrom: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Rod Grimes [Tue, 28 Sep 1993 18:10:15 +0000 (18:10 +0000)]
From: kuku@acds.physik.rwth-aachen.de (Christoph Kukulies)
Date: Tue, 28 Sep 93 18:32:45 +0100

Fix to only install /etc/localtime if it does not exist already

30 years ago>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Rod Grimes [Tue, 28 Sep 1993 17:02:34 +0000 (17:02 +0000)]
>From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
Date: Tue, 28 Sep 1993 09:03:13 +0100 (MET)
The only place I found with a printf("status %x") is in /sys/i386/isa/lpt.c,
and looks much like a left-over debugging printout...

And it was... I changed it to an lprintf (which is defined if debuggin is on)
Rod

30 years agoChange to sio for recognising the last serial port on a multiport
Jordan K. Hubbard [Tue, 28 Sep 1993 00:01:18 +0000 (00:01 +0000)]
Change to sio for recognising the last serial port on a multiport
card correctly.

Updated syscons to 0.2e, added features for upcoming XFree86 2.0,
fixed crashbug.

30 years agoAdd sysV shared memory stub routines, take from NetBSD, but other than the
Rod Grimes [Mon, 27 Sep 1993 00:58:01 +0000 (00:58 +0000)]
Add sysV shared memory stub routines, take from NetBSD, but other than the
rcs id addtions they were the same as posted to usenet.

30 years agoAdd declares for shared memory routines, needed by libc code.
Rod Grimes [Mon, 27 Sep 1993 00:38:59 +0000 (00:38 +0000)]
Add declares for shared memory routines, needed by libc code.

30 years agodefine SHMMAXPGS where it is suppose to be, you can over ride this with
Rod Grimes [Mon, 27 Sep 1993 00:36:57 +0000 (00:36 +0000)]
define SHMMAXPGS where it is suppose to be, you can over ride this with
a kernel config options "SHMAXPGS=xxx", default is currently 64 pages
due to limit kernel map space.

30 years agoAdded at 0xFE100000 to config line as this kernel HAS to load high, and
Rod Grimes [Sun, 26 Sep 1993 23:21:12 +0000 (23:21 +0000)]
Added at 0xFE100000 to config line as this kernel HAS to load high, and
it is the place people seem to look for samples.  Also since this kernel
has so so many symbols in it also added SYMTAB_SPACE=89000.

30 years agoRemoved patch kit headers. Updated manual page with information from
Rod Grimes [Sun, 26 Sep 1993 23:11:16 +0000 (23:11 +0000)]
Removed patch kit headers.  Updated manual page with information from
NetBSD, but changed it to use FreeBSD pathnames, also did not include
the -k option since this version of config does not have it.
Added the at address to the config line so you can specify what address
to link the kernel for:

config "386bsd" at 0xFE000000 root on wd0 swap on wd0 and sd0

30 years agoUpgrade a.out.h to NetBSD a.out.h revision 1.4, I did not go all the way
Rod Grimes [Sun, 26 Sep 1993 20:20:46 +0000 (20:20 +0000)]
Upgrade a.out.h to NetBSD a.out.h revision 1.4, I did not go all the way
due to the other changes being quite extensive and wide sweeping.
----------------------------
revision 1.4
date: 1993/04/17 20:07:05;  author: mycroft;  state: Exp;  lines: +5 -1
Add N_RELOFF().
----------------------------
revision 1.3
date: 1993/04/16 13:18:52;  author: mycroft;  state: Exp;  lines: +4 -3
Add QMAGIC support.
----------------------------
revision 1.2
date: 1993/04/16 12:09:18;  author: mycroft;  state: Exp;  lines: +9 -8
Add support for QMAGIC.
----------------------------

30 years agoThis Makefile is for FreeBSD, not 4.3 BSD-Reno. Moved $Id$.
Rod Grimes [Sun, 26 Sep 1993 19:44:33 +0000 (19:44 +0000)]
This Makefile is for FreeBSD, not 4.3 BSD-Reno.  Moved $Id$.
Added STRIP=, DBSYM=, and LOAD_ADDRESS?=
Now use LOAD_ADDRESS for linking kernel and for dbsym, added strip -x to
cut kernel size.

Added machde.o: dependency, this will be needed in the future, and for
now it does not hurt anyone.

Cleaned out conf.o: dependency, mkdep does the right things.  Same for
param.c:

This is really a Merge in of NetBSD's Makefile.i386, here is the relevant
rlog info:
----------------------------
revision 1.27
date: 1993/08/27 23:58:20;  author: brezak;  state: Exp;  lines: +2 -2
Need LOAD_ADDRESS for depend pass.
----------------------------
revision 1.25
date: 1993/07/19 16:52:16;  author: mycroft;  state: Exp;  lines: +3 -3
Add ${DEBUG} to CFLAGS and -f to dbsym.
----------------------------
revision 1.22
date: 1993/07/18 10:08:22;  author: mycroft;  state: Exp;  lines: +5 -6
Change to work with new config stuff for specifying load address.
----------------------------
revision 1.20
date: 1993/07/18 09:47:40;  author: mycroft;  state: Exp;  lines: +6 -5
Use new -T option to dbsym.
----------------------------
revision 1.17
date: 1993/07/11 08:42:22;  author: cgd;  state: Exp;  lines: +2 -2
don't ignore errors from dbsym...  it might say that, e.g. there's
not enough symbol space!
----------------------------
revision 1.14
date: 1993/06/06 23:29:03;  author: cgd;  state: Exp;  lines: +2 -2
make conf.o actually depend on conf.c...
----------------------------
revision 1.8
date: 1993/04/29 03:27:39;  author: cgd;  state: Exp;  lines: +5 -10
use ed instead of ex.  the script to use is identical, and we might
want to switch back to using ex when our ex supports -.
----------------------------
revision 1.5
date: 1993/03/24 18:48:57;  author: cgd;  state: Exp;  lines: +1 -1
now use absolute path for dbsym
----------------------------

30 years agoAdded $Id$ to Makefile, updated strip.1 and strip.c to lattest from NetBSD,
Rod Grimes [Sun, 26 Sep 1993 19:27:56 +0000 (19:27 +0000)]
Added $Id$ to Makefile, updated strip.1 and strip.c to lattest from NetBSD,
with special support for -x option.

These are the applicable excerpts from the NetBSD rlog:
----------------------------
revision 1.6
date: 1993/09/07 16:12:15;  author: brezak;  state: Exp;  lines: +2 -1
Remove filenames with -x flag, too.
----------------------------
revision 1.5
date: 1993/08/27 02:33:36;  author: brezak;  state: Exp;  lines: +14 -2
Add -x flag to remove stabs, compiler idents and local symbols.
----------------------------

30 years agoAdded QMAGIC define so that I can upgrade a.out.h to a new enough version
Rod Grimes [Sun, 26 Sep 1993 19:13:40 +0000 (19:13 +0000)]
Added QMAGIC define so that I can upgrade a.out.h to a new enough version
to support the new NetBSD split command that is needed to support the
new Makefile.i386. (strip -x)

30 years agoImport NetBSD version of dbsym (below is rlog of there version), and add
Rod Grimes [Sun, 26 Sep 1993 16:40:41 +0000 (16:40 +0000)]
Import NetBSD version of dbsym (below is rlog of there version), and add
$Id$ to Makefile.

----------------------------
revision 1.8
date: 1993/08/02 17:57:02;  author: mycroft;  state: Exp;  lines: +5 -0
Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
----------------------------
revision 1.7
date: 1993/07/19 16:50:10;  author: mycroft;  state: Exp;  lines: +43 -15
Kitchen sink version of dbsym.

-f      force; don't complain if db_symtab is missing
-g      debugging; include line number and function info
-x      remove local symbols
-T addr specify load address (necessary to determine file positions)
----------------------------
revision 1.6
date: 1993/07/18 10:34:52;  author: mycroft;  state: Exp;  lines: +1 -1
Hmmm.  I suppose text_Adr really should be an int...
----------------------------
revision 1.5
date: 1993/07/18 09:44:12;  author: mycroft;  state: Exp;  lines: +12 -6
Add -T option to specify load address of kernel (like ld); default to KERNBASE
for compatibility.
----------------------------
revision 1.4
date: 1993/07/12 18:01:51;  author: brezak;  state: Exp;  lines: +19 -2
Changes for GCC2 generated symbols.
----------------------------
revision 1.3
date: 1993/07/11 08:43:34;  author: cgd;  state: Exp;  lines: +2 -2
if no symbols present, don't complain, and exit with 0 exit status.
that way we can use dbsym from kernel makefiles and actually pay attention
to its errors...
----------------------------
revision 1.2
date: 1993/06/18 06:52:03;  author: cgd;  state: Exp;  lines: +3 -1
convert magic numbers to network byte order, and attendent changes
----------------------------
revision 1.1
date: 1993/03/21 09:59:19;  author: cgd;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 1993/03/21 09:59:20;  author: cgd;  state: Exp;  lines: +0 -0
initial import of 386bsd-0.1 sources

30 years agoBSDI init needs crypt, so if you have a libcrypt use it.
Rod Grimes [Sun, 26 Sep 1993 12:26:15 +0000 (12:26 +0000)]
BSDI init needs crypt, so if you have a libcrypt use it.

30 years agoFixed spelling errors
Jordan K. Hubbard [Sat, 25 Sep 1993 15:50:43 +0000 (15:50 +0000)]
Fixed spelling errors

30 years ago>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Rod Grimes [Sat, 25 Sep 1993 15:18:25 +0000 (15:18 +0000)]
>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Date: Sun, 12 Sep 1993 17:59:20 -0400
 This is the "newer" if_ne.c driver I alluded to in my mail to
freebsd-hackers.  This is the posting/mail I saved when it was
originally sent a *long* time ago; it has the proper attributions
in it.

 I haven't found a ne2000/ne1000 driver yet that can beat this one
for general performance - without it, the network is pretty unusable,
especially NFS.

>From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Date: Fri, 24 Sep 1993 18:20:20 -0400
You should be aware the I didn't write this code;  it was posted
to comp.unx.bsd shortly after 0.1 was made available.
  friedl@informatik.uni-kl.de (Ralf Friedl)
was the original poster, but I believe the code comes from:
  shin@angora.nc.u-tokyo.ac.jp

30 years agoFixed MAN8 to be .8 file, people bringing stuff in from NetBSD pease be very
Rod Grimes [Sat, 25 Sep 1993 12:14:32 +0000 (12:14 +0000)]
Fixed MAN8 to be .8 file, people bringing stuff in from NetBSD pease be very
carefull about differences in the man page system!

30 years ago>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Rod Grimes [Sat, 25 Sep 1993 11:41:28 +0000 (11:41 +0000)]
>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sat, 25 Sep 1993 00:04:51 -0700

/usr/X386/bin and /usr/X386/man probably would be a nice touch too.

Rod:
Also cleaned out the #ifdef 0 /*before reorg*/ as this is just old cruft
from before 4.3.  Added /usr/local/src as a possible source directory,
added rest of missing /usr/src areas, reordered all of these to make
more since.
Updated binary paths to be more reasonable (removed things that are
very old like /usr/ucb, /usr/old)

30 years ago * Revision 1.30 93/09/24 18:43:31 davidg
David Greenman [Sat, 25 Sep 1993 01:50:15 +0000 (01:50 +0000)]
 * Revision 1.30  93/09/24  18:43:31  davidg
 * fix bug where Compex boards ident themselves as 8003E's and the
 * 16bit override wasn't working

30 years agoEnable SYSVSHM, and set SHMMAXPGS=64.
Rod Grimes [Fri, 24 Sep 1993 21:01:11 +0000 (21:01 +0000)]
Enable SYSVSHM, and set SHMMAXPGS=64.

30 years ago>From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)
Rod Grimes [Fri, 24 Sep 1993 21:00:29 +0000 (21:00 +0000)]
>From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)
Date: Sun, 12 Sep 1993 18:19:05 -0500
This will allow you to compile and run a freebsd kernel with shared
memory support.  I haven't tested the shm*() calls yet.

You run out of page table descriptors if you specify 4Mb of sharable
memory (SHMMAXPGS=1024).  I don't know what the limit is, but
SHMMAXPGS=64 works.   Rich

30 years ago>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Rod Grimes [Fri, 24 Sep 1993 20:37:32 +0000 (20:37 +0000)]
>From: ljo@ljo-slip.DIALIN.CWRU.Edu (Jonas Olsson)
Date: Sat, 18 Sep 1993 09:10:48 -0400

Hi Serge,
 I managed to patch in your lpa patch with a little effort (space/tab
in the patches you sent me). The driver works fine and has never been
this fast before! Taking the tiger.lj file generated from tiger.ps in
ghostscript I can send it to the printer in 10-12 seconds, or 20-22
kbytes/s. This is with:

> time dd if=tiger.lj of=/dev/lp
426+1 records in
426+1 records out
218249 bytes transferred in 10 secs (21824 bytes/sec)
0.020u 4.800s 0:11.05 43.6% 0+0k 0+0io 0pf+0w

30 years ago>From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Rod Grimes [Fri, 24 Sep 1993 20:13:16 +0000 (20:13 +0000)]
>From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Date: Mon, 13 Sep 1993 08:37:46 +0100 (MES)

touch -t CCYYMMDDhhmm[.SS] doesn't work.

(Scale factor was 1000 for CC, should have been 100) [Rod]