]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years ago* Have m_pulldown() use the new M_WRITABLE() macro in order to determine
bmilekic [Sat, 11 Nov 2000 23:04:15 +0000 (23:04 +0000)]
* Have m_pulldown() use the new M_WRITABLE() macro in order to determine
whether the given ext_buf is shared.

* Have the sf_bufs be setup with the mbuf subsystem using MEXTADD() with the
two new arguments.

Note: m_pulldown() is somewhat crotchy; the added comment explains the
situation.

Reviewed by: jlemon

23 years agoChanged variable killchar to killch and erasechar to erasech to avoid
dg [Sat, 11 Nov 2000 23:03:38 +0000 (23:03 +0000)]
Changed variable killchar to killch and erasechar to erasech to avoid
a name clash with the library functions of the same name (in libncurses).
This problem was masked when building tset shared (the local symbols had
precedence), but caused tset to core dump when it was built -static.

23 years agoChange check for existence of mbuf->m_ext.ext_free to check of new ext_type
bmilekic [Sat, 11 Nov 2000 23:01:44 +0000 (23:01 +0000)]
Change check for existence of mbuf->m_ext.ext_free to check of new ext_type
in order to determine whether the ext_buf is a cluster, or some other type
of storage.

Reviewed by: jlemon

23 years agoCorrect the logic for checking the emptiness of the waiting queue.
deischen [Sat, 11 Nov 2000 22:20:36 +0000 (22:20 +0000)]
Correct the logic for checking the emptiness of the waiting queue.
This fixes a potential problem where the file descriptors would not
be polled causing waiting threads to stay waiting.  Doh!

MFC candidate.

23 years ago* Fix inconsistency between "int" and "num"; as far as I can see they mean
ben [Sat, 11 Nov 2000 19:16:05 +0000 (19:16 +0000)]
* Fix inconsistency between "int" and "num"; as far as I can see they mean
  the same thing in this context.
* Only include one fullstop in the SEE ALSO line.

PR: 22658
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>

23 years agoFix bitrot.
abial [Sat, 11 Nov 2000 16:12:39 +0000 (16:12 +0000)]
Fix bitrot.

23 years agoCorrect description of KERN_PROC. Add description of KERN_PROC_ARGS.
abial [Sat, 11 Nov 2000 16:12:30 +0000 (16:12 +0000)]
Correct description of KERN_PROC. Add description of KERN_PROC_ARGS.

23 years agoAdd basic PCI capability
julian [Sat, 11 Nov 2000 09:49:49 +0000 (09:49 +0000)]
Add basic PCI capability
Not sure how unit numbers are carried across between
PCI and ISA though.. maybe there should be only one devclass between the two?

23 years agoCreate the various required directories if they don't exist.
obrien [Sat, 11 Nov 2000 07:11:36 +0000 (07:11 +0000)]
Create the various required directories if they don't exist.

23 years agoProperly format the SUBTARGET_SWITCHES so that ``gcc -v --help'' prints
obrien [Sat, 11 Nov 2000 04:50:51 +0000 (04:50 +0000)]
Properly format the SUBTARGET_SWITCHES so that ``gcc -v --help'' prints
them out.

PR: 19326
Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>

23 years agoMinimal distribution now gets cropto binaries.
kuriyama [Sat, 11 Nov 2000 02:09:18 +0000 (02:09 +0000)]
Minimal distribution now gets cropto binaries.
This can avoid waring about "no sshd" at booting after installation.

Approved by: jkh

23 years agoIncrease M_MAXBUF so that it's greater than HDLCSIZE
brian [Sat, 11 Nov 2000 01:31:32 +0000 (01:31 +0000)]
Increase M_MAXBUF so that it's greater than HDLCSIZE

23 years agoCreate temporary filenames securely, don't just number them sequentially.
kris [Sat, 11 Nov 2000 00:18:04 +0000 (00:18 +0000)]
Create temporary filenames securely, don't just number them sequentially.

Audited by: eivind, freebsd-audit

23 years agoo Fix a mis-transcription of sef's -STABLE protection fixes--only root
rwatson [Fri, 10 Nov 2000 23:57:48 +0000 (23:57 +0000)]
o Fix a mis-transcription of sef's -STABLE protection fixes--only root
  could debug processes after the commit that introduced the typo.
  Security is good, but security is not always the same as turning things
  off :-).

PR: kern/22711
Obtained from: brooks@one-eyed-alien.net

23 years agoIncrease the size of the mktemp() filename space by dropping the PID from
kris [Fri, 10 Nov 2000 23:27:55 +0000 (23:27 +0000)]
Increase the size of the mktemp() filename space by dropping the PID from
the encoding and using the character set [a-zA-Z0-9]. This gives a total
of 62^6 = 56800235584 possible temporary filenames for the usual default
invocation of 6 X's (compared to as few as 52 possibilities for the
previous algorithm where up to 5 characters were wasted by the PID).

Update some apparently bitrotten comments to reflect reality.

Audited by: eivind, freebsd-audit
Reviewed by: freebsd-current (a while ago)
Originally submitted by: Peter Jeremy <Peter.Jeremy@alcatel.com.au>

23 years agoEnable linux thread support on the alpha. The guts of linux_clone was
gallatin [Fri, 10 Nov 2000 23:04:31 +0000 (23:04 +0000)]
Enable linux thread support on the alpha.  The guts of linux_clone was
mainly cut-n-pasted from the i386 port, except for the method of setting
the child's stack which is the only MD part of this function.

I've tested with the example apps shipped with the linux threads source
code (ex1-ex6) and with several binary builds of Mozilla.

23 years agoSimplify and correct OSF/1 signal handling.
gallatin [Fri, 10 Nov 2000 23:00:54 +0000 (23:00 +0000)]
Simplify and correct OSF/1 signal handling.

- No signal translation is needed.  Our signals match the OSF/1 signals
- an OSF/1 sigset_t is 64 bits.  Make certain to use all 64-bits of it.
  We'd previously only used the lower 32 bits.   This was mostly harmless
  as I don't know of an OSF/1 apps which use any signals > 31.  However,
  the alpha Linux ABI uses the osf/1 signal routines and threaded linux
  apps tyically use signals 32 and 33 to comminicate with the manager
  thread, so it is important we preserve the upper 32-bits.

Reviewed by: marcel (at least in principal)

23 years agoDon't overwrite the filename for KTR_EXTEND with "../../kern/kern_ktr.c".
jhb [Fri, 10 Nov 2000 22:30:44 +0000 (22:30 +0000)]
Don't overwrite the filename for KTR_EXTEND with "../../kern/kern_ktr.c".

23 years agolibgcc now needs to be built earlier in the build.
obrien [Fri, 10 Nov 2000 22:02:06 +0000 (22:02 +0000)]
libgcc now needs to be built earlier in the build.

Submitted by: jdp

23 years agoAxe some unused variables.
jhb [Fri, 10 Nov 2000 21:54:19 +0000 (21:54 +0000)]
Axe some unused variables.

23 years agoFix SMP kernel compiles by #include'ing machine/globals.h to get the
jhb [Fri, 10 Nov 2000 21:52:04 +0000 (21:52 +0000)]
Fix SMP kernel compiles by #include'ing machine/globals.h to get the
cpuid variable.

23 years agoRevert auto-generation. The Alpha port is broken.
marcel [Fri, 10 Nov 2000 21:30:19 +0000 (21:30 +0000)]
Revert auto-generation. The Alpha port is broken.
Syncing with it is wrong.

23 years agoMinor whitespace nit in a comment.
jhb [Fri, 10 Nov 2000 21:21:20 +0000 (21:21 +0000)]
Minor whitespace nit in a comment.

23 years agoIgnore the INTR_MPSAFE flag when calculating the priority of an interrupt
jhb [Fri, 10 Nov 2000 21:19:14 +0000 (21:19 +0000)]
Ignore the INTR_MPSAFE flag when calculating the priority of an interrupt
thread.

23 years agoremove outdated bugs, we actually do have aio_cancel support
alfred [Fri, 10 Nov 2000 20:57:05 +0000 (20:57 +0000)]
remove outdated bugs, we actually do have aio_cancel support
as well as support for the field aio_offset in the aiocb structure.

23 years agoSync Perforce IDs, add tranceiver state change support, and correct
gibbs [Fri, 10 Nov 2000 20:13:41 +0000 (20:13 +0000)]
Sync Perforce IDs, add tranceiver state change support, and correct
numerous error recovery buglets.

Many thanks to Tor Egge for his assistance in diagnosing problems with
the error recovery code.

aic7xxx.c:
Report missed bus free events using their own sequencer interrupt
code to avoid confusion with other "bad phase" interrupts.

Remove a delay used in debugging.  This delay could only be hit
in certain, very extreme, error recovery scenarios.

Handle transceiver state changes correctly.  You can now
plug an SE device into a hot-plug LVD bus without hanging
the controller.

When stepping through a critical section, panic if we step
more than a reasonable number of times.

After a bus reset, disable bus reset interupts until we either
our first attempt to (re)select another device, or another device
attemps to select us.  This removes the need to busy wait in
kernel for the scsi reset line to fall yet still ensures we
see any reset events that impact the state of either our initiator
or target roles.  Before this change, we had the potential of
servicing a "storm" of reset interrupts if the reset line was
held for a significant amount of time.

Indicate the current sequencer address whenever we dump the
card's state.

aic7xxx.reg:
Transceiver state change register definitions.

Add the missed bussfree sequencer interrupt code.

Re-enable the scsi reset interrupt if it has been
disabled before every attempt to (re)select a device
and when we have been selected as a target.

When being (re)selected, check to see if the selection
dissappeared just after we enabled our bus free interrupt.
If the bus has gone free again, go back to the idle loop
and wait for another selection.

Note two locations where we should change our behavior
if ATN is still raised.  If ATN is raised during the
presentation of a command complete or disconnect message,
we should ignore the message and expect the target to put
us in msgout phase.  We don't currently do this as it
requires some code re-arrangement so that critical sections
can be properly placed around our handling of these two
events.  Otherwise, we cannot guarantee that the check of
ATN is atomic relative to our acking of the message in
byte (the kernel could assert ATN).

Only set the IDENTIFY_SEEN flag after we have settled
on the SCB for this transaction.  The kernel looks at
this flag before assuming that SCB_TAG is valid.  This
avoids confusion during certain types of error recovery.

Add a critical section around findSCB.  We cannot allow
the kernel to remove an entry from the disconnected
list while we are traversing it.  Ditto for get_free_or_disc_scb.

aic7xxx_freebsd.c:
Only assume that SCB_TAG is accurate if IDENTIFY_SEEN is
set in SEQ_FLAGS.

Fix a typo that caused us to execute some code for the
non-SCB paging case when paging SCBs.  This only occurred
during error recovery.

23 years agoSync perforce IDs.
gibbs [Fri, 10 Nov 2000 19:54:17 +0000 (19:54 +0000)]
Sync perforce IDs.

23 years agoFix passwd entry `prototypes' in compat mode. I broke this in revision
nectar [Fri, 10 Nov 2000 19:11:14 +0000 (19:11 +0000)]
Fix passwd entry `prototypes' in compat mode.  I broke this in revision
1.55 when importing nsswitch from NetBSD.

Reported by: Naoki Kobayashi <shibata@geo.titech.ac.jp>

23 years agoNew release notes documenting: thread library enhancements, chflags(1)
bmah [Fri, 10 Nov 2000 18:01:57 +0000 (18:01 +0000)]
New release notes documenting:  thread library enhancements, chflags(1)
move from /usr/bin to /bin, and CSMG_* macros fix.

23 years agoAvoid use of direct troff requests in mdoc(7) manual pages.
ru [Fri, 10 Nov 2000 17:46:15 +0000 (17:46 +0000)]
Avoid use of direct troff requests in mdoc(7) manual pages.

23 years agoRemove SMP kernel config note that wasn't really applicable to the alpha.
bmah [Fri, 10 Nov 2000 17:37:12 +0000 (17:37 +0000)]
Remove SMP kernel config note that wasn't really applicable to the alpha.

Submitted by: obrien

23 years agoNow almost all Ethernet drivers support bridging.
archie [Fri, 10 Nov 2000 16:58:13 +0000 (16:58 +0000)]
Now almost all Ethernet drivers support bridging.

Noticed by: gallatin

23 years agoAdd comment about a requirement in using a 64-bit `long' on i386.
obrien [Fri, 10 Nov 2000 16:56:38 +0000 (16:56 +0000)]
Add comment about a requirement in using a 64-bit `long' on i386.

23 years agoLink with libgcc_pic when building shared objects.
obrien [Fri, 10 Nov 2000 16:54:45 +0000 (16:54 +0000)]
Link with libgcc_pic when building shared objects.
(note we should not just use GCC's default LIBGCC_SPEC as it doesn't use
the PIC version when linking shared)

Recomended by: jdp
PR: 21983

23 years agoDocument that the 3c905C-TX is supported aside from Dell equipment.
asmodai [Fri, 10 Nov 2000 15:35:37 +0000 (15:35 +0000)]
Document that the 3c905C-TX is supported aside from Dell equipment.

23 years agoDefine a new special type: buildopts.
joe [Fri, 10 Nov 2000 15:21:37 +0000 (15:21 +0000)]
Define a new special type: buildopts.

This allows build flags to be specified for a particular program from
within the crunch.conf file, eg:

prog ppp
special ppp buildopts -DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM

This adds '-DNOKLDLOAD -DNOINET6 -DNONAT -DNOATM' to make targets
related to ppp when determining which object files to build and
when calculating dependencies and building the targets.

23 years agoQuick fix for not writing group descriptor group, inode bitmaps or
bde [Fri, 10 Nov 2000 14:54:15 +0000 (14:54 +0000)]
Quick fix for not writing group descriptor group, inode bitmaps or
block bitmaps before unmount() completes.  They were written using
bdwrite(), so they were normally written less than 32 seconds after
unmount(), but this is too late if the media is removed or the system
is rebooted soon after unmount().  sync()ing before unmount() didn't
help, because ext2fs uses buggy private caching for these blocks --
it doesn't even bdwrite() them until they are uncached or the filesystem
is unmounted.  sync()ing after unmount() didn't help, because sync()
only applies to (vnodes for) mounted filesystems.

PR: 22726

23 years agoFixed typo: .ar -> .Ar.
ru [Fri, 10 Nov 2000 14:40:50 +0000 (14:40 +0000)]
Fixed typo: .ar -> .Ar.

23 years agoThe fe driver does not support pnp devices.
nyan [Fri, 10 Nov 2000 14:05:47 +0000 (14:05 +0000)]
The fe driver does not support pnp devices.

23 years agoadd Melco WLI-PCM
sanpei [Fri, 10 Nov 2000 13:02:38 +0000 (13:02 +0000)]
add Melco WLI-PCM

23 years agoadd Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
sanpei [Fri, 10 Nov 2000 12:43:49 +0000 (12:43 +0000)]
add Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
and this PC-Card has function ID as modem, pccard.conf entry
is not needed.

Submitted by: (Roger Hardiman <roger@freebsd.org>)

23 years agoAdd MELCO IGM-PCM56KH
sanpei [Fri, 10 Nov 2000 12:38:21 +0000 (12:38 +0000)]
Add MELCO IGM-PCM56KH

Submitted by: HIDETOSHI Imai <hidepin@infonets.hiroshima-u.ac.jp>
bsd-nomads:14735

23 years agoadd Xircom 10/100 Network PC Card adapter.(rev.1.149)
sanpei [Fri, 10 Nov 2000 12:35:26 +0000 (12:35 +0000)]
add Xircom 10/100 Network PC Card adapter.(rev.1.149)

add BUFFALO LPC3-CLX

Submitted by: Takashi Ikeda <ccikeda@moon.aichi-u.ac.jp>

23 years agoFix to=auto in bootptab.
dirk [Fri, 10 Nov 2000 12:19:53 +0000 (12:19 +0000)]
Fix to=auto in bootptab.

PR: misc/5574
Submitted by: Bart Robinson <lomew@marker.cs.utah.edu>
Reviewed by: wollman

23 years agoFixed typo in description of ENABLE_SUIDPERL.
ru [Fri, 10 Nov 2000 10:46:11 +0000 (10:46 +0000)]
Fixed typo in description of ENABLE_SUIDPERL.

23 years agoMiscellaneous content fixes:
sheldonh [Fri, 10 Nov 2000 10:22:49 +0000 (10:22 +0000)]
Miscellaneous content fixes:

* xref sysctl
* do not mark kern.ipc.mbuf_wait up as a function argument.
* do not mix case of function argument names
* a mbuf -> an mbuf
* if -> whether
* typos

23 years agoWhitespace only: fix hard sentence breaks now, before people really
sheldonh [Fri, 10 Nov 2000 10:08:34 +0000 (10:08 +0000)]
Whitespace only: fix hard sentence breaks now, before people really
get stuck into this page.

23 years agoMake numeric shortcut key behaving correctly in "Installation Media" menu.
kuriyama [Fri, 10 Nov 2000 09:50:22 +0000 (09:50 +0000)]
Make numeric shortcut key behaving correctly in "Installation Media" menu.

Approved by: jkh

23 years agoSet BATCH and PACKAGE_BUILDING to environment before exec()ing pkg_add
jkh [Fri, 10 Nov 2000 09:34:06 +0000 (09:34 +0000)]
Set BATCH and PACKAGE_BUILDING to environment before exec()ing pkg_add
in order to suppress onwonted package interaction.

Submitted by:   steve

23 years agoUse the documented (and historical) defaults. Centralize the decision logic
des [Fri, 10 Nov 2000 08:43:40 +0000 (08:43 +0000)]
Use the documented (and historical) defaults. Centralize the decision logic
in order to avoid this bug in the future.

Submitted by: se

23 years agoBeginnings of the powerpc machine dependant includes.
benno [Fri, 10 Nov 2000 08:06:50 +0000 (08:06 +0000)]
Beginnings of the powerpc machine dependant includes.

Reviewed by: obrien
Obtained from: NetBSD

23 years agoOpenFirmware/PowerPC loader, part 2.
benno [Fri, 10 Nov 2000 06:39:58 +0000 (06:39 +0000)]
OpenFirmware/PowerPC loader, part 2.

As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts
and talks to BOOTP/NFS servers.

(main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision
 history)

Reviewed by: obrien

23 years agoGive the network device a print method.
benno [Fri, 10 Nov 2000 06:37:43 +0000 (06:37 +0000)]
Give the network device a print method.

Reviewed by: obrien

23 years agoOpenFirmware/PowerPC loader, part 2.
benno [Fri, 10 Nov 2000 06:29:42 +0000 (06:29 +0000)]
OpenFirmware/PowerPC loader, part 2.
This brings the loader up to the point where I can compile it under
NetBSD/macppc and have it boot, interact and talk to NFS servers.

sys/boot/ofw/libofw/main.c has been deleted (it has no revision history) and
replaced with sys/boot/ofw/common/main.c

Reviewed by: obrien

23 years agoDisable the end guard for now.
benno [Fri, 10 Nov 2000 06:15:24 +0000 (06:15 +0000)]
Disable the end guard for now.

The test for failing the end guard was always triggering (and was reported as
such in compiler warnings).  This is a temporary band-aid until I can work
out what's really going on.

Reviewed by: obrien

23 years agoMake setjmp work our way, as opposed to NetBSD's.
benno [Fri, 10 Nov 2000 06:10:28 +0000 (06:10 +0000)]
Make setjmp work our way, as opposed to NetBSD's.

This file needs commenting still.

Submitted by: luoqi
Reviewed by: obrien

23 years agoDon't always enable debugging for the network device code.
benno [Fri, 10 Nov 2000 06:06:55 +0000 (06:06 +0000)]
Don't always enable debugging for the network device code.

Reviewed by: obrien

23 years agoInstall `chflags' in the root partition, NOT /usr where it is not available
obrien [Fri, 10 Nov 2000 05:31:52 +0000 (05:31 +0000)]
Install `chflags' in the root partition, NOT /usr where it is not available
in single user mode.

23 years agoReplace non-existent 'mtx_t' typedef'd type with 'struct mtx'.
jhb [Fri, 10 Nov 2000 01:51:55 +0000 (01:51 +0000)]
Replace non-existent 'mtx_t' typedef'd type with 'struct mtx'.

23 years agoSync gdb thread support with recent changes to the threads library.
deischen [Fri, 10 Nov 2000 00:36:01 +0000 (00:36 +0000)]
Sync gdb thread support with recent changes to the threads library.

Approved by: obrien

23 years agoManpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
alfred [Thu, 9 Nov 2000 23:34:39 +0000 (23:34 +0000)]
Manpage incorrectly states that STAILQ_REMOVE_HEAD takes an arg
called 'elm'.  It doesn't take an arg 'elm', it simply removes the
element at the head of the list.

23 years agoUpdate this patch to apply to the latest XFree86 3.x port.
jhb [Thu, 9 Nov 2000 21:26:28 +0000 (21:26 +0000)]
Update this patch to apply to the latest XFree86 3.x port.

23 years agoCorrect some old comments.
jhb [Thu, 9 Nov 2000 21:25:58 +0000 (21:25 +0000)]
Correct some old comments.

23 years agoAdd in a few extra documents built by the latest XFree86 3.x port.
jhb [Thu, 9 Nov 2000 21:22:42 +0000 (21:22 +0000)]
Add in a few extra documents built by the latest XFree86 3.x port.

23 years agoAdd more sample code having read the daemnnews article (August 2000)
julian [Thu, 9 Nov 2000 18:55:44 +0000 (18:55 +0000)]
Add more sample code having read the daemnnews article (August 2000)

23 years agobackout my previous commit (KAME PR 296). foo != TUNNEL will
ume [Thu, 9 Nov 2000 17:55:17 +0000 (17:55 +0000)]
backout my previous commit (KAME PR 296).  foo != TUNNEL will
forbid "ANY" SA from being used for tnunel mode.

Reported by: Chris Cason <casonc@netplex.aussie.org>

23 years agoAdd missing delay after card reset.
pb [Thu, 9 Nov 2000 17:25:49 +0000 (17:25 +0000)]
Add missing delay after card reset.

This fixes randoms lockups when probing the card at boot time, when
more than 1 similar card is found in the machine.

Reviewed by: semenu

23 years agoFix typo in END macro (END'ed enable twice)
mjacob [Thu, 9 Nov 2000 17:01:21 +0000 (17:01 +0000)]
Fix typo in END macro (END'ed enable twice)
PR: 22713
Submitted by: Bernd Walter <ticso@cicely5.cicely.de>

23 years agoFound remaining -kthread option that [sort of] supported using the
obrien [Thu, 9 Nov 2000 15:50:22 +0000 (15:50 +0000)]
Found remaining -kthread option that [sort of] supported using the
LinuxThreads port.  Dike it out as it was removed from freebsd.h on
19-July-2000 as this option depended on bits not part of the base system
and required people to install the LinuxThreads port in a manner
non-consistent with the workings of our Ports Collection.

Requested by: jasone

23 years agoFix a reference to ``Standard C'' to refer specifically to the 1990 version;
wollman [Thu, 9 Nov 2000 15:42:05 +0000 (15:42 +0000)]
Fix a reference to ``Standard C'' to refer specifically to the 1990 version;
the requirement it describes is not in C99.

23 years agoFix i4b netgraph interface to not kernel panic at boot time
hm [Thu, 9 Nov 2000 12:27:31 +0000 (12:27 +0000)]
Fix i4b netgraph interface to not kernel panic at boot time
Make code compile and work for FreeBSD 4.x as well as FreeBSD 5.x
Submitted by: Michael Reifenberger <root@nihil.plaut.de>

23 years agoImplement a trivial but effective interface for obtaining the kernel's
msmith [Thu, 9 Nov 2000 10:21:23 +0000 (10:21 +0000)]
Implement a trivial but effective interface for obtaining the kernel's
device tree and resource manager contents.  This is the kernel side of
the upcoming libdevinfo, which will expose this information to userspace
applications in a trivial fashion.

Remove the now-obsolete DEVICE_SYSCTLS code.

23 years agoRemove the block/char device distinction. badsect only worked on bdevs,
adrian [Thu, 9 Nov 2000 09:03:19 +0000 (09:03 +0000)]
Remove the block/char device distinction. badsect only worked on bdevs,
and then mapped /dev/foo into /dev/rfoo to get to the character device.
This isn't needed anymore.

Reviewed by: ps

23 years agoMake MINSIGSTKSZ machine dependent, and have the sigaltstack
marcel [Thu, 9 Nov 2000 08:25:48 +0000 (08:25 +0000)]
Make MINSIGSTKSZ machine dependent, and have the sigaltstack
syscall compare against a variable sv_minsigstksz in struct
sysentvec as to properly take the size of the machine- and
ABI dependent struct sigframe into account.

The SVR4 and iBCS2 modules continue to have a minsigstksz of
8192 to preserve behavior. The real values (if different) are
not known at this time. Other ABI modules use the real
values.

The native MINSIGSTKSZ is now defined as follows:

Arch MINSIGSTKSZ
---- -----------
alpha     4096
i386     2048
ia64    12288

Reviewed by: mjacob
Suggested by: bde

23 years agoSync with Alpha:
marcel [Thu, 9 Nov 2000 07:27:55 +0000 (07:27 +0000)]
Sync with Alpha:
Do not use sysent.c, proto.h and syscall.h in source tree;
use auto-generated versions.

23 years agoMove old aml interpreter code to amldb/aml/. This will be used for our
iwasaki [Thu, 9 Nov 2000 06:24:45 +0000 (06:24 +0000)]
Move old aml interpreter code to amldb/aml/.  This will be used for our
reference and comparison with ACPICA aml interpreter's behavior.

23 years agoFarewell our code. We will switch acpica code from Intel.
takawata [Thu, 9 Nov 2000 05:09:52 +0000 (05:09 +0000)]
Farewell our code. We will switch acpica code from Intel.
This code has help us comprehence ACPI spec .

Contributors of this code is as follows(except for FreeBSD commiter):
Yasuo Yokoyama,
Munehiro Matsuda,
and ALL acpi-jp@jp.freebsd.org people.

Thanks.

R.I.P.

23 years agoDon't needlessly poll file descriptors when there are no
deischen [Thu, 9 Nov 2000 05:08:26 +0000 (05:08 +0000)]
Don't needlessly poll file descriptors when there are no
file descriptors needing to be polled (Doh!).  Reported
by Dan Nelson <dnelson@emsphone.com>.

Don't install and start the scheduling timer until the
first thread is created.  This prevents the overhead of
having a periodic scheduling signal in a single threaded
program.  Reported by Dan Nelson <dnelson@emsphone.com>.

Allow builtin longjmps out of application installed
signal handlers without the need perform any post-handler
cleanup:

  o Change signal handling to save the threads interrupted
    context on the stack.  The threads current context is
    now always stored in the same place (in the pthread).
    If and when a signal handler returns, the interrupted
    context is copied back to the storage area in the pthread.

  o Before calling invoking a signal handler for a thread,
    back the thread out of any internal waiting queues
    (mutex, CV, join, etc) to which it belongs.

Rework uthread_info.c a bit to make it easier to change
the format of a thread dump.

Use an alternal signal stack for the thread library's
signal handler.  This allows us to fiddle with the main
threads stack without fear of it being in use.

Reviewed by: jasone

23 years agoChange .Os FreeBSD 5.0 to .Os FreeBSD.
asmodai [Thu, 9 Nov 2000 05:05:17 +0000 (05:05 +0000)]
Change .Os FreeBSD 5.0 to .Os FreeBSD.

PR: 22684
Submitted by: Akinori YAMADA <yamada-a@nextcom.co.jp>

23 years agoPrevent the thread-safe version of kevent from getting
deischen [Thu, 9 Nov 2000 05:00:06 +0000 (05:00 +0000)]
Prevent the thread-safe version of kevent from getting
into an infinite loop when a timeout value is supplied
and the timeout expires.

Reported by: Dan Nelson <dnelson@emsphone.com>
Reviewed by: jasone, jlemon

23 years agoSince the 'when built' phrase is talking about the 'source file' we
steve [Thu, 9 Nov 2000 02:31:02 +0000 (02:31 +0000)]
Since the 'when built' phrase is talking about the 'source file' we
should be using the word 'creates' instead.

23 years agoback out 1.66 -- the Elfxx_Brandinfo compat_3_brand field doesn't exist
gallatin [Thu, 9 Nov 2000 01:53:05 +0000 (01:53 +0000)]
back out 1.66 -- the Elfxx_Brandinfo compat_3_brand field doesn't exist
in -current

23 years agoEliminate inconsistency where a value that contains only whitespace
murray [Thu, 9 Nov 2000 00:28:22 +0000 (00:28 +0000)]
Eliminate inconsistency where a value that contains only whitespace
confuses the parser.

Approved by: jkh

23 years ago* Reduce diffs to RELENG_4 by specifying a full path to sysctl
dougb [Thu, 9 Nov 2000 00:19:21 +0000 (00:19 +0000)]
* Reduce diffs to RELENG_4 by specifying a full path to sysctl
* Adjust a little whitespace
* Make the distrib-dirs/mtree on DESTDIR conditional on user
  actually specifying a DESTDIR. This seemed like a safe
  way to get the right directories and permissions in the
  installed tree since 'make installworld' does the same
  thing, but in practice too many people have custom hacks
  that we should leave unmolested. Still need to find a way
  to deal with 'install -d' and permissions on nonexistent
  directories in the middle of the path, but this is at
  least no worse that it was before.

PR: bin/22661

23 years agoHaving figured out a bit more of the new-bus puzzle
julian [Wed, 8 Nov 2000 21:54:28 +0000 (21:54 +0000)]
Having figured out a bit more of the new-bus puzzle
I have added support for finding non-PNP devices to this
sample loadable ISA driver.
PCI support will come later.

If someone with a clue about newbus were to look it over it would be
really cool.

23 years agoMore paranoia against overflows
eivind [Wed, 8 Nov 2000 21:53:05 +0000 (21:53 +0000)]
More paranoia against overflows

23 years agoRearrange the timeouts in the reset code a bit, some ATAPI devices
sos [Wed, 8 Nov 2000 21:25:43 +0000 (21:25 +0000)]
Rearrange the timeouts in the reset code a bit, some ATAPI devices
are picky about this.

23 years agoUpdate usage().
obrien [Wed, 8 Nov 2000 20:41:35 +0000 (20:41 +0000)]
Update usage().

Submitted by: nectar

23 years agoHopefully solve the lost slave problem.
sos [Wed, 8 Nov 2000 19:31:39 +0000 (19:31 +0000)]
Hopefully solve the lost slave problem.

23 years agoClean this is up a bit for multiple MIDs... We can figure out which MID
mjacob [Wed, 8 Nov 2000 18:48:21 +0000 (18:48 +0000)]
Clean this is up a bit for multiple MIDs... We can figure out which MID
for an interrupt to enable/disable from the vector (and GID too, if we
had multiple GIDs)- so, stupidly for now, search for the right mcpcia's
softc so we have the right base address for the bridge CSR to apply
IRQ bit-twiddle's to. Alas- this doesn't yet allow us to run, but it's
the right direction.

23 years agoAdd special quirk for this ancient Viper drive. This is all creeping
mjacob [Wed, 8 Nov 2000 18:37:12 +0000 (18:37 +0000)]
Add special quirk for this ancient Viper drive. This is all creeping
driver bloat -I really *have* to do a quirk table that can be loaded
by the loader.

Submitted by: Hellmuth Michaelis <hm@kts.org>

23 years agoFix password clearing bug which prevented challenge/response from working.
eivind [Wed, 8 Nov 2000 18:36:56 +0000 (18:36 +0000)]
Fix password clearing bug which prevented challenge/response from working.

Reviewed by: jdp

23 years agoFix CMSG and ALIGN macro usage.
asmodai [Wed, 8 Nov 2000 16:59:25 +0000 (16:59 +0000)]
Fix CMSG and ALIGN macro usage.
Previously we had to include <machine/param.h> or <sys/param.h> bogusly
due to the fact that <sys/socket.h> CMSG macros needed the ALIGN macro,
which was defined in param.h.  However, including param.h was a disaster
for namespace pollution.
This solution, as contributed by shin a while ago, fixes it elegantly
by wrapping the definitions around some namespace pollution preventer
definitions.
This patch was long overdue.
This should allow any network programmer to use <sys/socket.h> as
before.

PR: 19971, 20530
Submitted by: Martin Kaeske <MartinKaeske@lausitz.net>
Mark Andrews <Mark.Andrews@nominum.com>
Patch submitted by: shin
Reviewed by: bde

23 years agoDocument DISABLE_PSE.
asmodai [Wed, 8 Nov 2000 15:53:49 +0000 (15:53 +0000)]
Document DISABLE_PSE.

23 years agoadd a couple ESS Technology products(pci device id only).
sanpei [Wed, 8 Nov 2000 14:43:40 +0000 (14:43 +0000)]
add a couple ESS Technology products(pci device id only).

FreeBSD src/sys/dev/sound/pcm/solo.c
NetBSD syssrc/sys/dev/pci/pcidevs
OpenBSD src/sys/dev/pci/pcidevs

23 years agoadd Texas Instruments TSB12LV22 OHCI IEEE 1394 Host Controller
sanpei [Wed, 8 Nov 2000 14:04:54 +0000 (14:04 +0000)]
add Texas Instruments TSB12LV22 OHCI IEEE 1394 Host Controller

Obtained from: OpenBSD  src/sys/dev/pci/pcidevs

23 years agoadd Aureal Inc. AU8820/AU8830 Audio controller
sanpei [Wed, 8 Nov 2000 13:33:23 +0000 (13:33 +0000)]
add Aureal Inc. AU8820/AU8830 Audio controller

Obtained from: OpenBSD src/sys/dev/pci/pcidevs

23 years agoDocument CLUSTERDEBUG, CPU_UPGRADE_HW_CACHE and LOCKF_DEBUG.
asmodai [Wed, 8 Nov 2000 12:14:06 +0000 (12:14 +0000)]
Document CLUSTERDEBUG, CPU_UPGRADE_HW_CACHE and LOCKF_DEBUG.

23 years agoFix two typo's: teh -> the, ther -> there.
asmodai [Wed, 8 Nov 2000 12:08:53 +0000 (12:08 +0000)]
Fix two typo's: teh -> the, ther -> there.

23 years agoFix some further english grammar and typo's.
asmodai [Wed, 8 Nov 2000 12:00:05 +0000 (12:00 +0000)]
Fix some further english grammar and typo's.