Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 17:04:17 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230588 - in head: share/man/man4 sys/dev/ciss
Message-ID:  <201201261704.q0QH4Hna097608@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Thu Jan 26 17:04:17 2012
New Revision: 230588
URL: http://svn.freebsd.org/changeset/base/230588

Log:
  Update PCI IDs for ciss controllers that are supported by this driver.
  
  Submitted by:	scott.benesh@hp.com
  Obtained from:	Yahoo! Inc and HP
  MFC after:	1 week

Modified:
  head/share/man/man4/ciss.4
  head/sys/dev/ciss/ciss.c

Modified: head/share/man/man4/ciss.4
==============================================================================
--- head/share/man/man4/ciss.4	Thu Jan 26 16:35:09 2012	(r230587)
+++ head/share/man/man4/ciss.4	Thu Jan 26 17:04:17 2012	(r230588)
@@ -2,7 +2,7 @@
 .\" Written by Tom Rhodes
 .\" This file is in the public domain.
 .\"
-.Dd January 18, 2012
+.Dd January 26, 2012
 .Dt CISS 4
 .Os
 .Sh NAME
@@ -121,6 +121,10 @@ HP Smart Array E200i
 .It
 HP Smart Array P212
 .It
+HP Smart Array P220i
+.It
+HP Smart Array P222
+.It
 HP Smart Array P400
 .It
 HP Smart Array P400i
@@ -133,8 +137,14 @@ HP Smart Array P411
 .It
 HP Smart Array P420
 .It
+HP Smart Array P420i
+.It
+HP Smart Array P421
+.It
 HP Smart Array P600
 .It
+HP Smart Array P721m
+.It
 HP Smart Array P800
 .It
 HP Smart Array P812

Modified: head/sys/dev/ciss/ciss.c
==============================================================================
--- head/sys/dev/ciss/ciss.c	Thu Jan 26 16:35:09 2012	(r230587)
+++ head/sys/dev/ciss/ciss.c	Thu Jan 26 17:04:17 2012	(r230588)
@@ -329,7 +329,13 @@ static struct
     { 0x103C, 0x3249, CISS_BOARD_SA5,	"HP Smart Array P812" },
     { 0x103C, 0x324A, CISS_BOARD_SA5,	"HP Smart Array P712m" },
     { 0x103C, 0x324B, CISS_BOARD_SA5,	"HP Smart Array" },
-    { 0x103C, 0x3351, CISS_BOARD_SA5,	"HP Smart Array P420" },
+    { 0x103C, 0x3350, CISS_BOARD_SA5,   "HP Smart Array P222" },
+    { 0x103C, 0x3351, CISS_BOARD_SA5,   "HP Smart Array P420" },
+    { 0x103C, 0x3352, CISS_BOARD_SA5,   "HP Smart Array P421" },
+    { 0x103C, 0x3353, CISS_BOARD_SA5,   "HP Smart Array P822" },
+    { 0x103C, 0x3354, CISS_BOARD_SA5,   "HP Smart Array P420i" },
+    { 0x103C, 0x3355, CISS_BOARD_SA5,   "HP Smart Array P220i" },
+    { 0x103C, 0x3356, CISS_BOARD_SA5,   "HP Smart Array P721m" },
     { 0, 0, 0, NULL }
 };
 
@@ -4536,7 +4542,8 @@ ciss_ioctl(struct cdev *dev, u_long cmd,
 
 	pis->bus = pci_get_bus(sc->ciss_dev);
 	pis->dev_fn = pci_get_slot(sc->ciss_dev);
-	pis->board_id = pci_get_devid(sc->ciss_dev);
+        pis->board_id = (pci_get_subvendor(sc->ciss_dev) << 16) |
+                pci_get_subdevice(sc->ciss_dev);
 
 	break;
     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201261704.q0QH4Hna097608>