Module Name:    src
Committed By:   kardel
Date:           Thu Aug  8 07:06:13 UTC 2013

Modified Files:
        src/sys/dev/pci: mpii.c

Log Message:
Allow 8 luns instead of 1. This enables access to the changer device on
a Dell PV-124T:
ch0 at scsibus0 target 9 lun 1: <DELL, PV-124T, 0086> changer removable
ch0: 16 slots, 1 drive, 1 picker, 0 portals


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/mpii.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/mpii.c
diff -u src/sys/dev/pci/mpii.c:1.1 src/sys/dev/pci/mpii.c:1.2
--- src/sys/dev/pci/mpii.c:1.1	Thu Apr 19 17:50:51 2012
+++ src/sys/dev/pci/mpii.c	Thu Aug  8 07:06:13 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.1 2012/04/19 17:50:51 bouyer Exp $ */
+/* $NetBSD: mpii.c,v 1.2 2013/08/08 07:06:13 kardel Exp $ */
 /*	OpenBSD: mpii.c,v 1.51 2012/04/11 13:29:14 naddy Exp 	*/
 /*
  * Copyright (c) 2010 Mike Belopuhov <m...@crypt.org.ru>
@@ -20,7 +20,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.1 2012/04/19 17:50:51 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.2 2013/08/08 07:06:13 kardel Exp $");
 
 #include "bio.h"
 
@@ -2296,7 +2296,7 @@ mpii_attach(device_t parent, device_t se
 	chan->chan_bustype = &scsi_sas_bustype;
 	chan->chan_channel = 0;
 	chan->chan_flags = 0;
-	chan->chan_nluns = 1;
+	chan->chan_nluns = 8;
 	chan->chan_ntargets = sc->sc_max_devices;
 	chan->chan_id = -1;
 

Reply via email to