| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
should ensure that we don't read a stale command ID and complete the
wrong scsi io. powerpc64 base builds were crashing like this fairly
regularly.
ok deraadt@ dlg@
|
|
|
|
| |
little bit more to do though before it can be enabled.
|
|
|
|
|
|
|
|
| |
This works around an issue on the BCM43602 where ieee80211 calls
this too quickly during authentication and triggers "unexpected
pairwise key update" errors.
ok patrick
|
|
|
|
|
|
| |
OK dlg@, bluhm@
No Opinion mpi@
Not against it claudio@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In an_wait() we spin for up to (3 * hz) iterations awaiting AN_EV_CMD.
If we don't see it in a given iteration we block for up to 1 tick and
spin again.
jsg@ suggests instead blocking for 100ms at a time for up to 30
iterations.
Discussed with mpi@. Idea from jsg@. Murmurs of agreement from
claudio@ and kettenis@.
probably ok jsg@
|
|
|
|
| |
get_routefd() and set_user().
|
|
|
|
|
|
| |
in preparation for upcoming ACPI-attachment.
ok kettenis@
|
| |
|
|
|
|
|
|
| |
promiscuous mode.
ok gerhard@
|
|
|
|
| |
Problem confirmed and fix tested by Matej Nanut.
|
|
|
|
|
|
|
|
| |
square wave frequency control bits in the Day Of Week register.
To make sure we don't fudge with those bits, only reset those that
hold the day and keep the rest as is.
ok kettenis@
|
|
|
|
|
|
| |
splsoftnet was used for the upper layers of the network stack and
should no longer be used.
OK patrick@
|
|
|
|
|
| |
to scsi_copy_internal_data(). Thus getting xs->resid properly set and adding the
usual uio/size sanity checks.
|
| |
|
|
|
|
| |
Pointed by and ok jsg@
|
|
|
|
|
|
|
|
|
|
| |
Its value is conflicting with an effort to standardize TX flags fields of
the radiotap header from Mathy Vanhoef.
This flag used to indicate the presence of a specific hardware queue used
by WME but is unchecked.
ok sthen@, kn@
|
|
|
|
|
|
|
|
|
|
|
|
| |
member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic
cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*'
from cmd. Take the address of cmd as required by the various casts.
No intentional functional change.
luna88k test by aoyama@, sparc64 test by jmatthew@
Identification of 2009's last *cmd use and ok jmatthew@
|
|
|
|
|
| |
responses. This is what the SCSI specifications say is the correct value and
already used in several cases.
|
| |
|
|
|
|
| |
initialize the 'version' field. Not numbers.
|
|
|
|
| |
initialize the 'version' field. Not numbers.
|
|
|
|
|
|
| |
struct scsi_rw_10.
ok gnezdo@ jmatthew@ (who also did sparc64 compile test)
|
|
|
|
|
|
|
|
| |
and was always checked in concert with SDEV_ATAPI. Just rely on SDEV_ATAPI and
SDEV_UMASS in all but the one place sd(4) where SDEV_ONLYBIG is set
independently of SDEV_ATAPI/_UMASS.
ok jmatthew@
|
|
|
|
| |
OK deraadt@, mpi@
|
|
|
|
| |
ok mglocker@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Exar XR17V354 has 4 ports that have a 256-byte FIFO, use a
frequency of 125Mhz, and have a unique sleep register. A custom
interrupt handler is setup in puc for these ports so it can check a
register which reports which ports triggered the interrupt, rather
than having to run comintr for every port every time.
To avoid probing for these ports in com_attach_subr which requires
access to registers that may be reserved on certain platforms, pass
the sc_uarttype from com_puc_attach since the port type is already
known based on the puc device vendor/id.
Input from kettenis, tested in snaps
|
|
|
|
|
|
|
| |
SCSI_IS_SCSIBUS_B().
i.e. return true when 'A' is finished probing (sc_child != NULL) and the
sc_link->bus is != sc_child.
|
|
|
|
| |
Found the hard way by martijn@ on his alpha.
|
| |
|
|
|
|
|
| |
let it go there without the burden of a spurious struct scsi_link member of
struct aic6250_softc.
|
| |
|
|
|
|
|
|
| |
thinking in 2003.
Discovered via deraadt@ typo detection.
|
| |
|
|
|
|
|
|
| |
uses in drivers.
Use UHADEBUG sections like the debug output in other uha_* files.
|
|
|
|
|
|
| |
uses in drivers.
Use a CAC_DEBUG sections like the other debug output does.
|
|
|
|
|
|
|
| |
uses in drivers.
Use AHD_DEBUG/AHC_DEBUG sections like all the other debug output does. Don't
#include scsi_debug.h.
|
|
|
|
| |
SGI compile tests by visa@
|
|
|
|
|
|
|
|
| |
rarely (if ever) been done.
Fix many printf format errors to calm clang and gcc on amd64, i386,
hppa. Missing #include, complaints if 'option <blah>DEBUG' is used in
config files, etc. All in debug code.
|
|
|
|
| |
driver successfully compiles on one or more of amd64, i386, hppa.
|
| |
|
|
|
|
|
| |
appropriate spots. Don't copy one empty/unused scsi_link (channel) to
another empty/unused scsi_link (channel_b)
|
|
|
|
|
|
|
| |
fields to struct scsibus_attach_args. Nuke the struct scsi_link *
(saa_sc_link) in scaibus_attach_args.
Explicitly initialize each field in scsibus_attach_args variables.
|
|
|
|
|
|
|
|
|
|
| |
Fix code which was still looking for this flag at the old location.
The 'hidenwid' feature was slightly broken as a result: The SSID was leaked
in probe responses to wildcard probe requests. There are other trivial ways
of snooping a "hidden" SSID however so this is not a big deal.
Problem reported by Mogens Jensen.
|
|
|
|
|
|
|
| |
adapter_buswidth, adapter_softc) from struct scsi_link to struct
scsibus_attach_args.
Additional compile tests by jmatthew@ (sparc64) and aoyam@ (luna88k).
|
|
|
|
|
|
|
|
| |
In sparc64 autoconf access 'luns' via sb_luns and 'adapter_buswidth'
via sb_adapter_buswidth.
Removes last post-config uses of the copies of bus related
information in scsi_link.
|
|
|
|
| |
negotiations fail.
|
|
|
|
|
| |
&sc->sc_dev to get a device pointer rather than using the void *
whence we obtained 'sc'.
|
|
|
|
| |
(scsi_link.adapter_softc) to a pointer of a particular softc type.
|
|
|
|
|
|
|
|
|
| |
ieee80211_node data structure to find the WPA group cipher which was
negotiated with the peer, rather than checking the wireless interface's
configuration data.
Found while investigating a problem where WPA2+TKIP wasn't working with athn.
Problem reported by Tim Chase.
|
| |
|