]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] make supported_mode default to initiator.
authorJames Bottomley <James.Bottomley@steeleye.com>
Wed, 26 Sep 2007 03:45:53 +0000 (22:45 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Thu, 18 Oct 2007 01:56:12 +0000 (21:56 -0400)
commit145f78a4fbd61c287b3490dc39381ed138fdd806
treeddbe694e36e2d2fb4648c0775e8f152afcfa9fe9
parent849767e4250247e4c4be9db79be4358a06bb1fc2
[SCSI] make supported_mode default to initiator.

if shost->supported mode is zero (i.e. MODE_UNKNOWN) show it as
initiator (it's obviously an unconverted driver that won't do target).

Acked-by: FUJITA Tomonori <tomof@acm.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/hosts.c
drivers/scsi/scsi_sysfs.c