summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2012-01-26 17:04:17 +0000
committersbruno <sbruno@FreeBSD.org>2012-01-26 17:04:17 +0000
commit7ebf2a01cf80cb57e9b9cf58123fef55fa1ba239 (patch)
tree31a78c97c24bae55d2739b639e047b0721644608
parent7f685c218aab7dcffad6119b6e3741a0b71a2e97 (diff)
downloadFreeBSD-src-7ebf2a01cf80cb57e9b9cf58123fef55fa1ba239.zip
FreeBSD-src-7ebf2a01cf80cb57e9b9cf58123fef55fa1ba239.tar.gz
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
-rw-r--r--share/man/man4/ciss.412
-rw-r--r--sys/dev/ciss/ciss.c11
2 files changed, 20 insertions, 3 deletions
diff --git a/share/man/man4/ciss.4 b/share/man/man4/ciss.4
index bf9ce87..277847b 100644
--- a/share/man/man4/ciss.4
+++ b/share/man/man4/ciss.4
@@ -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
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 994daa4..37af516 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -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, caddr_t addr, int32_t flag, struct thre
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;
}
OpenPOWER on IntegriCloud