diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-11-24 15:37:28 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 16:13:17 +0100 |
commit | 8a9aeb45d0f16932f5dc78a48c09f5fc3ab13832 (patch) | |
tree | 8511f8a42a0b58e587c22f0288b1f1b5c7c2d81b /net/ieee802154/nl-mac.c | |
parent | eeea2f9c2f2ecc5f3217edcacc95817047b143c2 (diff) | |
download | linux-next-8a9aeb45d0f16932f5dc78a48c09f5fc3ab13832.tar.gz |
esp_scsi: let DMA driver provide a config2 value
On PCscsi, the FENAB configuration also enables 24-bit DMA
transfer lengths (and provides the chip id in TCHI after reset).
We want to be able to enable this parameter from the DMA driver.
Check if the caller of scsi_esp_register provided a value for esp->config2.
If this is the case, assume this is not an ESP100, skip the detection
phase and leave esp->config2 untouched. It will be used in esp_reset_esp.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/ieee802154/nl-mac.c')
0 files changed, 0 insertions, 0 deletions