#ifndef TARGET_CORE_PSCSI_H #define TARGET_CORE_PSCSI_H #define PSCSI_VERSION "v4.0" /* used in pscsi_find_alloc_len() */ #ifndef INQUIRY_DATA_SIZE #define INQUIRY_DATA_SIZE 0x24 #endif /* used in pscsi_add_device_to_list() */ #define PSCSI_DEFAULT_QUEUEDEPTH 1 #define PS_RETRY 5 #define PS_TIMEOUT_DISK (15*HZ) #define PS_TIMEOUT_OTHER (500*HZ) #include /* ___cacheline_aligned */ #include /* struct se_device */ struct block_device; struct scsi_device; struct Scsi_Host; struct pscsi_plugin_task { unsigned char pscsi_sense[TRANSPORT_SENSE_BUFFER]; int pscsi_direction; int pscsi_result; u32 pscsi_resid; unsigned char pscsi_cdb[0]; } ____cacheline_aligned; #define PDF_HAS_CHANNEL_ID 0x01 #define PDF_HAS_TARGET_ID 0x02 #define PDF_HAS_LUN_ID 0x04 #define PDF_HAS_VPD_UNIT_SERIAL 0x08 #define PDF_HAS_VPD_DEV_IDENT 0x10 #define PDF_HAS_VIRT_HOST_ID 0x20 struct pscsi_dev_virt { struct se_device dev; int pdv_flags; int pdv_host_id; int pdv_channel_id; int pdv_target_id; int pdv_lun_id; struct block_device *pdv_bd; struct scsi_device *pdv_sd; struct Scsi_Host *pdv_lld_host; } ____cacheline_aligned; typedef enum phv_modes { PHV_VIRTUAL_HOST_ID, PHV_LLD_SCSI_HOST_NO } phv_modes_t; struct pscsi_hba_virt { int phv_host_id; phv_modes_t phv_mode; struct Scsi_Host *phv_lld_host; } ____cacheline_aligned; #endif /*** TARGET_CORE_PSCSI_H ***/ m> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-05 10:32:16 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-05 10:32:16 -0800
commitb40079273279999d0a259e78d9ecb53ad82d042f (patch)
tree62e15c30dc3787493f9bce847cda7eae99aae781 /include/soc/at91
parent383378d115ab6e702d77896071d36056875602db (diff)
parent1b9ec81258827001c869f003e0b8dd2ddc104717 (diff)
Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Arnd Bergmann: "This is a rather large set of bugfixes, as we just returned from the Christmas break. Most of these are relatively unimportant fixes for regressions introduced during the merge window, and about half of the changes are for mach-omap2. A couple of patches are just cleanups and dead code removal that I would not normally have considered for merging after -rc2, but I decided to take them along with the fixes this time. Notable fixes include: - removing the skeleton.dtsi include broke a number of machines, and we have to put empty /chosen nodes back to be able to pass kernel command lines as before - enabling Samsung platforms no longer hardwires CONFIG_HZ to 200, as it had been for no good reason for a long time" * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (46 commits) MAINTAINERS: extend PSCI entry to cover the newly add PSCI checker code drivers: psci: annotate timer on stack to silence odebug messages ARM64: defconfig: enable DRM_MESON as module ARM64: dts: meson-gx: Add Graphic Controller nodes ARM64: dts: meson-gxl: fix GPIO include ARM: dts: imx6: Disable "weim" node in the dtsi files ARM: dts: qcom: apq8064: Add missing scm clock ARM: davinci: da8xx: Fix sleeping function called from invalid context ARM: davinci: Make __clk_{enable,disable} functions public ARM: davinci: da850: don't add emac clock to lookup table twice ARM: davinci: da850: fix infinite loop in clk_set_rate() ARM: i.MX: remove map_io callback ARM: dts: vf610-zii-dev-rev-b: Add missing newline ARM: dts: imx6qdl-nitrogen6x: remove duplicate iomux entry ARM: dts: imx31: fix AVIC base address ARM: dts: am572x-idk: Add gpios property to control PCIE_RESETn arm64: dts: vexpress: Support GICC_DIR operations ARM: dts: vexpress: Support GICC_DIR operations firmware: arm_scpi: fix reading sensor values on pre-1.0 SCPI firmwares arm64: dts: msm8996: Add required memory carveouts ...
Diffstat (limited to 'include/soc/at91')