]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoRelease n_hibma's maintainership due to his ENOTIME.
schweikh [Sat, 4 Jun 2005 10:58:39 +0000 (10:58 +0000)]
Release n_hibma's maintainership due to his ENOTIME.

Discussed with, okayed, authorized, requested by, on behalf of: n_hibma (MAINTAINER)

19 years agoFix the source path.
ru [Sat, 4 Jun 2005 10:48:21 +0000 (10:48 +0000)]
Fix the source path.

19 years ago - It's 2005 already, I've been working on this for three years.
jeff [Sat, 4 Jun 2005 09:24:15 +0000 (09:24 +0000)]
 - It's 2005 already, I've been working on this for three years.

19 years ago - Don't SLOT_USE() in the preempt case, sched_add() has already taken the
jeff [Sat, 4 Jun 2005 09:23:28 +0000 (09:23 +0000)]
 - Don't SLOT_USE() in the preempt case, sched_add() has already taken the
   slot for us.  Previously, we would take two slots on every preempt, and
   setrunqueue() would fix it up for us in the non threaded case.  The
   threaded case was simply broken.
 - Clean up flags, prototypes, comments.

19 years agoChanges to tcp_sack_option() that
ps [Sat, 4 Jun 2005 08:03:28 +0000 (08:03 +0000)]
Changes to tcp_sack_option() that
- Walks the scoreboard backwards from the tail to reduce the number of
  comparisons for each sack option received.
- Introduce functions to add/remove sack scoreboard elements, making
  the code more readable.

Submitted by:   Noritoshi Demizu
Reviewed by:    Raja Mukerji, Mohan Srinivasan

19 years agoFix module build.
glebius [Sat, 4 Jun 2005 04:43:14 +0000 (04:43 +0000)]
Fix module build.

MFC after: 3 days

19 years agoWrap copyin/copyout for kevent so the 32bit wrapper does not have
ps [Fri, 3 Jun 2005 23:15:01 +0000 (23:15 +0000)]
Wrap copyin/copyout for kevent so the 32bit wrapper does not have
to malloc nchanges * sizeof(struct kevent) AND/OR nevents *
sizeof(struct kevent) on every syscall.

Glanced at by: peter, jmg
Obtained from: Yahoo!
MFC after: 2 weeks

19 years agoIn newbus land, ivars can only be accessed for direct child, or when
imp [Fri, 3 Jun 2005 20:12:12 +0000 (20:12 +0000)]
In newbus land, ivars can only be accessed for direct child, or when
the driver has unholy private knowledge of its great-*cgrandchildren.
The ACPI allocation routine lacked such knowledge when it tried to do
a default allocation for all descendants, rather than just its
immeidate children, so would access grandchild's ivar in an unsafe
way.  This could lead to a panic when devices were present which had
no addresses setup by the BIOS, but which were later allocated in a
lazy manner via pci_alloc_map.  As such, only do the default
allocation adjustments for immediate children.  The manner that
acpi_sysres_find accesses the resource list, used later in
acpi_alloc_resource, is safe and proper so no additional test is
needed there.

This fixes a panic when probing an disabled ata controller on some
newer intel blades.

Reported by: dwhite

19 years agoBring in bits I forgot while importing write back support for arm9.
cognet [Fri, 3 Jun 2005 19:49:53 +0000 (19:49 +0000)]
Bring in bits I forgot while importing write back support for arm9.

19 years agoMask off the bar's value after the probe test write before testing
imp [Fri, 3 Jun 2005 19:41:06 +0000 (19:41 +0000)]
Mask off the bar's value after the probe test write before testing
against 0 in pci_alloc_map, just like we do in pci_add_map.  Also,
make sure that we restore the value to the BAR that was there before
if the bar is 0.  Chances are that it was 0 before the write too and
that the restoration is a nop, but better safe than sorry.

Notice by: dwhite

19 years agoRemove my involvement from the regression test stuff, I don't know the modified
jmallett [Fri, 3 Jun 2005 18:42:49 +0000 (18:42 +0000)]
Remove my involvement from the regression test stuff, I don't know the modified
framework well, and nobody's ever sought my help with writing regression tests,
most people just don't bother with them at all, regrettably.

19 years agoRemove trailing whitespaces.
hrs [Fri, 3 Jun 2005 18:42:47 +0000 (18:42 +0000)]
Remove trailing whitespaces.

19 years agoNew release notes:
hrs [Fri, 3 Jun 2005 18:37:16 +0000 (18:37 +0000)]
New release notes:
FreeBSD/i386 and /amd64 always use the local APIC timer even
on an UP system,
vm.blacklist tunable added,
ipfw now supports IPv4 only rule,
struct netent and getnetbyaddr(3) POSIX conformance and
        the ABI breakage on 64-bit platforms, and
GNU GCC 3.4.2-prerelease --> 3.4.4.

Update release notes:
more machine-specific optimized version of math functions.

19 years agoUse predefined __offsetof__ builtin function when compiling C++ sources.
kan [Fri, 3 Jun 2005 17:53:36 +0000 (17:53 +0000)]
Use predefined __offsetof__ builtin function when compiling C++ sources.

19 years ago- Avoid a memory leak if realloc(3) fails by using reallocf(3)
ssouhlal [Fri, 3 Jun 2005 17:38:33 +0000 (17:38 +0000)]
- Avoid a memory leak if realloc(3) fails by using reallocf(3)

Submitted by: Liam J. Foy <liamfoy@dragonflybsd.org>
Approved by: mdodd (in-lieu of mentor who is away)
MFC after: 1 week

19 years agoEnable handling of MS-compatible packing push and pop pragmas. This change was
kan [Fri, 3 Jun 2005 17:35:13 +0000 (17:35 +0000)]
Enable handling of MS-compatible packing push and pop pragmas. This change was
inadvertedly left out of the last import.

19 years agoRevert last. It was the result of mismerges from cvs not an actual
imp [Fri, 3 Jun 2005 15:53:37 +0000 (15:53 +0000)]
Revert last.  It was the result of mismerges from cvs not an actual
need.  _sconfig already was there in the correct place.

Noticed by: ru@

19 years agoMissed rwatson's redundancy
imp [Fri, 3 Jun 2005 15:50:55 +0000 (15:50 +0000)]
Missed rwatson's redundancy

19 years agoBuild sconfig on i386 to match where drivers are made it configures
imp [Fri, 3 Jun 2005 15:38:39 +0000 (15:38 +0000)]
Build sconfig on i386 to match where drivers are made it configures

19 years agoUpdate to reflect takawata-san's changes to MAINTAINERS
imp [Fri, 3 Jun 2005 15:35:36 +0000 (15:35 +0000)]
Update to reflect takawata-san's changes to MAINTAINERS

19 years agoFix standalone module build.
ru [Fri, 3 Jun 2005 15:31:10 +0000 (15:31 +0000)]
Fix standalone module build.

Reported by: Boris Samorodov <bsam@ipt.ru>

19 years agoRemove libz and pppd redundancy
imp [Fri, 3 Jun 2005 15:25:13 +0000 (15:25 +0000)]
Remove libz and pppd redundancy

19 years agoRemove a useless printf.
cognet [Fri, 3 Jun 2005 15:15:26 +0000 (15:15 +0000)]
Remove a useless printf.

19 years agoTidy up cvs entries (missed one)
imp [Fri, 3 Jun 2005 15:12:15 +0000 (15:12 +0000)]
Tidy up cvs entries (missed one)

19 years agoDrop maintainership.
takawata [Fri, 3 Jun 2005 15:10:15 +0000 (15:10 +0000)]
Drop maintainership.

19 years agoTidy up cvs entries
imp [Fri, 3 Jun 2005 15:08:30 +0000 (15:08 +0000)]
Tidy up cvs entries

19 years agoI've not had time to take care of wi lately...
imp [Fri, 3 Jun 2005 15:04:09 +0000 (15:04 +0000)]
I've not had time to take care of wi lately...

19 years agoRemove myself as maintainer of the OSF/1 compat code. I haven't had
gallatin [Fri, 3 Jun 2005 12:37:56 +0000 (12:37 +0000)]
Remove myself as maintainer of the OSF/1 compat code.  I haven't had
an alpha booting -current since my xp1000 died over a year ago, and I
don't think I touched the osf1 code since long before then.

19 years agoRemove the EXAMPLES section that describes how to sort by size using
dd [Fri, 3 Jun 2005 11:38:35 +0000 (11:38 +0000)]
Remove the EXAMPLES section that describes how to sort by size using
sort(1). This functionality is provided by the -S option now, and it
is useful even though a similar effect is achievable with sort(1),
since the latter doesn't work in combination with -h. This option is
also present in NetBSD, OpenBSD, and GNU fileutils, so there's clearly
a demand for it.

Noticed by: asmodai

19 years agoImprove wording: A sort is "in" a particular order, not "by" a
dd [Fri, 3 Jun 2005 11:22:06 +0000 (11:22 +0000)]
Improve wording: A sort is "in" a particular order, not "by" a
particular order.

19 years agoAdd the -S option to sort files by size. NetBSD and OpenBSD already
dd [Fri, 3 Jun 2005 11:05:58 +0000 (11:05 +0000)]
Add the -S option to sort files by size. NetBSD and OpenBSD already
have this option with identical semantics (sorting large files first).
-r can be used to reverse the sort if that is desired.

PR: 81625
Submitted by: Kostas Blekos <mplekos@physics.upatras.gr>, keramida

19 years agomention libpcap.
ume [Fri, 3 Jun 2005 10:19:26 +0000 (10:19 +0000)]
mention libpcap.

19 years agobump SHLIB_MAJOR as libpcap refers getnetbyname(3).
ume [Fri, 3 Jun 2005 09:41:26 +0000 (09:41 +0000)]
bump SHLIB_MAJOR as libpcap refers getnetbyname(3).

Noticed by: ru

19 years agoExplain what's so special about share/mk, and be even more friendly.
ru [Fri, 3 Jun 2005 09:26:49 +0000 (09:26 +0000)]
Explain what's so special about share/mk, and be even more friendly.

19 years agofix typo in my previous commit.
ume [Fri, 3 Jun 2005 09:15:17 +0000 (09:15 +0000)]
fix typo in my previous commit.

Submitted by: Jiawei Ye <leafy7382 _at_ gmail.com>

19 years agoMPPC node is not thread safe.
glebius [Fri, 3 Jun 2005 09:06:00 +0000 (09:06 +0000)]
MPPC node is not thread safe.

PR: kern/79990
Reported by: Arcadiy Ivanov
Reported by: atckoe.zlo @ gmail.com
MFC after: 1 week

19 years agoRevise my status slightly for the bits that I am concerned with.
markm [Fri, 3 Jun 2005 07:14:54 +0000 (07:14 +0000)]
Revise my status slightly for the bits that I am concerned with.

19 years agoMatch sys/boot in ensure GCC does not use x86 FP registers in integer code.
obrien [Fri, 3 Jun 2005 06:55:22 +0000 (06:55 +0000)]
Match sys/boot in ensure GCC does not use x86 FP registers in integer code.

Submitted by: Pawel Worach <pawel.worach@gmail.com>

19 years agoMake diff(1) follow traditional UNIX SOP of later options nullify earlier
obrien [Fri, 3 Jun 2005 06:46:56 +0000 (06:46 +0000)]
Make diff(1) follow traditional UNIX SOP of later options nullify earlier
options that are mutually exclusive.

19 years agoFix a typo from previos commit.
kan [Fri, 3 Jun 2005 05:58:56 +0000 (05:58 +0000)]
Fix a typo from previos commit.

19 years agoSynchronize access to the per process aiocb lists in many of the functions.
alc [Fri, 3 Jun 2005 05:27:20 +0000 (05:27 +0000)]
Synchronize access to the per process aiocb lists in many of the functions.

19 years agoreflect type change of n_net and getnetbyaddr(3).
ume [Fri, 3 Jun 2005 04:44:54 +0000 (04:44 +0000)]
reflect type change of n_net and getnetbyaddr(3).

19 years agoUpdate bmake glue for GCC 3.4.4.
kan [Fri, 3 Jun 2005 04:21:04 +0000 (04:21 +0000)]
Update bmake glue for GCC 3.4.4.

19 years agoCatch up with changes in BDX_OUTPUT_[LR]BRAC callers.
kan [Fri, 3 Jun 2005 04:19:23 +0000 (04:19 +0000)]
Catch up with changes in BDX_OUTPUT_[LR]BRAC callers.

19 years agoMerge conflicts for GCC 3.4.4.
kan [Fri, 3 Jun 2005 04:02:20 +0000 (04:02 +0000)]
Merge conflicts for GCC 3.4.4.

19 years agoLocalize GCC version string for FreeBSD.
kan [Fri, 3 Jun 2005 03:52:25 +0000 (03:52 +0000)]
Localize GCC version string for FreeBSD.

19 years agoStock files.
kan [Fri, 3 Jun 2005 03:50:42 +0000 (03:50 +0000)]
Stock files.

19 years agomention getnet*(3) ABI breakage.
ume [Fri, 3 Jun 2005 03:34:21 +0000 (03:34 +0000)]
mention getnet*(3) ABI breakage.

19 years ago- Remove padding for ABI compatibility of n_net member from struct
ume [Fri, 3 Jun 2005 03:32:06 +0000 (03:32 +0000)]
- Remove padding for ABI compatibility of n_net member from struct
  netent.
- Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit
  arch as well to confirm to POSIX-2001.

These changes break ABI compatibility on 64 bit arch.
There is similar padding issue for ai_addrlen of struct addrinfo.
However, it is leaved as is for now.

Discussed on: arch@, standards@ and current@
X-MFC after: never

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146901,
kan [Fri, 3 Jun 2005 03:30:16 +0000 (03:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146901,
which included commits to RCS files with non-trunk default branches.

19 years agoGcc 3.4.4 F77 runtime support bits.
kan [Fri, 3 Jun 2005 03:30:16 +0000 (03:30 +0000)]
Gcc 3.4.4 F77 runtime support bits.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146899,
kan [Fri, 3 Jun 2005 03:29:59 +0000 (03:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146899,
which included commits to RCS files with non-trunk default branches.

19 years agoGcc 3.4.4 Objective C support bits.
kan [Fri, 3 Jun 2005 03:29:59 +0000 (03:29 +0000)]
Gcc 3.4.4 Objective C support bits.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146897,
kan [Fri, 3 Jun 2005 03:29:38 +0000 (03:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146897,
which included commits to RCS files with non-trunk default branches.

19 years agoGcc 3.4.4 C++ support bits.
kan [Fri, 3 Jun 2005 03:29:38 +0000 (03:29 +0000)]
Gcc 3.4.4 C++ support bits.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146895,
kan [Fri, 3 Jun 2005 03:28:44 +0000 (03:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146895,
which included commits to RCS files with non-trunk default branches.

19 years agoGcc 3.4.4 release.
kan [Fri, 3 Jun 2005 03:28:44 +0000 (03:28 +0000)]
Gcc 3.4.4 release.

19 years agoAdd support for IPv4 only rules to IPFW2 now that it supports IPv6 as well.
mlaier [Fri, 3 Jun 2005 01:10:28 +0000 (01:10 +0000)]
Add support for IPv4 only rules to IPFW2 now that it supports IPv6 as well.
This is the last requirement before we can retire ip6fw.

Reviewed by: dwhite, brooks(earlier version)
Submitted by: dwhite (manpage)
Silence from: -ipfw

19 years agoCorrect typo in a comment describing vshiftl().
hmp [Thu, 2 Jun 2005 23:56:10 +0000 (23:56 +0000)]
Correct typo in a comment describing vshiftl().

19 years agoIn aio_waitcomplete() correct two cases of using an aiocb after freeing it.
alc [Thu, 2 Jun 2005 23:14:38 +0000 (23:14 +0000)]
In aio_waitcomplete() correct two cases of using an aiocb after freeing it.

19 years agoDocument the previously existing RELENG_[45]_* security branch locks.
peter [Thu, 2 Jun 2005 22:57:30 +0000 (22:57 +0000)]
Document the previously existing RELENG_[45]_* security branch locks.

Approved by:  core (quite a while ago)

19 years agoAdd a 'statement of intent' blurb to the top of MAINTAINERS. Split
peter [Thu, 2 Jun 2005 21:28:33 +0000 (21:28 +0000)]
Add a 'statement of intent' blurb to the top of MAINTAINERS.  Split
the role of MAINTAINERS into advisory and strict parts. Introduce a
new LOCKS file to document enforced locked parts of the tree.

Strict locks are only added with core approval and will generally
have a renewal timeout.

Clarify that the source tree is a community effort, not a place to stake
out 'turf'.

This will be refined as needed.

With-core-hat-on:  Yes

19 years agoFix the load64 and store64 macros, created to handle 8-byte unaligned
marcel [Thu, 2 Jun 2005 05:34:08 +0000 (05:34 +0000)]
Fix the load64 and store64 macros, created to handle 8-byte unaligned
loads and stores (resp.) The ldq_u and stq_u instruction mask off the
lower 3 bits of the final address before loading from or storing to
the address, so as to avoid unaligned loads and stores. They do not
themselves allow loads from or stores to unaligned addresses. Replace
the macro definitions by a packed struct dereference.

Submitted by: Richard Henderson (rth at twiddle dot net)

19 years agorestore led state on resume
sam [Thu, 2 Jun 2005 03:18:55 +0000 (03:18 +0000)]
restore led state on resume

Submitted by: markus

19 years agoHonouring current authmode setting. With this patch, my wi card can now
avatar [Thu, 2 Jun 2005 01:51:16 +0000 (01:51 +0000)]
Honouring current authmode setting.  With this patch, my wi card can now
associate to an AP which uses shared WEP key authentication.

Tested with: "ifconfig wi0 authmode shared"
Reviewed by: imp, sam

19 years agoUse IFF_LOCKGIANT/IFF_UNLOCKGIANT around calls to the interface
iedowse [Thu, 2 Jun 2005 00:04:08 +0000 (00:04 +0000)]
Use IFF_LOCKGIANT/IFF_UNLOCKGIANT around calls to the interface
if_ioctl routine. This should fix a number of code paths through
soo_ioctl() that could call into Giant-locked network drivers without
first acquiring Giant.

19 years agoBack out revision 1.19 and 1.20 until I find mental clarity to deal with
eivind [Wed, 1 Jun 2005 20:34:06 +0000 (20:34 +0000)]
Back out revision 1.19 and 1.20 until I find mental clarity to deal with
issues bde pointed out.

19 years agoAdd myself as a new committer.
brd [Wed, 1 Jun 2005 18:29:50 +0000 (18:29 +0000)]
Add myself as a new committer.

Approved by: ceri (mentor)

19 years agoProvide missing implementations for archive_entry_ctime() and
scottl [Wed, 1 Jun 2005 18:20:02 +0000 (18:20 +0000)]
Provide missing implementations for archive_entry_ctime() and
archive_entry_ctime_nano()

19 years agoGiant is no longer required in kern_setrlimit(); remove its acquisition and
alc [Wed, 1 Jun 2005 17:52:51 +0000 (17:52 +0000)]
Giant is no longer required in kern_setrlimit(); remove its acquisition and
release.

Reviewed by: jhb

19 years agoAllow the VESA code to handle devices that don't claim to be VGA devices.
jhb [Wed, 1 Jun 2005 16:02:39 +0000 (16:02 +0000)]
Allow the VESA code to handle devices that don't claim to be VGA devices.
This fixes VESA support when running under vmware.

PR: i386/81445
Submitted by: Jia-Shiun Li jiashiun at gmail dot com
MFC after: 1 week

19 years agoRemove the C99-specific __func__ that is one of the few barrier to
kientzle [Wed, 1 Jun 2005 15:52:39 +0000 (15:52 +0000)]
Remove the C99-specific __func__ that is one of the few barrier to
compiling on IRIX and Solaris.  Remove the "archive_check_magic" macro
that existed only to provide __func__ to the underlying __archive_check_magic
function.

Thanks to: Darin Broady
MFC after: 14 days

19 years ago<Ooops> Two lines got dropped from the previous commit. Apologies.
kientzle [Wed, 1 Jun 2005 15:46:47 +0000 (15:46 +0000)]
<Ooops>  Two lines got dropped from the previous commit.  Apologies.

MFC after: 14 days

19 years agoA minor refinement to "pax" output: Remove suid/sgid/sticky bits
kientzle [Wed, 1 Jun 2005 15:44:23 +0000 (15:44 +0000)]
A minor refinement to "pax" output:  Remove suid/sgid/sticky bits
from mode before using mode for extended attributes entry, copy
mtime/atime/ctime to extended attributes entry so it's a little more
clear that it corresponds to the like-named regular entry.

MFC after: 14 days

19 years agoTemperarly disable building in the bzip2 support by default so we can fit
obrien [Wed, 1 Jun 2005 15:32:57 +0000 (15:32 +0000)]
Temperarly disable building in the bzip2 support by default so we can fit
on the i386 floppies.  Sigh, I hate floppies.

19 years agoFix some warnings on 64-bit archs.
jhb [Wed, 1 Jun 2005 14:55:45 +0000 (14:55 +0000)]
Fix some warnings on 64-bit archs.

Reviewed by: sam

19 years agoTypo.
jhb [Wed, 1 Jun 2005 14:07:43 +0000 (14:07 +0000)]
Typo.

Submitted by: njl

19 years agoo Teach login(1) to respect "hushlogin" and "nocheckmail" attributes
maxim [Wed, 1 Jun 2005 12:23:06 +0000 (12:23 +0000)]
o Teach login(1) to respect "hushlogin" and "nocheckmail" attributes
defined in user's $HOME/.login_conf.

PR: bin/75001
Submitted by: Rostislav Krasny
MFC after: 2 weeks

19 years agoWhen aborting tcp_attach() due to a problem allocating or attaching the
rwatson [Wed, 1 Jun 2005 12:14:56 +0000 (12:14 +0000)]
When aborting tcp_attach() due to a problem allocating or attaching the
tcpcb, lock the inpcb before calling in_pcbdetach() or in6_pcbdetach(),
as they expect the inpcb to be passed locked.

MFC after: 7 days

19 years agoAssert tcbinfo lock, inpcb lock in tcp_disconnect().
rwatson [Wed, 1 Jun 2005 12:08:15 +0000 (12:08 +0000)]
Assert tcbinfo lock, inpcb lock in tcp_disconnect().
Assert tcbinfo lock, inpcb lock in in tcp_usrclosed().

MFC after: 7 days

19 years agoAssert tcbinfo lock in tcp_drop() due to its call of tcp_close()
rwatson [Wed, 1 Jun 2005 12:06:07 +0000 (12:06 +0000)]
Assert tcbinfo lock in tcp_drop() due to its call of tcp_close()
Assert tcbinfo lock in tcp_close() due to its call to in{,6}_detach()
Assert tcbinfo lock in tcp_drop_syn_sent() due to its call to tcp_drop()

MFC after: 7 days

19 years agoAssert that tcbinfo is locked in tcp_input() before calling into
rwatson [Wed, 1 Jun 2005 12:03:18 +0000 (12:03 +0000)]
Assert that tcbinfo is locked in tcp_input() before calling into
tcp_drop().

MFC after: 7 days

19 years agoAssert the tcbinfo lock whenever tcp_close() is to be called by
rwatson [Wed, 1 Jun 2005 11:49:14 +0000 (11:49 +0000)]
Assert the tcbinfo lock whenever tcp_close() is to be called by
tcp_input().

MFC after: 7 days

19 years agoAssert tcbinfo lock in tcp_attach(), as it is required; the caller
rwatson [Wed, 1 Jun 2005 11:44:43 +0000 (11:44 +0000)]
Assert tcbinfo lock in tcp_attach(), as it is required; the caller
(tcp_usr_attach()) currently grabs it.

MFC after: 7 days

19 years agoCommit correct version of previous commit (in_pcb.c:1.164). Use the
rwatson [Wed, 1 Jun 2005 11:43:39 +0000 (11:43 +0000)]
Commit correct version of previous commit (in_pcb.c:1.164).  Use the
local variables as currently named.

MFC after: 7 days

19 years agoAssert pcbinfo lock in in_pcbdisconnect() and in_pcbdetach(), as the
rwatson [Wed, 1 Jun 2005 11:39:42 +0000 (11:39 +0000)]
Assert pcbinfo lock in in_pcbdisconnect() and in_pcbdetach(), as the
global pcb lists are modified.

MFC after: 7 days

19 years agoSlight white space tweak.
rwatson [Wed, 1 Jun 2005 11:38:35 +0000 (11:38 +0000)]
Slight white space tweak.

MFC after: 7 days

19 years agoLock udbinfo and inp before calling in6_pcbdetach() from udp6_abort().
rwatson [Wed, 1 Jun 2005 11:38:19 +0000 (11:38 +0000)]
Lock udbinfo and inp before calling in6_pcbdetach() from udp6_abort().

MFC after: 1 week

19 years agoAdd a test for escaped newline handling.
harti [Wed, 1 Jun 2005 11:26:47 +0000 (11:26 +0000)]
Add a test for escaped newline handling.

19 years agoAdd support for TODO tests. These are tests that are supposed to fail,
harti [Wed, 1 Jun 2005 11:25:38 +0000 (11:25 +0000)]
Add support for TODO tests. These are tests that are supposed to fail,
because of a make bug that should be fixed.

19 years agoDe-spl UDP.
rwatson [Wed, 1 Jun 2005 11:24:00 +0000 (11:24 +0000)]
De-spl UDP.

MFC after: 3 days

19 years agoAdd a handy macro to represent null mount option, MOPT_NULL, and make
delphij [Wed, 1 Jun 2005 09:39:36 +0000 (09:39 +0000)]
Add a handy macro to represent null mount option, MOPT_NULL, and make
use of the macro in sbin/mount*'s, by replacing:

mopts[] = {
    MOPT_STDOPTS,
    { NULL }
}

With:
mopts[] = {
    MOPT_STDOPTS,
    MOPT_NULL
}

This change will help to reduce the situation that we don't explicitly
initialize "struct mntopt"'s.  It should not contribute to any
functional/logical changes as far as I can tell.

19 years agoAdding note about required firmware to save others time and frustration with
avatar [Wed, 1 Jun 2005 07:13:21 +0000 (07:13 +0000)]
Adding note about required firmware to save others time and frustration with
this device.

Obtained from: imp (if_iwi)
Encouraged by: damien

19 years agoAdd a text description for the Intel IOP302/303 processors. Be slightly
scottl [Wed, 1 Jun 2005 07:11:17 +0000 (07:11 +0000)]
Add a text description for the Intel IOP302/303 processors.  Be slightly
more verbose about the allocation of RAM on the controller.

Sbumitted by: Jeremy Chadwick
PR: kern/81259
MFC-After: 3 days

19 years agoPrinting a warning once when trying to bring up interface before firmware load.
avatar [Wed, 1 Jun 2005 01:54:00 +0000 (01:54 +0000)]
Printing a warning once when trying to bring up interface before firmware load.

Obtained from: imp (if_iwi)
Reviewed by: damien

19 years agoDon't use a patch w/in /usr/src. Programmatically change files when needed.
obrien [Tue, 31 May 2005 22:16:49 +0000 (22:16 +0000)]
Don't use a patch w/in /usr/src.  Programmatically change files when needed.

19 years agoDon't enable I/O or memory mode in a device's command register if the BAR
jhb [Tue, 31 May 2005 21:33:33 +0000 (21:33 +0000)]
Don't enable I/O or memory mode in a device's command register if the BAR
we are processing has a base address of zero.  Note that this will only
change behavior for devices where all the BARs of a given type have a base
address of 0 since we will enable the appropriate access when we encounter
the first BAR with a base that is not 0.  Specifically, this allows certain
Toshiba laptops to no longer require 'hw.pci.enable_io_modes=0' to avoid
hangs during boot.

PR: kern/20040
PR: i386/63776 (possibly)
PR: i386/68900 (possibly)
PR: i386/74532 (possibly)
MFC after: 1 week

19 years agoAdd a missing const to alpha_setcurrdev() to quiet a warning.
jhb [Tue, 31 May 2005 21:23:43 +0000 (21:23 +0000)]
Add a missing const to alpha_setcurrdev() to quiet a warning.

19 years agoChange the type the buf arg to the strategy routines from void * to char *
jhb [Tue, 31 May 2005 21:23:21 +0000 (21:23 +0000)]
Change the type the buf arg to the strategy routines from void * to char *
to quiet some warnings.

19 years agoWhitespace.
jhb [Tue, 31 May 2005 21:22:01 +0000 (21:22 +0000)]
Whitespace.