| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Free approx 86 major numbers with a mostly automatically generated patch.
A number of strategic drivers have been left behind by caution, and a few
because they still (ab)use their major number.
Notes:
svn path=/head/; revision=126076
|
|
|
|
|
|
|
|
|
| |
address for DMA is handled instead of pointers.
Submitted by: Joerg Sonneberger <joerg@britannica.bec.de>
Notes:
svn path=/head/; revision=126075
|
|
|
|
| |
Notes:
svn path=/head/; revision=126074
|
|
|
|
| |
Notes:
svn path=/head/; revision=126073
|
|
|
|
| |
Notes:
svn path=/head/; revision=126072
|
|
|
|
|
|
|
| |
always contains a packet header.
Notes:
svn path=/head/; revision=126066
|
|
|
|
|
|
|
|
| |
what atm_intr expects in a comment and de-obfuscate the code a little
bit by replacing the portability macros with the native BSD names.
Notes:
svn path=/head/; revision=126065
|
|
|
|
|
|
|
| |
No functional changes.
Notes:
svn path=/head/; revision=126064
|
|
|
|
|
|
|
|
|
|
|
| |
This removes the packet header in certain cases which later on
will give panic. Clarify what the atm_intr expects in the comment
and de-obscurify the code a little bit by replacing the portability
macros with the BSD names. The code isn't maintained externally anymore
so there's no point in keeping the extra level of obscurity.
Notes:
svn path=/head/; revision=126063
|
|
|
|
|
|
|
|
|
|
| |
- allow for ifp->if_ioctl being NULL, as the rest of ifioctl() does;
- give the interface driver a chance to report a error to the caller;
- don't forget to update ifp->if_lastchange upon successful modification
of interface operation parameters.
Notes:
svn path=/head/; revision=126062
|
|
|
|
|
|
|
|
| |
take it off of the busy queue first. This should fix the 'command is on
another queue' panic that showed up recently.
Notes:
svn path=/head/; revision=126059
|
|
|
|
|
|
|
|
|
|
| |
should not happen. Add a KASSERT instead.
Reported by: Ted Unangst <tedu@coverity.com>
Spotted out by: cperciva
Notes:
svn path=/head/; revision=126053
|
|
|
|
| |
Notes:
svn path=/head/; revision=126050
|
|
|
|
|
|
|
|
|
|
|
| |
layering violation. As pointed out, there is much better way to do this.
Sorry guys, I need to find a better way to force reviews.
Requested by: harti, julian, scottl (mentor)
Pointy hat to: pjd
Notes:
svn path=/head/; revision=126035
|
|
|
|
|
|
|
|
|
|
| |
crash). I am fairly sure that only people with SMP and multi-threaded
apps using kqueue will be affected by this, so I have a stress-testing
program on my web site:
<URL:http://green.homeunix.org/~green/getaddrinfo-pthreads-stresstest.c>
Notes:
svn path=/head/; revision=126033
|
|
|
|
|
|
|
|
| |
Noticed by: tanimura
Noticed by: truckman
Notes:
svn path=/head/; revision=126030
|
|
|
|
|
|
|
|
| |
PR: kern/63041
MFC after: 3 days
Notes:
svn path=/head/; revision=126028
|
|
|
|
|
|
|
|
|
|
| |
Instead of creating a mutex that we msleep on but don't actually lock when
doing the corresponding wakeup(), in the kthread, lock the mutex associated
with our taskqueue and msleep while the queue is empty. Assert that the
queue is locked when the callback function is called to wake the kthread.
Notes:
svn path=/head/; revision=126027
|
|
|
|
| |
Notes:
svn path=/head/; revision=126026
|
|
|
|
| |
Notes:
svn path=/head/; revision=126025
|
|
|
|
|
|
|
|
|
| |
to another jail.
Submitted by: rwatson
Notes:
svn path=/head/; revision=126023
|
|
|
|
| |
Notes:
svn path=/head/; revision=126019
|
|
|
|
| |
Notes:
svn path=/head/; revision=126016
|
|
|
|
|
|
|
| |
with ACPI-CA is identical now.
Notes:
svn path=/head/; revision=126015
|
|
|
|
|
|
|
|
|
| |
return events on the fixed handler even after defining a duplicate in the
AML. While this violates the spec, hopefully we can get by with leaving
both installed.
Notes:
svn path=/head/; revision=126014
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It works as follows:
In every 'interval' seconds defined links are checked.
If they are non-active they will not be used by to data transfer.
No response from: julian, archie
Silent on: net@
Approved by: scottl (mentor)
Notes:
svn path=/head/; revision=126012
|
|
|
|
|
|
|
|
|
|
|
| |
It'll is required by new failure detection algorithm for ng_one2many(4).
No response from: julian, archie
Silent on: net@
Approved by: scottl (mentor)
Notes:
svn path=/head/; revision=126011
|
|
|
|
|
|
|
| |
Approved by: scottl (mentor)
Notes:
svn path=/head/; revision=126008
|
|
|
|
|
|
|
|
|
|
| |
It allows manual and automatic (based on on-disk metadata) concatenation.
Reviewed by: phk, scottl
Approved by: scottl (mentor)
Notes:
svn path=/head/; revision=126007
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mode is applied, since tunneled packets are considered to be
generated packets from a tunnel encapsulating node.
- tunnel mode may not be applied if SA mode is ANY and policy
does not say "tunnel it". check if we have extra IPv6 header
on the packet after ipsec6_output_tunnel() and call ip6_output()
only if additional IPv6 header is added.
- free the copyed packet before returning.
Obtained from: KAME
Notes:
svn path=/head/; revision=126006
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It returns 1 is process is inside of jail and 0 if it is not.
Information if we are in jail or not is not a secret, there is plenty of
ways to discover it. Many people are using own hack to check this and
this will be a legal way from now on.
It will be great if our starting scripts will take advantage of this sysctl
to allow clean "boot" inside jail.
Approved by: rwatson, scottl (mentor)
Notes:
svn path=/head/; revision=126004
|
|
|
|
|
|
|
|
|
| |
2nd condition is true, first one is true for sure.
Approved by: jhb, scottl (mentor)
Notes:
svn path=/head/; revision=126003
|
|
|
|
|
|
|
|
|
| |
Approved by: scottl (mentor)
PR: 54163
MFC after: 3 days
Notes:
svn path=/head/; revision=126002
|
|
|
|
| |
Notes:
svn path=/head/; revision=125998
|
|
|
|
|
|
|
|
|
|
| |
addition appears to allow VMware 3 Workstation to operate with nmdm(4)
as a virtual COM device.
Tested by: Guido van Rooij
Notes:
svn path=/head/; revision=125997
|
|
|
|
|
|
|
|
|
| |
to SIGCHLD if the new parent process is initproc.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=125993
|
|
|
|
|
|
|
|
|
|
| |
to size_t *, which is incorrect because they may have different widths.
This caused some subtle forms of corruption, the mostly frequently
reported one being that the last character of a filename was sometimes
duplicated on amd64.
Notes:
svn path=/head/; revision=125992
|
|
|
|
|
|
|
| |
pointed out by bde.
Notes:
svn path=/head/; revision=125991
|
|
|
|
|
|
|
|
|
|
|
| |
could result in a dirty page being unintentionally freed.
- Simplify the dirty page check in vm_page_dontneed().
Reviewed by: tegge
MFC after: 7 days
Notes:
svn path=/head/; revision=125990
|
|
|
|
|
|
|
|
|
|
| |
parent if no signal is specified in the clone() flags argument.
PR: 42457
MFC after: 2 weeks
Notes:
svn path=/head/; revision=125988
|
|
|
|
|
|
|
|
|
|
| |
stopped returning events. Don't disable the event when removing
the handler because it still needs to be enabled for the other
handler. Also, remove duplicate AcpiEnableEvent calls since the
install function now does this for us.
Notes:
svn path=/head/; revision=125986
|
|
|
|
|
|
|
|
| |
Submitted by: Bruno Ducrot <ducrot AT poupinou.org>
Reviewed by: bde
Notes:
svn path=/head/; revision=125985
|
|
|
|
| |
Notes:
svn path=/head/; revision=125984
|
|
|
|
|
|
|
|
|
| |
(never wake up) by iterating over them when they exist.
Approved by: tanimura (mentor)
Notes:
svn path=/head/; revision=125982
|
|
|
|
|
|
|
|
| |
code. The pci_cfgreg.c file now just controls reading/writing PCI config
registers.
Notes:
svn path=/head/; revision=125981
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
into its own file:
- All of the $PIR interrupt routing is now done in a link-centric fashion.
When a host-PCI bridge that uses the $PIR attaches, it calls pir_parse()
to parse the table. This scans for link devices and merges all the masks
for each link device from the table entries. It then looks at the intline
register of PCI devices connected to a link to figure out if the BIOS has
routed this link and if so to which IRQ.
- The IRQ for any given link can be overridden via a hint like so:
'hw.pci.link.0x62.irq=10' Any IRQ set in this matter is treated as if it
were set that way by the BIOS.
- We only call the BIOS to route each link device once.
- When a PCI device wants to route an interrupt, we look it up in the $PIR
to find the associated link. If the link is routed, we simply return the
IRQ it is using. If it is not routed, we have to pick one. This uses a
different algorithm from the old code. First off, when we try to pick
an interrupt from a mask of possible interrupts, we try to pick the one
that is least loaded as far as PCI devices. We maintain this weight based
on the number of devices attached to each link device. When choosing an
IRQ, we first attempt to route using any PCI only interrupts (the old
code did this as well). If that doesn't work, we try to use the list of
IRQs that the BIOS has used. This is a new step that the new code didn't
do and avoids using IRQ 3 or 4 for every virgin interrupt routing. If
none of the IRQs that the BIOS used worked, then we fall back to trying
anything.
- The fallback mask for !PC98 was fixed to include IRQ 3 and not allow IRQ
2.
- We don't use the $PIR to route interrupts on a PCI-PCI bridge unless it
has already been used to route on at least one Host-PCI bridge. This
helps to avoid mixing and matching x86 firmware PCI interrupt routing
methods (which is a Bad Thing(tm)).
Silence on: current@
Notes:
svn path=/head/; revision=125980
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.
Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.
Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.
Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:
The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT
A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.
Manual page update to follow shortly.
Notes:
svn path=/head/; revision=125975
|
|
|
|
|
|
|
|
|
|
|
| |
support is partial in that it will refuse to create large files on
filesystems that haven't been upgraded to EXT2_DYN_REV or that don't
have the EXT2_FEATURE_RO_COMPAT_LARGE_FILE flag set in the superblock.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=125962
|
|
|
|
|
|
|
|
|
| |
PR: kern/18503
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125957
|
|
|
|
| |
Notes:
svn path=/head/; revision=125954
|