kernel-fxtec-pro1x/drivers/s390
Sven Schuetz 85a82392fe [SCSI] zfcp: Add port_state attribute to sysfs
The sysfs attribute /sys/class/fc_host/hostX/port_state was not set by
zfcp so far.

Now, the appropriate members of the fc_function_template struct are
set during its initialziation. The first is a boolean to show the port
state. The second is a function pointer to the function
zfcp_get_host_port_state, which reads the port state from our adapter
status bits and calls fc_host_port_state with the approriate port
state afterwards.

Signed-off-by: Sven Schuetz <sven@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-07-12 08:22:26 -05:00
..
block [S390] dasd: use a generic wait_queue for sleep_on 2008-05-30 10:03:35 +02:00
char [S390] tape: fix race with stack local wait_queue_head_t. 2008-05-30 10:03:36 +02:00
cio [S390] blacklist.c: removed duplicated include 2008-05-15 16:52:39 +02:00
crypto [S390] zcrypt: Comments and kernel-doc cleanup 2008-04-17 07:47:06 +02:00
kvm virtio: set device index in common code. 2008-05-30 15:09:42 +10:00
net netiucv: Fix missing driver attributes. 2008-04-29 01:56:36 -04:00
scsi [SCSI] zfcp: Add port_state attribute to sysfs 2008-07-12 08:22:26 -05:00
ebcdic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile s390: KVM guest: virtio device support, and kvm hypercalls 2008-04-27 12:00:51 +03:00
s390_rdev.c [PATCH] s390: kzalloc() conversion in drivers/s390 2006-03-24 07:33:18 -08:00
s390mach.c [S390] s390mach compile warning 2008-05-07 09:23:02 +02:00
s390mach.h [S390] Fix a lot of sparse warnings. 2008-04-17 07:47:06 +02:00
sysinfo.c [S390] Add new fields for System z10 to /proc/sysinfo 2008-04-17 07:47:01 +02:00