diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index 73a9517a5f41..33c0fcf6cb51 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_vr.c,v 1.7 1999/02/02 00:29:17 thorpej Exp $ */ +/* $NetBSD: if_vr.c,v 1.8 1999/02/02 00:32:21 thorpej Exp $ */ /* * Copyright (c) 1997, 1998 @@ -95,6 +95,8 @@ #include #include +#include + #include #if defined(__NetBSD__) && defined(__alpha__) @@ -117,9 +119,9 @@ static struct vr_type { pci_product_id_t vr_did; const char *vr_name; } vr_devs[] = { - { VIA_VENDORID, VIA_DEVICEID_RHINE, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT3043, "VIA VT3043 Rhine I 10/100BaseTX" }, - { VIA_VENDORID, VIA_DEVICEID_RHINE_II, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT86C100A, "VIA VT86C100A Rhine II 10/100BaseTX" }, { 0, 0, NULL } }; diff --git a/sys/dev/pci/if_vrreg.h b/sys/dev/pci/if_vrreg.h index c3ea96c74631..3e6ddf0db81a 100644 --- a/sys/dev/pci/if_vrreg.h +++ b/sys/dev/pci/if_vrreg.h @@ -1,4 +1,4 @@ -/* $NetBSD: if_vrreg.h,v 1.6 1999/02/02 00:29:17 thorpej Exp $ */ +/* $NetBSD: if_vrreg.h,v 1.7 1999/02/02 00:32:21 thorpej Exp $ */ /* * Copyright (c) 1997, 1998 @@ -344,20 +344,6 @@ struct vr_desc { #define VR_TXOWN(x) x->vr_ptr->vr_status -/* - * General constants that are fun to know. - * - * VIA vendor ID - */ -#define VIA_VENDORID 0x1106 - -/* - * VIA Rhine device IDs. - */ -#define VIA_DEVICEID_RHINE 0x3043 -#define VIA_DEVICEID_RHINE_II 0x6100 - - /* * Texas Instruments PHY identifiers */