diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:31:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-14 06:31:56 +0000 |
commit | e13e1edf92f61f9aacecd214dbf9320e7be8c1f7 (patch) | |
tree | e2f0fae18777e3bdd3d9a909e9b710ff45651694 /sys/dev/isa/sbdspvar.h | |
parent | e674982e26bc7a14eaaf3228e8e84ae2f26694dc (diff) |
from netbsd; Convert IRQ, DRQ, and port numbers to int
Diffstat (limited to 'sys/dev/isa/sbdspvar.h')
-rw-r--r-- | sys/dev/isa/sbdspvar.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/isa/sbdspvar.h b/sys/dev/isa/sbdspvar.h index 0a355ff5488..6b07bbc5522 100644 --- a/sys/dev/isa/sbdspvar.h +++ b/sys/dev/isa/sbdspvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: sbdspvar.h,v 1.6 1995/05/08 22:02:24 brezak Exp $ */ +/* $NetBSD: sbdspvar.h,v 1.7 1995/11/10 05:01:08 mycroft Exp $ */ /* * Copyright (c) 1991-1993 Regents of the University of California. @@ -75,9 +75,9 @@ struct sbdsp_softc { struct isadev sc_id; /* ISA device */ void *sc_ih; /* interrupt vectoring */ - u_short sc_iobase; /* I/O port base address */ - u_short sc_irq; /* interrupt */ - u_short sc_drq; /* DMA */ + int sc_iobase; /* I/O port base address */ + int sc_irq; /* interrupt */ + int sc_drq; /* DMA */ u_short sc_open; /* reference count of open calls */ u_short sc_locked; /* true when doing HS DMA */ @@ -180,8 +180,8 @@ int sbdsp_reset __P((struct sbdsp_softc *)); void sbdsp_spkron __P((struct sbdsp_softc *)); void sbdsp_spkroff __P((struct sbdsp_softc *)); -int sbdsp_wdsp(u_short iobase, int v); -int sbdsp_rdsp(u_short iobase); +int sbdsp_wdsp(int iobase, int v); +int sbdsp_rdsp(int iobase); int sbdsp_intr __P((void *)); short sbversion __P((struct sbdsp_softc *)); |