Commit Graph

2259 Commits

Author SHA1 Message Date
jkh
1fa12256c8 Add a pre-configure rule after all, since it's helpful to be able
to also run a rule before you apply patches and then go into the 3 stage
script configuration.  This bit Adam David in his dgd port.
Submitted by:	jkh
1994-08-25 22:59:56 +00:00
wollman
9598c66dbe Methinks p_sysent should be in the copy-on-fork rather than the
zero-on-fork section of the struct proc.  (At least, my system
won't boot unless it is.)
1994-08-25 22:59:35 +00:00
jkh
85d1c63301 Also `make Makefiles' in USE_IMAKE case to catch subdirs.
Submitted by:	jkh
1994-08-25 21:02:45 +00:00
wollman
71bb3a40e9 Add Charles Martin Hannum to copyright notice so he can stop whining and
find something useful to do other than taking credit for other people's
work.  Also make the 3C507 bits match the indentation style of the rest of
the code.
1994-08-25 20:16:59 +00:00
paul
c351569ffc Stop cvs up -P from removing empty compile directories.
Reviewed by:
Submitted by:
1994-08-25 16:20:16 +00:00
paul
f6b61c2bad Added libkern to list of libraries to build.
Deleted mdec target, the bootblocks should get built during
the normal build process now that the sys/Makefile works.

Submitted by:	Paul Richards
1994-08-25 14:45:46 +00:00
jkh
113dd06d20 Sigh. I am a hosebrain. I've been using gmake for so long, I've
started using some of its features reflexively.
Submitted by:	jkh
1994-08-25 13:56:08 +00:00
paul
2239e40cd8 Added ${MACHINE}/boot to build bootblocks.
Submitted by:	Paul Richards
1994-08-25 13:54:28 +00:00
jkh
c969a90702 Add a new flag: USE_IMAKE
This will cause the configure pass to do an `xmkmf' if set.
Submitted by:	jkh
1994-08-25 13:53:02 +00:00
paul
81ba923d34 Moved the csu directory to be first on the SUBDIR list. This is
because libmd builds a test program before installation and if
you've used CLOBBER there's no crt.0 to link with. This ensures
that in a make world the csu objects will get installed before
reaching the libmd directory.

Reviewed by:
Submitted by:
1994-08-25 13:39:18 +00:00
paul
9fd45e4875 Added ${.CURDIRb to vuilding of man pages so it works with obj
Submitted by:	Paul Richards
1994-08-25 13:33:35 +00:00
paul
61994eed16 Removed all refernces to *26 directories.
Reviewed by:
Submitted by:
1994-08-25 10:47:30 +00:00
bde
532c1f6717 Updated to final 1.1.5 version (revision 1.56).
Merged changes from 2.0 version (revisions 1.46-1.50) by hand.

Finished conversion to clists: removed flush of tty output buffer
in comflush() (most writes were truncated to 256 bytes) and restored
bypass of ttyinput() in siopoll().

Finished conversion to 2.0 types - more void *'s, less caddr_t's,
less casts, no Dev_t's.

Only these things are seriously broken now compared with 1.1.5:
waiting for output complete is impossible so ttywait() can deadlock;
sioclose() isn't called enough so sioopen() sometimes returns EBUSY
unnecessarily; input flow control is not implemented.
1994-08-25 10:15:28 +00:00
bde
429bde1b5f Support speeds 57600 and 115200.
Privatize functions.
1994-08-25 10:01:00 +00:00
bde
a9f5e2f0f4 Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked.  The "depend"
target was not created either so "make depend" always found work to do.
1994-08-25 08:36:26 +00:00
ats
19f2ca4ce6 Reviewed by:
Submitted by:
Add the elink.c file to the necessary modules for the ie and ep driver.
1994-08-24 22:37:56 +00:00
ats
b670389fdc Reviewed by:
Submitted by:
Add the 3com 3C507 card to the if_ie.c driver. The files elink.c and
elink.h are helding routines that are shared between the 3C507 and the
3C509/3C579. if_ie507.h are constant declarations unique to the 3C507.
The code is based on the NetBSD driver if_ie.c donated to NetBSD by
Rafal Boni and then modified by Charles Hannum.
1994-08-24 22:32:44 +00:00
paul
53b6f73ce0 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
sef
8a85f8aa3e Fix a problem with passing quoted strings down to commands.
Reviewed by:	Sean Eric Fagan
1994-08-24 21:14:27 +00:00
guido
9aa07f6222 Also create a link "view" to nvi, in stead of nview solely.
Reviewed by:
Submitted by:	guido
1994-08-24 20:09:47 +00:00
guido
1d60a7b724 Make it make-able by adding a rule for paper.ps
Reviewed by:
Submitted by:	guido
1994-08-24 19:01:36 +00:00
guido
b228cafafb Make it make-able by adding a rule for paper.ps.
Reviewed by:
Submitted by:	guido
1994-08-24 18:57:49 +00:00
jkh
91da6f326f Some cosmetic changes.
Add pre-{build,extract,install,...} targets for Torsten, who apparently
needs them.  Can't do effective post-* targets without major work, sorry.

						Jordan
Reviewed by:
Submitted by:
1994-08-24 14:49:33 +00:00
csgr
483b0eb819 Add lex to makefile
Submitted by:	Geoff.
1994-08-24 13:29:01 +00:00
csgr
2a3fbe84a0 This commit was generated by cvs2svn to compensate for changes in r2258,
which included commits to RCS files with non-trunk default branches.
1994-08-24 13:10:34 +00:00
csgr
b5e4d7a92e Flex version 2.4.7 from LBL
Reviewed by:	Geoff.
1994-08-24 13:10:34 +00:00
sos
ecc424b57b Changes preparing for iBCS support
Reviewed by:
Submitted by:
1994-08-24 11:52:21 +00:00
sos
905367d1b8 Changes preparing for iBCS support
Reviewed by:
Submitted by:
1994-08-24 11:51:46 +00:00
sos
ea7b642965 New file declaring the sysent structures
Reviewed by:
Submitted by:
1994-08-24 11:47:23 +00:00
sos
348c6c2277 Changes preparing for iBCS2 support
Reviewed by:
Submitted by:
1994-08-24 11:45:19 +00:00
sos
a1df6e49d5 Added iBCS2 files
Reviewed by:
Submitted by:
1994-08-24 11:44:45 +00:00
dg
2f63d99b81 Pay attention to *all* errors from copyinstr(). This patch fixes a bug
that causes a no-panic instant reboot when bogus argv/envvs are fed to
execve().
1994-08-24 10:53:53 +00:00
jkh
9c110258c6 From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails.  Here is a patch for what I believe is a simple oversight:

Submitted by:	jkh
1994-08-24 07:26:23 +00:00
dg
ee3a8a1d81 Initialized v_writecount. 1994-08-24 04:06:39 +00:00
guido
26853c11db Move fbtab file to share/examples/etc per Garrett's request.
Reviewed by:
Submitted by:
1994-08-23 20:25:28 +00:00
guido
124456a1b1 Add -DBSD4.2 and -DBSDINETD so uucpd makes sense. Further correct a
warning at compil time.
This actually makes uucpd at tcp port 540 work, so slippers can  poll
over tcp.
Reviewed by:
Submitted by:	guido
1994-08-23 20:13:32 +00:00
paul
8312f29778 Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:
1994-08-23 17:18:58 +00:00
dg
96a3ea2381 Corrected some comments regarding ptes/pdes. 1994-08-23 16:27:15 +00:00
paul
351b3a5a9a Re-enabled inlining of inb.
Changed u_int_inb to just inb and deleted define.

The code generated is identical to that generated with the cast so
the problem was obviously fixed at some point after gcc 1.4

Reviewed by:
Submitted by:
1994-08-23 13:41:37 +00:00
paul
42b0369dee I've disabled this piece of code since it's what's
hosing syscons. Doesn anyone know anything about this
or can we just delete it now?

/*
 * This roundabout method of returning a u_char helps stop gcc-1.40 from
 * generating unnecessary movzbl's.
 */
#ifdef disable_for_gcc-2_6_0
#define inb(port)       ((u_char) u_int_inb(port))
#endif

static inline u_int
u_int_inb(u_int port)
{
        u_char  data;
        /*
         * We use %%dx and not %1 here because i/o is done at %dx and
not at
         * %edx, while gcc-2.2.2 generates inferior code (movw instead
of movl)
         * if we tell it to load (u_short) port.
         */
        __asm __volatile("inb %%dx,%0" : "=a" (data) : "d" (port));
        return data;
}

Reviewed by:
Submitted by:
1994-08-23 11:57:19 +00:00
jkh
8969df1ef1 Changes to adapt to 2.0.
Submitted by:	jkh
1994-08-23 11:17:55 +00:00
jkh
0c25374e11 Bring over dbsym from 1.1.5.1
Submitted by:	jkh
1994-08-23 11:15:45 +00:00
jkh
cd8c228e5f Bring symorder over from 1.1.5.1
Submitted by:	jkh
1994-08-23 11:08:08 +00:00
dg
460f22c959 Woops, "8/16 mode" should read "8/16bit mode". 1994-08-23 10:51:40 +00:00
jkh
4392f98435 I was in bourne-shell mode when I wrote this.. *blush*.
Submitted by:	jkh
1994-08-23 09:54:22 +00:00
dg
3288b01aa9 Added manual page for my ethernet driver - if_ed.c, and removed old
manual page for the com driver (which is no longer in our source tree).
1994-08-23 09:50:48 +00:00
dg
463fb272ff Corrected kernel base address. 1994-08-23 09:34:10 +00:00
rich
6276564167 Once again, slattach sources ported from 1.1.5 with fixes.
Reviewed by:	davidg, bde
Submitted by:	rich
1994-08-23 08:28:32 +00:00
rich
3492ba7f66 Slattach ported from 1.1.5 plus Bruce Evans suggested fix (close
FDs and fork before redialing) to prevent dialer from hanging with
newer sio.c.

Also moved history from the source to the cvs log (here) per
David G's suggestion.

This compiles but needs testing now...  Rich

/*
 * Hacks to support "-a|c|n" flags on the command line which enable VJ
 * header compresion and disable ICMP.
 * If this is good all rights go to B & L Jolitz, otherwise send your
 * comments to Reagan (/dev/null).
 *
 * nerd@percival.rain.com (Michael Galassi) 92.09.03
 *
 * Hacked to change from sgtty to POSIX termio style serial line control
 * and added flag to enable cts/rts style flow control.
 *
 * blymn@awadi.com.au (Brett Lymn) 93.04.04
 *
 * Put slattach in it's own process group so it can't be killed
 * accidentally. Close the connection on SIGHUP and SIGINT. Write a
 * syslog entry upon opening and closing the connection.  Rich Murphey
 * and Brad Huntting.
 *
 * Add '-r command' option: runs 'command' upon recieving SIGHUP
 * resulting from loss of carrier.  Log any errors after forking.
 * Rich 8/13/93
 *
 * This version of slattach includes many changes by David Greenman, Brian
 * Smith, Chris Bradley, and me (Michael Galassi).  None of them are
 * represented as functional anywhere outside of RAINet though they do work
 * for us.  Documentation is limited to the usage message for now.  If you
 * make improovments please pass them back.
 *
 * Added '-u UCMD' which runs 'UCMD <old> <new>' whenever the slip
 * unit number changes where <old> and <new> are the old and new unit
 * numbers, respectively.  Also added the '-z' option which forces
 * invocation of the redial command (-r CMD) upon startup regardless
 * of whether the com driver claims (sometimes mistakenly) that
 * carrier is present. Also added '-e ECMD' which runs ECMD before
 * exiting.
 *
 * marc@escargot.rain.com (Marc Frajola) 93/09/10
 *
 * Minor fixes to allow passive SLIP links to work (connections with
 * modem control that do not have an associated dial command). Added
 * code to re-check for carrier after dial command has been executed.
 * Added SIGTERM handler to properly handle normal kill signals. Fixed
 * bug in logic that caused message about no -u command to be logged
 * even when -u was specified and the sl number changes. Tried to get
 * rid of redundant syslog()'s to minimize console log output. Improved
 * logging of improper command line options or number of command
 * arguments. Removed spurious newline characters from syslog() calls.
 *
 * gjung@gjbsd.franken.de
 *
 * sighup_handler changed to set CLOCAL before running redial_cmd.
 * added flag exiting, so exit_handler is not run twice.  Fork
 * before reopening tty.
 */
1994-08-23 08:07:17 +00:00
paul
0263782ac9 Ran ft.c through ident.
Added a missing #ifdef INET wrapper in lpt.c

Main change:
	Removed the timeout_func_t casts from timeout calls and
	correctly defined the timeout routines to conform to
	the new format.
lpt.c doesn't have this change.

Reviewed by:
Submitted by:
1994-08-23 07:52:29 +00:00