]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:36:55 +0000 (14:36 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Don't quote IO_KBD.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:32:20 +0000 (14:32 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Format "irq ?" the same as in other man pages.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:29:03 +0000 (14:29 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Use .Cd instead of a a home made format.

Don't quote IO_KBD.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:22:13 +0000 (14:22 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Fixed the port name, and don't quote it.  IO_NPX0 never existed.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:17:44 +0000 (14:17 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Fixed quoting of IO_ASC1.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 14:12:55 +0000 (14:12 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

25 years agoQuote port names that have a digit in them. IO_TIMER1 was lexed as
Bruce Evans [Thu, 22 Oct 1998 13:49:51 +0000 (13:49 +0000)]
Quote port names that have a digit in them.  IO_TIMER1 was lexed as
{ port_name = "IO_TIMER", port_number = 1 } and only worked because
it was reassembled to "IO_TIMER1".  Trailing digits always work, but
this is too magic to depend on.

Don't quote port names that don't have a digit in them.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 13:01:19 +0000 (13:01 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

Use the correct macro in configuration declarations.  .Cm somehow gave
the same results as .Cm.

25 years agoRemoved all `vector xxxintr' specifications. Interrupt handlers are now
Bruce Evans [Thu, 22 Oct 1998 12:23:04 +0000 (12:23 +0000)]
Removed all `vector xxxintr' specifications.  Interrupt handlers are now
configured in drivers.

25 years agoFixed the ifdef for `uart' driver being present. The sound-driver-specific
Bruce Evans [Thu, 22 Oct 1998 11:41:22 +0000 (11:41 +0000)]
Fixed the ifdef for `uart' driver being present.  The sound-driver-specific
ifdef used in uart6850.c is bogus.

Reported by: Paul Allenby <pallenby@mikom.csir.co.za>

25 years agoAdded rl driver.
KATO Takenori [Thu, 22 Oct 1998 11:29:58 +0000 (11:29 +0000)]
Added rl driver.

25 years agoFix behaviour of the driver with small files -- due to a stupid
Luigi Rizzo [Thu, 22 Oct 1998 11:20:33 +0000 (11:20 +0000)]
Fix behaviour  of the driver with small files -- due to a stupid
bug sound was not played if the total amount of data written to
the device was less than one blocksize

Noticed by: NABETANI Masaki and FreeBSD-users-jp

25 years agoThis is a copyrighted software. I forgot to include the license here.
Andrzej Bialecki [Thu, 22 Oct 1998 11:16:41 +0000 (11:16 +0000)]
This is a copyrighted software. I forgot to include the license here.
Apologies to all parties involved -  it wasn't intended...

Reminded by: bde

25 years agoThe previous change was much too simple to actually compensate for
Bruce Evans [Thu, 22 Oct 1998 10:34:11 +0000 (10:34 +0000)]
The previous change was much too simple to actually compensate for
braindamage in sound driver confiruration.  Attempt to only reference
interrupt handlers if their driver is configured.

25 years agooops, forgot to add his birthday
Torsten Blum [Thu, 22 Oct 1998 07:56:22 +0000 (07:56 +0000)]
oops, forgot to add his birthday

25 years agoAdd Jon Postel's birth/death
Torsten Blum [Thu, 22 Oct 1998 07:40:05 +0000 (07:40 +0000)]
Add Jon Postel's birth/death

PR: 8402

25 years agoInitialize isa_devtab entries for interrupt handlers in individual
Bruce Evans [Thu, 22 Oct 1998 05:58:45 +0000 (05:58 +0000)]
Initialize isa_devtab entries for interrupt handlers in individual
device drivers, not in ioconf.c.  Use a different hack in isa_device.h
so that a new config(8) is not required yet.

pc98 parts approved by: kato

25 years agos/boot2/loader/ on the alpha
Gary Palmer [Thu, 22 Oct 1998 04:58:38 +0000 (04:58 +0000)]
s/boot2/loader/ on the alpha

25 years agoAdded Microsoft's PE formatted executables for mips, i386 and Alpha.
Warner Losh [Thu, 22 Oct 1998 04:41:34 +0000 (04:41 +0000)]
Added Microsoft's PE formatted executables for mips, i386 and Alpha.
Also added entry for the debugger files as well.  The PE format is
used for all Win32 platforms (Win95, Win98, WinNT and WinCE), so it is
nice to be able to tell what kind of thing the foo.dll....  Don't have
any data for powerpc formats, however...

25 years agoWhen the "-s" option is given, try to ensure that we restart the
John Polstra [Thu, 22 Oct 1998 04:02:37 +0000 (04:02 +0000)]
When the "-s" option is given, try to ensure that we restart the
target process even if we are killed or die due to an error.

25 years agoSolve the ``first connection'' problem that occurs on
Brian Somers [Thu, 22 Oct 1998 02:32:50 +0000 (02:32 +0000)]
Solve the ``first connection'' problem that occurs on
demand-dial links with dynamic IP numbers where the program
that causes the dial bind()s to an interface address that is
subsequently changed after ppp negotiation.

The problem is defeated by adding negotiated addresses to the
tun interface as additional alias addresses and providing a set
of ``iface'' commands for managing the interface.  Libalias is
also required (and what a name clash!) - it happily IP-aliases
the address so that the source is that of the primary (negotiated)
interface and un-IP-aliases it on the way back.

An ``enable iface-alias'' is done implicitly by the -alias command
line switch.  If -alias isn't given, iface-aliasing is disabled by
default and can't be enabled 'till an ``alias enable yes'' is done.
``alias enable no'' silently disables iface-alias.

So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah''
will work for the first connection, although existing bindings will
not survive a disconnect/connect as the TCP peer will be trying to
send to the old IP address - the packets won't route.

It's now a lot easier to add IPXCP to ppp with minor updates to
the new iface.[ch] (if anyone ever gets 'round to it).

It's also now possible to manually add interface aliases with
something like ``iface add 1.2.3.4/24 5.6.7.8''.  This allows
multi-homed ppp links :-)

25 years agoMake the VM system handle the case where a terminating object contains
David Greenman [Thu, 22 Oct 1998 02:16:53 +0000 (02:16 +0000)]
Make the VM system handle the case where a terminating object contains
legitimately wired pages. Currently we print a diagnostic when this
happens, but this will be removed soon when it will be common for this
to occur with zero-copy TCP/IP buffers.

25 years agoDefer rundown (m_freem) of completed transmit buffers for no longer
David Greenman [Thu, 22 Oct 1998 02:00:49 +0000 (02:00 +0000)]
Defer rundown (m_freem) of completed transmit buffers for no longer
than 1 second.

25 years agoConvert fake page allocs to use the zone allocator, thus eliminating the
David Greenman [Thu, 22 Oct 1998 01:45:29 +0000 (01:45 +0000)]
Convert fake page allocs to use the zone allocator, thus eliminating the
private pool management code in here.

25 years agoSet m->object to NULL in dev_pager_getfake().
David Greenman [Wed, 21 Oct 1998 23:06:50 +0000 (23:06 +0000)]
Set m->object to NULL in dev_pager_getfake().

25 years agoBye-bye setdefs.
Mike Smith [Wed, 21 Oct 1998 20:11:03 +0000 (20:11 +0000)]
Bye-bye setdefs.

25 years ago - Enable PnP and ISA PnP code.
Mike Smith [Wed, 21 Oct 1998 20:10:33 +0000 (20:10 +0000)]
 - Enable PnP and ISA PnP code.
 - Use the ISA PnP enumerator.
 - Use the new linker set code, throw out the gensetdefs stuff.
 - Produce an intermediate loader image that has symbols stripped, to aid
 - in debugging.
 - Supply ISA port access functions required for ISA PnP

25 years agoDon't depend on being part of the kernel tree. If we are, use the kernel's
Mike Smith [Wed, 21 Oct 1998 20:07:57 +0000 (20:07 +0000)]
Don't depend on being part of the kernel tree.  If we are, use the kernel's
<machine> includes rather than the system's.

25 years agoMake ISA PnP work. This successfully enumerates as many ISA devices as I
Mike Smith [Wed, 21 Oct 1998 20:07:05 +0000 (20:07 +0000)]
Make ISA PnP work.  This successfully enumerates as many ISA devices as I
can fit into my test machine.

 - Move to using STAILQs rather than ad-hoc singly-linked lists.
 - Use a mostly procedural interface to the PnP information.  This
   improves data-hiding.

Implement a new linker-set technique (currently on i386 only but should work
on Alpha as well).  This is a good candidate for replacing the current
gensetdefs cruft completely.

25 years agoAdded two new utilities, both ported from Minix: mined (editor), and
Andrzej Bialecki [Wed, 21 Oct 1998 17:36:28 +0000 (17:36 +0000)]
Added two new utilities, both ported from Minix: mined (editor), and
msh (largely compatible Bourne shell).

25 years agoGet things limping along again for the 80386 and friends. The
Robert Nordier [Wed, 21 Oct 1998 17:10:49 +0000 (17:10 +0000)]
Get things limping along again for the 80386 and friends.  The
ELF assembler emits a redundant operand-size prefix for the
fnstsw %ax instruction, and this stops the show for 3.0-RELEASE.

25 years agoEliminate a superfluous comment.
John Polstra [Wed, 21 Oct 1998 16:31:38 +0000 (16:31 +0000)]
Eliminate a superfluous comment.

25 years agoRemove most of the code and replace it with a call to getobjformat().
John Polstra [Wed, 21 Oct 1998 15:13:16 +0000 (15:13 +0000)]
Remove most of the code and replace it with a call to getobjformat().

25 years agoNuked PG_TABLED flag. Replaced with m->object != NULL.
David Greenman [Wed, 21 Oct 1998 14:46:42 +0000 (14:46 +0000)]
Nuked PG_TABLED flag. Replaced with m->object != NULL.

25 years agoFixed previous commit to actually work. The wrong variable was initialized
Bruce Evans [Wed, 21 Oct 1998 11:48:39 +0000 (11:48 +0000)]
Fixed previous commit to actually work.  The wrong variable was initialized
earlier (with style bugs of course), so zcat was an alias for uncompress
instead of `uncompress -c'.

25 years agoAdd a diagnostic printf for freeing a wired page. This will eventually
David Greenman [Wed, 21 Oct 1998 11:43:04 +0000 (11:43 +0000)]
Add a diagnostic printf for freeing a wired page. This will eventually
be turned into a panic, but I want to make sure that all cases of freeing
pages with wire_count==1 (which is/was allowed) have first been fixed.

25 years agoDecrement the now unused page table page's wire_count prior to freeing it.
David Greenman [Wed, 21 Oct 1998 11:38:14 +0000 (11:38 +0000)]
Decrement the now unused page table page's wire_count prior to freeing it.
It will soon be required that pages have a zero wire_count when being
freed.

25 years agoFix types.
Dima Ruban [Wed, 21 Oct 1998 09:48:35 +0000 (09:48 +0000)]
Fix types.

25 years agolist.c:
Greg Lehey [Wed, 21 Oct 1998 08:39:57 +0000 (08:39 +0000)]
list.c:
  Add dump of last requests with 'info -V'.  This requires the requests
  to be enabled with 'debug 8'.

25 years agoconfig.c:
Greg Lehey [Wed, 21 Oct 1998 08:32:32 +0000 (08:32 +0000)]
config.c:
  config_drive:
    Catch an instance of anonymous drives.  Doubtless many remain.

interrupt.c:
  complete_rqe:
    Call logrq to log iodone events if DEBUG_LASTREQS is set.

    Call set_sd_state with setstate_noupdate to avoid buffered I/O out
    of interrupt context.

    Use define DEBUG_RESID instead of constant.

memory.c:
  Remove dead expandrq() function

  Malloc:
    Remove directory component of file names in malloc table.

  Add function vinum_rqinfo (part of the request tracing stuff).

request.c:
  Add function logrq (part of the request tracing stuff).

  vinumstrategy:
    Check whether config needs to be written to disk, do it if so.
    This is a stopgap until the Vinum daemon (bacchusd?  oenologistd?)
    is written.

    If DEBUG_LASTREQS is set, call logrq to log user buffer headers.

  launch_requests:
    Correct format of debug output to console.

    If DEBUG_LASTREQS is set, call logrq to log request elements.

request.h:
  Add definitions for request trace.

state.c:
  set_sd_state:
    Check flags for setstate_noupdate.  If set, don't write the config
    to disk, just set global VF_DIRTYCONFIG flag.  This is part of the
    kludge to avoid writing config from an interrupt context.

vinumext.h:
    Add declaration for vinum_rqinfo, put inside #ifdef DEBUG
    Remove dead macro expandrq

vinumio.h:
  Increase maximum ioctl reply length to 4 kB if DEBUG is set.
  Define VINUM_RQINFO ioctl if DEBUG is set.

vinumioctl.c:
  vinumioctl:
    Change implementation of VINUM_DEBUG ioctl: use a debug flag
    (DEBUG_REMOTEGDB) to decide whether to go into remote debugging or
    not.

    Implement VINUM_RQINFO.

vinumkw.h:
  Define kw_info even when not debugging.

vinumvar.h:
  Define VF_DIRTYCONFIG
  Add pointers to request info to vinum_info if DEBUG is set.
  Define setstate_noupdate
  Define additional debug bits DEBUG_RESID, DEBUG_LASTREQS and
  DEBUG_REMOTEGDB.

25 years agoMake serial port, data format, and bps configurable.
Robert Nordier [Tue, 20 Oct 1998 20:20:48 +0000 (20:20 +0000)]
Make serial port, data format, and bps configurable.

25 years agoRevert last change. mkstemp() wasn't to blame, it's nvi. However,
Peter Wemm [Tue, 20 Oct 1998 15:33:21 +0000 (15:33 +0000)]
Revert last change.  mkstemp() wasn't to blame, it's nvi.  However,
mkstemp() is not behaving as documented.

25 years agoStop mk*temp() from being pathologically stupid in the face of a umask(0);
Peter Wemm [Tue, 20 Oct 1998 12:36:36 +0000 (12:36 +0000)]
Stop mk*temp() from being pathologically stupid in the face of a umask(0);
There are other ways to fix this than wrapping _gettemp(), but this was
the most convenient.

Discovered by: bde

25 years agoSince vfork() was changed to fork(), we have to pass errno back from the
Dag-Erling Smørgrav [Tue, 20 Oct 1998 11:34:11 +0000 (11:34 +0000)]
Since vfork() was changed to fork(), we have to pass errno back from the
child to the parent somehow.

PR: 8353
Submitted by: Andrew J. Korty <ajk@purdue.edu>

25 years agoMake this compile, and honour the spirit of the original design while
Mike Smith [Tue, 20 Oct 1998 08:04:15 +0000 (08:04 +0000)]
Make this compile, and honour the spirit of the original design while
incorporating the intended fix.  Attempt to address some of the
putative style bugs introduced.  Others doubtless remain.

Embarrassed by: bde

25 years agomake talk/talkd work on alpha.
Dima Ruban [Tue, 20 Oct 1998 07:07:07 +0000 (07:07 +0000)]
make talk/talkd work on alpha.

25 years ago - mkdir -m should call chmod because the high-order bits get ignored
Mike Smith [Tue, 20 Oct 1998 06:37:01 +0000 (06:37 +0000)]
 - mkdir -m should call chmod because the high-order bits get ignored
   by the kernel as a security feature of some sort.

Submitted by: Wilfredo Sanchez <wsanchez@apple.com>

25 years agoBehave like zcat if invoked as zcat. We don't install as zcat; this just
Mike Smith [Tue, 20 Oct 1998 06:13:57 +0000 (06:13 +0000)]
Behave like zcat if invoked as zcat.  We don't install as zcat; this just
makes us more useful in a tight environment.

Submitted by: Wilfredo Sanchez <wsanchez@apple.com>

25 years ago- Fix off-by-one problem in tar where filenames of length 100
Mike Smith [Tue, 20 Oct 1998 05:52:33 +0000 (05:52 +0000)]
- Fix off-by-one problem in tar where filenames of length 100
  and dirnames of length 99 don't archive.

Submitted by: Wilfredo Sanchez <wsanchez@apple.com>
Obtained from:  OpenBSD

25 years agoHex constants should only have one '0x' prefix.
Mike Smith [Tue, 20 Oct 1998 02:43:28 +0000 (02:43 +0000)]
Hex constants should only have one '0x' prefix.

25 years agoSpecify BINOWN explicitly - we don't want to depend on bsd.own.mk
Brian Somers [Tue, 20 Oct 1998 00:19:38 +0000 (00:19 +0000)]
Specify BINOWN explicitly - we don't want to depend on bsd.own.mk
setting it to ``root''.

25 years agoModify the transmit packet queuing strategy a bit to be a little less
Bill Paul [Mon, 19 Oct 1998 22:08:56 +0000 (22:08 +0000)]
Modify the transmit packet queuing strategy a bit to be a little less
agressive. With the old code, if a descriptor chain was already on its
way to the chip, xl_start() would try to splice new chains onto the end
of the current chain by stopping the transmitter, modifying the tail
pointer of the current chain to point to the head of the new chain, then
restart the transmitter. The manual says you're allowed to do this and
it works, but I'm not too keen on it anymore.

The new code waits until the eixsting chain has been sent and then
queues the next waiting chain in the 'transmit ok' handler.

Performance still looks good one way or the other.

25 years agoUse sysctl() rather than kvm_read() when getting information
Dima Ruban [Mon, 19 Oct 1998 20:48:08 +0000 (20:48 +0000)]
Use sysctl() rather than kvm_read() when getting information
about clock stuff from kernel.
This fixes xntpd on alpha.

25 years agoDefault to aout only on i386. Before we defaulted to elf only on
Warner Losh [Mon, 19 Oct 1998 20:09:17 +0000 (20:09 +0000)]
Default to aout only on i386.  Before we defaulted to elf only on
Alpha.  This is a minor, but important distinction.  Should be a no-op
to the install base.  If OBJFORMAT is set elsewhere, things work
exactly as they did before.

25 years agoMake gcore work for ELF.
John Polstra [Mon, 19 Oct 1998 19:42:18 +0000 (19:42 +0000)]
Make gcore work for ELF.

25 years agoMake configurable (a) whether to use int 0x13 extensions; (b) timeout
Robert Nordier [Mon, 19 Oct 1998 19:13:53 +0000 (19:13 +0000)]
Make configurable (a) whether to use int 0x13 extensions; (b) timeout
value.  Ignore failure to update mbr sector.  Disable interrupts while
using extended registers.  Default to F1 not F2.

25 years agoAdd entries for DiskOnChip2000 Flash device.
Jordan K. Hubbard [Mon, 19 Oct 1998 14:58:38 +0000 (14:58 +0000)]
Add entries for DiskOnChip2000 Flash device.
Submitted by: phk

25 years agoReclaim the 48k used by the first bootstrap stage by adding it to the malloc
Doug Rabson [Mon, 19 Oct 1998 09:12:41 +0000 (09:12 +0000)]
Reclaim the 48k used by the first bootstrap stage by adding it to the malloc
pool.

25 years agoImplement a hook to allow us to reclaim the memory used by the first stage
Doug Rabson [Mon, 19 Oct 1998 09:08:40 +0000 (09:08 +0000)]
Implement a hook to allow us to reclaim the memory used by the first stage
of the bootstrap (the bit which loads /boot/loader).

25 years agoWe're now in post-release; make the docs indicate as much.
Jordan K. Hubbard [Mon, 19 Oct 1998 08:49:50 +0000 (08:49 +0000)]
We're now in post-release; make the docs indicate as much.

25 years agoRename boot2 to loader.
Doug Rabson [Sun, 18 Oct 1998 19:05:07 +0000 (19:05 +0000)]
Rename boot2 to loader.

25 years agoR_ALPHA_RELATIVE relocations need to add the value to the existing memory
Doug Rabson [Sun, 18 Oct 1998 19:04:13 +0000 (19:04 +0000)]
R_ALPHA_RELATIVE relocations need to add the value to the existing memory
contents.

25 years agoAdd driver support for PCI fast ethernet adapters based on the
Bill Paul [Sun, 18 Oct 1998 16:24:34 +0000 (16:24 +0000)]
Add driver support for PCI fast ethernet adapters based on the
RealTek 8129/8139 chipset like I've been threatening. Update kernel
configs, userconfig.c, relnotes and sysinstall. No man page yet;
comming soon.

I consider this driver stable enough that I want to give it some
exposure in -current.

25 years agoCommented out aic.
KATO Takenori [Sun, 18 Oct 1998 15:55:20 +0000 (15:55 +0000)]
Commented out aic.

25 years agoSome cleanups and optimizations:
Peter Wemm [Sun, 18 Oct 1998 15:55:12 +0000 (15:55 +0000)]
Some cleanups and optimizations:
- Use the system headers method for Elf32/Elf64 symbol compatability
- get rid of the UPRINTF debugging.
- check the ELF header for compatability much more completely
- optimize the section mapper.  Use the same direct VM interfaces that
  imgact_aout.c and kern_exec.c use.
- Check the return codes from the vm_* functions better.  Some return
  KERN_* results, not an errno.
- prefault the page tables to reduce startup faults on page tables like
  a.out does.
- reset the segment protection to zero for each loop, otherwise each
  segment could get progressively more privs. (eg: if the first was
  read/write/execute, and the second was meant to be read/execute, the
  bug would make the second r/w/x too.  In practice this was not a
  problem because executables are normally laid out with text first.)
- Don't impose arbitary limits.  Use the limits on headers imposed by
  the need to fit them into one page.
- Remove unused switch() cases now that the verbose debugging is gone.

I've been using an earlier version of this for a month or so.
This sped up ELF exec speed a bit for me but I found it hard to get
consistant benchmarks when I tested it last (a few weeks ago).
I'm still bothered by the page read out of order caused by the
transition from data to bss. This which requires either part filling the
transition page or clearing the remainder.

25 years agoAdd an ELF_MACHINE_OK() macro for compatability with the Alpha version.
Peter Wemm [Sun, 18 Oct 1998 15:31:23 +0000 (15:31 +0000)]
Add an ELF_MACHINE_OK() macro for compatability with the Alpha version.

25 years agoUpdate SMP-GENERIC98 to something a bit more recent based on GENERIC98.
KATO Takenori [Sun, 18 Oct 1998 14:02:43 +0000 (14:02 +0000)]
Update SMP-GENERIC98 to something a bit more recent based on GENERIC98.

25 years agoSync with sys/i386/conf/GENERIC revision 1.125.
KATO Takenori [Sun, 18 Oct 1998 13:58:16 +0000 (13:58 +0000)]
Sync with sys/i386/conf/GENERIC revision 1.125.

25 years agoadjust to match current times.
Jordan K. Hubbard [Sun, 18 Oct 1998 13:56:49 +0000 (13:56 +0000)]
adjust to match current times.

25 years agoAdd a missing ++.
Poul-Henning Kamp [Sun, 18 Oct 1998 11:58:57 +0000 (11:58 +0000)]
Add a missing ++.

Noticed by: gcc via phk
Submitted by: Mike Spengler <mks@networkcs.com>

25 years agoAllow building games w/o an existing /usr/games.
David E. O'Brien [Sun, 18 Oct 1998 11:14:58 +0000 (11:14 +0000)]
Allow building games w/o an existing /usr/games.

25 years agoAdded missing dependency for bus_if.o on bus_if.h
Poul-Henning Kamp [Sun, 18 Oct 1998 10:57:55 +0000 (10:57 +0000)]
Added missing dependency for bus_if.o on bus_if.h

25 years agoAllow ``make BINDIR=/foo/games'' to work.
David E. O'Brien [Sun, 18 Oct 1998 09:49:02 +0000 (09:49 +0000)]
Allow ``make BINDIR=/foo/games'' to work.

25 years agoAllow ``make BINDIR=/foo/games'' to work.
David E. O'Brien [Sun, 18 Oct 1998 09:35:17 +0000 (09:35 +0000)]
Allow ``make BINDIR=/foo/games'' to work.

25 years agoInitialize earlier (ie: before npx) in case it makes any difference.
Peter Wemm [Sun, 18 Oct 1998 07:44:33 +0000 (07:44 +0000)]
Initialize earlier (ie: before npx) in case it makes any difference.
Print a message when it attaches to pmath_emulate if bootverbose so that
we can be sure it's online.

25 years agoPrint a message if bootverbose that the emulator is present in the kernel.
Peter Wemm [Sun, 18 Oct 1998 07:40:29 +0000 (07:40 +0000)]
Print a message if bootverbose that the emulator is present in the kernel.

Move the initialization before isa_configure() and npx, in case npx does
something to initialize the state of the emulator somehow.

I do not have any machines without a FPU so that I can test this with -
except an old 386sx motherboard in a box somewhere that might work...

25 years agoPR: 7583
Peter Hawkins [Sun, 18 Oct 1998 04:46:24 +0000 (04:46 +0000)]
PR: 7583
Submitted by: Dave Glowacki <dglo@SSEC.WISC.EDU>
Support input via stdin if no input file name specified explicitly

25 years agoOOPS!
Peter Wemm [Sun, 18 Oct 1998 04:36:58 +0000 (04:36 +0000)]
OOPS!
Supply the moduledata handle rather than the event dispatcher function.
This should explain the panic on boot problem that's been discussed in
-current at the moment.  Both machines had GNU_MATH_EMULATE.

25 years agoOnly process the ``PWD'' environmental var if built with "WANT_ENV_PWD"
David E. O'Brien [Sun, 18 Oct 1998 00:51:46 +0000 (00:51 +0000)]
Only process the ``PWD'' environmental var if built with "WANT_ENV_PWD"
defined.  Bash v2 sets PWD and it creates major problems for those of us
with /usr/src being a symlink.  See the lists for examples of the problems.

25 years agoTo clarify last commit, msmith says:
David E. O'Brien [Sat, 17 Oct 1998 22:20:06 +0000 (22:20 +0000)]
To clarify last commit, msmith says:
The reason the Alpha has less room than the i386 is because the bootstrap
is given a 256K mapping by the firmware; to add more requires extra work.

25 years ago"Fixed" a printf format error. Use bogus casts to avoid using %p so that
Bruce Evans [Sat, 17 Oct 1998 16:14:00 +0000 (16:14 +0000)]
"Fixed" a printf format error.  Use bogus casts to avoid using %p so that
the output doesn't change (unless the old format caused runtime errors).

25 years agoFixed printf format errors.
Bruce Evans [Sat, 17 Oct 1998 16:04:28 +0000 (16:04 +0000)]
Fixed printf format errors.

25 years agoDon't even think about using a sysctl to build osreldate.h, since this
Bruce Evans [Sat, 17 Oct 1998 15:52:48 +0000 (15:52 +0000)]
Don't even think about using a sysctl to build osreldate.h, since this
breaks cross-builds.  Just depend on ${.CURDIR}/../sys/conf/newvers.sh
existing.

Don't override the (correct) defaults for the depend, lint or tags target.

In LDIRS: fixed order-rot.  Don't comment out dead networking directories;
remove them.

25 years agoRestored all lost user targets that are supported by bsd.subdir.mk:
Bruce Evans [Sat, 17 Oct 1998 15:25:26 +0000 (15:25 +0000)]
Restored all lost user targets that are supported by bsd.subdir.mk:
checkdpadd, lint, maninstall, objlink, regress and tags.

Removed bogus user target cleanobj.  It is the non-recursive base of
the cleandir target, so it is not useful (or usable) here.

25 years agoFixed the type of a signal handler.
Bruce Evans [Sat, 17 Oct 1998 14:47:00 +0000 (14:47 +0000)]
Fixed the type of a signal handler.

25 years agoSet BINMODE to 444.
Robert Nordier [Sat, 17 Oct 1998 14:20:25 +0000 (14:20 +0000)]
Set BINMODE to 444.

25 years agoFixed printf format errors. Assume that uid_t's are representable as
Bruce Evans [Sat, 17 Oct 1998 14:08:12 +0000 (14:08 +0000)]
Fixed printf format errors.  Assume that uid_t's are representable as
unsigned longs.

25 years agoFixed printf format errors. Assume that time_t's are representable as
Bruce Evans [Sat, 17 Oct 1998 14:06:20 +0000 (14:06 +0000)]
Fixed printf format errors.  Assume that time_t's are representable as
longs.

25 years agoFixed missing libraries in DPADD.
Bruce Evans [Sat, 17 Oct 1998 13:55:22 +0000 (13:55 +0000)]
Fixed missing libraries in DPADD.

25 years agoHonour the default CFLAGS. This fixes a spew of warnings for compiling
Bruce Evans [Sat, 17 Oct 1998 13:48:37 +0000 (13:48 +0000)]
Honour the default CFLAGS.  This fixes a spew of warnings for compiling
unused static inlines in headers without -O.

Fixed missing libraries in DPADD.

Use .PATH instead of a symlink farm.

Removed bogus dependency of util.c on statetext.h (only util.o depends
on it).  Removed rule for building statetext.h.  The dependency was used
to get statetext.h built, but statetext.h is a non-generated source file
so it doesn't need building.  This fixes an annoying message for the null
build and use of `make' instead of ${MAKE} to do the null build.

Fixed some style bugs.

25 years agoDon't assume that time_t is long.
Bruce Evans [Sat, 17 Oct 1998 13:02:46 +0000 (13:02 +0000)]
Don't assume that time_t is long.

25 years agoDon't assume that time_t is long.
Bruce Evans [Sat, 17 Oct 1998 12:44:55 +0000 (12:44 +0000)]
Don't assume that time_t is long.

25 years agoWarn about (but process anyway) CBCP messages with an incorrect id.
Brian Somers [Sat, 17 Oct 1998 12:28:11 +0000 (12:28 +0000)]
Warn about (but process anyway) CBCP messages with an incorrect id.

25 years agoAdjust our CBCP RESP id so that it's the same as the REQ.
Brian Somers [Sat, 17 Oct 1998 12:28:09 +0000 (12:28 +0000)]
Adjust our CBCP RESP id so that it's the same as the REQ.
Submitted by: Tom <root@majestix.cmr.no>

25 years agoIf the client asks for CBCP, then replies with CBCP_NONUM
Brian Somers [Sat, 17 Oct 1998 12:28:08 +0000 (12:28 +0000)]
If the client asks for CBCP, then replies with CBCP_NONUM
to our REQ, allow no dialback - but only if we've
``set cbcp *''..
Suggested by: Andrzej Tobola <san@koziolek.lublin.top.pl>

25 years agoExplain what the ``*'' means for a CBCP phone number
Brian Somers [Sat, 17 Oct 1998 12:28:06 +0000 (12:28 +0000)]
Explain what the ``*'' means for a CBCP phone number
in ``show link''.

25 years agoMove help displays left one column to avoid problems with
Brian Somers [Sat, 17 Oct 1998 12:28:05 +0000 (12:28 +0000)]
Move help displays left one column to avoid problems with
broken terminals that can't handle 80 columns followed by
a linefeed.
Pointed out by: bde@FreeBSD.org

25 years agoWarn if we encounter an unindented line that isn't
Brian Somers [Sat, 17 Oct 1998 12:28:03 +0000 (12:28 +0000)]
Warn if we encounter an unindented line that isn't
terminated with a ``:''.

25 years agoWarn that the specific chap protocol isn't supported when
Brian Somers [Sat, 17 Oct 1998 12:28:02 +0000 (12:28 +0000)]
Warn that the specific chap protocol isn't supported when
rejecting CHAP because of byte 5.
Suggested by: Daniel O'Callaghan <danny@hilink.com.au>

25 years agoDon't add /usr/games to $PATH. Adding it here can only work for the
Bruce Evans [Sat, 17 Oct 1998 11:56:20 +0000 (11:56 +0000)]
Don't add /usr/games to $PATH.  Adding it here can only work for the
`make world' case, and only made a difference for the evil NOTOOLS case
of `make world' since games tools are installed in ${TOOLROOT}/usr/bin
if they are built, but the PR was for normal builds.  This is fixed
in rev.1.14 of src/games/fortune/datfiles/Makefile.

PR: 7936