julian
ba3f8d87f5
Take into account that Pinnacle screwed up their PCI ID in the beginning..
...
Older cards have it reversed.
Also, use some already defined values instead of magic numbers.
PR: 73324
Submitted by: arne_woerner@yahoo.com
MFC after: 1 week
2005-02-10 22:26:28 +00:00
bmilekic
885ba93847
Optimize the way reference counting is performed with Mbufs. We
...
do not need to perform an extra memory fetch in the Packet (Mbuf+Cluster)
constructor to initialize the reference counter anymore. The reference
counts are located in a separate memory region (in the slab header,
because this zone is UMA_ZONE_REFCNT), so the memory fetch resulted very
often in a cache miss. Additionally, and perhaps more significantly,
optimize the free mbuf+cluster (packet) case, which is very common, to
no longer require an atomic operation on free (to verify the reference
counter) if the reference on the cluster has never been increased (also
very common). Reduces an atomic on mbuf free on average.
Original patch submitted by: Gerrit Nagelhout <gnagelhout@sandvine.com>
2005-02-10 22:23:02 +00:00
jmg
ad0e8354e0
bump the Makefile config versions now that config is 600001...
...
Forgotten by: des
2005-02-10 21:15:31 +00:00
glebius
b86af53bf8
Add strspn() to libkern.
...
Ok'ed by: rwatson
2005-02-10 20:39:39 +00:00
cperciva
e1f5bc1828
Declare "cnt" (a number of bytes to read or write) as an "ssize_t", not
...
as a "long" in dofileread() and dofilewrite().
Discussed with: jhb
2005-02-10 20:19:17 +00:00
cperciva
7294dae01f
read(), pread(), write(), and pwrite() return EINVAL if they are asked
...
for more than INT_MAX bytes.
2005-02-10 20:09:01 +00:00
vkashyap
53986fb12f
1. Revert back to the way the older driver handled XPT_PATH_INQ. This seems to
...
fix the problem with device discovery seen by some people.
2. Change to make 3ware CLI/3DM work on amd64.
3. Fix a potential problem that could cause the driver to do strlen(NULL) when
using older firmware.
Reviewed by:scottl
2005-02-10 18:07:33 +00:00
harti
5ac91dfb2b
Buffers are already NUL-terminated so there is no need to explicitely add
...
a NULL.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 17:01:46 +00:00
sam
bfba17efd6
rev 1.19 fixed wpa supplicant but broke wpa authenticator; when operating
...
as an authenticator need to always check for the unicast key in the node
(as was the case before)
Submitted by: Divy Le Ray
2005-02-10 17:00:48 +00:00
harti
be46f93f56
Mostly stylistic nits in preparation for splitting up Var_Parse:
...
use a more consistent style with regard to *str and str[0];
simplify code by introducing a temporary variable;
shift a break around and add braces where appropriate.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 17:00:16 +00:00
sam
9b44db51a1
propagate state kept in the bss node when re-creating the node
...
on state transitions; this is a stopgap measure, need to rethink
how we do management of this state
Identified by: Divy Le Ray
2005-02-10 16:59:04 +00:00
ru
42eef8eb6f
Fixed usage().
2005-02-10 16:07:23 +00:00
ru
4666872d3b
Require at least one argument.
2005-02-10 16:04:22 +00:00
des
6d2ea50e04
Bump the version number for the addition of devices / nodevices.
2005-02-10 15:16:25 +00:00
harti
d1c5c1813a
Let the buffer just use the default size by specifying 0 as the size
...
instead of specifying the default size explicitely.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:53:29 +00:00
harti
f247b32ef0
Mark the modification of the input string (which should really be const)
...
with a comment.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:52:14 +00:00
harti
9c56ede2b6
Style nits:
...
Move some assignments nearer to where they actually used. Convert a loop
from a for() to a while() to make it clearer and add braces to the long
body of it. Split assignment from variable declaration.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:50:34 +00:00
ru
77cdf1ecc0
Sync program's usage() with manpage's SYNOPSIS.
2005-02-10 14:47:06 +00:00
harti
374fae4a38
Describe a pre-condition of Var_Parse().
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:43:22 +00:00
harti
41f26b3bb5
Remove a comment that's not actual anymore.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:41:22 +00:00
harti
1735ff6669
Fix spacing by converting mixes of space and tab to tab. Also add a number
...
of empty lines in appropriate places.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-10 14:39:05 +00:00
harti
7e0569095f
Initialise the status variable. W_SETTERMSIG uses its value.
...
Submitted by: stefanf
2005-02-10 14:32:14 +00:00
des
6a0712c33a
Fully document (no)?(device|option)s?.
...
This page should probably be repocopied to src/usr.sbin/config/.
2005-02-10 14:26:21 +00:00
harti
ac0decfad8
Lst_Append returns void, so the other case of the ? statement
...
should also be void.
Submitted by: stefanf
2005-02-10 14:25:12 +00:00
phk
93d5e4d56e
Update a little bit.
2005-02-10 12:47:55 +00:00
delphij
2dae001657
Full modernize cleanup:
...
- De-__P()
- constify where appropriate
- ANSI functions instead of K&R
Pointed out by: stefanf
2005-02-10 12:43:16 +00:00
phk
5dd8d30575
Make various vnode related functions static
2005-02-10 12:28:58 +00:00
phk
dc9f809dd5
Make some file/filedesc related functions static
2005-02-10 12:27:58 +00:00
phk
993d22fc7e
Make M_NETGRAPH_ETF static
2005-02-10 12:26:57 +00:00
phk
40bcad426b
Make various mountpoint related functions static.
2005-02-10 12:25:38 +00:00
phk
9fbd4a503d
Make a SYSCTL_NODE static
2005-02-10 12:23:29 +00:00
phk
bbe97a9d2e
MD5Pad() should never have been exposed.
2005-02-10 12:20:42 +00:00
phk
a0110b5e9e
Make a some SYSCTL_NODEs and some of FFS's VFS_ methods static.
2005-02-10 12:20:08 +00:00
phk
0e0e2e5d1c
Make three SYSCTL_NODEs static
2005-02-10 12:18:36 +00:00
phk
a8ab852940
Make npages static and const.
2005-02-10 12:18:17 +00:00
phk
3435220961
make cluster_callback() static
2005-02-10 12:17:48 +00:00
phk
6d9a6aacc4
Make a SYSCTL_NODE and a mutex static
2005-02-10 12:16:42 +00:00
phk
82e926dbf2
Make another bunch of SYSCTL_NODEs static
2005-02-10 12:16:08 +00:00
phk
1de366179d
Make a bunch of SYSCTL_NODEs static.
2005-02-10 12:15:49 +00:00
phk
67e4aa7d33
Make various random things static
2005-02-10 12:10:35 +00:00
phk
bd3aabb81e
make M_NTFSMNT and ntfs_calccfree() static
2005-02-10 12:09:49 +00:00
phk
34655596ce
Make fdesc_root static
2005-02-10 12:09:15 +00:00
phk
590bf5ec9c
Statification
2005-02-10 12:08:55 +00:00
phk
164cc554c1
Make smbfs_debuglevel private.
2005-02-10 12:07:02 +00:00
phk
1ac5aa5859
don't call vprint with NULL.
2005-02-10 12:06:34 +00:00
phk
b37bc365fb
Statize malloc types.
...
Don't call vprint with NULL.
2005-02-10 12:05:06 +00:00
phk
4fc19472ad
Statize devfs_ops_f
2005-02-10 12:04:26 +00:00
phk
13100c3699
Make a bunch of malloc types static.
...
Found by: src/tools/tools/kernxref
2005-02-10 12:02:37 +00:00
des
85471cb3ce
"device" and "nodevice" lines can actually specify more than one device
...
(separated by commas), so add "devices" and "nodevices" as aliases.
MFC after: 2 weeks
2005-02-10 10:46:27 +00:00
alfred
e6388323e9
back out 1.7 changes, unneeded and possibly wrong.
2005-02-10 10:44:29 +00:00