mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-25 07:51:28 +00:00
scst/include/backport.h: Improve the FC_PORTSPEED_64GBIT backport
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8996 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1750,15 +1750,13 @@ enum {
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0) && \
|
||||
(!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 7)
|
||||
!defined(FC_PORTSPEED_64GBIT)
|
||||
/*
|
||||
* See also commit cc019a5a3b58 ("scsi: scsi_transport_fc: fix typos on 64/128
|
||||
* GBit define names") # v4.16.
|
||||
*/
|
||||
#ifndef FC_PORTSPEED_64GBIT
|
||||
#define FC_PORTSPEED_64GBIT 0x1000
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef FC_PORT_ROLE_UNKNOWN
|
||||
#define FC_PORT_ROLE_UNKNOWN 0x00
|
||||
|
||||
Reference in New Issue
Block a user