]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoFix ``lp=port@machine'' syntax and mention it in printcap(5).
Brian Somers [Fri, 21 Aug 1998 18:08:46 +0000 (18:08 +0000)]
Fix ``lp=port@machine'' syntax and mention it in printcap(5).

26 years agoIncrease the number of descriptors (and, as a consequence, the number
Bill Paul [Fri, 21 Aug 1998 16:58:48 +0000 (16:58 +0000)]
Increase the number of descriptors (and, as a consequence, the number
of associated mbuf clusters) in the RX ring from 4 to 16. On my
really fast PI 400Mhz test machines, 4 descriptors (and associated
mbuf clusters) is enough to achieve decent performance without any
RX overruns. However, one person reported problems with the following
scenario:

- P90 system running FreeBSD with a 3c905B-TX adapter, slow IDE hard
  disk (Quantum Bigfoot?)
- PII 266 with SCSI disks running LoseNT and also with a 3c905B-TX
- Both machines connected together via crossover cable at 100Mbps
  full-duplex
- LoseNT machine writing largs amounts of data (2.5 GB work of
  files each in the neighborhood of 1 to 2 MB in size) via samba to
  the FreeBSD machine

In this case, the LoseNT machine is sending data very fast. Apparently
there weren't any problems initially because the user was writing to
one particular disk which was relatively fast, however after this disk
filled up and the user started writing to the second slower disk, RX
overruns would occur and sometimes the RX DMA engine would stall after
a 100 to 500MB had been transfered. The xl_rxeof() handler is supposed
to detect this condition and restart the upload engine; I'm not sure
why it doesn't, unless interrupts are being lost and the rx handler
isn't getting called.

This is still an improvement over the Linux driver, which uses 32
descriptors in its receive ring. :)

Problem reported by: Heiko Schaefer <hschaefer@fto.de>

26 years agoAdd "-P" display the id as a password file entry.
David E. O'Brien [Fri, 21 Aug 1998 06:47:58 +0000 (06:47 +0000)]
Add "-P" display the id as a password file entry.

Submitted by: terry

26 years agoUpdate this header to use the revamped elf headers which select Elf32
John Birrell [Fri, 21 Aug 1998 03:29:40 +0000 (03:29 +0000)]
Update this header to use the revamped elf headers which select Elf32
or Elf64 based on the inclusion of the machine dependent header.

I've left the addition of the extra fields to handle the relocation
structures with addend for a separate commit after jdp has had a chance
to review what I've done. The current change is needed to compile
csu/alpha/crt1.c

26 years agoThis is the new unified bootstrap, sometimes known previously as the
Mike Smith [Fri, 21 Aug 1998 03:17:42 +0000 (03:17 +0000)]
This is the new unified bootstrap, sometimes known previously as the
'three-stage' bootstrap.
There are a number of caveats with the code in its current state:
 - The i386 bootstrap only supports booting from a floppy.
 - The kernel and kld do not yet know how to deal with the extended
   information and module summary passed in.
 - PnP-based autodetection and demand loading of modules is not implemented.
 - i386 ELF kernel loading is not ready yet.
 - The i386 bootstrap is loaded via an ugly blockmap.

On the alpha, both net- and disk-booting (SRM console machines only) is
supported.  No blockmaps are used by this code.

Obtained from: Parts from the NetBSD/i386 standalone bootstrap.

26 years agoAdd extern declaration for `tzname[]' to make this header comply better
Joseph Koshy [Fri, 21 Aug 1998 01:21:26 +0000 (01:21 +0000)]
Add extern declaration for `tzname[]' to make this header comply better
to POSIX90.

2-rounds-of-review-by: bde

26 years agoBuild kvm_mkdb and natd on alpha too.
John Birrell [Thu, 20 Aug 1998 21:51:35 +0000 (21:51 +0000)]
Build kvm_mkdb and natd on alpha too.

26 years agoMake the build tools static to avoid trying to use the shared loader
John Birrell [Thu, 20 Aug 1998 21:45:46 +0000 (21:45 +0000)]
Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.

26 years agoChange the aux field type to long instead of int so that it is large
John Birrell [Thu, 20 Aug 1998 21:39:28 +0000 (21:39 +0000)]
Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.

26 years agoRemove the bootstrap hack that prevented the use of the rtld.
John Birrell [Thu, 20 Aug 1998 21:37:22 +0000 (21:37 +0000)]
Remove the bootstrap hack that prevented the use of the rtld.

26 years agoUse %p and void * casts to print pointers.
John Birrell [Thu, 20 Aug 1998 21:33:31 +0000 (21:33 +0000)]
Use %p and void * casts to print pointers.
Cast the hash value returned to long instead of int.

26 years agoFix the machine dependent SUBDIR I removed by mistake in the last commit.
John Birrell [Thu, 20 Aug 1998 20:47:49 +0000 (20:47 +0000)]
Fix the machine dependent SUBDIR I removed by mistake in the last commit.

26 years agoFix small printf() bogon (forgot newline, and the message was longer that
Bill Paul [Thu, 20 Aug 1998 14:48:58 +0000 (14:48 +0000)]
Fix small printf() bogon (forgot newline, and the message was longer that
80 cols).

26 years agoFix my blunder in my previous commit here.
Poul-Henning Kamp [Thu, 20 Aug 1998 11:22:52 +0000 (11:22 +0000)]
Fix my blunder in my previous commit here.

26 years agoAdd support for TurboChannel alphas (DEC 3000/300 and 3000/500).
Doug Rabson [Thu, 20 Aug 1998 08:27:11 +0000 (08:27 +0000)]
Add support for TurboChannel alphas (DEC 3000/300 and 3000/500).

Obtained from: NetBSD
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>

26 years agoAdd libstand.
Mike Smith [Thu, 20 Aug 1998 08:24:07 +0000 (08:24 +0000)]
Add libstand.

26 years agoInstall libstand header <stand.h> and manpage (libstand.3)
Mike Smith [Thu, 20 Aug 1998 08:23:12 +0000 (08:23 +0000)]
Install libstand header <stand.h> and manpage (libstand.3)

26 years agoThis is libstand; a support library for standalone executables (eg. bootstrap
Mike Smith [Thu, 20 Aug 1998 08:19:55 +0000 (08:19 +0000)]
This is libstand; a support library for standalone executables (eg. bootstrap
modules).
Obtained from: NetBSD, with some architectural changes and many additions.

26 years agoMoved `nx' functions to the one place where they are used (su.c).
Bruce Evans [Thu, 20 Aug 1998 06:10:42 +0000 (06:10 +0000)]
Moved `nx' functions to the one place where they are used (su.c).
They shouldn't be used there either.  They should have gone away
about 3 years ago when the statically initialized devswitches went
away, but su.c unfortunately still frobs the cdevswitch in the old
way.

26 years agoA better fix for kern/7144:
Mike Smith [Thu, 20 Aug 1998 05:49:59 +0000 (05:49 +0000)]
A better fix for kern/7144:

The check for dropping unicast packets not sent to our ethernet
address is after the bpf tap, but not conditioned on it.  All packets
received should get handed to bpf, and unicast packets not to us (mac)
should get dropped whether or not there is a bpf listener.  I believe
that the common optimization that the interface is in hw promisc mode
iff there is a bpf listener is in general wrong, but more frequently
so on wavelans.

I think Max's fix makes bpf listeners not see unicast packets sent to
others, but I'm not sure.

One can argue that checking on MOD_ENAL is wrong, but the code only
drops packets that shouldn't be received.  The correctness condition
is that it be run whenever unicast packets without our mac address can
be received.

PR: kern/7144
Submitted by: Greg Troxel <gdt@ir.bbn.com>

26 years agoFixed bogus spelling `nx*' of some `no*' devswitch functions.
Bruce Evans [Thu, 20 Aug 1998 05:48:17 +0000 (05:48 +0000)]
Fixed bogus spelling `nx*' of some `no*' devswitch functions.

26 years agoFixed devfs initialization which I broke in the previous commit.
Bruce Evans [Thu, 20 Aug 1998 05:21:50 +0000 (05:21 +0000)]
Fixed devfs initialization which I broke in the previous commit.

Fixed an old name and disorder in the sio dictionary.

26 years agoFixed devfs initialization which I broke in the previous commit.
Bruce Evans [Thu, 20 Aug 1998 05:12:48 +0000 (05:12 +0000)]
Fixed devfs initialization which I broke in the previous commit.

26 years agoInclude opt_devfs.h which defines SLICE, to make previous commit
Dag-Erling Smørgrav [Wed, 19 Aug 1998 20:20:52 +0000 (20:20 +0000)]
Include opt_devfs.h which defines SLICE, to make previous commit
meaningful.

Pointed out by: Luoqi Chen

26 years agoMake two changes:
Bill Paul [Wed, 19 Aug 1998 15:07:46 +0000 (15:07 +0000)]
Make two changes:

If I'm reading the manual correctly, the 3c905B actually loses its
PCI configuration during the transition from D3(hot) back to D0, not
during the transition from D0 to D3(hot). This means it should be possible
to save the existing PCI settings, restet the power state, then restore
the PCI settings afterwards. Changed xl_attach() to attempt this first
thing before the normal PCI setup. I'm not certain this will work correctly,
but it shouldn't hurt.

If xl_init() is called while an autoneg session is in progress, the
autoneg timeout and chip state will get clobbered. Try to avoid this
by checking sc->xl_autoneg at the start of xl_init() and defer
the initialization until later if it's set. (xl_init() is always called
at the end of an autoneg session by xl_autoneg_mii().)

Problem pointed out by: Larry Baird <lab@gta.com>

26 years agoAdjust family tree to list some freebsd dates as well.
Jordan K. Hubbard [Wed, 19 Aug 1998 12:58:38 +0000 (12:58 +0000)]
Adjust family tree to list some freebsd dates as well.

26 years agoSync with sys/i386/isa/sio.c revision 1.211.
KATO Takenori [Wed, 19 Aug 1998 11:48:38 +0000 (11:48 +0000)]
Sync with sys/i386/isa/sio.c revision 1.211.

26 years agoMake struct buf->b_offset reflect the real byte offset which got
Søren Schmidt [Wed, 19 Aug 1998 10:50:32 +0000 (10:50 +0000)]
Make struct buf->b_offset reflect the real byte offset which got
in via the uio struct. This enables device drivers to use != DEV_BSIZE
blocking on devices with wierd sector/block sizes (ie CDROM's).

26 years agoSync with sys/i386/isa/syscons.c revision 1.275.
KATO Takenori [Wed, 19 Aug 1998 09:35:18 +0000 (09:35 +0000)]
Sync with sys/i386/isa/syscons.c revision 1.275.

26 years agoSync with sys/i386/i386/machdep.c revision 1.304.
KATO Takenori [Wed, 19 Aug 1998 09:32:15 +0000 (09:32 +0000)]
Sync with sys/i386/i386/machdep.c revision 1.304.

26 years agoEnabled dynamically sized tty input buffers (with enough buffering
Bruce Evans [Wed, 19 Aug 1998 04:17:38 +0000 (04:17 +0000)]
Enabled dynamically sized tty input buffers (with enough buffering
for 1 second's worth of input) and larger tty output buffers.  The
interrupt-level buffers are still too small for speeds above 115200
bps (only a little too small for 230400 bps if RTS flow control is
enabled).

Don't call ttsetwater() explicitly in open().  It is now called for
the TTYDISC l_open() and should be static.

Don't attempt to register the cdevsw more than once.

26 years agoA limit of 200000 for the output buffer high watermark was excessive,
Bruce Evans [Wed, 19 Aug 1998 04:01:00 +0000 (04:01 +0000)]
A limit of 200000 for the output buffer high watermark was excessive,
since (hardware) ttys have too low a bandwidth to benefit significantly
from large buffers.  Use twice the old limit for the new-default case
and 8 times the old limit for the driver-specifies-watermark case.
Nothing uses these cases yet.

Removed related debugging code.

26 years agoCorrect handling of ASCII DEL (0x7F).
Joseph Koshy [Wed, 19 Aug 1998 03:39:40 +0000 (03:39 +0000)]
Correct handling of ASCII DEL (0x7F).

I don't have access to a real VT220 to verify this against.
However, I'm committing the patch in `good faith' because
(a) getting hold of a real VT220 is going to be increasingly difficult
    the longer the PR sits around,
(b) some one was troubled enough to in a PR and
(c) the fix is minor and has no other implications.

PR: 7559
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>

26 years agoCorrect glyph displayed by PCVT in ISO Latin-1 mode.
Joseph Koshy [Wed, 19 Aug 1998 03:07:16 +0000 (03:07 +0000)]
Correct glyph displayed by PCVT in ISO Latin-1 mode.

PR: 7610
Submitted-by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
26 years agoDelete dpt driver.
KATO Takenori [Wed, 19 Aug 1998 02:41:51 +0000 (02:41 +0000)]
Delete dpt driver.

26 years agoAdd "pcm.4" to Makefile.
Joseph Koshy [Wed, 19 Aug 1998 01:54:13 +0000 (01:54 +0000)]
Add "pcm.4" to Makefile.

PR: 7636
Submitted by: <Janick.Taillandier@ratp.fr>

26 years agoIncreased column widths for tty input watermark fields so that watermarks
Bruce Evans [Wed, 19 Aug 1998 01:32:28 +0000 (01:32 +0000)]
Increased column widths for tty input watermark fields so that watermarks
for 11520-byte buffers for 115200 bps are displayed properly.

Fixed my recent printf format error fixes.  %p is almost unusable
in tables, since its width and format are unknown/machine-dependent.
Use %8lx and cast pointers to (u_long)(void*).  This is still quite
broken, e.g., for machines with 64-bit pointers.

26 years agoChange casts from int to u_long and formats from %x to %lx.
John Birrell [Tue, 18 Aug 1998 13:41:38 +0000 (13:41 +0000)]
Change casts from int to u_long and formats from %x to %lx.

Didn't fix the alignment of the output fields on alpha where addresses
require 16 characters to print.

Added a dummy field to the pt_u union to help the alpha compiler align
the u_sa field in a suiable way.

26 years agoChange a variable from int to size_t.
John Birrell [Tue, 18 Aug 1998 13:36:47 +0000 (13:36 +0000)]
Change a variable from int to size_t.

26 years agoMore programs that build on alpha now.
John Birrell [Tue, 18 Aug 1998 12:55:32 +0000 (12:55 +0000)]
More programs that build on alpha now.

26 years agoBuild objformat on all architectures.
John Birrell [Tue, 18 Aug 1998 12:52:51 +0000 (12:52 +0000)]
Build objformat on all architectures.

26 years agodo not include private copy of bpf.h - it leads to dangerous mismatch
Andrey A. Chernov [Tue, 18 Aug 1998 10:29:37 +0000 (10:29 +0000)]
do not include private copy of bpf.h - it leads to dangerous mismatch
of kernel/user bpf interface - include updated /sys/net/bpf.h instead

26 years agoImplement DLT_RAW from libpcap
Andrey A. Chernov [Tue, 18 Aug 1998 10:13:11 +0000 (10:13 +0000)]
Implement DLT_RAW from libpcap

26 years ago Presently there is only one `currentldt' variable for all cpus
Mike Smith [Tue, 18 Aug 1998 07:47:12 +0000 (07:47 +0000)]
    Presently there is only one `currentldt' variable for all cpus
        in a SMP system. Unexpected things could happen if each cpu
        has a different ldt setting and one cpu tries to use value
        of currentldt set by another cpu.

        The fix is to move currentldt to the per-cpu area. It includes
        patches I filed in PR i386/6219 which are also user ldt related.

PR: i386/7591, i386/6219
Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>

26 years agoFix one forgotten instance of \n to \r
Søren Schmidt [Tue, 18 Aug 1998 07:36:47 +0000 (07:36 +0000)]
Fix one forgotten instance of \n to \r

26 years agoThe selection of a default object format is based on OBJFORMAT, not
John Birrell [Tue, 18 Aug 1998 06:55:36 +0000 (06:55 +0000)]
The selection of a default object format is based on OBJFORMAT, not
BINFORMAT.

26 years agoInstall binutils tools in /usr/libexec/elf like on i386 so that objformat
John Birrell [Tue, 18 Aug 1998 06:51:08 +0000 (06:51 +0000)]
Install binutils tools in /usr/libexec/elf like on i386 so that objformat
can be used to select them. The purpose of this is not necessarily to
allow another host format, but to allow us to use the objformat trickery
for cross compilation.

26 years agoQuick fix for breakage of read clustering on non-IDE drives. Read
Bruce Evans [Tue, 18 Aug 1998 03:54:39 +0000 (03:54 +0000)]
Quick fix for breakage of read clustering on non-IDE drives.  Read
clustering is obsolescent technology so hardly anyone noticed.  On
a DORS 32160 SCSI drive with 4 tags, read clustering makes very
little difference even for huge sequential reads.  However, on a
ZIP SCSI drive with 0 tags, the minimum overhead per block is about
40 msec, so very large clusters must be used to get anywhere near
the maximum transfer rate.  Using clusters consisting of 1 8K block
reduces the transfer rate to about 250K/sec.  Under msdosfs, missing
read clustering is normal and a cluster size of 1 512 byte block
reduces the transfer rate to about 25K/sec.

Broken in: rev.1.18

26 years agoBruce says that %p is intended to format void pointers only. So use a void *
John Birrell [Tue, 18 Aug 1998 02:10:05 +0000 (02:10 +0000)]
Bruce says that %p is intended to format void pointers only. So use a void *
cast. There are pointers and then there are _pointers_. One day I'll
figure out which are which. 8-)

26 years agoAdd #include string.h to get prototypes.
John Birrell [Tue, 18 Aug 1998 01:47:44 +0000 (01:47 +0000)]
Add #include string.h to get prototypes.

26 years agoAdd #include string.h to get prototypes.
John Birrell [Tue, 18 Aug 1998 01:46:58 +0000 (01:46 +0000)]
Add #include string.h to get prototypes.

Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.

26 years agoDestroy any existing chat timeouts in datalink_ComeDown()
Brian Somers [Tue, 18 Aug 1998 00:53:48 +0000 (00:53 +0000)]
Destroy any existing chat timeouts in datalink_ComeDown()
If we're told to close/down while in DIAL or LOGIN state,
we don't want to keep our timeout running :-/

26 years agoAdd default OBJFORMAT so that the build process can test for this
John Birrell [Tue, 18 Aug 1998 00:50:36 +0000 (00:50 +0000)]
Add default OBJFORMAT so that the build process can test for this
without having to run objformat to determine it.

26 years agoFixed printf format errors.
Bruce Evans [Tue, 18 Aug 1998 00:32:50 +0000 (00:32 +0000)]
Fixed printf format errors.

26 years agoFixed style bugs in previous commit.
Bruce Evans [Mon, 17 Aug 1998 21:13:57 +0000 (21:13 +0000)]
Fixed style bugs in previous commit.

Added some comments on #endifs.

26 years agoMade this actually work when there's an object directory:
Bruce Evans [Mon, 17 Aug 1998 20:39:09 +0000 (20:39 +0000)]
Made this actually work when there's an object directory:
- replaced bogus dependencies of distribution sources on generated
  sources by the same ones that bsd.lib.mk would generate if it knew
  all the sources.  We shoot ourself in the foot by not naming the
  generated (included) sources *.h, so we can just put the generated
  sources in SRCS.
- replaced -I${.CURDIR} by `-I.'.  Here `.' is an alias for ${.OBJDIR}.
  -I${.CURDIR} didn't do anything, since ${.CURDIR} is the default in
  all cases here (it would be necessary for ""-style includes made from
  sources in ${.OBJDIR}.

Don't use `+=' for setting CLEANFILES for the first time.

Added $Id$.

26 years agoConverted rcsid to $Id$ again. There shouldn't be any rcsids in the kernel.
Bruce Evans [Mon, 17 Aug 1998 19:26:37 +0000 (19:26 +0000)]
Converted rcsid to $Id$ again.  There shouldn't be any rcsids in the kernel.

26 years agoRemoved unused includes.
Bruce Evans [Mon, 17 Aug 1998 19:09:36 +0000 (19:09 +0000)]
Removed unused includes.

26 years agoFixed printf format errors (none detected in GENERIC again).
Bruce Evans [Mon, 17 Aug 1998 19:06:47 +0000 (19:06 +0000)]
Fixed printf format errors (none detected in GENERIC again).

26 years agoRemoving -batch option from adduser. Adduser was written as
Wolfram Schneider [Mon, 17 Aug 1998 18:50:29 +0000 (18:50 +0000)]
Removing -batch option from adduser. Adduser was written as
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line.  Also, the -batch option is
not well tested, buggy and unsupported.

26 years agoFixed a type mismatch.
Bruce Evans [Mon, 17 Aug 1998 18:47:36 +0000 (18:47 +0000)]
Fixed a type mismatch.

Fixed a missing extern declaration (bug for bug compatibly including
style bugs.  Should probably be static).

26 years agoRemoved unused includes. Fixed disordering of includes.
Bruce Evans [Mon, 17 Aug 1998 18:12:52 +0000 (18:12 +0000)]
Removed unused includes.  Fixed disordering of includes.

26 years agoBacked out previous commit. The seconds part of microtime() is
Bruce Evans [Mon, 17 Aug 1998 17:53:12 +0000 (17:53 +0000)]
Backed out previous commit.  The seconds part of microtime() is
not the necessarily the same as the seconds part of getmicrotime()
yet, and anyway, we should have used `time_second' if we only wanted
a sloppy value for the seconds part.  There is no point in making
ibcs2's time(2) more efficient than FreeBSD's time(3).

26 years agoFixed nonsense overflow checking (checking that a long variable is less
Bruce Evans [Mon, 17 Aug 1998 17:28:10 +0000 (17:28 +0000)]
Fixed nonsense overflow checking (checking that a long variable is less
than INT_MAX after it has possibly overflowed).

Removed an unused variable and its associated 2 style bugs.

Removed unused includes.

26 years agoOops, the previous commit was of a local version.
Bruce Evans [Mon, 17 Aug 1998 16:58:02 +0000 (16:58 +0000)]
Oops, the previous commit was of a local version.

26 years agoFIxed typo (syntax error) in previous commit.
Bruce Evans [Mon, 17 Aug 1998 16:46:33 +0000 (16:46 +0000)]
FIxed typo (syntax error) in previous commit.

26 years agoFixed order and formatting.
Bruce Evans [Mon, 17 Aug 1998 16:39:07 +0000 (16:39 +0000)]
Fixed order and formatting.

26 years agoAdded zh_TW.BIG5 locale. Material for 5 big pointy hats found nearby.
Bruce Evans [Mon, 17 Aug 1998 16:17:08 +0000 (16:17 +0000)]
Added zh_TW.BIG5 locale.  Material for 5 big pointy hats found nearby.

26 years agoMake this internal build tool static to avoid trying to use shared
John Birrell [Mon, 17 Aug 1998 11:56:22 +0000 (11:56 +0000)]
Make this internal build tool static to avoid trying to use shared
libraries before the shared loader has been installed.

26 years agoRemove the PATH setting.
John Birrell [Mon, 17 Aug 1998 11:43:25 +0000 (11:43 +0000)]
Remove the PATH setting.

26 years agoCross my fingers and enable libfetch.
Dag-Erling Smørgrav [Mon, 17 Aug 1998 09:32:07 +0000 (09:32 +0000)]
Cross my fingers and enable libfetch.

26 years agoCommit a bunch of patches that have been accumulating:
Dag-Erling Smørgrav [Mon, 17 Aug 1998 09:30:19 +0000 (09:30 +0000)]
Commit a bunch of patches that have been accumulating:

 - Fix the README to reflect the new status of the ftp code.
 - Change tons of 'if (xxx < 0)' to 'if (xxx == -1)'
 - Add two new interface functions
 - Fix the Makefile so it actually works (yay!)

Now the manpage is lagging even further behind... :( Next on the todo
list is to clean up the http code.

26 years agoDon't use unaligned accesses when printing extended sense codes.
Doug Rabson [Mon, 17 Aug 1998 09:24:31 +0000 (09:24 +0000)]
Don't use unaligned accesses when printing extended sense codes.

26 years agoAdd macros for accessing device memory.
Doug Rabson [Mon, 17 Aug 1998 08:57:05 +0000 (08:57 +0000)]
Add macros for accessing device memory.

26 years agoUpdate to use the new elf headers.
Doug Rabson [Mon, 17 Aug 1998 08:47:19 +0000 (08:47 +0000)]
Update to use the new elf headers.

26 years agoAdd Miata system type and pull in the LOCATE_PCS macro from NetBSD.
Doug Rabson [Mon, 17 Aug 1998 08:26:12 +0000 (08:26 +0000)]
Add Miata system type and pull in the LOCATE_PCS macro from NetBSD.

26 years agoAdd breakpoint() for BREAK_TO_DEBUGGER.
Doug Rabson [Mon, 17 Aug 1998 08:21:31 +0000 (08:21 +0000)]
Add breakpoint() for BREAK_TO_DEBUGGER.

26 years agoSync with sys/i386/isa/lpt.c revision 1.70.
KATO Takenori [Mon, 17 Aug 1998 08:21:09 +0000 (08:21 +0000)]
Sync with sys/i386/isa/lpt.c revision 1.70.

26 years agoUpdate to work with the new elf headers.
Doug Rabson [Mon, 17 Aug 1998 08:06:31 +0000 (08:06 +0000)]
Update to work with the new elf headers.

26 years agoUpdate to use elf_generic.h.
Doug Rabson [Mon, 17 Aug 1998 08:05:55 +0000 (08:05 +0000)]
Update to use elf_generic.h.

26 years agoDisable some unnecessary debugging code.
Doug Rabson [Mon, 17 Aug 1998 08:04:42 +0000 (08:04 +0000)]
Disable some unnecessary debugging code.

26 years agoTeach disklabel how to install a bootstrap on an alpha with SRM console.
Doug Rabson [Mon, 17 Aug 1998 07:43:54 +0000 (07:43 +0000)]
Teach disklabel how to install a bootstrap on an alpha with SRM console.

26 years agolorder is needed on the alpha too
Gary Palmer [Mon, 17 Aug 1998 07:37:55 +0000 (07:37 +0000)]
lorder is needed on the alpha too

26 years agoDon't lose an allocated pointer if realloc() fails.
Brian Somers [Mon, 17 Aug 1998 06:42:40 +0000 (06:42 +0000)]
Don't lose an allocated pointer if realloc() fails.
Free it instead.
Pointed out by: Theo de Raadt

26 years agoRemove a cast and print the pointer value with %p instead of %x.
John Birrell [Mon, 17 Aug 1998 06:16:59 +0000 (06:16 +0000)]
Remove a cast and print the pointer value with %p instead of %x.

26 years agoAd #include stdlib.h to get the prototype for malloc().
John Birrell [Mon, 17 Aug 1998 06:05:55 +0000 (06:05 +0000)]
Ad #include stdlib.h to get the prototype for malloc().

26 years agoWe need config to build on the alpha also ... kinda difficult to build
Gary Palmer [Mon, 17 Aug 1998 05:48:22 +0000 (05:48 +0000)]
We need config to build on the alpha also ... kinda difficult to build
kernels without it :)

26 years agoAdd "-C" to INSTALLFLAGS to install atomically. An elf->elf
John Polstra [Mon, 17 Aug 1998 04:59:15 +0000 (04:59 +0000)]
Add "-C" to INSTALLFLAGS to install atomically.  An elf->elf
installworld dies at this point otherwise, leaving the system
without a dynamic linker.

26 years agoRemove support for NetBSD syscalls.
John Birrell [Mon, 17 Aug 1998 03:46:10 +0000 (03:46 +0000)]
Remove support for NetBSD syscalls.

26 years agoRemove the comment about how to get NetBSD syscalls since there are
John Birrell [Mon, 17 Aug 1998 03:35:09 +0000 (03:35 +0000)]
Remove the comment about how to get NetBSD syscalls since there are
now programs built on alpha that _must_ use FreeBSD syscalls to work.

26 years agoRemove hardcoded constant in favour of login.conf value.
Joseph Koshy [Mon, 17 Aug 1998 03:25:07 +0000 (03:25 +0000)]
Remove hardcoded constant in favour of login.conf value.

PR:  6529
Submitted by: Dan Lukes <dan@obluda.cz>

26 years agoFixed printf format errors.
Bruce Evans [Mon, 17 Aug 1998 01:05:25 +0000 (01:05 +0000)]
Fixed printf format errors.

26 years agoFixed printf format errors. sppp_dotted_quad() was yet another private,
Bruce Evans [Mon, 17 Aug 1998 00:29:34 +0000 (00:29 +0000)]
Fixed printf format errors.  sppp_dotted_quad() was yet another private,
broken, version of inet_ntoa().  It should go away.

26 years agoFIxed printf format errors. Most of them were exposed by our ntohl()
Bruce Evans [Mon, 17 Aug 1998 00:08:07 +0000 (00:08 +0000)]
FIxed printf format errors.  Most of them were exposed by our ntohl()
returning long.  There would be many more if int_32_t were not int.

26 years agoFixed printf format and spelling errors. Didn't fix related
Bruce Evans [Sun, 16 Aug 1998 23:37:54 +0000 (23:37 +0000)]
Fixed printf format and spelling errors.  Didn't fix related
description of DPT_SHUTDOWN_SLEEP in LINT.  Didn't add timestamps
so that the (combined?) sleep interval can be printed as intended
in the original printf.

26 years agoAlpha is now native and bootstrapping from NetBSD is no longer supported.
John Birrell [Sun, 16 Aug 1998 23:35:49 +0000 (23:35 +0000)]
Alpha is now native and bootstrapping from NetBSD is no longer supported.

26 years agoAck! I edited the MLINKS entry but forgot to add xl.4 to the MAN$=
Bill Paul [Sun, 16 Aug 1998 19:54:20 +0000 (19:54 +0000)]
Ack! I edited the MLINKS entry but forgot to add xl.4 to the MAN$=
line. *hangs head in shame*

26 years agoWhoops... really add the man page and update the Makefile this
Bill Paul [Sun, 16 Aug 1998 17:19:58 +0000 (17:19 +0000)]
Whoops... really add the man page and update the Makefile this
time.

26 years agoMention XL driver and that 3c905B cards are now supported. Also add
Bill Paul [Sun, 16 Aug 1998 17:17:46 +0000 (17:17 +0000)]
Mention XL driver and that 3c905B cards are now supported. Also add
xl entry to the interfaces config table.

26 years agoMention that XL driver and that 3c905B cards are not supported.
Bill Paul [Sun, 16 Aug 1998 17:16:07 +0000 (17:16 +0000)]
Mention that XL driver and that 3c905B cards are not supported.