diff options
author | Doug Rabson <dfr@FreeBSD.org> | 1998-11-15 18:25:17 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 1998-11-15 18:25:17 +0000 |
commit | 08b6a4cbee427b68518039a35579f86d2e646bb9 (patch) | |
tree | fd54512c9c731113c4672699fae373a27076692f /sys/alpha/tlsb/dwlpx.c | |
parent | 128d4f3960c20175f0c33050be82862db5378087 (diff) | |
download | src-test2-08b6a4cbee427b68518039a35579f86d2e646bb9.tar.gz src-test2-08b6a4cbee427b68518039a35579f86d2e646bb9.zip |
Notes
Diffstat (limited to 'sys/alpha/tlsb/dwlpx.c')
-rw-r--r-- | sys/alpha/tlsb/dwlpx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/tlsb/dwlpx.c b/sys/alpha/tlsb/dwlpx.c index 7db56ce21960..bb80abf25576 100644 --- a/sys/alpha/tlsb/dwlpx.c +++ b/sys/alpha/tlsb/dwlpx.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: dwlpx.c,v 1.5 1998/08/10 07:53:59 dfr Exp $ + * $Id: dwlpx.c,v 1.6 1998/09/04 08:01:26 dfr Exp $ */ #include "opt_simos.h" @@ -288,6 +288,8 @@ dwlpx_attach(device_t dev) struct dwlpx_softc* sc = DWLPX_SOFTC(dev); device_t parent = device_get_parent(dev); vm_offset_t regs; + void *intr; + dwlpx0 = dev; chipset = dwlpx_chipset; @@ -301,9 +303,7 @@ dwlpx_attach(device_t dev) *(u_int32_t*) (regs + PCIA_CTL(0)) = 1; /* Type1 config cycles */ - BUS_CONNECT_INTR(parent, - BUS_CREATE_INTR(parent, dev, - 0, dwlpx_intr, 0)); + return BUS_SETUP_INTR(parent, dev, NULL, dwlpx_intr, 0, &intr); return 0; } |