Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ecd3902 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by James Bottomley
Browse files

[SCSI] fc4: remove this and all associated drivers



This code has been slowly rotting for about eight years.  It's currently
impeding a few SCSI cleanups, and nobody seems to have hardware to test
it any more.  I talked to Dave Miller about it, and he agrees we can
delete it.  If anyone wants a software FC stack in future, they can
retrieve this driver from git.

Signed-off-by: default avatarMatthew Wilcox <matthew@wil.cx>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent d85714d8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -456,8 +456,6 @@ source "drivers/Kconfig"

source "drivers/sbus/char/Kconfig"

source "drivers/fc4/Kconfig"

source "fs/Kconfig"

menu "Instrumentation Support"
+0 −1
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ obj-$(CONFIG_NUBUS) += nubus/
obj-$(CONFIG_ATM)		+= atm/
obj-y				+= macintosh/
obj-$(CONFIG_IDE)		+= ide/
obj-$(CONFIG_FC4)		+= fc4/
obj-$(CONFIG_SCSI)		+= scsi/
obj-$(CONFIG_ATA)		+= ata/
obj-$(CONFIG_FUSION)		+= message/

drivers/fc4/Kconfig

deleted100644 → 0
+0 −81
Original line number Diff line number Diff line
#
# FC4 device configuration
#

menu "Fibre Channel support"

config FC4
	tristate "Fibre Channel and FC4 SCSI support"
	---help---
	  Fibre Channel is a high speed serial protocol mainly used to
	  connect large storage devices to the computer; it is compatible with
	  and intended to replace SCSI.

	  This is an experimental support for storage arrays connected to your
	  computer using optical fibre cables and the "X3.269-199X Fibre
	  Channel Protocol for SCSI" specification. If you want to use this,
	  you need to say Y here and to "SCSI support" as well as to the
	  drivers for the storage array itself and for the interface adapter
	  such as SOC or SOC+. This subsystem could even serve for IP
	  networking, with some code extensions.

	  If unsure, say N.

comment "FC4 drivers"
	depends on FC4

config FC4_SOC
	tristate "Sun SOC/Sbus"
	depends on FC4!=n && SPARC
	help
	  Serial Optical Channel is an interface card with one or two Fibre
	  Optic ports, each of which can be connected to a disk array. Note
	  that if you have older firmware in the card, you'll need the
	  microcode from the Solaris driver to make it work.

	  To compile this support as a module, choose M here: the module will
	  be called soc.

config FC4_SOCAL
	tristate "Sun SOC+ (aka SOCAL)"
	depends on FC4!=n && SPARC
	---help---
	  Serial Optical Channel Plus is an interface card with up to two
	  Fibre Optic ports. This card supports FC Arbitrated Loop (usually
	  A5000 or internal FC disks in E[3-6]000 machines through the
	  Interface Board). You'll probably need the microcode from the
	  Solaris driver to make it work.

	  To compile this support as a module, choose M here: the module will
	  be called socal.

comment "FC4 targets"
	depends on FC4

config SCSI_PLUTO
	tristate "SparcSTORAGE Array 100 and 200 series"
	depends on FC4!=n && SCSI
	help
	  If you never bought a disk array made by Sun, go with N.

	  To compile this support as a module, choose M here: the module will
	  be called pluto.

config SCSI_FCAL
	tristate "Sun Enterprise Network Array (A5000 and EX500)" if SPARC
	depends on FC4!=n && SCSI
	help
	  This driver drives FC-AL disks connected through a Fibre Channel
	  card using the drivers/fc4 layer (currently only SOCAL). The most
	  common is either A5000 array or internal disks in E[3-6]000
	  machines.

	  To compile this support as a module, choose M here: the module will
	  be called fcal.

config SCSI_FCAL
	prompt "Generic FC-AL disk driver"
	depends on FC4!=n && SCSI && !SPARC

endmenu

drivers/fc4/Makefile

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
#
# Makefile for the Linux Fibre Channel device drivers.
#

fc4-objs := fc.o fc_syms.o

obj-$(CONFIG_FC4) += fc4.o
obj-$(CONFIG_FC4_SOC) += soc.o
obj-$(CONFIG_FC4_SOCAL) += socal.o

drivers/fc4/fc-al.h

deleted100644 → 0
+0 −27
Original line number Diff line number Diff line
/* fc-al.h: Definitions for Fibre Channel Arbitrated Loop topology.
 *
 * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
 *
 * Sources:
 *	Fibre Channel Arbitrated Loop (FC-AL), ANSI, Rev. 4.5, 1995
 */

#ifndef __FC_AL_H
#define __FC_AL_H

/* Loop initialization payloads */
#define	FC_AL_LISM	0x11010000	/* Select Master, 12B payload */
#define FC_AL_LIFA	0x11020000	/* Fabric Assign AL_PA bitmap, 20B payload */
#define FC_AL_LIPA	0x11030000	/* Previously Acquired AL_PA bitmap, 20B payload */
#define FC_AL_LIHA	0x11040000	/* Hard Assigned AL_PA bitmap, 20B payload */
#define FC_AL_LISA	0x11050000	/* Soft Assigned AL_PA bitmap, 20B payload */
#define FC_AL_LIRP	0x11060000	/* Report AL_PA position map, 132B payload */
#define FC_AL_LILP	0x11070000	/* Loop AL_PA position map, 132B payload */

typedef struct {
	u32	magic;
	u8	len;
	u8	alpa[127];
} fc_al_posmap;

#endif /* !(__FC_H) */
Loading