simokawa
fa2d8db5b8
Reject too large OHCI version number.
...
Invalid OHCI version indicates OHCI registers are not mapped
correctly in PCI or CardBus layer.
2003-10-31 05:05:12 +00:00
simokawa
1670caf40a
Add a compatibility macro for FreeBSD-4.
2003-10-31 04:58:03 +00:00
suz
cbca8b58aa
fixe remote panic on short packet
...
Obtained from: KAME
2003-10-31 03:18:45 +00:00
brooks
30ac6eb1d4
Make TUNDEBUG use if_printf instead of printf.
2003-10-31 02:48:12 +00:00
brooks
0c7e765e9a
Replace a couple printfs with if_printfs.
2003-10-31 01:35:07 +00:00
brooks
2848a3b2e1
Initialize if_softc and use it in favor of &ipr_softc[ifp->if_unit] to
...
get the softc.
2003-10-31 00:44:56 +00:00
brooks
186226fb16
Remove unused lp_unit member from softc.
2003-10-30 23:30:35 +00:00
brooks
2d41b33ff5
Remove unused FXP_UNIT() macro.
2003-10-30 23:12:24 +00:00
brooks
f4e26f09ce
ifp->if_name can't be null when we just assigned a static string to it.
2003-10-30 23:05:31 +00:00
sam
9183d53dd7
Overhaul routing table entry cleanup by introducing a new rtexpunge
...
routine that takes a locked routing table reference and removes all
references to the entry in the various data structures. This
eliminates instances of recursive locking and also closes races
where the lock on the entry had to be dropped prior to calling
rtrequest(RTM_DELETE). This also cleans up confusion where the
caller held a reference to an entry that might have been reclaimed
(and in some cases used that reference).
Supported by: FreeBSD Foundation
2003-10-30 23:02:51 +00:00
brooks
778c2eee42
style: strcmp() does not return a bool.
2003-10-30 23:00:15 +00:00
peter
4516581af2
Use -D to rename the log() function (extensively used) rather than
...
using the gcc-specific -fno-builtin-log switch.
2003-10-30 22:59:41 +00:00
peter
446d2f7e9f
Rename the 'log' variable rather than -fno-builtin-log
2003-10-30 22:57:43 +00:00
peter
282762c918
Rather than use the gcc -fno-builtin-log flag, just rename the 'int log'
...
variable.
2003-10-30 22:56:44 +00:00
sam
e6809a8b87
use a local variable to avoid holding a lock across a call out of view
...
Supported by: FreeBSD Foundation
2003-10-30 22:56:13 +00:00
peter
c2053cfe71
Replace -fno-builtin-logf with a -D argument to change the function name.
2003-10-30 22:53:56 +00:00
peter
e08504bacf
Change the pmap_invalidate_xxx() functions so they test against
...
pmap == kernel_pmap rather than pmap->pm_active == -1. gcc's inliner
can remove more code that way. Only kernel_pmap has a pm_active of -1.
2003-10-30 22:15:22 +00:00
jhb
d4f43a3e35
Fixup the sorting of some of the options. DISABLE_P* are still out of
...
order to keep all of the opt_pmap.h options together.
2003-10-30 21:45:34 +00:00
jhb
0a3e524af3
Ensure that mp_ncpus is set to 1 if mp_cpu_probe() fails.
2003-10-30 21:44:01 +00:00
jhb
631c81dbef
Include "opt_pmap.h" so that the DISABLE_P* options are honored.
2003-10-30 21:42:44 +00:00
jhb
17278d122d
Always export r_gdt and r_idt and give them extern declarations in
...
machine/segments.h.
2003-10-30 21:42:17 +00:00
fjoe
d3ac88e6bd
Remove /usr/libdata/msdosfs description.
...
Noticed by: ru
2003-10-30 21:25:37 +00:00
brooks
38e31120fc
There is no way to enter the attach routine twice with the same softc
...
without a detach call in between so don't try to deal with that
possiability.
This is a diff-reduction commit for the upcoming if_xname conversion.
2003-10-30 19:45:58 +00:00
peter
2476026730
MFi386: thread specific fpu state optimizations
2003-10-30 19:04:58 +00:00
ume
bc68df01ed
- unlock on error.
...
- don't call malloc with M_WAITOK within lock context.
2003-10-30 18:42:25 +00:00
ume
a580a14832
install address selection policy into kernel when there is
...
/etc/ip6addrctl.conf.
following sample of ip6addrctl.conf is a good default:
#Prefix Precedence Label
::1/128 50 0
::/0 40 1
2002::/16 30 2
::/96 20 3
::ffff:0:0/96 10 4
2003-10-30 17:55:52 +00:00
ume
0a0369dedd
add ip6addrctl(8) which is a command to configure address
...
selection policy for IPv6 and IPv4 described in RFC3484.
source address selection part of RFC3484 is not merged
from KAME, yet.
Obtained from: KAME
2003-10-30 17:46:40 +00:00
ume
9bdda800ef
add destination address selection described in RFC3484.
...
in KAME implementation, even when no policy is installed
into kernel, getaddrinfo(3) sorts addresses. Since it
causes POLA violation, I modified to don't sort addresses
when no policy is installed into kernel,
Obtained from: KAME
2003-10-30 17:36:53 +00:00
iwasaki
5b0a8ffac4
Cosmetic fix on some TIME related columns.
2003-10-30 16:52:14 +00:00
kan
ddb3e24c6c
Relock mntvnode_mtx if vget fails in vfs_stdsync. The loop is
...
always shoould entered with mutex locked.
2003-10-30 16:22:51 +00:00
harti
981771fa4b
Explain why the lock-free allocation algorithm is safe in our case
...
while beeing not safe in the general case. Thanks to David Schultz
<das@freebsd.org> for help.
2003-10-30 16:19:50 +00:00
iwasaki
d959b1ec08
Add sysctl MIB and loader tunable `hw.acpi.no_reset_video' as
...
the same effect as ACPI_NO_RESET_VIDEO kernel option.
2003-10-30 16:14:55 +00:00
ume
f06677c31d
add management part of address selection policy described in
...
RFC3484.
Obtained from: KAME
2003-10-30 15:29:17 +00:00
harti
8ca63b7ab7
Use (char *)NULL to terminated to argument list for execl().
...
Without this cast the compiler cannot know that it has to convert
the null pointer constant NULL to a null pointer.
2003-10-30 15:14:34 +00:00
harti
82f1f29be8
Use (char *)NULL to terminate the argument list for execlp().
...
Without this cast the compiler cannot know that it has to convert the
null pointer constant NULL to a null pointer.
2003-10-30 15:04:37 +00:00
sos
d72fb90a16
Add support for the VIA 8237 (both PATA and SATA part).
...
Cleanup the SATA support a bit now we are here anyways.
2003-10-30 13:16:21 +00:00
phk
b46a641096
Add '#' to the characters VIS_GLOB encodes. This fixes a bug in mtree.
2003-10-30 12:41:50 +00:00
phk
bb5c5b4c57
Update test-case to also fail on filenames containing '#'
2003-10-30 12:40:54 +00:00
tjr
f6d56a96f7
Remove MD bits for unsupported architectures.
2003-10-30 12:21:31 +00:00
phk
10c0052ec4
Use vis(3) to encode/decode the target for symlinks.
...
Make vis(3) decode errors fatal for both symlink targets and fienames.
2003-10-30 12:03:25 +00:00
phk
3b266c3cbf
Add another test-script for mtree(8): Check symlinks with space in them.
2003-10-30 12:01:32 +00:00
tjr
d61cbe3ed8
Add regression tests for sgetrune() and sputrune().
2003-10-30 11:51:36 +00:00
phk
039259050d
Fix bug in mtree(8)'s create mode where files or directories with had
...
names containing glob(3) expressions would appear verbatim in the
output.
If such an mtree file were used by mtree in update mode, wrong things
would happen.
2003-10-30 10:48:43 +00:00
phk
69589e7dad
Add a test script which Mtree fails.
2003-10-30 10:46:23 +00:00
harti
58d62949d4
Reinvent the used-flag for external mbufs. This and the on-card flag
...
are now in the header of the external buffer itself which allows us
to manipulate them in the free routine without having to lock the softc
structure or the free list. To get space for these flags the chunk number
is reduced to 8 bit which amounts to a maximum of 256 chunks per allocated
page. This restriction is now enforced by a CTASSERT.
2003-10-30 10:43:52 +00:00
phk
eae6949d99
Add a new flag to vis(3): VIS_GLOB which encodes the glob(3) magic
...
characters '*', '?' and '['.
2003-10-30 10:40:49 +00:00
alc
bbdba26328
- Synchronize access to the swdevt's sw_blist with sw_dev_mtx.
...
- Remove several instances of GIANT_REQUIRED.
2003-10-30 09:12:43 +00:00
trhodes
f2e7bd69b8
In check.c:
...
Avoid shadowing declarations.
Avoid compairing signed and unsigned types.
2003-10-30 09:08:09 +00:00
alc
28c9cd809b
- Synchronize access to swdevhd using sw_dev_mtx.
...
- Use swp_sizecheck() rather than assignment to swap_pager_full in
swaponsomething().
2003-10-30 07:11:06 +00:00
trhodes
f8e7e93706
Remove a few unused variables.
2003-10-30 05:43:56 +00:00