summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2002-06-06 19:33:01 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2002-06-06 19:33:01 +0000
commit5fcb3c3706d0f80ca8cf27b729d59f11ef2b9441 (patch)
tree75cb3ba4f3fea1969f9550e42460f6efd65df08d /sys/dev
parent1d232335b2bc35e01e5e53d97dc34da01b371687 (diff)
match more cards
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/gdt_pci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/gdt_pci.c b/sys/dev/pci/gdt_pci.c
index 079bccf0e80..fc36a5b008d 100644
--- a/sys/dev/pci/gdt_pci.c
+++ b/sys/dev/pci/gdt_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gdt_pci.c,v 1.14 2002/03/14 01:26:58 millert Exp $ */
+/* $OpenBSD: gdt_pci.c,v 1.15 2002/06/06 19:33:00 niklas Exp $ */
/*
* Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved.
@@ -156,10 +156,11 @@ gdt_pci_probe(parent, match, aux)
struct pci_attach_args *pa = aux;
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_VORTEX &&
- PCI_PRODUCT(pa->pa_id) >= 0x100 && PCI_PRODUCT(pa->pa_id) <= 0x2ff)
+ PCI_PRODUCT(pa->pa_id) >= 0x100 && PCI_PRODUCT(pa->pa_id) <= 0x300)
return (1);
if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL &&
- PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GDT_RAID2)
+ (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GDT_RAID1 ||
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_INTEL_GDT_RAID2))
return (1);
return (0);
}