Commit Graph

6855 Commits

Author SHA1 Message Date
Poul-Henning Kamp 16e5d87eab Code to use vndevice instead of floppy to build floppy images. 1995-03-16 05:40:02 +00:00
Paul Richards eb8e92bd93 Added my little project to stop ps truncating output to pipes. 1995-03-16 05:07:09 +00:00
Poul-Henning Kamp 16ecbe2b7f Added cons30, cons43 and cons60 terminal types (==cons25 with more lines).
Theres a mono entry for them all, and cons50 already existed.
1995-03-16 01:37:41 +00:00
Joerg Wunsch 3ce2ec287b Included the (now use{able,ful}) catman program as an (commented out)
example.
1995-03-15 22:58:19 +00:00
Joerg Wunsch 01e694c2e2 Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-03-15 22:47:38 +00:00
Peter Dufault 66b0ec7d86 Plug lurking bug when a device returns ASC:ASCQ 0xff:0xff 1995-03-15 22:42:25 +00:00
Bill Paul d93cc1a933 According to stdlib.h, malloc and realloc return void * but error_table.y
declares them to return char *. For some reason, this causes no problems
with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a
seperate DESTDIR got me this error:

yacc -d /usr/src/usr.bin/compile_et/error_table.y
cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err   -I/mnt/usr/include -c y.tab.c -o error_table.o
In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11,
                 from /usr/src/usr.bin/compile_et/error_table.y:233:
/mnt/usr/include/stdlib.h💯 conflicting types for `malloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc'
/mnt/usr/include/stdlib.h:104: conflicting types for `realloc'
/usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc'
*** Error code 1

Stop.

Declaring malloc and realloc to return void * fixes this. It could be that
the new gcc is a bit more picky about these things.
1995-03-15 19:05:28 +00:00
Stefan Eßer 8e95bee6d4 Conditionalise debug message.
Submitted by:	Peter Dufault <dufault@hda.com>
1995-03-15 18:15:32 +00:00
Bruce Evans fe7172b1a6 Fix support for extended partitions (forgot to release the buffer). 1995-03-15 16:25:08 +00:00
Peter Dufault 1a084a9abd Change it so it doesn't say "probe0" for SCSI probe "device". 1995-03-15 14:44:01 +00:00
Peter Dufault de6a307ec7 Document scsi options 1995-03-15 14:27:01 +00:00
Peter Dufault 7a162ba150 Add scsi/scsi_sense.c 1995-03-15 14:23:18 +00:00
Peter Dufault 73d664ca78 1. Add text for ASC/ASCQ
2. Clean up probe messages.  This is how I propose it looks for 2.1 so
if you don't like it you have my e-mail address.
1995-03-15 14:22:12 +00:00
David Greenman 5eb7d0cd2e Special cased the handling of mb_map in the M_WAITOK case. kmem_malloc()
now returns NULL and sets a global 'mb_map_full' when the map is full.
m_clalloc() has further been taught to expect this and do the right thing.
This should fix the "mb_map full" panics that several people have reported.
1995-03-15 07:52:06 +00:00
David Greenman 3669a02157 Changed manual page to conform to the reality in FreeBSD. 1995-03-15 07:08:33 +00:00
Poul-Henning Kamp 76f4de663a Extract the cpio-floppy relative to the root, not /stand. 1995-03-15 06:16:10 +00:00
Poul-Henning Kamp e12c435569 I belive the floppies work as expected now. (incl the fixit) 1995-03-15 06:14:19 +00:00
Bill Paul b337d29402 Repeat after me kids: "I will not try to install files into a directory
when I'm not sure whether or not that directory exists."

Today I discovered that rebuilding /usr/include completely from scratch
doesn't work, because the libss Makefile tries to install headers into
/usr/include/ss, which 'make includes' does not create. The result is that
the libss Makefile plants the header files in /usr/include as individual
files called 'ss,' with the second one overwriting the first, and the
third one overwriting the second. So instead of a directory called
/usr/include/ss, you end up with just one file called /usr/include/ss with
only the last header file in it. Check out /usr/include/ss on freefall
and you'll see what I mean.

I've modified the beforeinstall target in the libss Makefile to check
for the presence of the ${DESTDIR}/usr/include/lbss directory and to
create it if it isn't already there. Hopefully I did it right.
1995-03-15 01:33:05 +00:00
David Greenman e8f1ce6f5a Added $Id$ 1995-03-14 22:15:36 +00:00
David Greenman 2c8fe19f89 pcb allocations are not always done on behalf of a process; it is not
okay to wait.
1995-03-14 21:50:55 +00:00
Ollivier Robert 5eef901954 Add gnu/usr.sbin in the installmost and most targets.
Reviewed by:	roberto
Submitted by:	Remy.Card@blaise.ibp.fr
1995-03-14 21:32:46 +00:00
Stefan Eßer abfefaa786 Fix "-ssync=xx" option. 1995-03-14 21:12:26 +00:00
David Greenman 3c6e6efc95 Added manual page for DEC DEFPA and DEFEA FDDI adapters.
Submitted by:	Matt Thomas
1995-03-14 09:27:20 +00:00
David Greenman d41f24e742 Added support for generic FDDI and the DEC DEFEA and DEFPA FDDI adapters.
Submitted by:	Matt Thomas
1995-03-14 09:16:07 +00:00
David Greenman 78dfa6036a Removed "-D" option and made symbols load all the time. They will be
discarded if the kernel isn't built with DDB.
1995-03-14 08:21:53 +00:00
Poul-Henning Kamp 2706402fd9 This is the shared version of the libgcc which we will need for 2.0 stuff
to run on 2.1.
Obtained from:	2.0-RELEASE bindist
1995-03-14 00:06:11 +00:00
Poul-Henning Kamp 3bc93c76c6 Added a fixit floppy to the rules. 1995-03-13 20:09:38 +00:00
Poul-Henning Kamp c66585d539 Disabled gdb until it compiles. I need make world to work... 1995-03-13 19:14:05 +00:00
Andrey A. Chernov 00c965147b Fix wbkgdset macro
Submitted by: Andreas Wetzel <mickey@deadline.snafu.de>
1995-03-13 19:02:04 +00:00
Steven Wallace a91ccb55cf Change device entry examples to reflect the following:
Remove PAS-only entry for OPL as ache pointed out.
Update OPL comment to show OPL-2 or OPL-3 support as it is auto-detected.
1995-03-13 18:49:37 +00:00
Andrey A. Chernov 4ad6de4413 Bump SHLIB_MAJOR to 263 to match ../Makefile.inc 1995-03-13 01:30:02 +00:00
Andrey A. Chernov 34ee6d3450 Make /dev/pss instead of /dev/sndproc (unused) 1995-03-13 00:10:40 +00:00
Steven Wallace 12fd08535f Remove old snd file configuration list and add new file list
for the snd controller and the different sound devices.

Update LINT to include all sound device drivers using new format.

Reviewed by:	wollman
1995-03-12 23:43:15 +00:00
Joerg Wunsch 18c0c440eb Do not try to make any notice if the PID file cannot be created.
Makes folks happy that run slattach in single-user, where /var/run is
probably missing.
1995-03-12 23:37:28 +00:00
Steven Wallace 1e25d964d2 Reorganize how sound devices are configured. Use a snd controller
with individual devices for each type of sound card:
  opl, sb, sbxvi, sbmidi, pas, mpu, gus, gusxvi, gusmax, mss, uart

EXCLUDE_* options are no longer required to be included in the config file.
They are automatically determined by local.h depending on the devices
included.

Move #includes in local.h to os.h so files are included in the proper
order to avoid warnings.

soundcard.c now has additional code to reflect the device driver
routines needed.

Define new EXCLUDE_SB16MIDI for use in sb16_midi.c and dev_table.h.

#ifndef EXCLUDE_SEQUENCER or EXCLUDE_AUDIO have been added to
soundcard.c and sound_switch.c where appropriate.

Probe outputs changed to reflect new device names.

Readme.freebsd not needed.  Update sound.doc with new config instructions.

Reviewed by:	wollman
1995-03-12 23:34:12 +00:00
Andrey A. Chernov c14b1eb830 Add cmp -s to beforeinstall target 1995-03-12 23:21:29 +00:00
Joerg Wunsch 82f5379bc5 Finally get rid of this bothering ``biodone: buffer already done''
warning.  The buffer needs only to be `biodone()' again if the format
operation timed out; otherwise fdstate() did already do the job.
1995-03-12 22:40:56 +00:00
Ollivier Robert 40ac60750c Could some kind soul with commit power please add this site to the mirrors
list? (It should be added at the bottom to the sites serving export-
restricted code, please)

Country         Site and Maintainer
=======         ========================================================
Brazil          ftp://ftp.iqm.unicamp.br/pub/FreeBSD
                Pedro A M Vazquez <vazquez@iqm.unicamp.br>

Reviewed by:	roberto
Submitted by:	Mark Murray <mark@grondar.za>
1995-03-12 22:34:05 +00:00
Poul-Henning Kamp 0282d7a383 Don't install shared libgcc, we can't do it this way.
I will uuencode and check in to a "compat20" area the 2.0-RELEASE version.
1995-03-12 20:17:07 +00:00
Bill Paul f7fa522e95 Impliment -ad and -au flags in addition to -a and document the change
in the man page. ifconfig -au affects all interfaces marked as up,
and ifconfig -ad affects only the interfaces marked down. ifconfig -a
still handles everything. This change is purely for compatibility with
SunOS, for those who might be accustomed to the SunOS ifconfig's
behavior.
1995-03-12 19:05:03 +00:00
Bruce Evans f2a5c98e24 Clean up white space. 1995-03-12 15:25:32 +00:00
Joerg Wunsch 21bfcc9f8c Make slattach create a PID file under /var/run when the connection is
established.  This way, automatic scripts are possible that might
control the SLIP connection.  It's unacceptable for a daemon that's
being controlled by a variety of signals to not leave its PID
somewhere.  The file name contains the terminal path name component of
the associated tty device, so it should be unique even with multiple
parallel slattach's running.  The file will be unlinked at regular exit.

Also found a minor bug in the option handling by compiling with -Wall.
1995-03-12 15:04:18 +00:00
Bruce Evans 918bed7582 Remove `|| flags & ALT == 0' which was an obscure no-op, not a
parenthesization/precedence bug.
1995-03-12 13:53:51 +00:00
Ugen J.S. Antsilevich 9870b4d2de Allocate memory as M_IPFW,now we can watch firewall memory usage
in vmstat..
1995-03-12 13:28:13 +00:00
Ugen J.S. Antsilevich 1079e644a8 Fix it - now this programm should work probably..It is
still commented out in rc and i ask everybody to test it and
reply  if it makes any troubles...If no - very good..
1995-03-12 13:27:24 +00:00
Bruce Evans d26be6f09d Obtained from: 1.1.5. Originally by jtc. Cosmetically changed for this
commit by bde.

Fix bugs in floating point formatting.  The 4.4lite version is similar
to revision 1.3 in old-cvs and is missing all of jtc's fixes in revision
1.4 in old-cvs.  Revision 1.2 in ncvs fixed one of the old bugs but
introduced at least one new one (for %.0e).

old-cvs log:
revision 1.4
date: 1993/11/04 19:38:22;  author: jtc;  state: Exp;  lines: +33 -20
My work from NetBSD to make printf() & friends ANSI C compliant.
Fixes several bugs in floating point formatting:
  1. Trailing zeros were being stripped with %e format.
  2. %g/%G formats incorrect.
  3. Lots of other nits.
1995-03-12 13:26:49 +00:00
Ugen J.S. Antsilevich a28fb64b82 Save all changed devices so thet dset would be able to retrive
data and device driver could change it as it wishes to..
1995-03-12 13:25:51 +00:00
Ugen J.S. Antsilevich 3f033b0f76 Add M_DEVS for list of saved isa_device's
and M_IPFW for firewall chans memory on the same opportunity,
theese types of memory are unique enough to have own identifiers and
besides vmstat looks much more useful and right for those now
1995-03-12 13:25:01 +00:00
Ugen J.S. Antsilevich 341dbf8041 Add id_next field to struct isa_device,this does not
breaks anything and needed only in userconfig to make dset work
for now..
1995-03-12 13:23:10 +00:00
Bruce Evans 1475d9283e Move a kernel inline function inside `#ifdef KERNEL' so that including
<vm/vm.h> doesn't cause warnings about nonexistent functions called
by the inline function.  Clean up the formatting of the function.
1995-03-12 12:42:00 +00:00