summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pcivga.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:25:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:25:39 +0000
commitef0751a00264284557874522612da95509e828dd (patch)
tree963caf63773429b742a670cf2a175ca710090c48 /sys/arch/alpha/pci/pcivga.c
parent4e3636249abafe45a4830cc8448aa18fc5853660 (diff)
from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such.
Diffstat (limited to 'sys/arch/alpha/pci/pcivga.c')
-rw-r--r--sys/arch/alpha/pci/pcivga.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/alpha/pci/pcivga.c b/sys/arch/alpha/pci/pcivga.c
index 10b2f3cbbec..049a9d99429 100644
--- a/sys/arch/alpha/pci/pcivga.c
+++ b/sys/arch/alpha/pci/pcivga.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pcivga.c,v 1.3 1995/11/23 02:38:11 cgd Exp $ */
+/* $NetBSD: pcivga.c,v 1.4 1995/12/24 02:29:47 mycroft Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
@@ -180,8 +180,7 @@ pcivgaattach(parent, self, aux)
#if 0
pci_intrdata = pci_conf_read(sc->sc_pcitag, PCI_INTERRUPT_REG);
if (PCI_INTERRUPT_PIN(pci_intrdata) != PCI_INTERRUPT_PIN_NONE) {
- sc->sc_intr = pci_map_int(sc->sc_pcitag, PCI_IPL_TTY,
- tgaintr, sc);
+ sc->sc_intr = pci_map_int(sc->sc_pcitag, IPL_TTY, tgaintr, sc);
if (sc->sc_intr == NULL)
printf("%s: WARNING: couldn't map interrupt\n",
sc->sc_dev.dv_xname);