| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
sent via a raw IPv6 socket, use M_DONTWAIT not M_TRYWAIT, as we're
holding the raw pcb mutex.
Reported, tested by: kuriyama
|
|
|
|
|
|
| |
so that the locks held are the same as the IPv4 case.
Reviewed by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subset ("compatible", "device_type", "model" and "name") of the standard
properties in drivers for devices on Open Firmware supported busses. The
standard properties "reg", "interrupts" und "address" are not covered by
this interface because they are only of interest in the respective bridge
code. There's a remaining standard property "status" which is unclear how
to support properly but which also isn't used in FreeBSD at present.
This ofw_bus kobj-interface allows to replace the various (ebus_get_node(),
ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type()
vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one.
This in turn allows to simplify and remove code-duplication in drivers for
devices that can hang off of more than one OFW supported bus.
- Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the
drivers for their children to use the ofw_bus kobj-interface. The IVAR-
interfaces of the Central, EBus and FHC are entirely replaced by this. The
PCI bus driver used its own kobj-interface and now also uses the ofw_bus
one. The IVARs special to the SBus, e.g. for retrieving the burst size,
remain.
Beware: this causes an ABI-breakage for modules of drivers which used the
IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be
recompiled.
The style-inconsistencies introduced in some of the bus drivers will be
fixed by tmm@ in a generic clean-up of the respective drivers later (he
requested to add the changes in the "new" style).
- Convert the powerpc MacIO bus driver and the drivers for its children to
use the ofw_bus kobj-interface. This invloves removing the IVARs related
to the "reg" property which were unused and a leftover from the NetBSD
origini of the code. There's no ABI-breakage caused by this because none
of these driver are currently built as modules.
There are other powerpc bus drivers which can be converted to the ofw_bus
kobj-interface, e.g. the PCI bus driver, which should be done together
with converting powerpc to use the OFW PCI code from sparc64.
- Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take
advantage of the ofw_bus kobj-interface and simplify them a bit.
Reviewed by: grehan, tmm
Approved by: re (scottl)
Discussed with: tmm
Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386
|
| |
|
| |
|
|
|
|
|
|
|
| |
later calls to _SRS. Add note that this code should be centralized at
some point.
Bug from: Jiawei Ye <leafy7382_AT_gmail.com>
|
|
|
|
|
|
|
| |
bother printing it. This fixes a panic and acpi_name() has been more robust
as well.
Bug from: Tai-hwa Liang <avatar-at-mmlab.cse.yzu.edu.tw>
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
|
|
|
|
|
| |
of them in several places.
Noticed by: bsdimp
|
| |
|
| |
|
|
|
|
| |
node for ATM. This node implements the API to the signalling services.
|
|
|
|
|
| |
Add missing check for NULL in DIOCCHANGERULE. This prevents a crash
in certain rare cases.
|
|
|
|
|
|
|
|
|
| |
pf_cksum_fixup() was called without last argument from
normalization, also fixup checksum when random-id modifies ip_id.
This would previously lead to incorrect checksums for packets
modified by scrub random-id.
(Originally) Submitted by: yongari
|
|
|
|
|
|
|
| |
skip over interface addresses without IFA_ROUTE, fixes some issue
with pppd
PR: misc/69954
|
|
|
|
|
| |
be staticaly linked.
This fixes problems on systems compiled with NO_DYNAMICROOT.
|
|
|
|
| |
Suggested by: ru
|
|
|
|
| |
Suggested by: ru
|
| |
|
|
|
|
|
|
| |
This is implemented through SNMP and requires the ilmi daemon to
run on the system. To prevent bloat in rescue the atmconfig for
rescue is compiled without this stuff.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a knob to force process scope threads. If the environment variable
LIBPTHREAD_PROCESS_SCOPE is set, force all threads to be process
scope threads regardless of how the application creates them. If
LIBPTHREAD_SYSTEM_SCOPE is set (forcing system scope threads), it
overrides LIBPTHREAD_PROCESS_SCOPE.
$ # To force system scope threads
$ LIBPTHREAD_SYSTEM_SCOPE=anything threaded_app
$ # To force process scope threads
$ LIBPTHREAD_PROCESS_SCOPE=anything threaded_app
|
|
|
|
|
|
|
|
|
| |
the .MAKEFLAGS variable so that these are also passed to sub-makes.
This makes the handling of variables in the command environment more
consistent.
PR: bin/68853
Submitted by: Martin Kamerhofer <data@sbox.tugraz.at>
|
| |
|
| |
|
|
|
|
|
|
| |
which has been repo-copied from ctype.h. This will allow us to remove
namespace pollution from <wctype.h> and to make wcwidth() an inline function
without introducing more pollution.
|
|
|
|
|
|
|
| |
This modification was not really needed.
Noticed by: hrs
Obtained from: The FreeBSD Russian Documentation Project
|
|
|
|
|
|
|
|
| |
The first one was going to 'dropfrag', which unlocks the IPQ, before the lock
was aquired; The second one doing a unlock and then a 'goto dropfrag' which
led to a double-unlock.
Tripped over by: des
|
|
|
|
| |
supporting new chipsets where this is needed.
|
|
|
|
|
|
|
|
|
| |
migration. Use this in sched_prio() and sched_switch() to stop us from
migrating threads that are in short term sleeps or are runnable. These
extra migrations were added in the patches to support KSE.
- Only set NEEDRESCHED if the thread we're adding in sched_add() is a
lower priority and is being placed on the current queue.
- Fix some minor whitespace problems.
|
|
|
|
| |
Sorry for the churn. ;)
|
|
|
|
| |
works well with the pci attachment.
|
|
|
|
| |
from the original.
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
obfuscate the code. No functional differences.
|
| |
| |
| |
| | |
releases the I/O lock instead of just leaking it.
|
| |
| |
| |
| |
| |
| | |
framework isn't yet MPSAFE.
Approved by: simokawa
|
| | |
|