kernel-ark/include
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
..
acpi
asm-alpha
asm-arm
asm-arm26
asm-cris
asm-frv
asm-generic [PATCH] x86-64: Increase TLB flush array size 2005-09-12 10:49:58 -07:00
asm-h8300
asm-i386 [PATCH] x86-64: i386/x86-64: Fix time going twice as fast problem on ATI Xpress chipsets 2005-09-12 10:50:58 -07:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu [PATCH] m68knommu: optimized local_irq_disable, and platform reboot code 2005-09-12 20:04:15 -07:00
asm-mips
asm-parisc
asm-powerpc
asm-ppc
asm-ppc64
asm-s390
asm-sh
asm-sh64
asm-sparc
asm-sparc64
asm-um
asm-v850
asm-x86_64 [PATCH] x86-64: clean up local_add/sub arguments 2005-09-12 10:50:59 -07:00
asm-xtensa
linux Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2005-09-12 15:55:09 -07:00
math-emu
media
mtd
net [NETROM]: Introduct stuct nr_private 2005-09-12 14:28:03 -07:00
pcmcia
rdma
rxrpc
scsi [SCSI] change port speed definitions for scsi_transport_fc 2005-09-16 11:25:50 -04:00
sound
video