]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoHook up conscontrol to the build.
Jonathan Lemon [Tue, 23 Oct 2001 20:37:07 +0000 (20:37 +0000)]
Hook up conscontrol to the build.

22 years agoAdd conscontrol, a front end interface for manipulating consoles.
Jonathan Lemon [Tue, 23 Oct 2001 20:36:43 +0000 (20:36 +0000)]
Add conscontrol, a front end interface for manipulating consoles.

22 years agoClarification: &release.next; refers to a future FreeBSD release.
Bruce A. Mah [Tue, 23 Oct 2001 20:34:41 +0000 (20:34 +0000)]
Clarification:  &release.next; refers to a future FreeBSD release.

Submitted by: phantom

22 years agoSet RB_MULTIPLE (multiple console support) if the kernel is booted
Jonathan Lemon [Tue, 23 Oct 2001 20:27:48 +0000 (20:27 +0000)]
Set RB_MULTIPLE (multiple console support) if the kernel is booted
with the -D flag.

22 years agoFix typo.
Murray Stokely [Tue, 23 Oct 2001 20:27:06 +0000 (20:27 +0000)]
Fix typo.

PR: docs/31388
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>

22 years agoAllow the RBX_DUAL flag to appear in bootinfo.
Jonathan Lemon [Tue, 23 Oct 2001 20:27:05 +0000 (20:27 +0000)]
Allow the RBX_DUAL flag to appear in bootinfo.

22 years agoImplement multiple low-level console support.
Jonathan Lemon [Tue, 23 Oct 2001 20:25:50 +0000 (20:25 +0000)]
Implement multiple low-level console support.

22 years agoAdd RB_MULTIPLE flag so the bootloader can turn on mulitiple console
Jonathan Lemon [Tue, 23 Oct 2001 20:22:04 +0000 (20:22 +0000)]
Add RB_MULTIPLE flag so the bootloader can turn on mulitiple console
support.  This flag value is identical to RBX_DUAL from boot2.

22 years agoAdd a siocnterm function for the CONS_DRIVER function vector.
Jonathan Lemon [Tue, 23 Oct 2001 20:16:56 +0000 (20:16 +0000)]
Add a siocnterm function for the CONS_DRIVER function vector.

22 years agoo Add two comments identifying problems with the current nfs_lock.c
Robert Watson [Tue, 23 Oct 2001 19:11:31 +0000 (19:11 +0000)]
o Add two comments identifying problems with the current nfs_lock.c
  implementation, so that the information doesn't get lost.
  (1) /var/run/lock is looked up relative to the current thread's root
      directory, but it's not clear that's desirable.
  (2) A race condition associated with live credential modification on
      a shared credential is present when privilege is granted for
      the purposes of talking to /var/run/lock.

22 years agoo vn_open() fails to call VOP_CLOSE() if vfs_object_create fails. Ideally
Robert Watson [Tue, 23 Oct 2001 19:09:01 +0000 (19:09 +0000)]
o vn_open() fails to call VOP_CLOSE() if vfs_object_create fails.  Ideally
  all successful calls to VOP_OPEN() might be reflected in a call to
  VOP_CLOSE().  For now, simply add a comment reflecting this problem;
  this should be fixed at some point.

22 years agoAssert that Giant is not held in mi_switch() unless the process state
John Baldwin [Tue, 23 Oct 2001 17:52:49 +0000 (17:52 +0000)]
Assert that Giant is not held in mi_switch() unless the process state
is SMTX or SRUN.

22 years agoAlter the suggested way of writing structurtes to make them actuallys
Julian Elischer [Tue, 23 Oct 2001 17:40:37 +0000 (17:40 +0000)]
Alter the suggested way of writing structurtes to make them actuallys
readble when there are compound sub-elements (e.g. other structs).

Reviewed by: {peter,dillon,des,imp,jlemon}@freebsd.org
MFC after: 1 week

22 years agoMove the 'type' variable inside the block where it is actually used.
John Baldwin [Tue, 23 Oct 2001 17:31:11 +0000 (17:31 +0000)]
Move the 'type' variable inside the block where it is actually used.

22 years agoBreak out the bus front ends into their own files. Rewrite
Warner Losh [Tue, 23 Oct 2001 15:17:33 +0000 (15:17 +0000)]
Break out the bus front ends into their own files.  Rewrite
sio_pccard_detach to use new siodetach.  Add an extra arg to sioprobe
to tell driver to probe/not probe the device for IRQs.

This incorporates most of Bruce's review material.  I'm at a good
checkpoint, but there will be more to come based on bde's further
reviews.

Reviewed by: bde

22 years agoCollect multi name handling.
Takanori Watanabe [Tue, 23 Oct 2001 14:54:15 +0000 (14:54 +0000)]
Collect multi name handling.

Reported by :    Stephan Kulow <coolo@caldera.de>

22 years agoDon't avoid setting a 0 second timer in datalink_StartDialTimer() by
Brian Somers [Tue, 23 Oct 2001 13:52:19 +0000 (13:52 +0000)]
Don't avoid setting a 0 second timer in datalink_StartDialTimer() by
not setting any timer.  Instead, set a 1 millisecond timer.

This ensures that ppp will come out of it's select() call after
losing carrier in -ddial mode with a reconnect period of 0 and
going to ST_OPENING, rather than waiting indefinitely for some
other event to wake ppp up.

Bump the ppp version number to indicate the event.

MFC after: 3 days

22 years agoPartially port kvm to ia64 - virtual to physical translation is incomplete.
Doug Rabson [Tue, 23 Oct 2001 11:05:35 +0000 (11:05 +0000)]
Partially port kvm to ia64 - virtual to physical translation is incomplete.

22 years agoTurn off the single-user override. We've been running multi-user
Peter Wemm [Tue, 23 Oct 2001 11:04:43 +0000 (11:04 +0000)]
Turn off the single-user override.  We've been running multi-user
for some time.  Having a machine boot unattended is useful. :-)

22 years agoRemove references to nfsiod(8) and nfs_client_flags
Ruslan Ermilov [Tue, 23 Oct 2001 10:31:52 +0000 (10:31 +0000)]
Remove references to nfsiod(8) and nfs_client_flags
now that they are obsolete.

22 years ago__FBSDID() (second half of src/lib/libcrypt changes)
Peter Wemm [Tue, 23 Oct 2001 10:23:32 +0000 (10:23 +0000)]
__FBSDID()  (second half of src/lib/libcrypt changes)

22 years agoia64 support. Due to the bogus placement of some i4b includes, it is
Peter Wemm [Tue, 23 Oct 2001 10:20:24 +0000 (10:20 +0000)]
ia64 support.  Due to the bogus placement of some i4b includes, it is
i386-only, even though it would work on all the isa-capable platforms.
Change the NOI4B so that instead of excluding alpha, it only includes i386.

22 years agoAdd data serialisations after ptc and mov to rr[] instructions.
Doug Rabson [Tue, 23 Oct 2001 10:20:04 +0000 (10:20 +0000)]
Add data serialisations after ptc and mov to rr[] instructions.

22 years agoia64 support. Hide a.out support solely under i386. While alpha never
Peter Wemm [Tue, 23 Oct 2001 10:18:41 +0000 (10:18 +0000)]
ia64 support.  Hide a.out support solely under i386.  While alpha never
was released in a.out form, it does define the a.out data structures.
The ia64 port does not.

22 years agoia64 support: move pnpinfo to i386 and alpha sections for now. i386 has
Peter Wemm [Tue, 23 Oct 2001 10:16:04 +0000 (10:16 +0000)]
ia64 support:  move pnpinfo to i386 and alpha sections for now. i386 has
native inb/outb etc, and alpha has libio.  ia64 doesn't have any yet.

move pppctl to the NOLIBC_R section (libc_r is not possible on ia64 in
its present form due to assumptions about setjmp/longjmp magic)

22 years agoAdd ia64 support (stubs, just like i386, alpha)
Peter Wemm [Tue, 23 Oct 2001 10:12:10 +0000 (10:12 +0000)]
Add ia64 support (stubs, just like i386, alpha)

22 years agoAdd a bunch of new PCI ID's for Intel ATA chips.
Søren Schmidt [Tue, 23 Oct 2001 09:57:49 +0000 (09:57 +0000)]
Add a bunch of new PCI ID's for Intel ATA chips.

22 years agofix broken `compat_atdisk'(replace raw device name with block device's).
Akio Morita [Tue, 23 Oct 2001 09:39:09 +0000 (09:39 +0000)]
fix broken `compat_atdisk'(replace raw device name with block device's).

Reviewed by: nyan
MFC after: 3 days

22 years agoAdd experimental support for the HighPoint HPT372 ATA133 controller.
Søren Schmidt [Tue, 23 Oct 2001 09:25:57 +0000 (09:25 +0000)]
Add experimental support for the HighPoint HPT372 ATA133 controller.

Based on docs kindly provided by HighPoint which we thank for
the close cooperation with the FreeBSD project!.

22 years agoConnect cxconfig(8) to build.
Ruslan Ermilov [Tue, 23 Oct 2001 09:24:49 +0000 (09:24 +0000)]
Connect cxconfig(8) to build.

PR: 30447

22 years agoWARNSify.
Ruslan Ermilov [Tue, 23 Oct 2001 09:23:17 +0000 (09:23 +0000)]
WARNSify.

22 years agoFix compile error of the case using `LINE30' option.
Akio Morita [Tue, 23 Oct 2001 08:54:50 +0000 (08:54 +0000)]
Fix compile error of the case using `LINE30' option.

Reviewed by: nyan
MFC after: 3 days

22 years agoAdd experimental support for the Promise ATA133 controller.
Søren Schmidt [Tue, 23 Oct 2001 08:01:47 +0000 (08:01 +0000)]
Add experimental support for the Promise ATA133 controller.

This might need additional code for hotswapping use, but first
I need to get my hands on actual hw...

Based on docs kindly provided by Promise Inc which we thank for
the close cooperation with the FreeBSD project!.

22 years agoAdd a tunable (hw.pcic.boot_deactivated) which will boot the system
Warner Losh [Tue, 23 Oct 2001 07:04:03 +0000 (07:04 +0000)]
Add a tunable (hw.pcic.boot_deactivated) which will boot the system
with the pccards deactivated.  This can work around some problems in
pccard system, but is also for people that want to explicitly turn on
cards after boot rather that at boot.

MFC after: 7 days
Submitted by: iwasaki-san
Reviewed by: ume-san, shiba-san

22 years agoAllow users to specify a command to use as remote command instead of
Warner Losh [Tue, 23 Oct 2001 06:22:15 +0000 (06:22 +0000)]
Allow users to specify a command to use as remote command instead of
using rcmd directly.  This has been in my tree for a long time, but we
may need to sync with OpenBSD before MFC.

Obtained from: openbsd
PR: 15830

MFC after: 2 months

22 years agoFix incorrect double-termination of vm_object. When a vm_object is
Matthew Dillon [Tue, 23 Oct 2001 01:23:41 +0000 (01:23 +0000)]
Fix incorrect double-termination of vm_object.  When a vm_object is
terminated and flushes pending dirty pages it is possible for the
object to be ref'd (0->1) and then deref'd (1->0) during termination.
We do not terminate the object a second time.

Document vop_stdgetvobject() to explicitly allow it to be called without
the vnode interlock held (for upcoming sync_msync() and ffs_sync()
performance optimizations)

MFC after: 3 days

22 years agoChange the vnode list under the mount point from a LIST to a TAILQ
Matthew Dillon [Tue, 23 Oct 2001 01:21:29 +0000 (01:21 +0000)]
Change the vnode list under the mount point from a LIST to a TAILQ
in preparation for an implementation of limiting code for kern.maxvnodes.

MFC after: 3 days

22 years agoRefer to chflags(2) instead of chflags(1) (since we're a section 2
Dima Dorfman [Tue, 23 Oct 2001 00:54:58 +0000 (00:54 +0000)]
Refer to chflags(2) instead of chflags(1) (since we're a section 2
manual page), fix capitalization, and remove chflags reference from
SEE ALSO since the only time it's referenced is with an .Xr, anyway.

Submitted by: bde

22 years agoThis program uses sysexits(3), so it does not exit 1 on failure.
Dima Dorfman [Tue, 23 Oct 2001 00:47:27 +0000 (00:47 +0000)]
This program uses sysexits(3), so it does not exit 1 on failure.

PR: 31415

22 years agoExplain a little about sysexits(3) so that regular users can take
Dima Dorfman [Tue, 23 Oct 2001 00:46:13 +0000 (00:46 +0000)]
Explain a little about sysexits(3) so that regular users can take
advantage of the fact that some programs care to explain why they
failed.

PR: 31415

22 years agoRemove funky right justification.
Mike Barcroft [Tue, 23 Oct 2001 00:42:15 +0000 (00:42 +0000)]
Remove funky right justification.

Pointed out by: bde

22 years agoFixed the value of the prefixlen in the sadb_address structure.
Hajimu UMEMOTO [Mon, 22 Oct 2001 20:19:47 +0000 (20:19 +0000)]
Fixed the value of the prefixlen in the sadb_address structure.
When pfkey message relative to SA is sent, the prefixlen was incorrect.

Obtained from: KAME
MFC after: 1 week

22 years agoIn the signal trampoline, flush the register stack before calling
Doug Rabson [Mon, 22 Oct 2001 19:43:05 +0000 (19:43 +0000)]
In the signal trampoline, flush the register stack before calling
sigreturn. This appears to fix the last set of problems with csh.

22 years agoNew release note: pkg_create -b.
Bruce A. Mah [Mon, 22 Oct 2001 19:23:07 +0000 (19:23 +0000)]
New release note:  pkg_create -b.

22 years agoRe-order ports collection infrastructure section of release notes.
Bruce A. Mah [Mon, 22 Oct 2001 19:20:31 +0000 (19:20 +0000)]
Re-order ports collection infrastructure section of release notes.

22 years agoDelete wx(4) release notes and hardware notes.
Bruce A. Mah [Mon, 22 Oct 2001 18:25:39 +0000 (18:25 +0000)]
Delete wx(4) release notes and hardware notes.

xl(4) now supports transmit-side TCP/IP checksum offload.

22 years agoReduce frequency of Battery info (_BIF) acquisition. This helps
Mitsuru IWASAKI [Mon, 22 Oct 2001 18:01:37 +0000 (18:01 +0000)]
Reduce frequency of Battery info (_BIF) acquisition.  This helps
avoiding EC read errors on some laptops.
 - Stop updating Battery info for all user requests
 - Update Battery info by notify events and resume method
 - Poll Battery info every one minute

Suggested by: takawata

22 years agoFix reversed virtual/physical bus check, whoops!
Mike Smith [Mon, 22 Oct 2001 17:38:02 +0000 (17:38 +0000)]
Fix reversed virtual/physical bus check, whoops!

Submitted by: HIROSHI OOTA <oota@LSi.nec.co.jp>

22 years agoFix UserTerms disassembling. Now that dumped ASL can be compiled with
Mitsuru IWASAKI [Mon, 22 Oct 2001 17:25:32 +0000 (17:25 +0000)]
Fix UserTerms disassembling.  Now that dumped ASL can be compiled with
ports/devel/acpitools (iasl).
 - Merge AML parser to build ACPI namespace
 - Comment header info. out so that ASL compiler ignore them
 - Fix DSDT header size to be discarded when DSDT file is specified
   for input (acpidump and amldb)
 - Write DSDT header as well into DSDT file for output
 - Fix some trivial typo (Concatenate and SizeOf)
 - Remove DEBUG_FLAGS from Makefile (acpidump and amldb)

22 years agoRemove unused headers that were breaking LINT.
Jonathan Lemon [Mon, 22 Oct 2001 16:35:15 +0000 (16:35 +0000)]
Remove unused headers that were breaking LINT.

22 years agoBack out my previous commit. It is not necessary anymore now that Ruslan
John Hay [Mon, 22 Oct 2001 16:32:44 +0000 (16:32 +0000)]
Back out my previous commit. It is not necessary anymore now that Ruslan
fixed the ipfilter directory with a NOOBJ.

22 years agoNo, you may not /* FALLTHROUGH */. Not only will you return an incorrect
Dag-Erling Smørgrav [Mon, 22 Oct 2001 16:13:38 +0000 (16:13 +0000)]
No, you may not /* FALLTHROUGH */.  Not only will you return an incorrect
result, but you'd corrupt the kernel malloc() arena if it weren't for a
small but life-saving optimization in ioctl().

MFC after: 1 week

22 years agowx is an ex-parrot. wx doesn't exist any more, so remove it.
Warner Losh [Mon, 22 Oct 2001 16:02:51 +0000 (16:02 +0000)]
wx is an ex-parrot.  wx doesn't exist any more, so remove it.

22 years agoThese two used sioreg.h as well. This is mildly bogus, but it is harder
Warner Losh [Mon, 22 Oct 2001 15:59:49 +0000 (15:59 +0000)]
These two used sioreg.h as well.  This is mildly bogus, but it is harder
to fix right in a hurry.

This (almost) fixes LINT.

Submitted by: bde

22 years agoBack out part of previous commit: remove #include <sys/proc.h>.
Dag-Erling Smørgrav [Mon, 22 Oct 2001 15:32:12 +0000 (15:32 +0000)]
Back out part of previous commit: remove #include <sys/proc.h>.

22 years agoUpon further reflection, back out previous commit, partly for the reasons
Dag-Erling Smørgrav [Mon, 22 Oct 2001 15:08:14 +0000 (15:08 +0000)]
Upon further reflection, back out previous commit, partly for the reasons
Bruce stated and partly because it introduces gratuitous incompatibilities
with -STABLE.

22 years agorestore the data of the ip header when extended udp header and data checksum
Hajimu UMEMOTO [Mon, 22 Oct 2001 12:43:30 +0000 (12:43 +0000)]
restore the data of the ip header when extended udp header and data checksum
is calculated.  this caused some trouble in the code which the ip header
is not modified.  for example, inbound policy lookup failed.

Obtained from: KAME
MFC after: 1 week

22 years agoThis is __i386__-only, not !__alpha__. We never had userconfig on
Peter Wemm [Mon, 22 Oct 2001 12:22:08 +0000 (12:22 +0000)]
This is __i386__-only, not !__alpha__.  We never had userconfig on
anything but i386/pc98.

22 years agodisk_clone() was a bit too eager to please: "md0s1ec" is not a valid
Poul-Henning Kamp [Mon, 22 Oct 2001 10:18:45 +0000 (10:18 +0000)]
disk_clone() was a bit too eager to please: "md0s1ec" is not a valid
device.

Noticed by: Chad David <davidc@acns.ab.ca>

22 years agoClamp down with NOOBJ.
Ruslan Ermilov [Mon, 22 Oct 2001 10:06:25 +0000 (10:06 +0000)]
Clamp down with NOOBJ.

22 years agoArgh! Shoot me! (add closing */ after $FreeBSD$ )
Peter Wemm [Mon, 22 Oct 2001 09:54:17 +0000 (09:54 +0000)]
Argh! Shoot me!  (add closing */ after $FreeBSD$ )

22 years agoFix WAW dependency. p6 is written in the syscall epilogue.
Peter Wemm [Mon, 22 Oct 2001 09:17:14 +0000 (09:17 +0000)]
Fix WAW dependency. p6 is written in the syscall epilogue.

22 years agoUnbreak make world by adding .CURDIR here and there.
John Hay [Mon, 22 Oct 2001 08:56:02 +0000 (08:56 +0000)]
Unbreak make world by adding .CURDIR here and there.

Submitted by: Harry Starr <starr3@gccs.com.au>

22 years agoFix a few more dependancy violations.
Doug Rabson [Mon, 22 Oct 2001 08:48:11 +0000 (08:48 +0000)]
Fix a few more dependancy violations.

22 years agoRemove extra memory region kept by "struct pfil_head pfil_head_t;".
Ruslan Ermilov [Mon, 22 Oct 2001 08:46:23 +0000 (08:46 +0000)]
Remove extra memory region kept by "struct pfil_head pfil_head_t;".

Seems to be a typo for typedef, but we don't want this non-style(9)
typedef anyway.

PR: kern/31356

22 years agoSetup for a 200MB FS -- 209715200/512= 409600 sectors.
David E. O'Brien [Mon, 22 Oct 2001 07:33:38 +0000 (07:33 +0000)]
Setup for a 200MB FS -- 209715200/512= 409600 sectors.

(DFR's latest ia64-root-*.tar.gz leaves only 7.7M avail when created by
dd if=/dev/zero of=ia64-root.fs bs=1024k count=200)

22 years agoImplement TCP/IP checksum off-loading on send for the 3c905B and later
Alan Cox [Mon, 22 Oct 2001 06:45:42 +0000 (06:45 +0000)]
Implement TCP/IP checksum off-loading on send for the 3c905B and later
generation cards.

22 years agoFirst commit after a repo copy of isa/sio* -> dev/sio:
Warner Losh [Mon, 22 Oct 2001 02:48:38 +0000 (02:48 +0000)]
First commit after a repo copy of isa/sio* -> dev/sio:

Move sio from isa/sio.c to dev/sio/sio.c.  The next step is to break
out the front end attachments, improve support for these parts on
different busses, and maybe, if we're lucky, merging in pc98 support.
It will also be MI and live in conf/files rather than files.*.

Approved by: bde
Tested with: i386, pc98

22 years ago#include <sys/proc.h> where needed (for the stop event definitions) and
Dag-Erling Smørgrav [Mon, 22 Oct 2001 02:02:00 +0000 (02:02 +0000)]
#include <sys/proc.h> where needed (for the stop event definitions) and
reorder includes everywhere to conform to style(9).

22 years agoMove the stop event macros from pioctl.h to proc.h, and add an S_ALLSTOPS
Dag-Erling Smørgrav [Mon, 22 Oct 2001 02:00:33 +0000 (02:00 +0000)]
Move the stop event macros from pioctl.h to proc.h, and add an S_ALLSTOPS
macro to represent "all stop events".

22 years agoWhen we set our UID to `nobody', set an appropriate group also.
David E. O'Brien [Mon, 22 Oct 2001 01:55:40 +0000 (01:55 +0000)]
When we set our UID to `nobody', set an appropriate group also.

Submitted by: peter

22 years agoChroot to /tftpboot for tftp.
David E. O'Brien [Mon, 22 Oct 2001 01:46:53 +0000 (01:46 +0000)]
Chroot to /tftpboot for tftp.

Reviewed by: mdodd, peter

22 years agoMove procfs_* from procfs_machdep.c into sys_process.c, and rename them to
Dag-Erling Smørgrav [Sun, 21 Oct 2001 23:57:24 +0000 (23:57 +0000)]
Move procfs_* from procfs_machdep.c into sys_process.c, and rename them to
proc_* in the process; procfs_machdep.c is no longer needed.

Run-tested on i386, build-tested on Alpha, untested on other platforms.

22 years ago[partially forced commit due to pilot error in earlier commit attempt]
Dag-Erling Smørgrav [Sun, 21 Oct 2001 22:16:48 +0000 (22:16 +0000)]
[partially forced commit due to pilot error in earlier commit attempt]

{set,fill}_{,fp,db}regs() fixup:

 - Add dummy {set,fill}_dbregs() on architectures that don't have them.

 - KSEfy the powerpc versions (struct proc -> struct thread).

 - Some architectures had the prototypes in md_var.h, some in reg.h, and
   some in both; for consistency, move them to reg.h on all platforms.

These functions aren't really MD (the implementation is MD, but the interface
is MI), so they should move to an MI header, but I haven't figured out which
one yet.

Run-tested on i386, build-tested on Alpha, untested on other platforms.

22 years ago{set,fill}_{,fp,db}regs() fixup:
Dag-Erling Smørgrav [Sun, 21 Oct 2001 22:14:00 +0000 (22:14 +0000)]
{set,fill}_{,fp,db}regs() fixup:

 - Add dummy {set,fill}_dbregs() on architectures that don't have them.

 - KSEfy the powerpc versions (struct proc -> struct thread).

 - Some architectures had the prototypes in md_var.h, some in reg.h, and
   some in both; for consistency, move them to reg.h on all platforms.

These functions aren't really MD (the implementation is MD, but the interface
is MI), so they should move to an MI header, but I haven't figured out which
{set,fill}_{,fp,db}regs() fixup:

 - Add dummy {set,fill}_dbregs() on architectures that don't have them.

 - KSEfy the powerpc versions (struct proc -> struct thread).

 - Some architectures had the prototypes in md_var.h, some in reg.h, and
   some in both; for consistency, move them to reg.h on all platforms.

These functions aren't really MD (the implementation is MD, but the interface
is MI), so they should move to an MI header, but I haven't figured out which
one yet.

Run-tested on i386, build-tested on Alpha, untested on other platforms.

22 years agoTeach truss(1) to display sockaddrs. It currently knows about AF_INET,
Dag-Erling Smørgrav [Sun, 21 Oct 2001 21:57:10 +0000 (21:57 +0000)]
Teach truss(1) to display sockaddrs.  It currently knows about AF_INET,
AF_INET6 and AF_UNIX sockaddrs, and will recognize accept(), bind(),
connect(), getpeername() and getsockname() as syscalls taking sockaddr
arguments.  Some enterprising soul might want to add (and test) support
for the send() / recv() family of syscalls as well.

MFC after: 1 week

22 years agoIn the words of the submitter:
Daniel Eischen [Sun, 21 Oct 2001 18:23:50 +0000 (18:23 +0000)]
In the words of the submitter:

  In libc_r, if _FDLOCKS_ENABLED is not defined, there is no guarantee
  in many of the sycall wrappers that _thread_fd_table[fd] is
  initialized.  This causes problems for programs that pass in file
  descriptors and execve() another program; when the exec'ed program
  tries to do an fcntl() or other syscall on the passed-in fd, it fails.

Add calls to initialize the FD table entry for _thread_fd_lock and
_thread_fd_lock_debug.

Submitted by: Peter S. Housel <housel@acm.org>

22 years agoAdd proc/mtab which simulates a Linux system's /etc/mtab.
Dag-Erling Smørgrav [Sun, 21 Oct 2001 15:56:46 +0000 (15:56 +0000)]
Add proc/mtab which simulates a Linux system's /etc/mtab.

22 years agoThis module will soon need opt_linux.h (for <linux/linux_util.h>)
Dag-Erling Smørgrav [Sun, 21 Oct 2001 15:54:56 +0000 (15:54 +0000)]
This module will soon need opt_linux.h (for <linux/linux_util.h>)

22 years agoConvert textvp_fullpath() into the more generic vn_fullpath() which takes a
Dag-Erling Smørgrav [Sun, 21 Oct 2001 15:52:51 +0000 (15:52 +0000)]
Convert textvp_fullpath() into the more generic vn_fullpath() which takes a
struct thread * and a struct vnode * instead of a struct proc *.

Temporarily add a textvp_fullpath macro for compatibility.

22 years agoAdd some more names for bits of trapframe.
Doug Rabson [Sun, 21 Oct 2001 14:03:58 +0000 (14:03 +0000)]
Add some more names for bits of trapframe.

22 years agoWe need to save a bit more information in the partial syscall trapframe
Doug Rabson [Sun, 21 Oct 2001 14:03:25 +0000 (14:03 +0000)]
We need to save a bit more information in the partial syscall trapframe
in case we need to take a signal.

22 years agoSet ar.fpsr to something sane before trying to handle a trap - the user
Doug Rabson [Sun, 21 Oct 2001 14:02:27 +0000 (14:02 +0000)]
Set ar.fpsr to something sane before trying to handle a trap - the user
might have trashed it.

22 years agoUse ia64_set_fpsr() instead of __asm to set ar.fpsr.
Doug Rabson [Sun, 21 Oct 2001 14:01:48 +0000 (14:01 +0000)]
Use ia64_set_fpsr() instead of __asm to set ar.fpsr.

22 years agoAdd ia64_set_fpsr().
Doug Rabson [Sun, 21 Oct 2001 14:00:59 +0000 (14:00 +0000)]
Add ia64_set_fpsr().

22 years agoThanks for postcards ...
Hellmuth Michaelis [Sun, 21 Oct 2001 09:39:22 +0000 (09:39 +0000)]
Thanks for postcards ...

22 years agoupadate the release notes
Hellmuth Michaelis [Sun, 21 Oct 2001 09:30:10 +0000 (09:30 +0000)]
upadate the release notes

22 years agoFix bug attaching the ELSA PCC16, the cardtyp value was set incorrectly
Hellmuth Michaelis [Sun, 21 Oct 2001 09:22:48 +0000 (09:22 +0000)]
Fix bug attaching the ELSA PCC16, the cardtyp value was set incorrectly
in the probe routine.
MFC after: 3 days

22 years agoAdd a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
Hellmuth Michaelis [Sun, 21 Oct 2001 09:20:52 +0000 (09:20 +0000)]
Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
card.

Submitted by:   Steve Looman
Reviewed by:    hm
MFC after:      1 month

22 years agoAdd a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
Hellmuth Michaelis [Sun, 21 Oct 2001 09:17:25 +0000 (09:17 +0000)]
Add a driver for the Compaq Microcom 610 ISDN (Compaq series PSB2222I) ISA PnP
card.

Submitted by: Steve Looman
Reviewed by: hm
MFC after: 1 month

22 years agoImplement the IPI send functions. No mapping between IPI message
Marcel Moolenaar [Sun, 21 Oct 2001 08:57:02 +0000 (08:57 +0000)]
Implement the IPI send functions. No mapping between IPI message
Id and interrupt vector has been made yet.

22 years agoIt seems that I slipped a nasty bug into the CAPI support. The message
Hellmuth Michaelis [Sun, 21 Oct 2001 08:51:54 +0000 (08:51 +0000)]
It seems that I slipped a nasty bug into the CAPI support. The message
lengths for CONNECT_REQ and CONNECT_IND are incorrect, which causes
dialouts to fail after certain error situations (an invalid -- not
wrong! -- number has been dialed). Since these messages are tagged as
too short, the device reads trailing garbage as the B protocol
parameters; this is OK as long as the garbage consists of zero bytes,
which it usually does, except after the said error.

Another change we have taken into use is to send an explicit Q.850
"normal call clearing" code when a call is ignored using PRI equipment
(specifically AVM T1); the CAPI pseudo-code for ignore, 1, translates
into something at least Ericsson exchanges interpret oddly (message
"this area is not reachable from your number"). NCCLR makes the exchange
give a busy signal, which is the behaviour at least we prefer
(conceivably, the ignore code could be made a sysctl variable).

The attached patch corrects the message length issue. It also includes a
somewhat unpretty solution for the PRI ignore code (if device's number
of channels equals 30, assume PRI and send NCCLR, otherwise send CAPI
ignore). Tested using AVM B1 PCI and T1 PCI.

Submitted by: Juha-Matti Liukkonen <jml@cubical.fi>
Reviewed by: hm
MFC after: 1 month

22 years agoDocumentation
Matthew Dillon [Sun, 21 Oct 2001 06:26:55 +0000 (06:26 +0000)]
Documentation

MFC after: 1 day

22 years agoUse the i386 version of npx.c. It has been merged with the pc98 version.
Bruce Evans [Sun, 21 Oct 2001 06:14:12 +0000 (06:14 +0000)]
Use the i386 version of npx.c.  It has been merged with the pc98 version.

Approved by: nyan
Not tested by: bde

22 years agoSyntax cleanup and documentation, no operational changes.
Matthew Dillon [Sun, 21 Oct 2001 06:12:06 +0000 (06:12 +0000)]
Syntax cleanup and documentation, no operational changes.

MFC after: 1 day

22 years agoMFi386:
Bruce Evans [Sun, 21 Oct 2001 06:05:08 +0000 (06:05 +0000)]
MFi386:
- sys/pc98/pc98/npx.c 1.87 (2001/09/15; author: imp)
  I don't think pc98 has acpi at all, so ifdef the acpi attachments for
  now.

This completes merging sys/pc98/pc98/npx.c into sys/i386/isa/npx.c so
that the former can be removed.

22 years agoMFpc98: fundamental differences. The magic numbers for the i/o port
Bruce Evans [Sun, 21 Oct 2001 05:56:03 +0000 (05:56 +0000)]
MFpc98: fundamental differences.  The magic numbers for the i/o port
and the irq are different for pc98, and are not very well handled (we
use a historical mess of hard-coded values, values from header files
and values from hints).

22 years agoAdd define for the PIB default address and include a reference to
Marcel Moolenaar [Sun, 21 Oct 2001 05:52:54 +0000 (05:52 +0000)]
Add define for the PIB default address and include a reference to
the SDM.

22 years agoMFpc98: all changes in sys/pc98/pc98/npx.c related to FPU_ERROR_BROKEN.
Bruce Evans [Sun, 21 Oct 2001 05:18:30 +0000 (05:18 +0000)]
MFpc98: all changes in sys/pc98/pc98/npx.c related to FPU_ERROR_BROKEN.

- 1.58 (2000/09/01; author: kato)
  Fixed FPU_ERROR_BROKEN code.  It had old-isa code.
- 1.33 (1998/03/09; author: kato)
  Make FPU_ERROR_BROKEN a new-style option.
- 1.7 (1996/10/09; author: asami)
  Make sure FPU is recognized for non-Intel CPUs.

The log for rev.1.7 should have said something like:
Added FPU_ERROR_BROKEN option.  This forces a successful probe for
exception 16, so that hardware with a broken FPU error signal can sort
of work.

22 years agoUpdate to latest 12160 f/w.
Matt Jacob [Sat, 20 Oct 2001 21:47:58 +0000 (21:47 +0000)]
Update to latest 12160 f/w.

MFC after: 1 week