summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-05-27 20:39:31 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-05-27 20:39:31 +0000
commitdc9988317dddfffe8b1479bc40c90b7e2148faed (patch)
tree0e282d3d43e8e446982548e959cd40c3b423bee6 /sys/dev/pci
parent50bb62d17c51ad41f4b0c0c51a1d90fafca2b35a (diff)
step 1 in fixing bioctl commands intermixed with regular io.
- Added the magical sequence for polling IO - Created new polling function per hardware generation Lots and lots of constructive yelling mickey@ ok mickey@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ami_pci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/ami_pci.c b/sys/dev/pci/ami_pci.c
index da4dff9fe23..8ca590d9412 100644
--- a/sys/dev/pci/ami_pci.c
+++ b/sys/dev/pci/ami_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami_pci.c,v 1.24 2005/05/09 19:50:48 marco Exp $ */
+/* $OpenBSD: ami_pci.c,v 1.25 2005/05/27 20:39:30 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -203,10 +203,12 @@ ami_pci_attach(parent, self, aux)
sc->sc_init = ami_schwartz_init;
sc->sc_exec = ami_schwartz_exec;
sc->sc_done = ami_schwartz_done;
+ sc->sc_poll = ami_schwartz_poll;
} else {
sc->sc_init = ami_quartz_init;
sc->sc_exec = ami_quartz_exec;
sc->sc_done = ami_quartz_done;
+ sc->sc_poll = ami_quartz_poll;
}
sc->dmat = pa->pa_dmat;