| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
Move channel softc initialization from ata_XXX_probe() to ata_XXX_attach().
Instead of calculating ata channel number as position in child device list,
pass it's real number directly from controller probe routine using ivars.
It is simpler and IMHO more correct.
|
|
|
|
|
|
|
|
|
|
|
| |
revealed that a process' current working directory can be VBAD if the
directory is removed. This can trigger a panic when procstat -f PID is
run.
Tested by: pho
Discovered by: phobot
Reviewed by: kib
Approved by: kib
|
|
|
|
|
|
|
|
| |
Giving a charactere device execute permissions doesn't have any use.
Right now there isn't a single device node in /dev that has it, except
the USB2 device node, so remove it.
Approved by: hps, thompsa
|
|
|
|
|
|
|
| |
vm_page_wakeup(). (This change is applicable to RELENG_7 but not
RELENG_6.)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
longer do we require SCTP to be in the kernel for the
lib to be able to handle SCTP. We do this by moving
the CRC32c checksum into libkern/crc32.c and then adjusting
all routines to use the common methods. Note that this
will improve the performance of iSCSI since they were
using the old single 256 bit table lookup versus the
slicing 8 algorithm (which gives a 4x speed up in
CRC32c calculation :-D)
Reviewed by:rwatson, gnn, scottl, paolo
MFC after: 4 week? (assuming we MFC the alias_sctp changes)
|
|
|
|
|
|
| |
fails to attach (possibly due to disable hints) then we get called back for
unload. Correctly handle the case where the keyboard isnt found rather than
calling panic.
|
|
|
|
|
|
|
| |
- set ic_update_promisc to the same callback as mcast
- avoid null deref in zyd_detach
Obtained from: //depot/projects/usb
|
|
|
|
|
|
|
|
|
| |
- Make usb2_transfer_pending() part of the USB core header file.
- Make usb2_transfer_pending() NULL safe.
- Make sure that USB process functions return if the process has been drained.
- Remove two unused functions.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
|
|
|
| |
name) (not sure whether this works correctly, but should be close).
Fix the stub attach phase for some Novatel cards. They expect the CSW
(repsonse to CBW, SCSI eject command) to be fetched before switching to
modem mode.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
after the LLADDR is reclaimed which causes a null pointer deref with
inherit_mac enabled. Record the ifnet pointer of the interface and then compare
that to find when to re-assign the bridge address.
Submitted by: sam
|
|
|
|
| |
Spotted by: csjp
|
| |
|
|
|
|
|
| |
errors.
Obtained from: jamie@freebsd.org
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
| |
Delete the unused defines.
Reviewed by: scottl
|
|
|
|
|
| |
Submitted by: Ganbold <ganbold@micom.mng.net>
Reviewed by: scottl
|
|
|
|
| |
Spotted by: Lucius Windschuh <lwindschuh@googlemail.com>
|
|
|
|
| |
Spotted out by: Mark Tinguely <tinguely at casselton d0t net>
|
| |
|
|
|
|
|
|
|
| |
by vn_fullpath() when vn_fullpath() succeeds instead of when it fails.
Submitted by: Artem Belevich fbsdlist of src.cx
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
Add a note next to fields in network format.
The n_* types are not enough for compiler checks on endianness, and their
use often requires an otherwise unnecessary #include <netinet/in_systm.h>
The typedef in in_systm.h are still there.
|
|
|
|
|
|
| |
of the xsctp structure. This is where all new
fields belong (not that we will be ABI compatiable
with 7.x anyway.. sigh).
|
|
|
|
|
|
| |
PR: kern/131642
Submitted by: Dmitrij Tejblum
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
structure, not the size of a pointer to it.
PR: 131099
Submitted by: Andreas Kies <andikies@gmail.com>
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the correct behaviour (sorting by distance from the current head position
in the scan direction) and bioq_insert_head() and bioq_insert_tail()
have a well defined (and useful) behaviour, especially when intermixed
with calls to bioq_disksort().
In particular:
- fix a bug in the existing bioq_disksort() that did not use the
current head position correctly;
- redefine semantics of bioq_insert_head() and bioq_insert_tail().
bioq_insert_tail() can now be used as a barrier
between previous and subsequent calls to bioq_disksort().
The code is heavily documented in the source code so please refer
to that for the details.
Much of this code comes from Fabio Checconi. Also thanks to Kirk
for feedback on the (re)definition of bioq_insert_tail().
NOTE: in the current tree there is only a handful of files which
intermix calls to bioq_disksort() with bioq_insert_head() and
bioq_insert_tail(). The ordering of the queue in these situation
was not specified (nor easy to figure out) before, so I doubt any
of that code could be affected by the specification of the API.
Also note that the current implementation is significantly simpler
than the previous one (also used in ata_sort_queue()).
It would be useful to reimplement ata_sort_queue() using
the same code used in bioq_disksort().
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
a serial number, fall through to the next case so that initial negotiation
still happens. Without this, devices were showing up with only 1 available
tag opening, leading to observations of very poor I/O performance.
This should fix problems reported with VMWare Fusion and ESX. Early
generation MPT-SAS controllers with SATA disks might also be affected.
HP CISS controllers are also likely affected, as are many other
pseudo-scsi disk subsystems.
|
| |
|
|
|
|
| |
were reaped but was never used and is inaccessible
|
| |
|
|
|
|
|
| |
re-used within net80211 to mark 802.11 frags so allowing them to
leak through to the driver caused packets to be dropped in ath
|
|
|
|
|
|
|
| |
r188412, this broke the GU-1000T adapters.
Submitted by: yongari
Pointy hat: me
|
|
|
|
| |
Submitted by: yongari
|
|
|
|
|
|
|
| |
make sis_rxeof() handle that too. Previously it used to receive the
frame and reset controller.
PR: kern/131414
|
|
|
|
| |
Submitted by: Pavel Roskin <proski@gnu.org>
|
|
|
|
|
|
|
|
| |
is possible to tear down the taskqueue before the thread has run and the
taskqueue loop would sleep forever.
Reviewed by: sam
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
references to iv_bss and the sta table; this is equivalent and causes
direct reclaim of the old bss node when any references in packets inflight
are reclaimed (previously the old node would sit in the bss table until
the inactivity processing reclaimed it)
o remove ieee80211_node_reclaim now that it's only use is gone
Reviewed by: avatar, cbzimmer
|
|
|
|
|
|
| |
values in ARM_RAS_START and ARM_RAS_END at context switch time.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
thread0 pcb, while the board-dependant code already set a good trapframe.
Reported by: Mark Tinguely <tinguely at casselton d0t net>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
parent interface tasks to complete. This had been added to the ioctl path but
it is also need elsewhere like detach so its safe to teardown.
Reported by: Hans Petter Selasky
Submitted by: sam
|
|
|
|
| |
Approved by: kib (mentor)
|
|
|
|
|
|
|
|
|
|
| |
checked whether this applies to builds in /sys/*/compile/* as well):
- Create empty opt_*.h files were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
disconnect it in the Makefile. were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
disconnect it in the Makefile.
|
|
|
|
|
| |
PR: kern/128219
Submitted by: Thinker K.F. Li <thinker at branda dot to>
|
| |
|
|
|
|
| |
Reviewed by: scottl
|
|
|
|
| |
Add speeds S800, S1600 and S3200
|
|
|
|
|
|
|
|
|
|
| |
kernel. Rather than just kick off the page daemon, we actively retire
more mappings. The inner loop now looks a lot like the inner loop of
pmap_remove_all.
Also, get_pv_entry can't return NULL now, so remove panic if it did.
Reviewed by: alc@
|
|
|
|
|
| |
here, but inconsistently. Change all instances of it to kernel_pmap
to match rest of code.
|