]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoFixed s style bug in previous commit (tab lossage). Fixed some nearby
bde [Sun, 28 Mar 2004 04:17:36 +0000 (04:17 +0000)]
Fixed s style bug in previous commit (tab lossage).  Fixed some nearby
style bugs (more tab lossage, unclear description of TDF_USTATCLOCK,
and English usage errors).

20 years agoIf <x> is a process id that does not exist, then just print the header
gad [Sun, 28 Mar 2004 03:00:56 +0000 (03:00 +0000)]
If <x> is a process id that does not exist, then just print the header
(if any) and exit, thus matching the behavior on -stable and other OS's.
My earlier attempt to fix this (v1.65) only seemed to work because of a
lucky random value in nentries (which was not being initialized back
when I tested that earlier patch).

20 years agoFix `-o rtprio' so it prints the correct value.
gad [Sun, 28 Mar 2004 02:13:31 +0000 (02:13 +0000)]
Fix `-o rtprio' so it prints the correct value.

PR: bin/59417
Submitted by: Jan Willem Knopper
This fix by: bde (in the audit-trail of the PR)

20 years agoAdd a cross-reference to pkill(1), now that pkill is hooked up to the build.
gad [Sat, 27 Mar 2004 23:45:33 +0000 (23:45 +0000)]
Add a cross-reference to pkill(1), now that pkill is hooked up to the build.

20 years agoThe compatibility specification property is named "compatible", not
tmm [Sat, 27 Mar 2004 22:39:47 +0000 (22:39 +0000)]
The compatibility specification property is named "compatible", not
"compat".

Spotted by: Marius Strobl <marius@alchemy.franken.de>

20 years agoIf a non-existent user is given as part of `-U userlist', treat it as
gad [Sat, 27 Mar 2004 22:14:42 +0000 (22:14 +0000)]
If a non-existent user is given as part of `-U userlist', treat it as
a fatal error instead of a minor warning.  It is possible that a few
users are used to the previous behavior, but I'm claiming it was a bug.

20 years agoExplicitly wrap two long-ish linesi of code, to make them easier to read.
gad [Sat, 27 Mar 2004 21:59:54 +0000 (21:59 +0000)]
Explicitly wrap two long-ish linesi of code, to make them easier to read.

20 years agoChange the #if-ish logic which is used to add the `-f' option when `ps'
gad [Sat, 27 Mar 2004 21:56:49 +0000 (21:56 +0000)]
Change the #if-ish logic which is used to add the `-f' option when `ps'
is compiled with LAZY_PS, so that there is only one PS_ARGS string to
modify when changing the option-list.  Also get `-f' to show up in the
usage() statement when compiled with LAZY_PS.

20 years agoMove the 'f' case so it shows up in the right place, alphabetically.
gad [Sat, 27 Mar 2004 21:40:04 +0000 (21:40 +0000)]
Move the 'f' case so it shows up in the right place, alphabetically.

20 years agoReduce 'td' argument to 'cred' (struct ucred) argument in those functions:
pjd [Sat, 27 Mar 2004 21:05:46 +0000 (21:05 +0000)]
Reduce 'td' argument to 'cred' (struct ucred) argument in those functions:
- in_pcbbind(),
- in_pcbbind_setup(),
- in_pcbconnect(),
- in_pcbconnect_setup(),
- in6_pcbbind(),
- in6_pcbconnect(),
- in6_pcbsetport().
"It should simplify/clarify things a great deal." --rwatson

Requested by: rwatson
Reviewed by: rwatson, ume

20 years agoRemove unused argument.
pjd [Sat, 27 Mar 2004 20:41:32 +0000 (20:41 +0000)]
Remove unused argument.

Reviewed by: ume

20 years agoApparently, some atheros drivers want rand(), so implement it (in terms
wpaul [Sat, 27 Mar 2004 20:38:43 +0000 (20:38 +0000)]
Apparently, some atheros drivers want rand(), so implement it (in terms
of random()).

Requested by: juli
Bribe offered: tacos

20 years agoRemove unused prototype.
pjd [Sat, 27 Mar 2004 20:38:02 +0000 (20:38 +0000)]
Remove unused prototype.

Reviewed by: ume

20 years agoRevise the direct or optimized case to use uiomove_fromphys() by the reader
alc [Sat, 27 Mar 2004 19:50:23 +0000 (19:50 +0000)]
Revise the direct or optimized case to use uiomove_fromphys() by the reader
instead of ephemeral mappings using pmap_qenter() by the writer.  The
writer is still, however, responsible for wiring the pages, just not
mapping them.  Consequently, the allocation of KVA for the direct case is
unnecessary.  Remove it and the sysctls limiting it, i.e.,
kern.ipc.maxpipekvawired and kern.ipc.amountpipekvawired.  The number
of temporarily wired pages is still, however, limited by
kern.ipc.maxpipekva.

Note: On platforms lacking a direct virtual-to-physical mapping,
uiomove_fromphys() uses sf_bufs to cache ephemeral mappings.  Thus,
the number of available sf_bufs can influence the performance of pipes
on platforms such i386.  Surprisingly, I saw the greatest gain from this
change on such a machine: lmbench's pipe bandwidth result increased from
~1050MB/s to ~1850MB/s on my 2.4GHz, 400MHz FSB P4 Xeon.

20 years agoUpdate the date on the man page, since this the previous change added
gad [Sat, 27 Mar 2004 18:26:40 +0000 (18:26 +0000)]
Update the date on the man page, since this the previous change added
a few new options.

20 years agoSupport more POSIX/SUSv3 options:
gad [Sat, 27 Mar 2004 18:22:17 +0000 (18:22 +0000)]
Support more POSIX/SUSv3 options:

- Change `-p' to allow a list of process IDs, and `-t' to allow a list
  of terminal names, instead of only a single value for each.
- Add the `-A' option of SUSv3, which is exactly the same as `-ax'.
- Add the `-G gidlist' (group id).
- Allow any of these "selector options" to be specified multiple times,
  and have `ps' keep adding to a given list -- instead of replacing the
  previously-specified values.
- Fix interactions between selector-options, so that: "If any are
  specified, ... ps shall select the processes represented by the
  inclusive OR of all the selection-criteria options." (from SUSv3)
- Add a `-X' option, which is the reverse of the `-x' option.

- various minor improvements in parsing and error handling.

This does not get us to match POSIX/SUSv3, but it gets us closer.  The
`-g pgidlist', `-R ruserlist' and `-s sidlist' options mentioned in
freebsd-standards are still under debate, so they skipped for now.
It should be true that this introduces no user-visible incompatible
changes, except to support "new stuff" that was not supported before.

20 years agoChange the type of the various CPU masks to cpumask_t. Note that as
marcel [Sat, 27 Mar 2004 18:21:24 +0000 (18:21 +0000)]
Change the type of the various CPU masks to cpumask_t. Note that as
long as there are still explicit uses of int, whether in types or
in function names (such as atomic_set_int() in sched_ule.c), we can
not change cpumask_t to be anything other than u_int. See also the
commit log for sys/sys/types.h, revision 1.84.

20 years agoMFi386: correctly calculate the top-of-stack when a kthread is created
marcel [Sat, 27 Mar 2004 17:44:25 +0000 (17:44 +0000)]
MFi386: correctly calculate the top-of-stack when a kthread is created
with a larger kernel stack. Remove inclusion of opt_kstack_pages.h now
that it's unused.

20 years agoAdd ACPI PnP string. This affects devinfo(8) output with -v option.
takawata [Sat, 27 Mar 2004 16:26:00 +0000 (16:26 +0000)]
Add ACPI PnP string. This affects devinfo(8) output with -v option.

20 years agoFix typo in the device id for the new cards.
scottl [Sat, 27 Mar 2004 15:56:34 +0000 (15:56 +0000)]
Fix typo in the device id for the new cards.

20 years agoo Since we're not using signals for thread synchronization anymore,
mtm [Sat, 27 Mar 2004 15:05:28 +0000 (15:05 +0000)]
o Since we're not using signals for thread synchronization anymore,
  sigprocmask no longer needs to be wrapped.
o raise(3) is applied to the calling thread in a threaded program.
o In the sigaction wrapper reference the correct structure.
o Don't treat SIGTHR especially anymore (infact it won't exist in
  a little while).

20 years agoStop using signals for synchronizing threads. The performance penalty
mtm [Sat, 27 Mar 2004 14:39:21 +0000 (14:39 +0000)]
Stop using signals for synchronizing threads. The performance penalty
was too much.

20 years agoRegen for libthr thread synchronization syscalls.
mtm [Sat, 27 Mar 2004 14:34:17 +0000 (14:34 +0000)]
Regen for libthr thread synchronization syscalls.

20 years agoUse the proc lock to sleep on a libthr umtx.
mtm [Sat, 27 Mar 2004 14:32:03 +0000 (14:32 +0000)]
Use the proc lock to sleep on a libthr umtx.

20 years agoSeparate thread synchronization from signals in libthr. Instead
mtm [Sat, 27 Mar 2004 14:30:43 +0000 (14:30 +0000)]
Separate thread synchronization from signals in libthr. Instead
use msleep() and wakeup_one().

Discussed with: jhb, peter, tjr

20 years agoCorrect typo in the last revision.
ceri [Sat, 27 Mar 2004 14:23:25 +0000 (14:23 +0000)]
Correct typo in the last revision.

20 years agoBackout revision 1.140; it seems that the previous version is clear
ceri [Sat, 27 Mar 2004 14:13:53 +0000 (14:13 +0000)]
Backout revision 1.140; it seems that the previous version is clear
enough.

Requested by: ru

20 years agoA few small cleanups:
dougb [Sat, 27 Mar 2004 09:26:22 +0000 (09:26 +0000)]
A few small cleanups:

1. Add the shutdown keyword so that the script is run at shutdown time,
and the mixer* files are saved.
2. Twiddle whitespace.
3. Remove an unecessary function, and therefore collapse one variable.

20 years agoRecognize the "rune" character class in wctype().
tjr [Sat, 27 Mar 2004 08:59:21 +0000 (08:59 +0000)]
Recognize the "rune" character class in wctype().

20 years ago- Add a description for vfs.usermount sysctl.
pjd [Sat, 27 Mar 2004 08:39:28 +0000 (08:39 +0000)]
- Add a description for vfs.usermount sysctl.
- Add the vfs_equalopts() function for mount options comparsion.
  Now it looks much more clear.
- Style fixed.

In co-operation with: bde

20 years agoBump FreeBSD version for UTF-8 locale addition. This is primarily for
tjr [Sat, 27 Mar 2004 08:21:00 +0000 (08:21 +0000)]
Bump FreeBSD version for UTF-8 locale addition. This is primarily for
the benefit of the misc/utf8locale port.

20 years agoAdd UTF-8 versions of all the currently supported system locales. Most of
tjr [Sat, 27 Mar 2004 08:14:15 +0000 (08:14 +0000)]
Add UTF-8 versions of all the currently supported system locales. Most of
the hard work was done by Hye-Shik Chang in the misc/utf8locale port; I made
a few minor adjustments and merged the makefiles.

PR: 44307

20 years ago- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
pjd [Sat, 27 Mar 2004 08:09:00 +0000 (08:09 +0000)]
- Loudly disallow MNT_SUIDDIR mount flag for unprivileged users mounts.
- Style fixed.

Submitted by: bde

20 years agobde also tells me that he is confident that P_SYSTEM will not work
gad [Sat, 27 Mar 2004 06:49:57 +0000 (06:49 +0000)]
bde also tells me that he is confident that P_SYSTEM will not work
any better on 4.x than it does on 5.2. If that's true then there
is no point to the __FreeBSD_version check that I had added.

20 years agoHook `pkill' (and thus `pgrep') to the standard buildworld.
gad [Sat, 27 Mar 2004 05:44:55 +0000 (05:44 +0000)]
Hook `pkill' (and thus `pgrep') to the standard buildworld.

Reviewed by: freebsd-arch

20 years agoSome style(9)-ish improvements, courtesy of bde.
gad [Sat, 27 Mar 2004 05:40:31 +0000 (05:40 +0000)]
Some style(9)-ish improvements, courtesy of bde.

Noticed by: bde

20 years agoDon't read an inode which isn't used to avoid problems on UFS2 where not
le [Fri, 26 Mar 2004 23:42:32 +0000 (23:42 +0000)]
Don't read an inode which isn't used to avoid problems on UFS2 where not
all inodes are initialized when running newfs.

Approved by:    grog (mentor)

20 years agoMFp4: FireWire
simokawa [Fri, 26 Mar 2004 23:17:10 +0000 (23:17 +0000)]
MFp4: FireWire
* all
- s/__FUNCTION__/__func__/.
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
- Compatibility for RELENG_4 and DragonFly.

* firewire
- Timestamp just before queuing.
- Retry bus probe if it fails.
- Use device_printf() for debug message.
- Invalidiate CROM while update.
- Don't process minimum/invalid CROM.

* sbp
- Add ORB_SHORTAGE flag.
- Add sbp.tags tunable.
- Revive doorbell support. It's not enabled by default.

20 years agofix for 64-bit arch:
rees [Fri, 26 Mar 2004 22:44:59 +0000 (22:44 +0000)]
fix for 64-bit arch:
use %zd to print size_t types and sizeof()

Approved by: alfred
Tested on: sparc64, amd64

20 years agoWe probably shouldn't allow users to mount file systems with MNT_SUIDDIR.
pjd [Fri, 26 Mar 2004 21:12:14 +0000 (21:12 +0000)]
We probably shouldn't allow users to mount file systems with MNT_SUIDDIR.
There should be not shell access when SUIDDIR is compiled in, but
better be sure.

Reviewed by: rwatson

20 years agoValidate IPv6 socket options more carefully to avoid a panic.
ume [Fri, 26 Mar 2004 19:52:18 +0000 (19:52 +0000)]
Validate IPv6 socket options more carefully to avoid a panic.

PR: kern/61513
Reviewed by: cperciva, nectar

20 years agoRemove the _PATH_DEVNULL setting for "swapf". From the kvm_open(3)
gad [Fri, 26 Mar 2004 19:29:57 +0000 (19:29 +0000)]
Remove the _PATH_DEVNULL setting for "swapf".  From the kvm_open(3)
man page:  The swapfile argument is currently unused.

Noticed by: ru

20 years agoo The lenght of the port list is limited to 30 entries in ipfw2 not to 15.
maxim [Fri, 26 Mar 2004 19:09:22 +0000 (19:09 +0000)]
o The lenght of the port list is limited to 30 entries in ipfw2 not to 15.

PR: docs/64534
Submitted by: Dmitry Cherkasov
MFC after: 1 week

20 years agoMFNetBSD Version 1.146
julian [Fri, 26 Mar 2004 18:56:58 +0000 (18:56 +0000)]
MFNetBSD Version 1.146
various probing and attaching tweeks.

Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz>

Obtained from: NetBSD
MFC after: 3 days

20 years agoRemoved more vestiges of the stl(4) driver.
ru [Fri, 26 Mar 2004 18:49:11 +0000 (18:49 +0000)]
Removed more vestiges of the stl(4) driver.

20 years agoBring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.
obrien [Fri, 26 Mar 2004 18:46:31 +0000 (18:46 +0000)]
Bring back jhb's two sector (1024 bytes) 'boot0' [rev 1.22] as 'boot0ext'.

20 years agoRemove the NEED_KMEM support meant for FreeBSD 3.x. This base-system
gad [Fri, 26 Mar 2004 18:02:40 +0000 (18:02 +0000)]
Remove the NEED_KMEM support meant for FreeBSD 3.x.  This base-system
version isn't going to be committed to that branch...

Noticed by: des

20 years agoSwitch to checking P_KTHREAD instead of P_SYSTEM when deciding what
gad [Fri, 26 Mar 2004 17:51:49 +0000 (17:51 +0000)]
Switch to checking P_KTHREAD instead of P_SYSTEM when deciding what
"system processes" to always ignore.  Based on my testing with `-D',
I am pretty sure this is what we want for 5.x-current.  If my thinking
is wrong, this also makes it easier to switch to a different check.

20 years agoFixed some style bugs in the residue of rev.1.14 (mainly initialization in
bde [Fri, 26 Mar 2004 16:11:13 +0000 (16:11 +0000)]
Fixed some style bugs in the residue of rev.1.14 (mainly initialization in
declarations, uncuddled elses and excessive braces).

20 years agoo The mutex locking functions aren't normally cancellation points. But,
mtm [Fri, 26 Mar 2004 14:47:54 +0000 (14:47 +0000)]
o The mutex locking functions aren't normally cancellation points. But,
  we still have to DTRT when an asynchronously cancellable thread is
  cancelled while waiting for a mutex.
o While dequeueing a waiting mutex don't skip a thread if it has
  a cancel pending. Only skip it if it is also async cancellable.

20 years agoo Initialize a local variable before referencing it. This was not
mtm [Fri, 26 Mar 2004 14:45:35 +0000 (14:45 +0000)]
o Initialize a local variable before referencing it. This was not
  the cause of any bugs because it is *always* indirectly set
  in the for...loop, but better to be explicit about it.
o Check the magic number of the passed in thread only after it has
  been found in the active thread list. Otherwise, if the check is done
  at the very beginning we may end up pointing to garbage if the
  thread was once a valid thread, but has now been destroyed.

20 years agoProperly document the -M and -N options.
ru [Fri, 26 Mar 2004 11:01:45 +0000 (11:01 +0000)]
Properly document the -M and -N options.

20 years agoCorrect the description of the -N option.
ru [Fri, 26 Mar 2004 10:48:35 +0000 (10:48 +0000)]
Correct the description of the -N option.

20 years ago-N without -M is pointless.
ru [Fri, 26 Mar 2004 09:28:03 +0000 (09:28 +0000)]
-N without -M is pointless.

20 years agoNot too much point specifying -N but not specifying -M.
ru [Fri, 26 Mar 2004 09:24:45 +0000 (09:24 +0000)]
Not too much point specifying -N but not specifying -M.

20 years agoUpdate information of how pstat(8) accesses the running system.
ru [Fri, 26 Mar 2004 09:04:48 +0000 (09:04 +0000)]
Update information of how pstat(8) accesses the running system.

20 years agoAvoid the manpage layering violation and low-level implementation
ru [Fri, 26 Mar 2004 08:54:27 +0000 (08:54 +0000)]
Avoid the manpage layering violation and low-level implementation
details of libkvm, and just tell what the getbootfile(3) function
will return, by using the text from netstat(1) and dmesg(8).

20 years agoCorrect the description of options -N and -M to match reality.
ru [Fri, 26 Mar 2004 08:47:01 +0000 (08:47 +0000)]
Correct the description of options -N and -M to match reality.

20 years agoFixed some style bugs in or related to rev.1.13 (mainly misindentation of
bde [Fri, 26 Mar 2004 08:39:36 +0000 (08:39 +0000)]
Fixed some style bugs in or related to rev.1.13 (mainly misindentation of
the getopt() case statement).

20 years ago- Remove references to /dev/kmem -- ps(1) utilizes the
ru [Fri, 26 Mar 2004 08:29:38 +0000 (08:29 +0000)]
- Remove references to /dev/kmem -- ps(1) utilizes the
  sysctl(3) interface in kvm(3).
- Document the correct default when no -N is specified.
- Remove stale reference to /var/db/kvm_kernel.db.
- Remove stale reference to /var/run/dev.db.

20 years agoDocument that kvm_open(3) also accepts "/dev/null" as a special
ru [Fri, 26 Mar 2004 08:05:39 +0000 (08:05 +0000)]
Document that kvm_open(3) also accepts "/dev/null" as a special
"corefile" argument, to access the running system via sysctl(3)
if possible, thus not requring special setgid privileges.

20 years agoDocument that libkvm also uses /dev/kmem, to access KVM.
ru [Fri, 26 Mar 2004 08:03:53 +0000 (08:03 +0000)]
Document that libkvm also uses /dev/kmem, to access KVM.

20 years agoApply style.Makefile(5).
ru [Fri, 26 Mar 2004 07:44:49 +0000 (07:44 +0000)]
Apply style.Makefile(5).

20 years agoAdd ct(4) man page for ct SCSI host adapter device driver and attach
non [Fri, 26 Mar 2004 06:26:45 +0000 (06:26 +0000)]
Add ct(4) man page for ct SCSI host adapter device driver and attach
it to the build.

20 years agoCorrect the definition of the multilabel flag: it enables multilabel
rwatson [Fri, 26 Mar 2004 03:26:15 +0000 (03:26 +0000)]
Correct the definition of the multilabel flag: it enables multilabel
MAC support on the file system, if supported, which causes MAC to treat
each object as having its own label, rather than using a single label
for all objects on the file system.  This doesn't have to be used in
combination with the tunefs/newfs flags -- it's an alternative.

20 years agoSend those -Debug messages to stderr, not stdout...
gad [Fri, 26 Mar 2004 02:20:52 +0000 (02:20 +0000)]
Send those -Debug messages to stderr, not stdout...

20 years agoAdd a debugging option, as I don't understand something that I'm seeing.
gad [Fri, 26 Mar 2004 01:43:19 +0000 (01:43 +0000)]
Add a debugging option, as I don't understand something that I'm seeing.
(this is a probably temporary option, and is not to be documented)

20 years agoRemove a redundant check against mypid (the check is done later, in
gad [Fri, 26 Mar 2004 01:30:15 +0000 (01:30 +0000)]
Remove a redundant check against mypid (the check is done later, in
the "Take the appropriate action" section).

Obtained from: the sysutils/pkill port

20 years agoAdd a cast to get this to compile with WARNS=5 on sparc64. This is
gad [Fri, 26 Mar 2004 00:36:27 +0000 (00:36 +0000)]
Add a cast to get this to compile with WARNS=5 on sparc64.  This is
needed because off_t == __int64_t, while size_t == __uint64_t.  This
also compiles with WARNS=5 on amd64, but I haven't tested the other
platforms yet.

20 years agoFixes so this will compile with WARNS=5 on i386.
gad [Fri, 26 Mar 2004 00:15:20 +0000 (00:15 +0000)]
Fixes so this will compile with WARNS=5 on i386.

20 years agoFix two cosmetic style(9) issues.
gad [Thu, 25 Mar 2004 23:35:14 +0000 (23:35 +0000)]
Fix two cosmetic style(9) issues.

20 years agoAdd a comment for when these utilities were added to FreeBSD, and add
gad [Thu, 25 Mar 2004 23:32:12 +0000 (23:32 +0000)]
Add a comment for when these utilities were added to FreeBSD, and add
a cross-reference to killall(1).

20 years agoAdd `-M' and `-N' options to `pkill' and `pgrep', similar to
gad [Thu, 25 Mar 2004 23:19:16 +0000 (23:19 +0000)]
Add `-M' and `-N' options to `pkill' and `pgrep', similar to
what are supported in `ps':

  -M  Extract values associated with the name list from the
      specified core instead of the default /dev/kmem.
  -N  Extract the name list from the specified system instead
      of the default /kernel.

Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port

20 years agoUse the correct type for some casts, thus avoiding a few warning messages
gad [Thu, 25 Mar 2004 22:08:52 +0000 (22:08 +0000)]
Use the correct type for some casts, thus avoiding a few warning messages
when compiling with WARNS=3

Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port

20 years agoChange some routine and variable names to match the FreeBSD system.
gad [Thu, 25 Mar 2004 21:58:56 +0000 (21:58 +0000)]
Change some routine and variable names to match the FreeBSD system.

Written by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Obtained from: the sysutils/pkill port

20 years agoAdd support for a new variant of the prism3 that has appaered in the
imp [Thu, 25 Mar 2004 21:58:55 +0000 (21:58 +0000)]
Add support for a new variant of the prism3 that has appaered in the
wild.  This one is marketed by D-Link model DWL-650, but appears to be
a ISL3710P-10 under the hood.

Reported by: Brian O'Shea

20 years agoSync to pccarddevs 1.82
imp [Thu, 25 Mar 2004 21:56:43 +0000 (21:56 +0000)]
Sync to pccarddevs 1.82

20 years agoAdd a new Intersil card that DLINK is selling as the DWL-650.
imp [Thu, 25 Mar 2004 21:56:28 +0000 (21:56 +0000)]
Add a new Intersil card that DLINK is selling as the DWL-650.

Reported by: Brian O'Shea

20 years agoonly do nfs rpc callouts if there is work to do.
rees [Thu, 25 Mar 2004 21:48:09 +0000 (21:48 +0000)]
only do nfs rpc callouts if there is work to do.

Submitted by: kan
Approved by: alfred

20 years ago- Only build a fixit floppy on i386 and pc98.
jhb [Thu, 25 Mar 2004 20:37:59 +0000 (20:37 +0000)]
- Only build a fixit floppy on i386 and pc98.
- Reenable boot floppies for Alpha.

20 years agoEnable splitfs in the Alpha boot loaders.
jhb [Thu, 25 Mar 2004 20:36:57 +0000 (20:36 +0000)]
Enable splitfs in the Alpha boot loaders.

20 years agoRemove raidframe from the list
scottl [Thu, 25 Mar 2004 20:02:17 +0000 (20:02 +0000)]
Remove raidframe from the list

20 years ago1. Better handle a return value of EINPROGRESS from bus_dmamap_load.
vkashyap [Thu, 25 Mar 2004 19:30:35 +0000 (19:30 +0000)]
1. Better handle a return value of EINPROGRESS from bus_dmamap_load.
2. Check for bad return value from twe_map_request in places where there
   was no checking.

Reviewed by: ps

20 years agoAdd the `pkill' and `pgrep' commands from NetBSD. This is the source
gad [Thu, 25 Mar 2004 19:08:48 +0000 (19:08 +0000)]
Add the `pkill' and `pgrep' commands from NetBSD.  This is the source
straight from NetBSD (except to add the RCS-ID lines for FreeBSD).
These will probably require a few updates before they are added to
the FreeBSD buildworld.  I might MFC these to 4.x-stable after 4.10.

Discussed on: freebsd-arch
Obtained from: NetBSD (and OpenBSD also has these)

20 years ago- In subr_ndis.c:ndis_init_event(), initialize events as notification
wpaul [Thu, 25 Mar 2004 18:31:52 +0000 (18:31 +0000)]
- In subr_ndis.c:ndis_init_event(), initialize events as notification
  objects rather than synchronization objects. When a sync object is
  signaled, only the first thread waiting on it is woken up, and then
  it's automatically reset to the not-signaled state. When a
  notification object is signaled, all threads waiting on it will
  be woken up, and it remains in the signaled state until someone
  resets it manually. We want the latter behavior for NDIS events.

- In kern_ndis.c:ndis_convert_res(), we have to create a temporary
  copy of the list returned by BUS_GET_RESOURCE_LIST(). When the PCI
  bus code probes resources for a given device, it enters them into
  a singly linked list, head first. The result is that traversing
  this list gives you the resources in reverse order. This means when
  we create the Windows resource list, it will be in reverse order too.
  Unfortunately, this can hose drivers for devices with multiple I/O
  ranges of the same type, like, say, two memory mapped I/O regions (one
  for registers, one to map the NVRAM/bootrom/whatever). Some drivers
  test the range size to figure out which region is which, but others
  just assume that the resources will be listed in ascending order from
  lowest numbered BAR to highest. Reversing the order means such drivers
  will choose the wrong resource as their I/O register range.

  Since we can't traverse the resource SLIST backwards, we have to
  make a temporary copy of the list in the right order and then build
  the Windows resource list from that. I suppose we could just fix
  the PCI bus code to use a TAILQ instead, but then I'd have to track
  down all the consumers of the BUS_GET_RESOURCE_LIST() and fix them
  too.

20 years agoMore kosher mdoc(7).
obrien [Thu, 25 Mar 2004 17:54:07 +0000 (17:54 +0000)]
More kosher mdoc(7).

Submitted by: ru

20 years agoConnect ctau driver (Cronyx-Tau/ISA) to modules build process.
rik [Thu, 25 Mar 2004 17:20:45 +0000 (17:20 +0000)]
Connect ctau driver (Cronyx-Tau/ISA) to modules build process.

Approved by: imp (mentor)

20 years agoRemove unused function.
pjd [Thu, 25 Mar 2004 15:12:12 +0000 (15:12 +0000)]
Remove unused function.
It was used in FreeBSD 4.x, but now we're using cr_canseesocket().

20 years agoFinal step of the sbin -> usr.sbin move: cvs rm src/sbin/nologin/*
cperciva [Thu, 25 Mar 2004 14:53:53 +0000 (14:53 +0000)]
Final step of the sbin -> usr.sbin move: cvs rm src/sbin/nologin/*

I meant to do this a week ago, but I forgot.

20 years agoMove ct.4 to ctau.4. Step four: backout ct.4 via rm.
rik [Thu, 25 Mar 2004 14:47:42 +0000 (14:47 +0000)]
Move ct.4 to ctau.4. Step four: backout ct.4 via rm.

Approved by: imp (mentor)

20 years agoMove ct.4 to ctau.4. Step three: change ct to ctau in Makefile.
rik [Thu, 25 Mar 2004 14:45:20 +0000 (14:45 +0000)]
Move ct.4 to ctau.4. Step three: change ct to ctau in Makefile.

Approved by: imp (mentor)

20 years agoThis commit was generated by cvs2svn to compensate for changes in r127403,
des [Thu, 25 Mar 2004 12:44:08 +0000 (12:44 +0000)]
This commit was generated by cvs2svn to compensate for changes in r127403,
which included commits to RCS files with non-trunk default branches.

20 years agoImport the original directly from NetBSD instead of via OpenBSD.
des [Thu, 25 Mar 2004 12:44:08 +0000 (12:44 +0000)]
Import the original directly from NetBSD instead of via OpenBSD.

20 years agoRespect decimal flag when dumping USER type records.
phk [Thu, 25 Mar 2004 12:33:55 +0000 (12:33 +0000)]
Respect decimal flag when dumping USER type records.

20 years agoDocument the existence of NET_RT_IFMALIST.
bms [Thu, 25 Mar 2004 10:08:46 +0000 (10:08 +0000)]
Document the existence of NET_RT_IFMALIST.

Reviewed by: ru

20 years ago[troff] removed the unnecessary use of \_ escapes.
ru [Thu, 25 Mar 2004 09:25:24 +0000 (09:25 +0000)]
[troff] removed the unnecessary use of \_ escapes.

20 years agoSort SRCS in Makefile and document -g option additions.
bms [Thu, 25 Mar 2004 09:07:26 +0000 (09:07 +0000)]
Sort SRCS in Makefile and document -g option additions.

Nudged by: ru

20 years agoOutput style: Get rid of an unnecessary newline.
bms [Thu, 25 Mar 2004 08:51:14 +0000 (08:51 +0000)]
Output style: Get rid of an unnecessary newline.

20 years agoUntangle IP multicast routing interaction with delayed payload checksums.
ru [Thu, 25 Mar 2004 08:46:27 +0000 (08:46 +0000)]
Untangle IP multicast routing interaction with delayed payload checksums.

Compute the payload checksum for a locally originated IP multicast where
God intended, in ip_mloopback(), rather than doing it in ip_output() and
only when multicast router is active.  This is more correct as we do not
fool ip_input() that the packet has the correct payload checksum when in
fact it does not (when multicast router is inactive).  This is also more
efficient if we don't join the multicast group we send to, thus allowing
the hardware to checksum the payload.

20 years agoTeach netstat(1) how to print the multicast group memberships present
bms [Thu, 25 Mar 2004 08:43:59 +0000 (08:43 +0000)]
Teach netstat(1) how to print the multicast group memberships present
within the running system.

Sponsored by: Ralf the Wonder Llama