mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-16 02:01:27 +00:00
scst/include/backport.h: Backport qla2x00t-32gbit to older kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9084 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2032,8 +2032,24 @@ enum {
|
||||
#define wwn_to_u64(wwn) get_unaligned_be64(wwn)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* See also commit c39e0af64bce ("scsi: scsi_transport_fc: Add FPIN fc event
|
||||
* codes") # v5.2
|
||||
*/
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
|
||||
static inline void
|
||||
fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/* <uapi/scsi/fc/fc_els.h> */
|
||||
|
||||
/* See also commit a7dff3ad4787 ("scsi: fc: add FPIN ELS definition") # v5.2 */
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)
|
||||
#define ELS_FPIN 0x16
|
||||
#endif
|
||||
|
||||
/*
|
||||
* See also commit 62e9dd177732 ("scsi: qla2xxx: Change in PUREX to handle FPIN
|
||||
* ELS requests").
|
||||
|
||||
Reference in New Issue
Block a user