summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r--sys/dev/advansys/adv_pci.c6
-rw-r--r--sys/dev/advansys/adw_pci.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/advansys/adv_pci.c b/sys/dev/advansys/adv_pci.c
index dd81e88..27bfc0d 100644
--- a/sys/dev/advansys/adv_pci.c
+++ b/sys/dev/advansys/adv_pci.c
@@ -47,7 +47,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: adv_pci.c,v 1.3 1998/12/14 06:32:54 dillon Exp $
+ * $Id: adv_pci.c,v 1.4 1998/12/22 18:14:15 gibbs Exp $
*/
#include <pci.h>
@@ -95,7 +95,11 @@ static struct pci_device adv_pci_driver = {
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (adv_pci, adv_pci_driver);
+#else
DATA_SET (pcidevice_set, adv_pci_driver);
+#endif /* COMPAT_PCI_DRIVER */
static const char*
advpciprobe(pcici_t tag, pcidi_t type)
diff --git a/sys/dev/advansys/adw_pci.c b/sys/dev/advansys/adw_pci.c
index b65037b..6efed69 100644
--- a/sys/dev/advansys/adw_pci.c
+++ b/sys/dev/advansys/adw_pci.c
@@ -28,7 +28,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: adw_pci.c,v 1.2 1998/12/07 21:58:45 archie Exp $
+ * $Id: adw_pci.c,v 1.3 1998/12/14 06:32:54 dillon Exp $
*/
#include <pci.h>
@@ -69,7 +69,11 @@ static struct pci_device adw_pci_driver = {
NULL
};
+#ifdef COMPAT_PCI_DRIVER
+COMPAT_PCI_DRIVER (adw_pci, adw_pci_driver);
+#else
DATA_SET (pcidevice_set, adw_pci_driver);
+#endif /* COMPAT_PCI_DRIVER */
static const char*
adwpciprobe(pcici_t tag, pcidi_t type)
OpenPOWER on IntegriCloud