summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-07-02 23:50:16 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-07-02 23:50:16 +0000
commit6d55d9ed2de97e9c84d8d963ce3d2f9d8c714524 (patch)
tree6b62694ff83bf66be14d56668556d1c10c8cd735
parentf8f94414659c78970b81e5d3ca95d7fa3168b85c (diff)
the jmb362 should work fine
-rw-r--r--sys/dev/pci/jmb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/jmb.c b/sys/dev/pci/jmb.c
index 32536c5ee7d..6eac8ddecaa 100644
--- a/sys/dev/pci/jmb.c
+++ b/sys/dev/pci/jmb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: jmb.c,v 1.4 2007/07/02 14:10:13 dlg Exp $ */
+/* $OpenBSD: jmb.c,v 1.5 2007/07/02 23:50:15 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -84,6 +84,7 @@ struct cfdriver jmb_cd = {
static const struct pci_matchid jmb_devices[] = {
{ PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB360 },
{ PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB361 },
+ { PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB362 },
{ PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB363 },
{ PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB365 },
{ PCI_VENDOR_JMICRON, PCI_PRODUCT_JMICRON_JMB366 },
@@ -119,6 +120,7 @@ jmb_attach(struct device *parent, struct device *self, void *aux)
switch (PCI_PRODUCT(pa->pa_id)) {
case PCI_PRODUCT_JMICRON_JMB360:
+ case PCI_PRODUCT_JMICRON_JMB362:
/* set to single function AHCI mode */
ctl0 |= JM_PCI_CTL0_AHCI_EN | JM_PCI_CTL0_SATA0_AHCI |
JM_PCI_CTL0_SATA1_AHCI |