Commit Graph

4584 Commits

Author SHA1 Message Date
gibbs
8aa7a37cce Add new keywords to config. The options availible in file.i386 are now:
/*
         * filename     [ standard | optional ] [ config-dependent ]
         *      [ dev* | profiling-routine ] [ device-driver] [ no-obj ]
         *      [ compile-with "compile rule" [no-implicit-rule] ]
         *                     [ dependancy "dependancy-list"]
         */

I added

no-obj -  This entry does not create anything linkable to the kernel.
dependancy - Add additional dependancy rules to a target.
no-implicit-rule - Don't assume .c -> .o type rules.  Config is really
             dumb in this area and assumes that everything is a .c file
	     irregarless of extention.  This was the best choice really
	     since there may even be .c file that you don't want to follow
	     the standard rules.

This was all done so that the building to the aic7770 assembler and using
the aic7770 assembler in the building of the aic7770 driver could be config
dependant.  I can now have an entry like this for the driver:

aic7770                         optional        ahc     device-driver   \
        compile-with    "${CC} $> -o $@"                                \
        dependancy      "$S/gnu/misc/aic7770/aic7770.c"                 \
        no-obj no-implicit-rule
aic7770_seq.h                   optional        ahc     device-driver          \
        compile-with "${.CURDIR}/aic7770 -o $@ $S/gnu/misc/aic7770/aic7770.seq"\
        dependancy "$S/gnu/misc/aic7770/aic7770.seq aic7770"                   \
        no-obj no-implicit-rule
i386/isa/aic7770.c              optional        ahc     device-driver   \
        dependancy "aic7770_seq.h"

I also added '\' escaping to newlines so that this doesn't look as gross as
it could have.

Reviewed by: jkh
1994-11-17 20:30:01 +00:00
gibbs
ead58c9f62 My port of Julian's 1742 driver to work with the Linux aic7770 sequencer
code.
1994-11-17 20:22:31 +00:00
gibbs
ce8e6e4cfb New device-driver entries for the aic7770 driver. These use new features
of config so YOU MUST RECOMPILE CONFIG.  Modifying config was the cleanest
solution to integrating this driver into the tree which will become more
obvious in the next commit.
1994-11-17 20:20:54 +00:00
gibbs
fcb10df734 John Aycock's aic7770 sequencer code and assembler. There is currently
a discussion going on about removing this code from the burden of the
GPL, but it won't happen before Beta, and this code should be tested
before release.

Supports 27/2842 class adaptec cards and is almost capable of supporting
aic7870 based adapters (294X series cards).  It does not support Wide
controllers or the second channel on Twin boards although I have work in
progress on getting both channels and running.

I have also added a few performance improvements to this version that give
us approximately a 25% boost over the original driver.  These patches have
been submitted to the author.

Obtained from: Linux aic7770 driver (John Aycock - aycock@cpsc.ucalgary.ca)
1994-11-17 20:19:10 +00:00
ache
ba821de391 Use -1, -1 where is possible 1994-11-17 19:44:55 +00:00
ache
afba98eb13 Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
ache
60347cd3b6 Add yet one russian keymap, widely used by some russians 1994-11-17 18:03:18 +00:00
ats
b31e23ee83 Fixed the PATH and cleanenv setting in su. This was totally broken in the
4.4BSD Lite source.
1994-11-17 16:56:58 +00:00
jkh
0728be3c1e Add another mirror site and adjust the menu to note that not all
sites are created equal.
1994-11-17 16:18:35 +00:00
jkh
cac70cf98a Add reinstall. 1994-11-17 16:02:56 +00:00
jkh
9cb91dd8a0 There seems to be some trouble with install.man working right everywhere.
Conditionalize it off of INSTALL_MANPAGES until I can figure out just
why some X ports seem to like it and others not.
1994-11-17 15:46:27 +00:00
jkh
88b5df039d Yow! Ok, distributions should now be fully auto-checksumming, provided
that Poul builds the rest of the dists properly.  I'll run this over the
XFree86 dist, but the rest will be up to him.  Check bindist rule for
the single line to add - it's trivial.
1994-11-17 15:20:04 +00:00
dg
c33a646430 Fixed rather serious bug where the interface wasn't started after it was
stopped in ed_setrcr(). I'm amazed that the driver worked at all. Thanks to
John Hay for pointing this out.
1994-11-17 14:42:27 +00:00
jkh
850f1f5bb6 Rethink the cpio floppy verify a little. Don't use a magic cookie,
check for bininst instead (see comments in release/Makefile).
1994-11-17 14:18:43 +00:00
jkh
bffbeb9aa2 Add extra scripts to the Makefile. Add another mirror site to
instdist.sh
1994-11-17 14:18:02 +00:00
jkh
307863bc92 1. Add check to see if CPIO floppy extracted properly.
2. See if swapon() failed and at least print a diagnostic.
3. Use -1 instead of strheight()/strwidth() everywhere.

Reviewed by:
Submitted by:
Obtained from:
1994-11-17 14:12:38 +00:00
jkh
86f1a4176a Steven G Kargl <kargl@troutmask.apl.washington.edu>
Finds many spelling errors.  Thanks, Steven!
Submitted by:	steven
1994-11-17 12:35:24 +00:00
jkh
3a795fa5ff Many fixes from Bill Paul:
Smack the netboot program around so that it will allow the user to
  specify mount options.  [So that you can boot from a privileged port]

  Change the default boot image name in netboot to /kernel, then strip
  the leading slash when actually going out to get the NFS file handle.

  Added support for 3Com 3c503 cards. Also added another command to
  the (trans) that allows you to switch the 3Com's on-board transceiver
  on and off. (ether.c, ether.h, bootmenu.c)

  Modified the Makefile to support new compile-time options for 3c503
  cards:

  -DINCLUDE_3COM                Include support for 3c503
  -D_3COM_BASE=0x300            Define 3c503 base i/o address (if not
                                specified, 0x300 is the default)
  -D_3COM_USE_AUI               Disable the 3c503's transceiver by
                                default (without this flag the transceiver
                                is on by default)
1994-11-17 12:16:07 +00:00
jkh
403695a4c2 Eliminate the use of cpio in extraction. The stupid thing whines too much,
and it doesn't support --unlink.  I think it's time to nuke cpio completely
out of the installation process, unless someone can think of a really good
reason to keep it (and don't say multiple volume extraction since we a) don't
use it anywhere anyway, and b) tar supports that too, now).
1994-11-17 11:53:14 +00:00
ache
91b83599a7 Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
ache
f6fda6cebc By Bruce and Joerg suggestions and by looking into June version
of NetBSD simple #include <stdlib.h> into malloc.h
Put #warning that this file is obsoleted ( by Joerg suggestion)
1994-11-17 11:04:49 +00:00
jkh
316a159f85 Don't create packages with bogus @name lines. 1994-11-17 10:54:11 +00:00
jkh
7778f5380f Protect against old packages with bogus @name fields. Use basename_of()
on the name before recording it in /var/db/pkg.  Sorry, Kaleb, you
were right after all!  It was my fault! :)
1994-11-17 10:53:21 +00:00
jkh
f0f266b384 Add a new basename_of() function. 1994-11-17 10:51:51 +00:00
dfr
78425e620e Added sysarch system call which is used my i386_get/set_ltd.c and is needed
for Wine support.  The current snapshot of wine works fine with this.

This should go into the beta as the code which it calls in the kernel is
already there, and works fine.
1994-11-17 10:50:55 +00:00
jkh
5d00f60140 Remove the QUERY_* functions. I don't think they're as good an
idea as I apparently once did.
1994-11-17 10:35:04 +00:00
jkh
6593f9b699 Whoops! Typo. Correct. 1994-11-17 10:07:45 +00:00
jkh
b43669fad8 I found today that making packages for X11 ports wasn't working.
Further investigation showed that prefix was erroneously set to /usr/local
for X11 based ports as well, when the assumption was that they'd really go
into ${X11BASE} (an /etc/make.conf variable that the user's free to set).

Set X11BASE to /usr/X11R6 if the user hasn't already, and assume that
the user really wants prefix to point there when the port is XMKMF based.
1994-11-17 10:06:03 +00:00
jkh
74b1e0b017 New man pages from Ugen. Delete my old, first attempt. I only hope
that the english in Ugen's two replacement pages is not too impenetrable! :-)
[Note:  Poul - please pull these into the BETA branch along with the
other firewall changes]

Submitted by:	ugen
1994-11-17 09:50:30 +00:00
smace
06d8605f45 fix if test for rwhod. 1994-11-17 08:28:02 +00:00
jkh
f77eee9fd6 Add a line to automatically generate CKSUMS file for the bindist. 1994-11-17 07:11:30 +00:00
jkh
b29d5a1e0c Add cksum to the cpio floppy - automated checksumming of the *dist
tarballs is just one step away.
1994-11-17 07:09:22 +00:00
dg
245c52ff2f Don't ever try to kill off process 1 - even if we are out of swap space
and it's the candidate pig.
1994-11-17 06:24:25 +00:00
gibbs
a28860212f Make newlfs work by adding the MAXSYMLINKLEN and a byte padding to
struct lfs.

sovs@diku.dk:
The pad2 field in struct lfs is a kludge. You
need it because the raw devices has to be written in DEV_BSIZE. The
lfs_maxsymlinklen is needed because the tells the UFS code that we
want to use 4.4BSD directory layout insted of FreeBSD 1.1.5.

Reviewed by: Justin Gibbs
Submitted by: sovs@diku.dk
1994-11-17 01:38:30 +00:00
gibbs
02b39f95c4 John Dyson's patches (and a few from me too) to LFS to use a different
buffering scheme and make it more in tune with FreeBSD's vfs_bio
implementation.  The filesystem seems fairly stable, but I wouldn't recommend
it to anyone not willing to experience problems.  This is very green code and
has the limitation that YOU CAN ONLY HAVE ONE LFS PARTITION MOUNTED AT A TIME.

What LFS is good for:

	Non fsynced writes	FASTER THAN FFS
	Large deletions		Increadibly fast

Reads are a little bit slower than FFS right now, but that is a factor of
how under optimized this code is.  LFS should in theory perform at least as
well as FFS under fsync (iozone) type loads, and this is what I'm currently
working on.

Reviewed by:	Justin Gibbs
Submitted by:	John Dyson
Obtained from:
1994-11-17 01:30:53 +00:00
gibbs
8119b5015f Remove a peice of commented out code that was left over from the early
stages of debugging LFS:

         * if we can't bmap, use old VOP code
         */
!       if (/* (vp->v_mount && vp->v_mount->mnt_stat.f_type == MOUNT_LFS) || */
!               VOP_BMAP(vp, foff, &dp, 0, 0)) {
                for (i = 0; i < count; i++) {
                        if (i != reqpage) {
                                vnode_pager_freepage(m[i]);
--- 804,810 ----
        /*
         * if we can't bmap, use old VOP code
         */
!       if (VOP_BMAP(vp, foff, &dp, 0, 0)) {

Reviewed by: gibbs
Submitted by: John Dyson
1994-11-17 01:22:45 +00:00
jkh
436e419a37 Add support for NO_WRKDIR. 1994-11-17 00:25:16 +00:00
jkh
ae5033f4db 2 new concepts that just occurred to me:
MASTER_SITE_OVERRIDE - 	If set in the environment, will override everyone's
	MASTER_SITES settings.  Useful if you'd prefer to point to a
	distfiles repository somewhere closer.

MASTER_SITE_FREEBSD  -  Sets OVERRIDE to be FreeBSD's own master repository.
1994-11-17 00:18:28 +00:00
jmz
f0796c1813 If USE_GMAKE is defined, use ${GMAKE} in ${XMKMF} && ${MAKE} Makefiles 1994-11-16 23:14:22 +00:00
martin
30ae84dcac Instructions for setting up diskless clients 1994-11-16 15:33:42 +00:00
ache
cbfb51dece Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
ache
41021bcb13 Remove str{width,height} functions, they are in libdialog now.
It is only first hook for new autosizing changes, more changes
will follow.
1994-11-16 14:42:22 +00:00
ache
e26dcdfe6d Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
ljo
0cbabcf40f Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.
1994-11-16 14:02:42 +00:00
ache
9ff5ea124c Change rules to not generate term.h on second make depend 1994-11-16 11:54:09 +00:00
jkh
a8e45e5f34 Latest from Ugen J.S.Antsilevich" <ugen@NetVision.net.il>. Poul, please
take this into BETA.
Submitted by:	ugen
1994-11-16 10:18:18 +00:00
jkh
e8b4c66232 Ugen J.S.Antsilevich's latest, happiest, IP firewall code.
Poul:  Please take this into BETA.  It's non-intrusive, and a rather
substantial improvement over what was there before.
1994-11-16 10:17:11 +00:00
jkh
6f2263602c 1. Split these scripts into smaller distinct functional units that will
be callable _after_ installation in 2.1's system admin tools.  This is
   almost totally revamped now.

2. Support installation from DOS partition or floppy.

3. Many stray bogons eliminated.  Perhaps a few introduced.  One more
   rev should fix this up, once I've spammed my test machine a couple of
   times.

4. Installation from CD now *really* possible.

5. Allow user to specify arbitary subdirectories for NFS mountpoints -
   UFS, NFS and CD distributions now share many common elements.
1994-11-16 07:51:45 +00:00
phk
3e67e7f9c3 Fix a panic I might have seen, or at least could see some day if I havn't
already.
1994-11-16 06:09:29 +00:00
bde
6d4cb0cef2 The previous revision forgot to define fatal_if_no_DDB() when there is DDB. 1994-11-16 02:45:36 +00:00