summaryrefslogtreecommitdiff
path: root/sys/dev
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
parentaf04c88decbe855074b45d7c62392e4826a4cb5c (diff)
why do new manufacturers make identical products, but change the vendor field?
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_rl.c10
-rw-r--r--sys/dev/pci/if_vr.c11
2 files changed, 19 insertions, 2 deletions
diff --git a/sys/dev/pci/if_rl.c b/sys/dev/pci/if_rl.c
index 9d73e342759..c777bc5a235 100644
--- a/sys/dev/pci/if_rl.c
+++ b/sys/dev/pci/if_rl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl.c,v 1.10 1998/12/31 02:35:14 jason Exp $ */
+/* $OpenBSD: if_rl.c,v 1.11 1999/02/24 00:20:08 deraadt Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1293,6 +1293,14 @@ rl_probe(parent, match, aux)
}
}
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_DELTA &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_DELTA_8139)
+ return (1);
+
+ if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ADDTRON &&
+ PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_ADDTRON_8139)
+ return (1);
+
return 0;
}
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);
}