]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoCommit import of OpenBSD-stable fix:
Max Laier [Sun, 11 Apr 2004 17:35:40 +0000 (17:35 +0000)]
Commit import of OpenBSD-stable fix:

 Fix by dhartmei@ and mcbride@
 1.433
 Properly m_copyback() modified TCP sequence number after demodulation
 1.432
 Fix icmp checksum when sequence number modlation is being used.
 Also fix a daddr vs saddr cut-n-paste error in ICMP error handling.

 Fixes PR 3724

Obtained from: OpenBSD
Reviewed by: dhartmei
Approved by: rwatson

20 years agoUnbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/g
Marcel Moolenaar [Sun, 11 Apr 2004 17:15:36 +0000 (17:15 +0000)]
Unbreak build: s/TAILQ_ISEMPTY/TAILQ_EMPTY/g

20 years agoIn 4.x, if_ipending is used to track network interrupt state. In 5.x,
Robert Watson [Sun, 11 Apr 2004 16:35:53 +0000 (16:35 +0000)]
In 4.x, if_ipending is used to track network interrupt state.  In 5.x,
it is no longer used, so GC the ifnet.if_ipending field.

20 years agoStop xe claiming ownership of every card passed to xe_pccard_match.
Scott Mitchell [Sun, 11 Apr 2004 16:34:29 +0000 (16:34 +0000)]
Stop xe claiming ownership of every card passed to xe_pccard_match.

Found by: Pete Carss <itinerant at mac dot com>
Reviewed by: imp (mentor)
Pointy hat to: rsm

20 years agoCompare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,
Robert Watson [Sun, 11 Apr 2004 16:26:39 +0000 (16:26 +0000)]
Compare IFF_POLLING flag with ifp->if_flags rather than ifp->if_ipending,
which was almost certainly a bug since polling support was introduced
in this driver.

Found during discussion with: mlaier

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 16:23:16 +0000 (16:23 +0000)]
Implemented per-interface polling(4) control.

20 years agoInclude nehemiah.c only on i386, as is done for the non-modules
Marcel Moolenaar [Sun, 11 Apr 2004 15:40:18 +0000 (15:40 +0000)]
Include nehemiah.c only on i386, as is done for the non-modules
build.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 15:35:49 +0000 (15:35 +0000)]
Implemented per-interface polling(4) control.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 15:18:09 +0000 (15:18 +0000)]
Implemented per-interface polling(4) control.

20 years agoImplemented per-interface polling(4) control.
Ruslan Ermilov [Sun, 11 Apr 2004 14:42:25 +0000 (14:42 +0000)]
Implemented per-interface polling(4) control.

20 years agoNew release note:
Hiroki Sato [Sun, 11 Apr 2004 14:19:36 +0000 (14:19 +0000)]
New release note:
04:06.ipv6.

20 years agoFirst driver with user-configurable polling(4).
Ruslan Ermilov [Sun, 11 Apr 2004 13:47:15 +0000 (13:47 +0000)]
First driver with user-configurable polling(4).

20 years agoDocument that -m also causes the capability list to be displayed.
Ruslan Ermilov [Sun, 11 Apr 2004 13:44:57 +0000 (13:44 +0000)]
Document that -m also causes the capability list to be displayed.

20 years agoAdded the new interface capability option for drivers that implement
Ruslan Ermilov [Sun, 11 Apr 2004 13:36:52 +0000 (13:36 +0000)]
Added the new interface capability option for drivers that implement
user-configurable polling(4) support.  Make ifconfig(8) aware of it.

Suggested by: luigi

20 years agoDon't let the NFS server module be unloaded as long as there are
Peter Edwards [Sun, 11 Apr 2004 13:33:34 +0000 (13:33 +0000)]
Don't let the NFS server module be unloaded as long as there are
nfsd processes running

Reviewed By: iedowse
PR: 16299

20 years agoClean up properly when unloading NFS client module.
Peter Edwards [Sun, 11 Apr 2004 13:30:20 +0000 (13:30 +0000)]
Clean up properly when unloading NFS client module.

This includes a modified form of some code from Thomas Moestl (tmm@)
to properly clean up the UMA zone and the "nfsnodehashtbl" hash
table.

Reviewed By: iedowse
PR: 16299

20 years agoFix pc98 build.
Yoshihiro Takahashi [Sun, 11 Apr 2004 09:13:42 +0000 (09:13 +0000)]
Fix pc98 build.

20 years agoMove en_CA from US_LINKS to GB_LINKS.
Joe Marcus Clarke [Sun, 11 Apr 2004 08:07:22 +0000 (08:07 +0000)]
Move en_CA from US_LINKS to GB_LINKS.

Submitted by: adamw
Approved by: ache
Committed by: me since adamw should be studying for exams

20 years agoAdd system tunable to turn off power state changes. Default to off until
Warner Losh [Sun, 11 Apr 2004 07:02:49 +0000 (07:02 +0000)]
Add system tunable to turn off power state changes.  Default to off until
we get the resource allocation stuff hammered out.

Fix and off by one error that caused unnecessary filtering of valid
BARs for only 4 bytes than ICH3 and other PCI IDE controllers have.
Andrew Gallatin submitted this, although it doesn't solve the problems
ICH3 controllers have with the new code, it does restore the former
resource list on the probe line.

20 years agoMove advise from DEVICE_PROBE.9 about where to probe children.
Warner Losh [Sun, 11 Apr 2004 06:37:50 +0000 (06:37 +0000)]
Move advise from DEVICE_PROBE.9 about where to probe children.

20 years agoRemove a comment that refers to avail_start and avail_end as these
Alan Cox [Sun, 11 Apr 2004 06:37:36 +0000 (06:37 +0000)]
Remove a comment that refers to avail_start and avail_end as these
variables no longer exist.

20 years agoDocument more clearly that a probe routine:
Warner Losh [Sun, 11 Apr 2004 06:37:21 +0000 (06:37 +0000)]
Document more clearly that a probe routine:
Should have no side effects
Must not hold resources when it returns
May be called multiple times if it returns < 0.

Remove the bad advise that the probe routine should look for children
for devices that implement busses.  This is more properly reserved for
the attach routine.

20 years agoRemove avail_end. It is not used.
Alan Cox [Sun, 11 Apr 2004 06:02:24 +0000 (06:02 +0000)]
Remove avail_end.  It is not used.

20 years agoDocument the meaning of the zero return value.
Tim J. Robbins [Sun, 11 Apr 2004 05:19:19 +0000 (05:19 +0000)]
Document the meaning of the zero return value.

20 years agoRemove avail_end. It is not used.
Alan Cox [Sun, 11 Apr 2004 05:08:26 +0000 (05:08 +0000)]
Remove avail_end.  It is not used.

20 years ago - is_physical_memory()'s parameter, which is a physical address, should be
Alan Cox [Sun, 11 Apr 2004 04:26:58 +0000 (04:26 +0000)]
 - is_physical_memory()'s parameter, which is a physical address, should be
   a vm_paddr_t not a vm_offset_t.

20 years agoFix kernel build instructions to be correct for 5.X.
Ken Smith [Sun, 11 Apr 2004 03:30:09 +0000 (03:30 +0000)]
Fix kernel build instructions to be correct for 5.X.

PR: docs/65397
Submitted by: Russell Francis <rf358197 (at) ohio.edu>

20 years ago - pmap_kenter_temporary()'s first parameter, which is a physical address,
Alan Cox [Sat, 10 Apr 2004 23:28:49 +0000 (23:28 +0000)]
 - pmap_kenter_temporary()'s first parameter, which is a physical address,
   should be declared as vm_paddr_t not vm_offset_t.

20 years ago - pmap_kenter_temporary() is unused by machine-independent code. Therefore,
Alan Cox [Sat, 10 Apr 2004 22:41:46 +0000 (22:41 +0000)]
 - pmap_kenter_temporary() is unused by machine-independent code.  Therefore,
   move its declaration to the machine-dependent header file on those
   machines that use it.  In principle, only i386 should have it.
   Alpha and AMD64 should use their direct virtual-to-physical mapping.
 - Remove pmap_kenter_temporary() from ia64.  It is unused.  Approved
   by: marcel@

20 years agoDocument devfs_set_rulesets a little.
Brian Feldman [Sat, 10 Apr 2004 22:13:27 +0000 (22:13 +0000)]
Document devfs_set_rulesets a little.

20 years agoNew release note:
Hiroki Sato [Sat, 10 Apr 2004 20:44:11 +0000 (20:44 +0000)]
New release note:
VIA C3 Nehemiah's hardware RNG support,
nge(4) VLAN support bugfix,
rl(4) polling support bugfix,
ste(4) and vr(4) polling support,
twa driver,
bsdlabel(8) -f option,
bthidcontrol and bthidd for Bluetooth HID,
doscmd removed,
fdcontrol(8), fdformat(1), and fdread(1) now work on FreeBSD/pc98,
find(1) -acl option,
UTF-8 versions of the supported system locales,
netstat(1) now displays the multicast group memberships,
pgrep(1) and pkill(1),
ps(1) supports more POSIX/SUSv3 compatible options,
Heimdal Kerberos 0.6 -> 0.6.1,
libpcap 0.7.1 -> 0.8.3,
OpenSSL 0.9.7c -> 0.9.7d, and
tcpdump 3.7.1 -> 3.8.3.

Update release note:
Sort ctau(4) entry in the alphabetical order.

20 years agoUnbreak alpha kernel build and unbreak any non-i386 runtime brokenness.
Marcel Moolenaar [Sat, 10 Apr 2004 19:43:15 +0000 (19:43 +0000)]
Unbreak alpha kernel build and unbreak any non-i386 runtime brokenness.
The VIA Nehemias is so obviously specific to i386 that it should not
be compiled on non-i386 platforms. The obviousness is in the fact that
all functions in nehemias.c are purely i386 inline assembly, guarded
by #ifdef __i386__

20 years agoFix module build during buildworld with MODULES_WITH_WORLD defined.
Alexander Kabaev [Sat, 10 Apr 2004 19:41:15 +0000 (19:41 +0000)]
Fix module build during buildworld with MODULES_WITH_WORLD defined.

20 years agoCall trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
Olivier Houchard [Sat, 10 Apr 2004 15:38:49 +0000 (15:38 +0000)]
Call trm_Interrupt() in trm_poll(). This fixes the lock at reboot time some
people reported.

PR: kern/62864
Tested by: Putinas Piliponis <putinas.piliponis at icnspot.net>

20 years agoFix a typo. I was locked out for two days from my machine.
David Xu [Sat, 10 Apr 2004 14:36:57 +0000 (14:36 +0000)]
Fix a typo. I was locked out for two days from my machine.

20 years agoRemove a comment that complains about the lack of %qd, to justify
Maxime Henrion [Sat, 10 Apr 2004 11:08:16 +0000 (11:08 +0000)]
Remove a comment that complains about the lack of %qd, to justify
truncating a rlim_t to a long.  We have %qd since some time now.
However, the correct format to use here is %jd and a cast to
intmax_t, so do this.

20 years agoChanged comments following changes to not bundle firmware by default.
Vinod Kashyap [Sat, 10 Apr 2004 02:41:22 +0000 (02:41 +0000)]
Changed comments following changes to not bundle firmware by default.

Approved by: re

20 years agoFixed unformatting of copyright clause 4 in previous commit.
Bruce Evans [Sat, 10 Apr 2004 02:22:35 +0000 (02:22 +0000)]
Fixed unformatting of copyright clause 4 in previous commit.

20 years agoDon't include the firmware image by default as it adds 500k (uncompressed) to
Scott Long [Sat, 10 Apr 2004 02:00:47 +0000 (02:00 +0000)]
Don't include the firmware image by default as it adds 500k (uncompressed) to
the module.

Reviewed by: vinod

20 years agoDon't cast away const qualifiers.
Tim J. Robbins [Sat, 10 Apr 2004 00:27:52 +0000 (00:27 +0000)]
Don't cast away const qualifiers.

Spotted by: bde

20 years agoStart committing Bluetooth HID (Human Interface Device) support.
Maksim Yevmenkin [Sat, 10 Apr 2004 00:18:00 +0000 (00:18 +0000)]
Start committing Bluetooth HID (Human Interface Device) support.
Note: bthidd(8) is still not complete. Need to commit kernel
support (a-la Linux /dev/input) to feed HID events into kernel.
Also need to write bthidd(8) and bthidd.conf(5) man pages.

20 years agoUse uint instead of u_int
Maksim Yevmenkin [Fri, 9 Apr 2004 23:58:53 +0000 (23:58 +0000)]
Use uint instead of u_int

20 years agoUse uint instead of u_int
Maksim Yevmenkin [Fri, 9 Apr 2004 23:26:16 +0000 (23:26 +0000)]
Use uint instead of u_int

20 years agoMake sure Bluetooth stuff can be compiled on amd64
Maksim Yevmenkin [Fri, 9 Apr 2004 23:01:42 +0000 (23:01 +0000)]
Make sure Bluetooth stuff can be compiled on amd64

Submitted by: ps

20 years agoOnly print state change message for real state changes. When we set a
Warner Losh [Fri, 9 Apr 2004 20:41:18 +0000 (20:41 +0000)]
Only print state change message for real state changes.  When we set a
device in D0 to D0, that's a no-op, however the messages seem to be
confusing some people.  Eventually, these messages will be parked
behind a if (bootverbose).

# I don't think this will fix any real bugs...

20 years agoThe previous clause 3 commit was also
Mark Murray [Fri, 9 Apr 2004 20:34:51 +0000 (20:34 +0000)]
The previous clause 3 commit was also

Approved by: scottl
Thanks to: scottl

20 years agoRemove advertising clause from University of California Regent's license,
Mark Murray [Fri, 9 Apr 2004 19:58:40 +0000 (19:58 +0000)]
Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp

20 years agoAdd MODULE_DEPEND entries so some of these drivers can eventually be
Nate Lawson [Fri, 9 Apr 2004 18:14:32 +0000 (18:14 +0000)]
Add MODULE_DEPEND entries so some of these drivers can eventually be
loaded separately from ACPI (i.e., embedded use).

20 years agoBand-aid fix to extract MAC address from some CEM2/CEM28 cards with broken
Scott Mitchell [Fri, 9 Apr 2004 17:34:54 +0000 (17:34 +0000)]
Band-aid fix to extract MAC address from some CEM2/CEM28 cards with broken
CIS.  Really needs a better interface to the CIS in pccard driver.

Reviewed by: imp (mentor)

20 years agoBackout previous commit. It seems this comment applied to something
Maxime Henrion [Fri, 9 Apr 2004 17:30:26 +0000 (17:30 +0000)]
Backout previous commit.  It seems this comment applied to something
else than I thought, and thus really needs to go away.

Noticed by: ru

20 years agoFix probe routine to use card IDs from pccarddevs for NEWCARD and OLDCARD.
Scott Mitchell [Fri, 9 Apr 2004 17:27:36 +0000 (17:27 +0000)]
Fix probe routine to use card IDs from pccarddevs for NEWCARD and OLDCARD.
Should now correctly probe and attach all supported cards in either mode.

Reviewed by: imp (mentor)

20 years agoo Fix an incorrect parsing of 0.0.0.0/0 expression.
Maxim Konovalov [Fri, 9 Apr 2004 17:26:01 +0000 (17:26 +0000)]
o Fix an incorrect parsing of 0.0.0.0/0 expression.

PR: kern/64778
MFC after: 6 weeks

20 years agoAdd Xircom XEM5600 card (appears to be a renamed REM56).
Scott Mitchell [Fri, 9 Apr 2004 17:15:18 +0000 (17:15 +0000)]
Add Xircom XEM5600 card (appears to be a renamed REM56).
Observe that Xircom CEM28 and CEM33 are known to work in Ethernet mode.

Reviewed by: imp (mentor)

20 years agoSync to pccarddevs 1.83
Scott Mitchell [Fri, 9 Apr 2004 17:10:12 +0000 (17:10 +0000)]
Sync to pccarddevs 1.83

Reviewed by: imp (mentor)

20 years agoAdd Xircom XEM5600 and known versions of CE2, CEM33 and CEM56.
Scott Mitchell [Fri, 9 Apr 2004 17:08:12 +0000 (17:08 +0000)]
Add Xircom XEM5600 and known versions of CE2, CEM33 and CEM56.
Xircom had an unfortunate habit of re-using PCMCIA IDs for quite different
cards - the xe driver knows about this and uses the first byte of 'extra'
PCMCIA ID info to identify cards with ambiguous IDs.

Reviewed by: imp (mentor)

20 years agoI hate noticing bugs after committing. :-(
Mark Murray [Fri, 9 Apr 2004 17:00:03 +0000 (17:00 +0000)]
I hate noticing bugs after committing. :-(
ALWAYS set up the CPU base identity string. THEN optionally
add features.

20 years agoo SIOCGIFCONF->getifaddrs(2) conversion.
Maxim Konovalov [Fri, 9 Apr 2004 16:59:05 +0000 (16:59 +0000)]
o SIOCGIFCONF->getifaddrs(2) conversion.

PR: bin/9379
Obtained from: NetBSD

20 years agoDocument the recent upgrade to the entropy device WRT hardware
Mark Murray [Fri, 9 Apr 2004 16:02:54 +0000 (16:02 +0000)]
Document the recent upgrade to the entropy device WRT hardware
generators.

20 years agoTake into account hardware-supplied entropy. If the entropy source
Mark Murray [Fri, 9 Apr 2004 15:56:16 +0000 (15:56 +0000)]
Take into account hardware-supplied entropy. If the entropy source
is hardware, the Yarrow initialisations don't need to be done.

20 years agoReorganise the entropy device so that high-yield entropy sources
Mark Murray [Fri, 9 Apr 2004 15:47:10 +0000 (15:47 +0000)]
Reorganise the entropy device so that high-yield entropy sources
can more easily be used INSTEAD OF the hard-working Yarrow.
The only hardware source used at this point is the one inside
the VIA C3 Nehemiah (Stepping 3 and above) CPU. More sources will
be added in due course. Contributions welcome!

20 years agoOmnibus PCI commit:
Warner Losh [Fri, 9 Apr 2004 15:44:34 +0000 (15:44 +0000)]
Omnibus PCI commit:
o Save and restore bars for suspend/resume as well as for D3->D0
  transitions.
o preallocate resources that the PCI devices use to avoid resource
  conflicts
o lazy allocation of resources not allocated by the BIOS.
o set unattached drivers to state D3.  Set power state to D0
  before probe/attach.  Right now there's two special cases
  for this (display and memory devices) that need work in other
  areas of the tree.

Please report any bugs to me.

20 years agoPlug minor memory leak of module_t structures when unloading a file
Peter Edwards [Fri, 9 Apr 2004 15:27:38 +0000 (15:27 +0000)]
Plug minor memory leak of module_t structures when unloading a file
from the kernel.

Reviewed By: Doug Rabson (dfr@)

20 years agoAdd extra output to show when VIA C3 Nehemiah CPUs have hardware
Mark Murray [Fri, 9 Apr 2004 15:01:44 +0000 (15:01 +0000)]
Add extra output to show when VIA C3 Nehemiah CPUs have hardware
Random Number Generator (RNG) and/or Advanced Cryptography Engine
(ACE).

20 years agoSpell "switches" a more conventional way.
Olivier Houchard [Fri, 9 Apr 2004 14:31:29 +0000 (14:31 +0000)]
Spell "switches" a more conventional way.

20 years ago- Change several errx() calls that should have been err() calls.
Maxime Henrion [Fri, 9 Apr 2004 14:27:28 +0000 (14:27 +0000)]
- Change several errx() calls that should have been err() calls.
- Handle empty ARP tables properly.
- Remove register keyword.
- arp(8) is WARNS?=4 clean, so mark it as such to avoid regressions.

20 years agoReintroduce a comment that was wrongly removed in revision 1.34.
Maxime Henrion [Fri, 9 Apr 2004 14:19:12 +0000 (14:19 +0000)]
Reintroduce a comment that was wrongly removed in revision 1.34.

20 years agoCompare pointers with NULL rather than using pointers are booleans in
Robert Watson [Fri, 9 Apr 2004 13:23:51 +0000 (13:23 +0000)]
Compare pointers with NULL rather than using pointers are booleans in
if/for statements.  Assign pointers to NULL rather than typecast 0.
Compare pointers with NULL rather than 0.

20 years agoFixed missing forward declaration of struct rusage in the _KERNEL case.
Bruce Evans [Fri, 9 Apr 2004 13:14:32 +0000 (13:14 +0000)]
Fixed missing forward declaration of struct rusage in the _KERNEL case.

Removed namespace-polluting forward declaration of struct rusage in the
!_KERNEL && !_BSD_VISIBLE case.

Fixed some nearby style bugs.

20 years agoTerminate execl()'s argument list with a null pointer instead of a
Tim J. Robbins [Fri, 9 Apr 2004 11:32:32 +0000 (11:32 +0000)]
Terminate execl()'s argument list with a null pointer instead of a
null pointer constant. (The latter may be an integer constant, which
is not correct here.)

Submitted by: Stefan Farfeleder

20 years agoImprove robustness of multibyte character handling (-m option), and
Tim J. Robbins [Fri, 9 Apr 2004 11:17:29 +0000 (11:17 +0000)]
Improve robustness of multibyte character handling (-m option), and
simplify the read buffering now that we can feed partial multibyte
characters to mbrtowc().

20 years agoStyle fixes and add gen to CLEANFILES.
Nate Lawson [Fri, 9 Apr 2004 07:13:27 +0000 (07:13 +0000)]
Style fixes and add gen to CLEANFILES.

Submitted by: bde

20 years agoReplace more ad-hoc versions of acpi_GetReference(). Since the type of
Nate Lawson [Fri, 9 Apr 2004 06:55:50 +0000 (06:55 +0000)]
Replace more ad-hoc versions of acpi_GetReference().  Since the type of
Reference objects changed from ACPI_TYPE_ANY to ACPI_TYPE_LOCAL_REFERENCE
in Oct. 2002, this may help systems where switching the cooler on failed.
We support both types for now until this sorts out.

20 years agoInclude the prototype for acpi_GetReference.
Nate Lawson [Fri, 9 Apr 2004 06:53:50 +0000 (06:53 +0000)]
Include the prototype for acpi_GetReference.

20 years agoAdd support for packages as the first element of _PRW. This may allow
Nate Lawson [Fri, 9 Apr 2004 06:40:03 +0000 (06:40 +0000)]
Add support for packages as the first element of _PRW.  This may allow
some machines to enable wake events for more devices although I haven't
seen a system yet that uses this form.  Also, introduce acpi_GetReference()
which retrieves an object reference from various types.

20 years agoOoops, removed this acknowledgement bogusly.
Warner Losh [Fri, 9 Apr 2004 05:12:47 +0000 (05:12 +0000)]
Ooops, removed this acknowledgement bogusly.

Eagle Eyes: bde

20 years agoForced commit to add note to previous commit message.
Robert Watson [Fri, 9 Apr 2004 03:17:21 +0000 (03:17 +0000)]
Forced commit to add note to previous commit message.

Also tested by: "Michael L. Squires" <mikes@siralan.org>

20 years agoLock down the netatalk AARP code, which is responsible for appletalk
Robert Watson [Fri, 9 Apr 2004 01:40:12 +0000 (01:40 +0000)]
Lock down the netatalk AARP code, which is responsible for appletalk
address discovery and caching (similar to inet ARP).  Use a single
global mutex, aarptab_mtx, to protect the table.  Remove spl/spx.

Tested by: Bob Bishop <rb@gid.co.uk>

20 years agoAfter forking and initializing the library to single-threaded
Daniel Eischen [Thu, 8 Apr 2004 23:16:21 +0000 (23:16 +0000)]
After forking and initializing the library to single-threaded
mode (where the forked thread is the one and only thread and
is marked as system scope), set the system scope flag before
initializing the signal mask.  This prevents trying to use
internal locks that haven't yet been initialized.

Reported by: Dan Nelson <dnelson at allantgroup.com>
Reviewed by: davidxu

20 years agoAdd a LIBRARY section.
Simon L. B. Nielsen [Thu, 8 Apr 2004 23:04:54 +0000 (23:04 +0000)]
Add a LIBRARY section.

Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
PR: docs/65208

20 years agoAllow arguments to appear in any order.
Tim Kientzle [Thu, 8 Apr 2004 19:37:01 +0000 (19:37 +0000)]
Allow arguments to appear in any order.

While I'm here, add a couple of extra sanity-checks to
the argument parsing (reject -j -z, for instance) and
update the docs a bit.

Requested by: most everyone ;-)

20 years agoThe demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits
Alan Cox [Thu, 8 Apr 2004 19:08:49 +0000 (19:08 +0000)]
The demise of vm_pager_map_page() in revision 1.93 of vm/vm_pager.c permits
the reduction of the pager map's size by 8M bytes.  In other words, eight
megabytes of largely wasted KVA are returned to the kernel map for use
elsewhere.

20 years agoReadd -Werror flag to compilation pf.c after the compiler warnings have been
Max Laier [Thu, 8 Apr 2004 18:17:13 +0000 (18:17 +0000)]
Readd -Werror flag to compilation pf.c after the compiler warnings have been
shut up.

Tested by: LINT(i386)
Approved by: bms(mentor)

20 years agoUnify on version 1 to be similar to the rest of the tree. After 5-stable
Nate Lawson [Thu, 8 Apr 2004 16:45:12 +0000 (16:45 +0000)]
Unify on version 1 to be similar to the rest of the tree.  After 5-stable
branches, increment version on any API change visible to other modules.

20 years agoIn the examples, make the bitmap_name an absolute path name.
Jens Schweikhardt [Thu, 8 Apr 2004 16:31:17 +0000 (16:31 +0000)]
In the examples, make the bitmap_name an absolute path name.
This avoids hair pulling when someone expects the splash screen
to just work when the bitmap file is in /boot.

20 years agoAdd Netgear WG311T (PCI version of the WG511T).
Stefan Eßer [Thu, 8 Apr 2004 16:09:40 +0000 (16:09 +0000)]
Add Netgear WG311T (PCI version of the WG511T).
I just received one and have verified that it works just fine.

20 years agoFix typo.
Bruce A. Mah [Thu, 8 Apr 2004 15:47:30 +0000 (15:47 +0000)]
Fix typo.

Submitted by: schweikh

20 years agoUpdate manual pages for change to C99 mbrtowc() semantics.
Tim J. Robbins [Thu, 8 Apr 2004 09:59:02 +0000 (09:59 +0000)]
Update manual pages for change to C99 mbrtowc() semantics.

20 years agoFix a regression in my change which sends headers along with data; a
Mike Silbersack [Thu, 8 Apr 2004 07:14:34 +0000 (07:14 +0000)]
Fix a regression in my change which sends headers along with data; a
side effect of that change caused headers to not be sent if a 0 byte
file was passed to sendfile.  This change fixes that behavior, allowing
sendfile to send out the headers even with a 0 byte file again.

Noticed by: Dirk Engling

20 years agoDo not assume that the initial thread (i.e. the thread with the ID
Marcel Moolenaar [Thu, 8 Apr 2004 06:37:00 +0000 (06:37 +0000)]
Do not assume that the initial thread (i.e. the thread with the ID
equal to the process ID) is still present when we dump a core. It
already may have been destroyed. In that case we would end up
dereferencing a NULL pointer, so specifically test for that as well.

Reported & tested by: Dan Nelson <dnelson@allantgroup.com>

20 years agoDocument the newly-implemented -T option.
Tim Kientzle [Thu, 8 Apr 2004 06:21:03 +0000 (06:21 +0000)]
Document the newly-implemented -T option.

20 years agoAdd support for -T option on create.
Tim Kientzle [Thu, 8 Apr 2004 06:12:01 +0000 (06:12 +0000)]
Add support for -T option on create.
(Required by pkg_create.)

20 years agoWhen invoking tar, make sure the mode option (-x) is first.
Tim Kientzle [Thu, 8 Apr 2004 06:06:42 +0000 (06:06 +0000)]
When invoking tar, make sure the mode option (-x) is first.

20 years agoAdd whitespace before comment blocks. (reported by njl)
Colin Percival [Thu, 8 Apr 2004 02:03:49 +0000 (02:03 +0000)]
Add whitespace before comment blocks. (reported by njl)
Remove spurious whitespace, add indent protection, fix punctuation,
remove initialization of static variables to zero, put wakeup_ctr
and wakeup_needed in the correct order. (reported by bde)

This doesn't fix all the style bugs I introduced, but the remaining
style bugs make it easier for me to understand what I did here.

20 years agoAdding Vinod Kashyap (vkashyap) as the maintainer for twa.
Vinod Kashyap [Thu, 8 Apr 2004 01:43:34 +0000 (01:43 +0000)]
Adding Vinod Kashyap (vkashyap) as the maintainer for twa.

20 years agoThis manual page will not first appear in 4.10 as RELENG_4 has a different
Tom Rhodes [Wed, 7 Apr 2004 22:16:04 +0000 (22:16 +0000)]
This manual page will not first appear in 4.10 as RELENG_4 has a different
version of the adduser utility.

Noticed by: simon

20 years agoBack out last bad commit (again!)
Warner Losh [Wed, 7 Apr 2004 21:56:20 +0000 (21:56 +0000)]
Back out last bad commit (again!)

20 years agoRemove advertising clause from University of California Regent's
Warner Losh [Wed, 7 Apr 2004 20:46:16 +0000 (20:46 +0000)]
Remove advertising clause from University of California Regent's
license, per letter dated July 22, 1999 and email from Peter Wemm,
Alan Cox and Robert Watson.

Approved by: core, peter, alc, rwatson

20 years agoImplement an ACPI-aware pci_set_powerstate() method for PCI busses that
John Baldwin [Wed, 7 Apr 2004 19:42:21 +0000 (19:42 +0000)]
Implement an ACPI-aware pci_set_powerstate() method for PCI busses that
are enumerated in the ACPI device tree.  In addition to the normal PCI
powerstate functionality, the ACPI _PSx methods are executed and ACPI
PowerResources are switched on and off via the acpi_pwr_switch_consumer()
function.

Glanced at by: imp, njl

20 years agoDon't turn off the regular SIGINFO status information. The use of
Ian Dowse [Wed, 7 Apr 2004 18:48:11 +0000 (18:48 +0000)]
Don't turn off the regular SIGINFO status information. The use of
the NOKERNINFO flag only marginally de-clutters the output and
has a number of unwanted side effects:
  o The kernel info might be what you want to see
  o ^T is left non-functional if ping is killed non-cleanly
  o "ping -q foo &" gets suspended on tty output

Encouraged by: bde

20 years agoLinux still uses 32-bit off_t by default. Ask for 64-bit off_t on
Tim Kientzle [Wed, 7 Apr 2004 17:47:06 +0000 (17:47 +0000)]
Linux still uses 32-bit off_t by default.  Ask for 64-bit off_t on
Linux.