diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-02-07 18:15:21 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-02-07 18:15:21 +0000 |
commit | 0889fcc47324a0ce02744a26d7115bb08b5f0e86 (patch) | |
tree | 240f8bf6d858b2b06a97f915009a441288208818 /sys/dev | |
parent | 7f3a7bd3f281dab6972344b6ec7549fb1652851b (diff) |
move the devices list up a bit.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_vr.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index caab7faf7a9..35a5d443d53 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.58 2006/02/06 23:57:04 brad Exp $ */ +/* $OpenBSD: if_vr.c,v 1.59 2006/02/07 18:15:20 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -140,6 +140,16 @@ void vr_reset(struct vr_softc *); int vr_list_rx_init(struct vr_softc *); int vr_list_tx_init(struct vr_softc *); +const struct pci_matchid vr_devices[] = { + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINE }, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINEII }, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINEII_2 }, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT6105 }, + { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT6105M }, + { PCI_VENDOR_DELTA, PCI_PRODUCT_DELTA_RHINEII }, + { PCI_VENDOR_ADDTRON, PCI_PRODUCT_ADDTRON_RHINEII } +}; + #define VR_SETBIT(sc, reg, x) \ CSR_WRITE_1(sc, reg, \ CSR_READ_1(sc, reg) | (x)) @@ -584,16 +594,6 @@ vr_reset(struct vr_softc *sc) DELAY(1000); } -const struct pci_matchid vr_devices[] = { - { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINE }, - { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINEII }, - { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_RHINEII_2 }, - { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT6105 }, - { PCI_VENDOR_VIATECH, PCI_PRODUCT_VIATECH_VT6105M }, - { PCI_VENDOR_DELTA, PCI_PRODUCT_DELTA_RHINEII }, - { PCI_VENDOR_ADDTRON, PCI_PRODUCT_ADDTRON_RHINEII }, -}; - /* * Probe for a VIA Rhine chip. */ |