]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoFix diagnostic typo.
Brian Somers [Sat, 25 Apr 1998 00:20:23 +0000 (00:20 +0000)]
Fix diagnostic typo.

26 years agoFix nasty error in len_octal, result not initialized
Andrey A. Chernov [Sat, 25 Apr 1998 00:12:32 +0000 (00:12 +0000)]
Fix nasty error in len_octal, result not initialized

26 years agoFix ctype error #1 - chars must be unsigned
Andrey A. Chernov [Sat, 25 Apr 1998 00:10:24 +0000 (00:10 +0000)]
Fix ctype error #1 - chars must be unsigned

26 years agoMake asctime_r static if !_THREAD_SAFE to prevent namespace pollution and
Andrey A. Chernov [Sat, 25 Apr 1998 00:00:57 +0000 (00:00 +0000)]
Make asctime_r static if !_THREAD_SAFE to prevent namespace pollution and
prototype mismatch

26 years agoRemove the bogus -? option after reading the getopt() manual :)
Dag-Erling Smørgrav [Fri, 24 Apr 1998 20:15:43 +0000 (20:15 +0000)]
Remove the bogus -? option after reading the getopt() manual :)

26 years agoOops- osreldate.h is not around like I thought it would be... hmmm.. quick fix to...
Matt Jacob [Fri, 24 Apr 1998 18:23:20 +0000 (18:23 +0000)]
Oops- osreldate.h is not around like I thought it would be... hmmm.. quick fix to get around this

26 years agoAugment the last change after some deliberation with rgrimes & peter.
Poul-Henning Kamp [Fri, 24 Apr 1998 17:32:23 +0000 (17:32 +0000)]
Augment the last change after some deliberation with rgrimes & peter.
It is important that we keep the ability to send packets to a remote
server and that the packets come from our well-known port, also in
that case.

Reviewed by: peter, rgrimes.

26 years agoDon't build shared libraries twice for `make world'. This reduces
Bruce Evans [Fri, 24 Apr 1998 17:13:33 +0000 (17:13 +0000)]
Don't build shared libraries twice for `make world'.  This reduces
`make world' times by about 10%.  Use a new `bootstrap-libraries'
target to build just enough (static) libraries to bootstrap the
tools, and delay building of shared libraries until all the tools
have been built.

Fixed `/usr/bin/make world'.  The version of `make' that we buildis
nand use is named "make", not ${MAKE}.

26 years agoo Removed two unused variables (f_dirname and f_newline) in ls.c
Dag-Erling Smørgrav [Fri, 24 Apr 1998 12:43:26 +0000 (12:43 +0000)]
o Removed two unused variables (f_dirname and f_newline) in ls.c

o Added the -H and -P options for treatment of symbolic links.

o Removed the #ifdef BSD4_4_LITE, since it does not seem to do anything
  useful

o Fixed up prn_octal() so its output looks more like that of AT&T Unices
  when -b is given.

The next two lines apply only to the first two changes above:

PR: bin/6140
Submitted by: Max Euston

26 years agoUpdated references to the behaviour of ls(1).
Dag-Erling Smørgrav [Fri, 24 Apr 1998 12:38:18 +0000 (12:38 +0000)]
Updated references to the behaviour of ls(1).

PR: bin/6140
Submitted by: Max Euston

26 years agoDiscussed with: bde
David E. O'Brien [Fri, 24 Apr 1998 11:50:30 +0000 (11:50 +0000)]
Discussed with: bde

26 years agoCreate virgin disklabels with 8 (MAXPARTITIONS) partitions rather than
David E. O'Brien [Fri, 24 Apr 1998 11:49:57 +0000 (11:49 +0000)]
Create virgin disklabels with 8 (MAXPARTITIONS) partitions rather than
three (RAW_PART + 1);
This makes ``disklabel -Brw sdN auto'' do the Right Thing.

26 years agoAt the request of Garrett, changed sysctl:
David Greenman [Fri, 24 Apr 1998 10:08:57 +0000 (10:08 +0000)]
At the request of Garrett, changed sysctl:

net.inet.tcp.delack_enabled -> net.inet.tcp.delayed_ack

26 years agoEnsure that TCP_REXMTVAL doesn't return a value less than t_rttmin. This
David Greenman [Fri, 24 Apr 1998 09:25:39 +0000 (09:25 +0000)]
Ensure that TCP_REXMTVAL doesn't return a value less than t_rttmin. This
is believed to have been broken with the Brakmo/Peterson srtt
calculation changes. The result of this bug is that TCP connections
could time out extremely quickly (in 12 seconds).
Also backed out jdp's partial fix for this problem in rev 1.17 of
tcp_timer.c as it is obsoleted by this commit.
Bug was pointed out by Kevin Lehey <kml@roller.nas.nasa.gov>.

PR: 6068

26 years agoslice_device.c: permissions changes for SLICE devices
Julian Elischer [Fri, 24 Apr 1998 07:54:00 +0000 (07:54 +0000)]
slice_device.c: permissions changes for SLICE devices
vn.c: change time of SYSINIT scheduling.
wd.c don't revert to fully closed state. ( may require more)
all in SLICE mode only.

26 years agoo Renamed '-b' (show unprintables in octal) to '-B'
Dag-Erling Smørgrav [Fri, 24 Apr 1998 07:49:51 +0000 (07:49 +0000)]
o Renamed '-b' (show unprintables in octal) to '-B'

o Added a new '-b' which behaves as in AT&T Unices (show unprintables in
  octal, using C escape codes when possible)

o Added '?' to the getopt() string, since the code in the switch considers
  it as a valid option.

26 years agoOutput mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
David Greenman [Fri, 24 Apr 1998 04:30:27 +0000 (04:30 +0000)]
Output mbuf clusters as current/peak/max. Requires new kern.ipc.nmbclusters
sysctl variable (previously committed).

26 years agoAdded kern.ipc.nmbclusters
David Greenman [Fri, 24 Apr 1998 04:15:52 +0000 (04:15 +0000)]
Added kern.ipc.nmbclusters

26 years agoWhen calling the open function, specify either FREAD and/or FWRITE
Julian Elischer [Thu, 23 Apr 1998 22:09:55 +0000 (22:09 +0000)]
When calling the open function, specify either FREAD and/or FWRITE
as leaving them both 0 has the same effect as not openning the device at all.

26 years agoOops forgot to include opt_bootp.h
Julian Elischer [Thu, 23 Apr 1998 20:59:42 +0000 (20:59 +0000)]
Oops forgot to include opt_bootp.h
Bootp works a lot better with devfs if this is present.

26 years agoThere is no "rwho" service, it's "who"
Dag-Erling Smørgrav [Thu, 23 Apr 1998 19:12:41 +0000 (19:12 +0000)]
There is no "rwho" service, it's "who"
PR: bin/6396
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>

26 years agoDon't generate code with syntax errors (hard newlines in string constants
Bruce Evans [Thu, 23 Apr 1998 16:37:06 +0000 (16:37 +0000)]
Don't generate code with syntax errors (hard newlines in string constants
in config.c).

26 years agoFixed missing dependencies. The critical missing one was of bi-lexer.o
Bruce Evans [Thu, 23 Apr 1998 16:30:51 +0000 (16:30 +0000)]
Fixed missing dependencies.  The critical missing one was of bi-lexer.o
on bi-parser.h.  Not having it sometimes (only with `make -j') triggered
a bug suite that led to ordinary cpp output being put in .depend files.
Various bugs (the main one only with `make -j') prevented timely detection
of failure to build and install gnu/usr.bin/cc.  Eventually the missing
${WORLDTMP}/usr/libexec/cpp caused ${WORLDTMP}/usr/bin/cpp to be invoked
by cc, and this version of cpp is not suitable for such invocation.
Ordinary cpp output was put in .depend files when cpp terminated options
processing before seeing the -M flag.

Cleaned up.

26 years agoConvert timespecclear() back to an expression (this time without
Eivind Eklund [Thu, 23 Apr 1998 14:12:06 +0000 (14:12 +0000)]
Convert timespecclear() back to an expression (this time without
sideeffects).

26 years agoBack out last change
Paul Traina [Thu, 23 Apr 1998 04:44:08 +0000 (04:44 +0000)]
Back out last change

26 years agoWrap timerclear in do { ... } while(0)
Eivind Eklund [Thu, 23 Apr 1998 00:11:32 +0000 (00:11 +0000)]
Wrap timerclear in do { ... } while(0)

26 years agoAdd devfs support.
Eivind Eklund [Thu, 23 Apr 1998 00:06:43 +0000 (00:06 +0000)]
Add devfs support.

Submitted by: somebody whose name escapes me :-(

26 years agoMask the interrupt before setting the corresponding bit in ipending if
Tor Egge [Wed, 22 Apr 1998 22:49:29 +0000 (22:49 +0000)]
Mask the interrupt before setting the corresponding bit in ipending if
the interrupt is already active.
Don't use lock prefix for operations on ipending.
Always use lock prefix for operations on iactive.

26 years agoImprove description.
Robert Nordier [Wed, 22 Apr 1998 19:59:55 +0000 (19:59 +0000)]
Improve description.
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>

26 years agoBad144 support for the slice system (!)
Julian Elischer [Wed, 22 Apr 1998 19:27:54 +0000 (19:27 +0000)]
Bad144 support for the slice system (!)
Submitted by: luoqi@watermarkgroup.com (Luoqi Chen)

I'm amazed by this. Slice has only been checked in for 2 days..

26 years agoAdd support for the Qlogic ISP SCSI && FC/AL Adapters
Matt Jacob [Wed, 22 Apr 1998 18:18:16 +0000 (18:18 +0000)]
Add support for the Qlogic ISP SCSI && FC/AL Adapters

26 years agoAdd support for the Qlogic ISP SCSI && FC/AL Adapters
Matt Jacob [Wed, 22 Apr 1998 18:12:29 +0000 (18:12 +0000)]
Add support for the Qlogic ISP SCSI && FC/AL Adapters

26 years agoAdd support for the Qlogic ISP SCSI && FC/AL Adapters
Matt Jacob [Wed, 22 Apr 1998 17:54:58 +0000 (17:54 +0000)]
Add support for the Qlogic ISP SCSI && FC/AL Adapters

26 years agoSync with sys/i386/conf/majors.i386 revision 1.39.
KATO Takenori [Wed, 22 Apr 1998 13:35:21 +0000 (13:35 +0000)]
Sync with sys/i386/conf/majors.i386 revision 1.39.

26 years agoclose() is no longer a SLICE method.
Julian Elischer [Wed, 22 Apr 1998 10:25:27 +0000 (10:25 +0000)]
close() is no longer a SLICE method.
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)

26 years agoAdd a couple of missing symbols referred to in asm code.
Peter Wemm [Wed, 22 Apr 1998 09:46:16 +0000 (09:46 +0000)]
Add a couple of missing symbols referred to in asm code.

26 years agonetstat truncates info in sockaddr* between kgetsa and p_sockaddr
Poul-Henning Kamp [Wed, 22 Apr 1998 06:54:31 +0000 (06:54 +0000)]
netstat truncates info in sockaddr* between kgetsa and p_sockaddr
by dereferencing pointer to smaller structure

PR: 5256
Reviewed by: phk
Submitted by: Gregory D. Moncreaff <moncrg@bt340707.res.ray.com>

26 years agoEven with '-s', syslogd still creates an AF_INET socket, although
Poul-Henning Kamp [Wed, 22 Apr 1998 06:28:18 +0000 (06:28 +0000)]
Even with '-s', syslogd still creates an AF_INET socket, although
it is not bind(2)ed.

PR: 6366
Reviewed by: phk
Submitted by: Soren S. Jorvang <soren@dt.dk>

26 years agoFix cabs and cabsf definitions to be prototypes.
Paul Traina [Wed, 22 Apr 1998 06:26:18 +0000 (06:26 +0000)]
Fix cabs and cabsf definitions to be prototypes.

26 years agoWhen ipfw reads its rules from an input file, the optind variable is
Poul-Henning Kamp [Wed, 22 Apr 1998 06:20:20 +0000 (06:20 +0000)]
When ipfw reads its rules from an input file, the optind variable is
not reinitialized to 1 after calling getopt. This results in parsing
errors on all but the first rule. An added patch also allows '#'
comments at the end of a line.

PR: 6379
Reviewed by: phk
Submitted by: Neal Fachan <kneel@ishiboo.com>

26 years agoAdd a block device entry for the 'myx' driver too.
Mike Smith [Wed, 22 Apr 1998 05:10:51 +0000 (05:10 +0000)]
Add a block device entry for the 'myx' driver too.

26 years agoAdd 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net>
Mike Smith [Wed, 22 Apr 1998 03:57:07 +0000 (03:57 +0000)]
Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net>

26 years agoDon't allow an open to succeed if the device is invalidated during the
Julian Elischer [Wed, 22 Apr 1998 01:51:34 +0000 (01:51 +0000)]
Don't allow an open to succeed if the device is invalidated during the
open process.

26 years agoAdded -b option to display unprintables in octal.
Dag-Erling Smørgrav [Tue, 21 Apr 1998 22:02:01 +0000 (22:02 +0000)]
Added -b option to display unprintables in octal.
PR: 1315

26 years ago- breakage of the warnings about pessimized i/o port types.
Brian Somers [Tue, 21 Apr 1998 21:06:57 +0000 (21:06 +0000)]
- breakage of the warnings about pessimized i/o port types.
- pessimized i/o port types.
- other pessimized types.
- Don't use DEBUG (causes LINT warnings).  Use DGB_DEBUG instead.
- commented out code.
- cloned code that doesn't apply ("Smarts" is for the cy driver only).

Submitted by: bde

26 years agoCorrect the digiboard device names in agreement
Brian Somers [Tue, 21 Apr 1998 21:06:22 +0000 (21:06 +0000)]
Correct the digiboard device names in agreement
with the man page (POLA).

26 years agoRemove the artificial limit on the size of the ipfw filter structure.
Julian Elischer [Tue, 21 Apr 1998 18:54:53 +0000 (18:54 +0000)]
Remove the artificial limit on the size of the ipfw filter structure.
This allows the addition of extra fields if we need them (I have plans).

26 years agoPC-98 does not supports DMA automode lager than 65535 bytes.
KATO Takenori [Tue, 21 Apr 1998 09:48:45 +0000 (09:48 +0000)]
PC-98 does not supports DMA automode lager than 65535 bytes.

26 years agoSupports PC-98 again.
KATO Takenori [Tue, 21 Apr 1998 09:46:14 +0000 (09:46 +0000)]
Supports PC-98 again.

26 years agoAdd a forgotten 'static'.
Eivind Eklund [Tue, 21 Apr 1998 02:44:12 +0000 (02:44 +0000)]
Add a forgotten 'static'.

26 years agoo Move debug stuff down a bit so that it doesn't try to
Brian Somers [Tue, 21 Apr 1998 02:39:48 +0000 (02:39 +0000)]
o Move debug stuff down a bit so that it doesn't try to
  dereference uninitialized pointers.
o Fix DEVFS permissions
o Fix DEVFS minor numbers
o Add initial & lock devices for cua device.
o Fix permissions in line with sio.

26 years agoMake brandelf test for known brands, and introduce a '-f' option to
Eivind Eklund [Tue, 21 Apr 1998 02:31:09 +0000 (02:31 +0000)]
Make brandelf test for known brands, and introduce a '-f' option to
bypass the testing.

Partially submitted by:  Brian Feldman <green@feldman.dyn.ml.org>

26 years agoThe 'mountroot' option is obviously pointless for an LKM
Julian Elischer [Mon, 20 Apr 1998 23:18:46 +0000 (23:18 +0000)]
The 'mountroot' option is obviously pointless for an LKM
so allow LKM compilation to succeed by making it go away for that case.
Saves needing to include opt_devfs.h which an LKM cannot rely on anyhow.

26 years agoindent
Dima Ruban [Mon, 20 Apr 1998 22:13:50 +0000 (22:13 +0000)]
indent

26 years agoRemove more LFS left-overs
Julian Elischer [Mon, 20 Apr 1998 21:54:19 +0000 (21:54 +0000)]
Remove more LFS left-overs

26 years agoRemove an LFS clause, now that it is in the history,
Julian Elischer [Mon, 20 Apr 1998 21:53:07 +0000 (21:53 +0000)]
Remove an LFS clause, now that it is in the history,
anyone who wants to see what was needed cto revive LFS can see it.

26 years agoSpelling/typo fixes: (preceeded, friday).
Robert Nordier [Mon, 20 Apr 1998 21:06:38 +0000 (21:06 +0000)]
Spelling/typo fixes: (preceeded, friday).

26 years agoSpelling/typo fix: (proccessed).
Robert Nordier [Mon, 20 Apr 1998 20:57:16 +0000 (20:57 +0000)]
Spelling/typo fix: (proccessed).

26 years agoSpelling/typo fixes: (proccessed, og).
Robert Nordier [Mon, 20 Apr 1998 20:55:43 +0000 (20:55 +0000)]
Spelling/typo fixes: (proccessed, og).

26 years agoEnable DEVFS usage of the device (include opt_devfs.h>
Søren Schmidt [Mon, 20 Apr 1998 18:51:33 +0000 (18:51 +0000)]
Enable DEVFS usage of the device (include opt_devfs.h>

26 years ago- Argh, fix stupid logic error in the laststate/state fix previously. That's
Nate Williams [Mon, 20 Apr 1998 16:24:03 +0000 (16:24 +0000)]
- Argh, fix stupid logic error in the laststate/state fix previously.  That's
  what I get for trying to do too many things at once.

26 years agoDon't build files at install time (just to be consistent; the problem
Bruce Evans [Mon, 20 Apr 1998 15:28:02 +0000 (15:28 +0000)]
Don't build files at install time (just to be consistent; the problem
is almost harmless here).

Submitted by: Arne Henrik Juul <arnej@stud.math.ntnu.no>
PR: 6330

26 years ago- Don't try and keep track of the previous state, since the kernel may
Nate Williams [Mon, 20 Apr 1998 15:24:28 +0000 (15:24 +0000)]
- Don't try and keep track of the previous state, since the kernel may
  change it w/out informing the program.  Instead, use the (now available)
  previous state returned by the kernel to make intelligent card
  removal/insertion decisions.

26 years ago- Give up trying for a simple solution for correctly recognizing if a card
Nate Williams [Mon, 20 Apr 1998 15:21:02 +0000 (15:21 +0000)]
- Give up trying for a simple solution for correctly recognizing if a card
  was really removed, or simply 'faked' by a suspend/resume.  Keep track
  of both current and previous state, and send that information to the
  userland programs.

[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]

26 years ago- Only poll the PCIC controller for insertion/removal events if the
Nate Williams [Mon, 20 Apr 1998 15:15:20 +0000 (15:15 +0000)]
- Only poll the PCIC controller for insertion/removal events if the
  controller hasn't been assigned an IRQ.

26 years agoCheck bytes read to prevent random error message.
Robert Nordier [Mon, 20 Apr 1998 14:09:40 +0000 (14:09 +0000)]
Check bytes read to prevent random error message.

26 years agoCommented out ide_pci.c.
KATO Takenori [Mon, 20 Apr 1998 13:54:47 +0000 (13:54 +0000)]
Commented out ide_pci.c.

Reviewed by: kato
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

26 years agoSync with sys/i386/conf/options.i386 revision 1.77.
KATO Takenori [Mon, 20 Apr 1998 13:52:44 +0000 (13:52 +0000)]
Sync with sys/i386/conf/options.i386 revision 1.77.

26 years agoSync with sys/i386/conf/files.i386 revision 1.197.
KATO Takenori [Mon, 20 Apr 1998 13:52:13 +0000 (13:52 +0000)]
Sync with sys/i386/conf/files.i386 revision 1.197.

26 years agoSync with sys/i386/isa/wd.c revision up to 1.159.
KATO Takenori [Mon, 20 Apr 1998 13:51:34 +0000 (13:51 +0000)]
Sync with sys/i386/isa/wd.c revision up to 1.159.

26 years agoSync with sys/i386/isa/fd.c revision 1.109.
KATO Takenori [Mon, 20 Apr 1998 13:50:58 +0000 (13:50 +0000)]
Sync with sys/i386/isa/fd.c revision 1.109.

26 years agoSync with sys/i386/isa/npx.c revision 1.60.
KATO Takenori [Mon, 20 Apr 1998 13:50:21 +0000 (13:50 +0000)]
Sync with sys/i386/isa/npx.c revision 1.60.

26 years agoDefine '\t' as a printable character, so it can be displayed on the
Joerg Wunsch [Mon, 20 Apr 1998 13:37:29 +0000 (13:37 +0000)]
Define '\t' as a printable character, so it can be displayed on the
screen.  isprint(3) doesn't do this, but isprt() apparently expected
this to be the case.

26 years agofd(4) referenced in HISTORY has nothing to do with floppy disks;
Dag-Erling Smørgrav [Mon, 20 Apr 1998 11:34:47 +0000 (11:34 +0000)]
fd(4) referenced in HISTORY has nothing to do with floppy disks;
changed to fdc(4).

26 years agoAdd an example supfile for the gnats database.
John Birrell [Mon, 20 Apr 1998 11:26:29 +0000 (11:26 +0000)]
Add an example supfile for the gnats database.

Submitted by: A Joseph Koshy <koshy@india.hp.com>

26 years agoAdd a #ifdef _THREAD_SAFE around ctime_r
Poul-Henning Kamp [Mon, 20 Apr 1998 10:09:37 +0000 (10:09 +0000)]
Add a #ifdef _THREAD_SAFE around ctime_r

26 years agoCorrectly operate on hardlink when source and destination are not on the same
Philippe Charnier [Mon, 20 Apr 1998 06:20:24 +0000 (06:20 +0000)]
Correctly operate on hardlink when source and destination are not on the same
device.
PR: bin/3158 (part 2)

26 years agoNote usage of Linux PLIP peer.
Jordan K. Hubbard [Mon, 20 Apr 1998 06:18:36 +0000 (06:18 +0000)]
Note usage of Linux PLIP peer.

26 years agoMF22: Finish fixing 'looping' bug.
Nate Williams [Mon, 20 Apr 1998 05:42:26 +0000 (05:42 +0000)]
MF22: Finish fixing 'looping' bug.

26 years agofix typo in copyright.
Julian Elischer [Mon, 20 Apr 1998 04:55:17 +0000 (04:55 +0000)]
fix typo in copyright.

26 years agoGet rid of DEVFS_ROOT
Julian Elischer [Mon, 20 Apr 1998 04:30:47 +0000 (04:30 +0000)]
Get rid of DEVFS_ROOT
it no longer has any effect.

SLICE is in some ways a replacement but is destined to also go away.

26 years agoMake the devfs SLICE option a standard type option.
Julian Elischer [Mon, 20 Apr 1998 03:57:41 +0000 (03:57 +0000)]
Make the devfs SLICE option a standard type option.
(hopefully it will go away eventually anyhow)

26 years agoDescribe timegm()
Andrey A. Chernov [Mon, 20 Apr 1998 00:52:32 +0000 (00:52 +0000)]
Describe timegm()

26 years agoAdd changes and code to implement a functional DEVFS.
Julian Elischer [Sun, 19 Apr 1998 23:32:49 +0000 (23:32 +0000)]
Add changes and code to implement a functional DEVFS.
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.

/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.

Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others

This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.

When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.

26 years agoDisregard the values for polarity and trigger mode in the MP config table
Tor Egge [Sun, 19 Apr 1998 23:19:20 +0000 (23:19 +0000)]
Disregard the values for polarity and trigger mode in the MP config table
for ISA interrupts where the IOAPIC interrupt pin number is the same as
the ISA interrupt number (i.e. partial backout of previous commit)

26 years agoBacked out lseek changes.
Dag-Erling Smørgrav [Sun, 19 Apr 1998 22:20:32 +0000 (22:20 +0000)]
Backed out lseek changes.

26 years agoo Support a compile-time -DNO_FW_PUNCH for portability
Brian Somers [Sun, 19 Apr 1998 21:42:07 +0000 (21:42 +0000)]
o Support a compile-time -DNO_FW_PUNCH for portability
  (and those of us that don't want the functionality).
o Don't assume sizeof(long) == 4.
Ok'd by: Charles Mott <cmott@srv.net>

26 years agoForgot to add opt_bktr.h
Amancio Hasty [Sun, 19 Apr 1998 19:12:49 +0000 (19:12 +0000)]
Forgot to add opt_bktr.h

26 years ago- If we see a tuple we don't expect, don't spin forever. Withouth this fix,
Nate Williams [Sun, 19 Apr 1998 18:41:45 +0000 (18:41 +0000)]
- If we see a tuple we don't expect, don't spin forever.  Withouth this fix,
  I can't run pccardc dumpcis on my Wavelan card. :(

Obtained from: PAO

26 years agoLike most Unices FreeBSD should have a larger tty field at least
Poul-Henning Kamp [Sun, 19 Apr 1998 18:32:01 +0000 (18:32 +0000)]
Like most Unices FreeBSD should have a larger tty field at least
as large as UT_LINESIZE (/usr/include/utmp.h). If the tty name is logged
with this size why isn't the w command reporting it?

(We should probably report the tty/cua prefix then as well ? /phk)

PR: 4187
Reviewed by: phk
Submitted by: Jorge M. Goncalves <ee96199@tom.fe.up.pt>

26 years agoThe current version of netstat does not print the interface
Poul-Henning Kamp [Sun, 19 Apr 1998 18:18:25 +0000 (18:18 +0000)]
The current version of netstat does not print the interface
name for AF_LINK routing entries. This makes debugging
network problems more difficult.
PR: 4182
Reviewed by: phk
Submitted by: Craig Leres <leres@ee.lbl.gov>

26 years agoCtags write to buffer beyond the end of it when the source file
Poul-Henning Kamp [Sun, 19 Apr 1998 18:00:49 +0000 (18:00 +0000)]
Ctags write to buffer beyond the end of it when the source file
doesn't end with '\n'. It brings segmentation fault.

PR: 4812
Reviewed by: phk
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>

26 years agoProblem whith "subnet=" statement in /etc/gateways.
Poul-Henning Kamp [Sun, 19 Apr 1998 17:53:16 +0000 (17:53 +0000)]
Problem whith "subnet=" statement in /etc/gateways.
routed discards the first character of the network address.
Example: "subnet=10.0.0.0/24,1"
The network address is interpreted as 0.0.0.0/24,1.
PR: 4825
Reviewed by: phk
Submitted by: Mike E. Matsnev <mike@azog.cs.msu.su>

26 years agomt should report the compression status.
Poul-Henning Kamp [Sun, 19 Apr 1998 17:28:14 +0000 (17:28 +0000)]
mt should report the compression status.

PR: 5276
Reviewed by: phk
Submitted by: Matt Dillon <dillon@best.net>

26 years agoAccording to:
Poul-Henning Kamp [Sun, 19 Apr 1998 17:22:30 +0000 (17:22 +0000)]
According to:

ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers

port numbers are divided into three ranges:

    0 -  1023 Well Known Ports
 1024 - 49151 Registered Ports
49152 - 65535 Dynamic and/or Private Ports

This patch changes the "local port range" from 40000-44999
to the range shown above (plus fix the comment in in_pcb.c).

WARNING: This may have an impact on firewall configurations!

PR: 5402
Reviewed by: phk
Submitted by: Stephen J. Roznowski <sjr@home.net>

26 years agoSupport compiling with `gcc -pedantic' (don't use hard newlines in
Bruce Evans [Sun, 19 Apr 1998 15:41:06 +0000 (15:41 +0000)]
Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants).

26 years agoSupport compiling with `gcc -pedantic' (don't use hard newlines in
Bruce Evans [Sun, 19 Apr 1998 15:39:26 +0000 (15:39 +0000)]
Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants or hard long long constants).

26 years agoSupport compiling with `gcc-pedantic' (don't declare static arrays
Bruce Evans [Sun, 19 Apr 1998 15:36:12 +0000 (15:36 +0000)]
Support compiling with `gcc-pedantic' (don't declare static arrays
with no size).

26 years agoSupport compiling with `gcc-pedantic' (don't use hard newlines in
Bruce Evans [Sun, 19 Apr 1998 15:28:30 +0000 (15:28 +0000)]
Support compiling with `gcc-pedantic' (don't use hard newlines in
(asm) string constants or trailing commas in enum declarations).

26 years agoRemove duplicate decls
Brian Somers [Sun, 19 Apr 1998 15:28:08 +0000 (15:28 +0000)]
Remove duplicate decls
Not objected to by: freebsd-hackers