summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vr.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-24 00:20:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-02-24 00:20:10 +0000
commit7fc3331d10fcad3b05310dfb59418709effa0e29 (patch)
tree560932b4bc85f3f08bc8a3ce4468a74c7a89eba0 /sys/dev/pci/if_vr.c
parentaf04c88decbe855074b45d7c62392e4826a4cb5c (diff)
why do new manufacturers make identical products, but change the vendor field?
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r--sys/dev/pci/if_vr.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index 20aec9951b8..63818e68cb7 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.2 1999/01/30 23:15:37 niklas Exp $ */
+/* $OpenBSD: if_vr.c,v 1.3 1999/02/24 00:20:09 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -873,6 +873,15 @@ vr_probe(parent, match, aux)
return (1);
}
}
+
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DELTA &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DELTA_RHINEII)
+ return (1);
+
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ADDTRON &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADDTRON_RHINEII)
+ return (1);
+
return (0);
}