summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-18 15:32:09 +0000
committerbde <bde@FreeBSD.org>1998-06-18 15:32:09 +0000
commit5f62f0e8d098c625160e74c3257b2c9eae1a8cc2 (patch)
treedf02485b79b159afa1982eac17e611a52c457f44 /sys/pccard/pccard.c
parentee69dd69c584a8a7bd6cb1a59e16ade77758ff6a (diff)
downloadFreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.zip
FreeBSD-src-5f62f0e8d098c625160e74c3257b2c9eae1a8cc2.tar.gz
Changed the type of an isa/general interrupt handler to take a
`void *' arg. Fixed or hid most of the resulting type mismatches. Handlers can now be updated locally (except for reworking their global declarations in isa_device.h).
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 58c8247..7ce11de 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pccard.c,v 1.60 1998/05/05 13:21:08 kato Exp $
+ * $Id: pccard.c,v 1.61 1998/06/07 17:12:34 dfr Exp $
*/
#include "opt_devfs.h"
@@ -94,7 +94,7 @@ static void disable_slot(struct slot *);
static int invalid_io_memory(unsigned long, int);
static struct pccard_device *find_driver(char *);
static void remove_device(struct pccard_devinfo *);
-static void slot_irq_handler(int);
+static inthand2_t slot_irq_handler;
static void power_off_slot(void *);
#if NAPM > 0
@@ -708,7 +708,7 @@ pccard_event(struct slot *slt, enum card_event event)
* slot_irq_handler - Interrupt handler for shared irq devices.
*/
static void
-slot_irq_handler(int arg)
+slot_irq_handler(void *arg)
{
struct pccard_devinfo *devi;
struct slot *slt = (struct slot *)arg;
OpenPOWER on IntegriCloud