From 38c9f5bacf901b3bc80a70be545e5ec7c9259cf3 Mon Sep 17 00:00:00 2001 From: wwang Date: Tue, 27 Mar 2012 16:43:20 +0800 Subject: [PATCH] --- yaml --- r: 299101 b: refs/heads/master c: b5bd70a162492a76ee49065605ca15d484bb623a h: refs/heads/master i: 299099: 94c202b17eeedc6fa1ca96f23d302fcf8b3127af v: v3 --- [refs] | 2 +- trunk/drivers/staging/rts_pstor/rtsx.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2cb4e4f5fd62..0e6c4ff9eb2a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d05568ac79bfc595f1eadc3e0fd7a20a45f7b69 +refs/heads/master: b5bd70a162492a76ee49065605ca15d484bb623a diff --git a/trunk/drivers/staging/rts_pstor/rtsx.c b/trunk/drivers/staging/rts_pstor/rtsx.c index a7feb3e328a0..1dccd933a7e4 100644 --- a/trunk/drivers/staging/rts_pstor/rtsx.c +++ b/trunk/drivers/staging/rts_pstor/rtsx.c @@ -1000,6 +1000,11 @@ static int __devinit rtsx_probe(struct pci_dev *pci, rtsx_init_chip(dev->chip); + /* set the supported max_lun and max_id for the scsi host + * NOTE: the minimal value of max_id is 1 */ + host->max_id = 1; + host->max_lun = dev->chip->max_lun; + /* Start up our control thread */ th = kthread_run(rtsx_control_thread, dev, CR_DRIVER_NAME); if (IS_ERR(th)) {