| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Just sleep for 1 second on the nowake channel instead.
With input from kettenis@, mpi@, and claudio@.
ok kettenis@
|
|
|
|
|
| |
to scsi_copy_internal_data(). Thus getting xs->resid properly set and adding the
usual uio/size sanity checks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
struct scsi_rw_10.
ok gnezdo@ jmatthew@ (who also did sparc64 compile test)
|
|
|
|
| |
ok mglocker@
|
|
|
|
| |
ok stsp@
|
|
|
|
| |
ok patrick@
|
|
|
|
| |
fields are explicitly initialized.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(scsi_link.adapter_softc) to a pointer of a particular softc type.
|
|
|
|
| |
config_found(), not a 'scsi_link *'. Part of matthew@'s 2010 work.
|
|
|
|
|
|
|
|
|
| |
on the RockPro64 WiFi module.
Note that there is no fiirmware for this chip in the bwfm-firmware package
at the moment.
ok patrick@
|
|
|
|
|
|
|
| |
otherwise it would lead to unaligned memory access. Fixes a panic on my
MACCHIATObin.
ok kettenis@
|
|
|
|
|
|
| |
used by sdhc(4) attachment drivers to do additional MD initialization.
ok kettenis@
|
|
|
|
|
| |
constraints in a separate blob, instead of in the firmware.
This .clm_blob needs to be loaded as well.
|
| |
|
|
|
|
|
|
|
|
| |
(aka link field) of 0 specifies an empty tuple body. This implies
that a tuple length of 0 is actually allowed, so we don't need to
error out if we encounter one. Seen on an SDIO-connected ath10k.
ok kettenis@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
| |
ok jmc@ deraadt@ kettenis@
"thanks and don't wait for me" patrick@
|
|
|
|
|
|
| |
only supports 32-bit access (hello Raspberry Pi).
ok tobhe@
|
|
|
|
|
|
| |
only supports 32-bit access (hello Raspberry Pi).
ok tobhe@
|
|
|
|
|
|
|
|
|
|
|
|
| |
with filenames constructed from the first compatible string of the root
node. Matches the format used in the linux-firmware repository.
If these are not found fallback to the generic filenames.
When the compatible string contains a '/' as in 'solidrun,cubox-i/q' it
will be handled as everything before the '/' so the cubox filename is
brcmfmac4330-sdio.solidrun,cubox-i.txt.
ok kurt@ patrick@
|
|
|
|
| |
From Rob Schmersel
|
|
|
|
|
|
|
|
| |
reduces the amount of duplicated lines per chip, and allows us to ship per-
board files in the future.
Based on a diff from jsg@
ok kurt@
|
| |
|
|
|
|
|
|
|
| |
external tool to pre-process the NVRAM, even though it's simple to
do ourselves. This allows easier firmware distribution.
ok kurt@
|
|
|
|
|
|
|
| |
This reduces drops caused by the ifq pressure drop mechanism and hence
increases throughput.
ok tobhe@
|
|
|
|
|
|
|
|
|
|
|
| |
throat of physio().
Allows individual devices to eventually be modified to support larger
physio() (a.k.a. 'raw') i/o's if they prove capable of them.
No immediate functional change.
Tested for many weeks by and ok robert@.
|
|
|
|
|
|
| |
scsi drivers. i.e. eliminate the struct scsi_adapter member in the
softc and rely on the pointer to a static scsi_adapter in the struct
scsi_link member.
|
|
|
|
|
|
|
|
| |
inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys'
to reflect what it is supposed to do. Use consistent naming convention
(<dev>_minphys) for the actual device functions.
No functional change.
|
|
|
|
|
|
|
| |
system minphys(). scsi_minphys() will do that and cd/sd/st will call
scsi_minphys().
ok jmatthew@ as part of larger diff
|
|
|
|
| |
as shipped with the Pinebook Pro as an AMPAK AP6256 module.
|
|
|
|
| |
ok tedu
|
|
|
|
| |
ok kn@
|
|
|
|
|
|
| |
Makes hibernate work with rootfs on built-in emmc storage.
Tested on King Jim Portabook.
ok deraadt@ kettenis@
|
|
|
|
| |
error cases.
|
|
|
|
|
|
|
| |
allocate a cluster if the message is larger than that. Fixes a panic
on shutdown on my Asus X205TA.
ok patrick@, stsp@
|
|
|
|
|
|
| |
controller can handle for DMA tranfers, since not all support 64k.
ok kettenis@
|
|
|
|
|
|
|
|
|
|
|
|
| |
on header fields that aren't initialized, which may trigger an assertion.
Check whether the control message doesn't exceed MLEN instead and turn the
check into a KASSERT as the driver should not generate control messages
that are larger.
with help form claudio@ (who points out that the driver should not use
MT_CONTROL here).
ok patrick@
|
|
|
|
|
|
| |
m_leadingspace() and m_trailingspace(). Convert all callers to call
directly the functions and remove the defines.
OK krw@, mpi@
|
|
|
|
|
| |
tested in snaps
ok kettenis@
|
| |
|
|
|
|
|
|
|
| |
devices. This allows SDIO device drivers to read information from
the ACPI or FDT tables.
ok kettenis@
|