| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
ok claudio@ deraadt@
|
|
|
|
|
|
|
| |
nvram files used for the different Apple devices. The device tree and
the OTP hold the information which of those we will have to use. For
now this information will simply be printed, but depending on how we
choose to do the firmare distribution we could use it for loadfirmware().
|
|
|
|
|
|
|
| |
to load the CLM blob like the SDIO backend already does. Additionally it
is also helpful for the PCIe backend to try a file named after the device
tree compatible. Thus refactor the SDIO code and make it available for
both SDIO and PCIe.
|
|
|
|
| |
the same time.
|
|
|
|
|
|
| |
This also fixes two NULL ptr derefs in later code path.
OK patick@, krw@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the first cut of this diff was made with coccinelle using this spatch:
@rule@
type caddr_t;
expression m, off, len, cp;
@@
-m_copydata(m, off, len, (caddr_t)cp)
+m_copydata(m, off, len, cp)
i had fix it's opinionated idea of formatting by hand though, so
i'm not sure it was worth it.
ok deraadt@ bluhm@
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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)
|