android_kernel_xiaomi_sm7250/include/scsi
Andreas Herrmann 1832a5862f [SCSI] change port speed definitions for scsi_transport_fc
obviously FC Port Speeds in scsi_transport_fc.h are defined according
to FC-HBA:

#define FC_PORTSPEED_1GBIT              1
#define FC_PORTSPEED_2GBIT              2
#define FC_PORTSPEED_10GBIT             4
#define FC_PORTSPEED_4GBIT              8

Problem is, whoever invented FC-HBA did not care about FC-FS or
FC-GS-x. Following FC-FS/FC-GS-x defintions of port speeds would look
like:

1 GBit: 0x0001
2 GBit: 0x0002
4 GBit: 0x0004
10GBit: 0x0008

(and new in FC-LS:
8 Gbit: 0x0010
16GBit: 0x0020)

I really appreciate if scsi_transport_fc.h would define port speeds
according to FC-GS-x/FC-FS. Thus mapping of port speed capabilities to
values defined in scsi_transport_fc.h can be avoided in the LLDD.

Attached is a patch to change the definitions.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-09-16 11:25:50 -04:00
..
scsi_cmnd.h [SCSI] add global timeout to the scsi mid-layer 2005-08-08 09:55:39 -05:00
scsi_dbg.h [SCSI] convert sd to scsi_execute_req (and update the scsi_execute_req API) 2005-08-28 11:33:52 -05:00
scsi_device.h [SCSI] Alter the scsi_add_device() API to conform to what users expect 2005-09-10 14:43:25 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_eh.h Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] switch EH thread startup to the kthread API 2005-09-06 17:26:06 -05:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h [SCSI] convert SPI transport class to scsi_execute 2005-08-28 11:31:14 -05:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_fc.h [SCSI] change port speed definitions for scsi_transport_fc 2005-09-16 11:25:50 -04:00
scsi_transport_iscsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_sas.h [SCSI] SAS transport class 2005-09-09 16:43:37 -05:00
scsi_transport_spi.h [SCSI] add ability to deny binding to SPI transport class 2005-08-14 14:42:25 -05:00
scsi_transport.h [SCSI] fix target scanning oops with fc transport class 2005-08-08 17:14:55 -05:00
scsi.h [SCSI] add TYPE_RBC to our type table 2005-07-11 12:38:33 -05:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg_request.h [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00