]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoDon't assume ai0->ai_canonname will always be filled in. Print the
wollman [Sun, 24 Sep 2000 01:54:49 +0000 (01:54 +0000)]
Don't assume ai0->ai_canonname will always be filled in.  Print the
user-supplied host name if we can't get a canonical name.

Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)

23 years agoAdd a KASSERT() to catch instances where the mutex that we pass in to
jhb [Sun, 24 Sep 2000 00:33:51 +0000 (00:33 +0000)]
Add a KASSERT() to catch instances where the mutex that we pass in to
msleep() are recursed.

Suggested by: cp

23 years agoUse m_dup() instead of m_copypacket() for the time being. Not all
archie [Sat, 23 Sep 2000 23:22:27 +0000 (23:22 +0000)]
Use m_dup() instead of m_copypacket() for the time being. Not all
of the code in the kernel properly checks for read-onlyness before
writing into an mbuf data area. When that code is fixed, the m_dup()
can go back to being m_copypacket().

Requested by: nsayer

23 years agoAdd forgotten -n option to SYNOPSIS section
alfred [Sat, 23 Sep 2000 22:38:56 +0000 (22:38 +0000)]
Add forgotten -n option to SYNOPSIS section

Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>

23 years agoadd feeder_fmt.c
cg [Sat, 23 Sep 2000 22:21:39 +0000 (22:21 +0000)]
add feeder_fmt.c

23 years agoprepare for adding a rate conversion feeder.
cg [Sat, 23 Sep 2000 22:11:32 +0000 (22:11 +0000)]
prepare for adding a rate conversion feeder.

move format conversion feeders to feeder_fmt.c - no pertinent history so no
repo-copy.

23 years agoonly probe mandatory channels on known bad codecs
cg [Sat, 23 Sep 2000 22:00:09 +0000 (22:00 +0000)]
only probe mandatory channels on known bad codecs

23 years agoMake ip6fw as loadable module.
ume [Sat, 23 Sep 2000 18:50:59 +0000 (18:50 +0000)]
Make ip6fw as loadable module.

23 years agoEnable the snd_maestro module and have the snd_driver module depend on it.
jhb [Sat, 23 Sep 2000 17:35:37 +0000 (17:35 +0000)]
Enable the snd_maestro module and have the snd_driver module depend on it.

Approved by: cg

23 years agoEnable the ESS Maesto driver.
jhb [Sat, 23 Sep 2000 17:10:40 +0000 (17:10 +0000)]
Enable the ESS Maesto driver.

Approved by: cg

23 years agoPrint "Enable PC-card." before anything else is done with
alex [Sat, 23 Sep 2000 17:09:04 +0000 (17:09 +0000)]
Print "Enable PC-card." before anything else is done with
PC-card stuff.  Also print a NEWLINE (!!) after that.

I'm driving mad each time when I see messages related to pccard before
"Enable PC-card." and particulary when I see
"Doing initial network setup". on the same line w/o a break.

23 years agoDon't touch ai_canonname without checking NULL. Current
ume [Sat, 23 Sep 2000 15:40:12 +0000 (15:40 +0000)]
Don't touch ai_canonname without checking NULL.  Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by: kris

23 years agoMove MAXCPU from machine/smp.h to machine/param.h to fix breakage
ps [Sat, 23 Sep 2000 12:18:06 +0000 (12:18 +0000)]
Move MAXCPU from machine/smp.h to machine/param.h to fix breakage
with !SMP kernels.  Also, replace NCPUS with MAXCPU since they are
redundant.

23 years agoThe 'pci' device is not needed for SMALL floppy, but the 'pcic' device is
nyan [Sat, 23 Sep 2000 07:53:01 +0000 (07:53 +0000)]
The 'pci' device is not needed for SMALL floppy, but the 'pcic' device is
needed.

23 years agoMerged from sys/i386/i386/machdep.c revision 1.411.
kato [Sat, 23 Sep 2000 06:38:59 +0000 (06:38 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.411.

23 years agoMerged from sys/i386/conf/GENERIC revision 1.279.
kato [Sat, 23 Sep 2000 06:38:04 +0000 (06:38 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.279.

23 years agoMerged from sys/conf/options.i386 revision 1.139.
kato [Sat, 23 Sep 2000 06:36:46 +0000 (06:36 +0000)]
Merged from sys/conf/options.i386 revision 1.139.

23 years agoAdded the pcn device into the list for SMALL kernel.
kato [Sat, 23 Sep 2000 06:20:59 +0000 (06:20 +0000)]
Added the pcn device into the list for SMALL kernel.

23 years agoAdd 'setupstate' to RAID-10 example.
grog [Sat, 23 Sep 2000 00:18:31 +0000 (00:18 +0000)]
Add 'setupstate' to RAID-10 example.

Tripped-over-by: Nicole Harrington <nicole@picturetrail.com>

23 years agoDon't include proc.h now that mutex.h does it for us.
msmith [Sat, 23 Sep 2000 00:12:31 +0000 (00:12 +0000)]
Don't include proc.h now that mutex.h does it for us.

23 years agoDon't #include <sys/proc.h>, since machine/mutex.h does it now.
jasone [Sat, 23 Sep 2000 00:01:37 +0000 (00:01 +0000)]
Don't #include <sys/proc.h>, since machine/mutex.h does it now.

23 years ago#include <sys/proc.h> in order to get curproc. This seems to be the lesser
jasone [Sat, 23 Sep 2000 00:00:50 +0000 (00:00 +0000)]
#include <sys/proc.h> in order to get curproc.  This seems to be the lesser
of two evils; the greater evil is requiring sys/proc.h to be included
before including machine/mutex.h.

23 years agoadd ``xe'' driver
sanpei [Fri, 22 Sep 2000 23:48:27 +0000 (23:48 +0000)]
add ``xe'' driver

Approved by: jkh

23 years agoRemove the NCPU, NAPIC, NBUS, NINTR config options. Make NAPIC,
ps [Fri, 22 Sep 2000 23:40:10 +0000 (23:40 +0000)]
Remove the NCPU, NAPIC, NBUS, NINTR config options.  Make NAPIC,
NBUS, NINTR dynamic and set NCPU to a maximum of 16 under SMP.

Reviewed by: peter

23 years agoo Introduce vn_extattr_rm(), a helper function in the style of
rwatson [Fri, 22 Sep 2000 22:33:13 +0000 (22:33 +0000)]
o Introduce vn_extattr_rm(), a helper function in the style of
  vn_extattr_get() and vn_extattr_set().  vn_extattr_rm() removes the
  specified extended attribute from a vnode, authorizing the change as
  the kernel (NULL cred).

Obtained from: TrustedBSD Project

23 years agoAdd Perforce RCSIDs for easy revision correlation to my local tree.
gibbs [Fri, 22 Sep 2000 22:19:55 +0000 (22:19 +0000)]
Add Perforce RCSIDs for easy revision correlation to my local tree.

Add support for constructing a table of critical section regions in
the firmware image.  The kernel driver will soon have support for
single stepping the sequencer outside of a critical region prior
to starting exception handling.

23 years agoAdd Perforce RCSIDs for easy revision correlation to my local tree.
gibbs [Fri, 22 Sep 2000 22:18:05 +0000 (22:18 +0000)]
Add Perforce RCSIDs for easy revision correlation to my local tree.

ahc_pci.c:
Bring back the AHC_ALLOW_MEMIO option at least until the
memory mapped I/O problem on the SuperMicro 370DR3 is
better understood.

aic7xxx.c:
If we see a spurious SCSI interrupt, attempt to clear it and
continue by unpausing the sequencer.

Change the interface to ahc_send_async().  Some async messages
need to be broadcast to all the luns of a target or all the
targets of a bus.  This is easier to achieve by passing explicit
channel, target, and lun parameters instead of attempting to
construct a device info struct to match.

Filter the sync parameters for the PPR message in exactly the
same way we do for an old fashioned SDTR message.

Correct some typos and correct a panic message.

Handle rejected PPR messages.

In ahc_handle_msg_reject(), let ahc_build_transfer_msg() build
any additional transfer messages instead of doing this inline.

aic7xxx.h:
Increase the size of both msgout_buf and msgin_buf to
better accomodate PPR messages.

aic7xxx_freebsd.c:
Update for change in ahc_send_async() parameters.

aic7xxx_freebsd.h
Update for change in ahc_send_async() parameters.

Honor AHC_ALLOW_MEMIO.

aic7xxx_pci.c:
Check the error register before going into full blown PCI
interrupt handling.  This avoids a few costly PCI configuration
space reads when we run our PCI interrupt handler because another
device sharing our interrupt line is more active than we are.

Also unpause the sequencer after processing a PCI interrupt.

23 years agoUse quoted includes instead of full path references inside the aic7xxx
gibbs [Fri, 22 Sep 2000 22:06:44 +0000 (22:06 +0000)]
Use quoted includes instead of full path references inside the aic7xxx
sequencer files.  Different platforms place the included files in different
locations and it is easier to modify the include path passed as arguments
to the assembler than adding #ifdef support to the assembler.

Remove a spurious 'nop' instruction.

23 years agoUse quoted includes instead of full path references inside the aic7xxx
gibbs [Fri, 22 Sep 2000 22:06:28 +0000 (22:06 +0000)]
Use quoted includes instead of full path references inside the aic7xxx
sequencer files.  Different platforms place the included files in different
locations and it is easier to modify the include path passed as arguments
to the assembler than adding #ifdef support to the assembler.

23 years agoRemove duplicate FreeBSD RCSID.
gibbs [Fri, 22 Sep 2000 22:04:17 +0000 (22:04 +0000)]
Remove duplicate FreeBSD RCSID.

23 years agoUpdate the mptable manpage to remove mention of kernel options (which
msmith [Fri, 22 Sep 2000 21:10:41 +0000 (21:10 +0000)]
Update the mptable manpage to remove mention of kernel options (which
there aren't going to be shortly).

23 years agoStop printing out the Nfoo options help, since these tunables are about to
msmith [Fri, 22 Sep 2000 21:07:24 +0000 (21:07 +0000)]
Stop printing out the Nfoo options help, since these tunables are about to
go away.

23 years agoOne whack at the idea of having "security profiles" which select the
jkh [Fri, 22 Sep 2000 19:12:41 +0000 (19:12 +0000)]
One whack at the idea of having "security profiles" which select the
appropriate(?) defaults for "low", "medium" and "high" security
environments.  Medium is basically what we currently have with a little
seat-belt tightening where it made sense.  Low is the same as medium but
without the tightening.  High is positively fascist with nothing turned
on by default and an automatic call to 911 if it can find a modem.

23 years agoTweak the aue driver so that the homePNA PHYs will be detected and
wpaul [Fri, 22 Sep 2000 18:53:05 +0000 (18:53 +0000)]
Tweak the aue driver so that the homePNA PHYs will be detected and
attached by the pnaphy driver. This seems to work fine with my sample
ADMtek adapter (which has both 10/100 ethernet and homePNA connectors
and hardware).

23 years agoRemove unnecessary #include's as reported by phk's script.
archie [Fri, 22 Sep 2000 16:51:14 +0000 (16:51 +0000)]
Remove unnecessary #include's as reported by phk's script.

23 years agoo Minor whitespace, comment cleanups
rwatson [Fri, 22 Sep 2000 16:36:04 +0000 (16:36 +0000)]
o Minor whitespace, comment cleanups
o Removal of unneeded enum
o Removal of commented out debugging printf()'s.

Obtained from: TrustedBSD Project

23 years agoThis is a very obsolete example file for wormcontrol, which is no
asmodai [Fri, 22 Sep 2000 15:05:04 +0000 (15:05 +0000)]
This is a very obsolete example file for wormcontrol, which is no
longer present in the tree.

PR: 21005
Submitted by: Michael Harnois <mdharnois@home.com>

23 years agoDocument which RFC introduced CMSG_SPACE() and CMSG_LEN().
asmodai [Fri, 22 Sep 2000 14:43:08 +0000 (14:43 +0000)]
Document which RFC introduced CMSG_SPACE() and CMSG_LEN().

23 years agoDocument 'libusb' option for .Lb macro
phantom [Fri, 22 Sep 2000 14:36:06 +0000 (14:36 +0000)]
Document 'libusb' option for .Lb macro

23 years agoMerged from sys/isa/sio.c revision 1.315.
kato [Fri, 22 Sep 2000 12:56:55 +0000 (12:56 +0000)]
Merged from sys/isa/sio.c revision 1.315.

23 years agoBetter documentation of append mode. This should have gone in -current
eivind [Fri, 22 Sep 2000 12:55:36 +0000 (12:55 +0000)]
Better documentation of append mode.  This should have gone in -current
directly.   Now also .Xr fseek reference.

Prodded by: sheldonh

23 years agoMerged from sys/i386/i386/machdep.c revision 1.410.
kato [Fri, 22 Sep 2000 12:54:50 +0000 (12:54 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.410.

23 years agoMerged from sys/i386/conf/GENERIC revision 1.278.
kato [Fri, 22 Sep 2000 12:53:49 +0000 (12:53 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.278.

23 years agoMerged from sys/boot/i386/loader/main.c revision 1.23.
kato [Fri, 22 Sep 2000 12:51:22 +0000 (12:51 +0000)]
Merged from sys/boot/i386/loader/main.c revision 1.23.

23 years agoMerged from sys/boot/i386/libi386/Makefile revision 1.19.
kato [Fri, 22 Sep 2000 12:49:15 +0000 (12:49 +0000)]
Merged from sys/boot/i386/libi386/Makefile revision 1.19.

23 years agoStyle fixes:
eivind [Fri, 22 Sep 2000 12:22:36 +0000 (12:22 +0000)]
Style fixes:
* Add lots of comments
* Convert a couple of assertions to KASSERT()
* Minimal whitespace & misapplied {} fixes
* Convert #if 0 to #if COMPILING_LINT for code we presently do not
  support, but want to keep available.

Reviewed by: adrian, markm

23 years agoRemove addalias() prototype (staticized in kern/vfs_subr.c)
eivind [Fri, 22 Sep 2000 11:54:58 +0000 (11:54 +0000)]
Remove addalias() prototype (staticized in kern/vfs_subr.c)

23 years agoStaticize addalias()
eivind [Fri, 22 Sep 2000 11:54:48 +0000 (11:54 +0000)]
Staticize addalias()

23 years agoFix comment about the bsd-api-new-02a draft. This has been superceded
asmodai [Fri, 22 Sep 2000 10:52:00 +0000 (10:52 +0000)]
Fix comment about the bsd-api-new-02a draft.  This has been superceded
by RFC 2553.

23 years agoRemoved files not present in v1_15 import.
ru [Fri, 22 Sep 2000 10:05:18 +0000 (10:05 +0000)]
Removed files not present in v1_15 import.

23 years agoRemoved unneeded include files.
nyan [Fri, 22 Sep 2000 09:59:23 +0000 (09:59 +0000)]
Removed unneeded include files.

Submitted by: phk

23 years ago- Wrap functions and variables that aren't used in the alpha console probe
jhb [Fri, 22 Sep 2000 08:42:30 +0000 (08:42 +0000)]
- Wrap functions and variables that aren't used in the alpha console probe
  with #ifndef __alpha__/#endif
- Add function prototypes for functions used during the alpha console
  probe and gdb port setup inside of #ifdef __alpha__/#endif.

23 years agoFix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) on
jhb [Fri, 22 Sep 2000 08:40:05 +0000 (08:40 +0000)]
Fix several 64-bit-ism warnings due to sizeof(int) != sizeof(void *) on
the alpha.

23 years agoRemove atomic_*_{32,64} since they are now inline. If you haven't rebuilt
dfr [Fri, 22 Sep 2000 08:30:59 +0000 (08:30 +0000)]
Remove atomic_*_{32,64} since they are now inline. If you haven't rebuilt
modules since atomic.h was updated, now is the time.

23 years agoRemove the bogus check against "none" for release names (which
jkh [Fri, 22 Sep 2000 08:13:36 +0000 (08:13 +0000)]
Remove the bogus check against "none" for release names (which
really doesn't make any sense, what was I smoking) and allow
the more canonical usage of "any" for either side of the comparison
for release name or architecture (meaning you can also set CD_VERSION=any
in a cdrom.inf file to cause sysinstall to always match it and likewise
with the architecture, if specified).

Sensibly suggested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

23 years agoResurrect documentation of chflags(2)'s SF_ARCHIVED.
rse [Fri, 22 Sep 2000 06:58:22 +0000 (06:58 +0000)]
Resurrect documentation of chflags(2)'s SF_ARCHIVED.

PR: 21428
Reviewed by: ben

23 years agoRemove a forgotten line
brian [Fri, 22 Sep 2000 06:54:28 +0000 (06:54 +0000)]
Remove a forgotten line

Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>

23 years ago"zope language" --> "zope platform".
sobomax [Fri, 22 Sep 2000 06:53:44 +0000 (06:53 +0000)]
"zope language" --> "zope platform".

Requested by: asami

23 years agoAdd french and zope.
asami [Fri, 22 Sep 2000 06:32:55 +0000 (06:32 +0000)]
Add french and zope.

23 years agoAdd ports-french.
asami [Fri, 22 Sep 2000 06:30:38 +0000 (06:30 +0000)]
Add ports-french.

23 years agoFixing a sorting error in teh subsystem list. 7 < 8, not 8 < 7.
jhb [Fri, 22 Sep 2000 05:49:24 +0000 (05:49 +0000)]
Fixing a sorting error in teh subsystem list.  7 < 8, not 8 < 7.

23 years agoTeach MTX_EXIT_RECURSE that the recursion count is a 32-bit integer,
jhb [Fri, 22 Sep 2000 04:30:33 +0000 (04:30 +0000)]
Teach MTX_EXIT_RECURSE that the recursion count is a 32-bit integer,
not a 16-bit one.

23 years agoTypo in comment (decent performances -> decent performance).
wpaul [Fri, 22 Sep 2000 04:03:10 +0000 (04:03 +0000)]
Typo in comment (decent performances -> decent performance).

23 years agoMake pcn_miibus_readreg() latch onto the first PHY that it finds (as
wpaul [Fri, 22 Sep 2000 03:49:12 +0000 (03:49 +0000)]
Make pcn_miibus_readreg() latch onto the first PHY that it finds (as
a result of mii_phy_probe()) and use that rather than hardcoding a
constant. The hardcoded way was too specific to the particular card
I had and caused PHY probing to fail on at least one laptop with a
built-in AMD chip.

Reported by: rjk@grauel.com (Richard J Kuhns)

23 years agoCreate an event (idle_event) which is invoked every time around the
msmith [Fri, 22 Sep 2000 03:19:24 +0000 (03:19 +0000)]
Create an event (idle_event) which is invoked every time around the
idle loop.  Machine-dependant code can elect to eg. take power-saving
actions when this event is invoked.

23 years agoImplement halt-on-idle in the !SMP case, which should significantly
msmith [Fri, 22 Sep 2000 03:18:20 +0000 (03:18 +0000)]
Implement halt-on-idle in the !SMP case, which should significantly
reduce power consumption on most systems.

23 years agoMake the EVENTHANDLER mechanism MP-safe. Events can now be invoked
msmith [Fri, 22 Sep 2000 03:17:35 +0000 (03:17 +0000)]
Make the EVENTHANDLER mechanism MP-safe.  Events can now be invoked
without holding the Giant lock.

23 years agoo Merge in changes to the NetBSD sources:
imp [Fri, 22 Sep 2000 01:15:26 +0000 (01:15 +0000)]
o Merge in changes to the NetBSD sources:
pcmciavar.h 1.9->1.12
1.12, enami, minor coding nits
1.11, augustss, (pcmcia_devinfo NRFB)
1.10, cgd, add generic lookup routines
pcmcia.c 1.14->1.23
1.23, drochner, (probe code printing, NRFB)
1.22, augustss, KNF
1.21, uch, (hpcmips tweaks NRFB)
1.20, chopps, remove bogus debug
1.19, enami, minor coding nits
1.18, augustss, (pcmcia_devinfo NRFB)
1.17, nathanw, LP64 printf fixes
1.16, cgd, add generic lookup routines
1.15, aymeric, printf fixes
NRFB == not relevant to freebsd
o Expand the pccard matching routines to include the ability to match
  against the CIS strings since our current driver database is based on
  that.
o Add lots more ivars to get the information necessary to snag these values.

23 years agoImplement IPv6 support. Also restructure the way multi-homed hosts
wollman [Fri, 22 Sep 2000 01:06:40 +0000 (01:06 +0000)]
Implement IPv6 support.  Also restructure the way multi-homed hosts
are treated, regardless of protocol.

23 years agoDelete a bogus reference to T/TCP -- the problem still exists on Standard
wollman [Fri, 22 Sep 2000 01:04:59 +0000 (01:04 +0000)]
Delete a bogus reference to T/TCP -- the problem still exists on Standard
TCP.

23 years agoMake some small line-break tweaks.
wpaul [Thu, 21 Sep 2000 20:43:15 +0000 (20:43 +0000)]
Make some small line-break tweaks.

Submitted by: Sheldon Hearn

23 years agoFix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulating
msmith [Thu, 21 Sep 2000 20:21:30 +0000 (20:21 +0000)]
Fix a race in ASR_ccbAdd and ASR_ccbRemove, which were both manipulating
the ccb queue without masking interrupts.

Submitted by: Petr Lampa <lampa@fee.vutbr.cz>

23 years agosome copyright cleanups
mjacob [Thu, 21 Sep 2000 20:16:04 +0000 (20:16 +0000)]
some copyright cleanups

23 years agoAdd the PCI device ID for the on-board ethernet controllers on the
wpaul [Thu, 21 Sep 2000 20:01:57 +0000 (20:01 +0000)]
Add the PCI device ID for the on-board ethernet controllers on the
Intel 815E motherboard, which I believe is an i82562. Seems to work
just fine with the fxp driver.

23 years agoo Permit UFS Extended Attributes to be associated with special devices
rwatson [Thu, 21 Sep 2000 19:06:02 +0000 (19:06 +0000)]
o Permit UFS Extended Attributes to be associated with special devices
  and FIFOs.

Obtained from: TrustedBSD Project

23 years agoo Add two constants mapping ACLs into extended attribute names
rwatson [Thu, 21 Sep 2000 19:05:30 +0000 (19:05 +0000)]
o Add two constants mapping ACLs into extended attribute names
o Add '.'s in comments to style(9)-ify them.
o Clean up whitespace a little.

Obtained from: TrustedBSD Project

23 years agoo Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
rwatson [Thu, 21 Sep 2000 18:51:48 +0000 (18:51 +0000)]
o Bring VOP_GETACL(9) and VOP_GETEXTATTR(9) man page "LOCKS" sections in
  sync with the implementation.  Vnode locks *are* required for these
  operations, as some underlying implementations will require them.

Obtained from: TrustedBSD Project

23 years agoo Change locking rules for VOP_GETACL() to indicate that vnode locks
rwatson [Thu, 21 Sep 2000 18:43:32 +0000 (18:43 +0000)]
o Change locking rules for VOP_GETACL() to indicate that vnode locks
  must be held when retrieving ACLs from vnodes.  This is required for
  EA-based UFS ACL implementations.
o Update vacl_get_acl() so that it does appropriate vnode locking.
o Remove static from M_ACL malloc define so that it is accessible for
  consumers of ACLs other than in kern_acl.c

Obtained from: TrustedBSD Project

23 years agoAllocate all memory (including within node constructors) with M_NOWAIT
archie [Thu, 21 Sep 2000 18:01:23 +0000 (18:01 +0000)]
Allocate all memory (including within node constructors) with M_NOWAIT
instead of M_WAITOK, to allow for maximum flexibility.

23 years agoAllocate memory with M_NOWAIT instead of M_WAITOK because we could
archie [Thu, 21 Sep 2000 17:33:33 +0000 (17:33 +0000)]
Allocate memory with M_NOWAIT instead of M_WAITOK because we could
be called in an interrupt context.

23 years agoAdd a couple of debug register helper functions to assist in setting
bsd [Thu, 21 Sep 2000 17:07:27 +0000 (17:07 +0000)]
Add a couple of debug register helper functions to assist in setting
and clearing watchpoints.

Reviewed by: jwd@FreeBSD.org, -hackers@

23 years agoInintialize the queue index stuff from what the f/w sends back- just
mjacob [Thu, 21 Sep 2000 17:06:45 +0000 (17:06 +0000)]
Inintialize the queue index stuff from what the f/w sends back- just
in case it's insane enough to not do what you tell it to.

Print out (LOGINFO level) initiator ID.

23 years agoRemove unneeded include
mjacob [Thu, 21 Sep 2000 17:05:32 +0000 (17:05 +0000)]
Remove unneeded include
(from phk@freebsd.org)

23 years agoFixed the `mysterious blank lines' problem. This was due to unconditional
ru [Thu, 21 Sep 2000 17:02:15 +0000 (17:02 +0000)]
Fixed the `mysterious blank lines' problem.  This was due to unconditional
use of the .ne requests.  groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines.  Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from: NetBSD

23 years agoremove unneeded includes
mjacob [Thu, 21 Sep 2000 16:32:38 +0000 (16:32 +0000)]
remove unneeded includes
(obtained from phk@freebsd.org)

23 years agocomment vfs_export functions, requested by: eivind
alfred [Thu, 21 Sep 2000 15:55:55 +0000 (15:55 +0000)]
comment vfs_export functions, requested by: eivind

23 years agoadd ``check free resource rage code''
sanpei [Thu, 21 Sep 2000 13:13:00 +0000 (13:13 +0000)]
add ``check free resource rage code''
for PC-Card which has no address in cis.

23 years agoFix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
iwasaki [Thu, 21 Sep 2000 13:01:19 +0000 (13:01 +0000)]
Fix LINT breakage by options ACPI_NO_OSDFUNC_INLINE.
Also space/tab-fix in NOTE.
Grrr, my bad.

Pointed-out by: eivind

23 years agoRemove unneeded #include that was a remnant of an earlier version of
truckman [Thu, 21 Sep 2000 09:04:17 +0000 (09:04 +0000)]
Remove unneeded #include that was a remnant of an earlier version of
my uidinfo patch.

Found by: phk

23 years agoThe final entry should be `required', not `sufficient'.
ru [Thu, 21 Sep 2000 07:47:36 +0000 (07:47 +0000)]
The final entry should be `required', not `sufficient'.

23 years agoAdd in and document two new debugging options used in the mutex code:
jhb [Thu, 21 Sep 2000 06:56:11 +0000 (06:56 +0000)]
Add in and document two new debugging options used in the mutex code:
SMP_DEBUG and WITNESS.

23 years agoFixed the calculations with UDP header length field.
ru [Thu, 21 Sep 2000 06:52:59 +0000 (06:52 +0000)]
Fixed the calculations with UDP header length field.
The field is in network byte order and contains the
size of the header.

Reviewed by: brian

23 years agoAdd in documentation and examples of the KTR kernel config options.
jhb [Thu, 21 Sep 2000 06:50:02 +0000 (06:50 +0000)]
Add in documentation and examples of the KTR kernel config options.

Prompted by: phk's kernel include script

23 years agoRemove unneeded includes.
markm [Thu, 21 Sep 2000 06:23:16 +0000 (06:23 +0000)]
Remove unneeded includes.

Submitted by: phk

23 years agoFix PR #21245: handle wep keys correctly and pretty print hex keys
wpaul [Thu, 21 Sep 2000 00:25:07 +0000 (00:25 +0000)]
Fix PR #21245: handle wep keys correctly and pretty print hex keys
as appropriate. Nick: this sort of does what your changes did, except
the hex/text printing is done automatically using isprint().

23 years agoFix buffer overflow when DISPLAY is longer than 43 characters. This
imp [Wed, 20 Sep 2000 23:07:04 +0000 (23:07 +0000)]
Fix buffer overflow when DISPLAY is longer than 43 characters.  This
is not exploitable because telnet doesn't run with elevated privs.

Didn't fix all the other potential buffer overflows.  Would be a good
task for someone who has lots of time to carefully study each case
because cut and paste solutions are dangerous for this code base.

Added $FreeBSD$ in the same way that command.c did it.

23 years agoAdd new function in AML interpreter; aml_invoke_method().
iwasaki [Wed, 20 Sep 2000 22:53:39 +0000 (22:53 +0000)]
Add new function in AML interpreter; aml_invoke_method().
Also remove unneeded includes in aml_obj.c and aml_parse.c.

This new function takes 'struct aml_name *' as a argument rather than
'char *' where aml_invoke_method_by_name() does.  It's worth to have
these two interfaces in many cases.

23 years agoo Remove 9 unnecessary includes.
imp [Wed, 20 Sep 2000 20:02:49 +0000 (20:02 +0000)]
o Remove 9 unnecessary includes.
o Add Vpp power at 5.0V rather than 0. Setting it to zero violates
  the pccard spec.  Most pcic devices in use today don't let us
  violate the spec, but some older ones do.  Bill Paul sent this to
  me a long time ago and I thought I'd commit it before now.
o Add some debug stuff hidden behind bootverbose.

23 years agoFix a typo
brian [Wed, 20 Sep 2000 19:59:44 +0000 (19:59 +0000)]
Fix a typo

Spotted by: Manfred Antar <null@pozo.com>

23 years agoNo need to generate opt_compat_oldisa.h
imp [Wed, 20 Sep 2000 19:52:03 +0000 (19:52 +0000)]
No need to generate opt_compat_oldisa.h