summaryrefslogtreecommitdiff
path: root/sys/dev/pci/bktr
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-13 22:48:04 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-13 22:48:04 +0000
commit24ae69bcc3bfc98616b6af91e3b08cab41fb89ca (patch)
tree7eea7436aa4020b4b7d037f45f5ead3a4629ff9a /sys/dev/pci/bktr
parent01b8774082f247c11b0a47bbc0fc0d8b9d29af9f (diff)
no need to redefine pci vendors here since we have 'em, comment on two screwed entries
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r--sys/dev/pci/bktr/bktr_card.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/sys/dev/pci/bktr/bktr_card.c b/sys/dev/pci/bktr/bktr_card.c
index 60e91b06ebe..bc34ab5a73c 100644
--- a/sys/dev/pci/bktr/bktr_card.c
+++ b/sys/dev/pci/bktr/bktr_card.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_card.c,v 1.3 2002/03/14 03:16:06 millert Exp $ */
+/* $OpenBSD: bktr_card.c,v 1.4 2002/07/13 22:48:03 mickey Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_card.c,v 1.16 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -89,10 +89,8 @@
#endif
/* Include the PCI Vendor definitions */
-#ifdef __NetBSD__
#include <dev/pci/pcidevs.h>
#include <dev/pci/pcireg.h>
-#endif
/* Various defines */
#define HAUP_REMOTE_INT_WADDR 0x30
@@ -531,18 +529,12 @@ static int locate_eeprom_address( bktr_ptr_t bktr) {
* configuration EEPROM used on Bt878/879 cards. They should match the
* number assigned to the company by the PCI Special Interest Group
*/
-#ifndef __NetBSD__
-#define PCI_VENDOR_HAUPPAUGE 0x0070
-#define PCI_VENDOR_AVERMEDIA 0x1461
-#define PCI_VENDOR_STB 0x10B4
-#define PCI_VENDOR_ASKEY 0x144F
-#endif
/* Following not confirmed with http://members.hyperlink.net.au/~chart,
so not added to NetBSD's pcidevs */
-#define PCI_VENDOR_LEADTEK_ALT 0x6606
+#define PCI_VENDOR_LEADTEK_ALT 0x6606 /* this is swapped w/ prod id */
#define PCI_VENDOR_FLYVIDEO 0x1851
#define PCI_VENDOR_FLYVIDEO_2 0x1852
-#define PCI_VENDOR_PINNACLE_ALT 0xBD11
+#define PCI_VENDOR_PINNACLE_ALT 0xBD11 /* this is swapped w/ prod id */
void