Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188319
b: refs/heads/master
c: fac829f
h: refs/heads/master
i:
  188317: f026ae4
  188315: c435a5f
  188311: 30b6688
  188303: 81ec2fa
  188287: 7c1552d
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed Mar 3, 2010
1 parent 8e2e78a commit 32d5d13
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 98e1e0f07c3f1820b8ac424569ee9e9916d3665b
refs/heads/master: fac829fdcaf451a20106cbc468ff886466320956
6 changes: 6 additions & 0 deletions trunk/drivers/scsi/Kconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
menu "SCSI device support"

config SCSI_MOD
tristate
default y if SCSI=n || SCSI=y
default m if SCSI=m

config RAID_ATTRS
tristate "RAID Transport Class"
default n
depends on BLOCK
depends on SCSI_MOD
---help---
Provides RAID

Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/raid_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ static int raid_match(struct attribute_container *cont, struct device *dev)
* emulated RAID devices, so start with SCSI */
struct raid_internal *i = ac_to_raid_internal(cont);

#if defined(CONFIG_SCSI) || defined(CONFIG_SCSI_MODULE)
if (scsi_is_sdev_device(dev)) {
struct scsi_device *sdev = to_scsi_device(dev);

Expand All @@ -71,6 +72,7 @@ static int raid_match(struct attribute_container *cont, struct device *dev)

return i->f->is_raid(dev);
}
#endif
/* FIXME: look at other subsystems too */
return 0;
}
Expand Down

0 comments on commit 32d5d13

Please sign in to comment.