summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-11-09 08:58:20 +0000
committerbde <bde@FreeBSD.org>1995-11-09 08:58:20 +0000
commit7c4fa54059dc889627e81114daa3eff63c2850c3 (patch)
treef025a6d28dc662192ffbf060e8ede606383a3a5f /sys/pccard/pcic.c
parent10681514df4c49e0325fe5bdf3db63582215379c (diff)
downloadFreeBSD-src-7c4fa54059dc889627e81114daa3eff63c2850c3.zip
FreeBSD-src-7c4fa54059dc889627e81114daa3eff63c2850c3.tar.gz
Fixed the type of a timeout function and an interrupt mask variable.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 071c174..6b2854f 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -82,7 +82,7 @@ static int pcic_power __P((struct slot *));
static void pcic_reset __P((struct slot *));
static void pcic_disable __P((struct slot *));
static void pcic_mapirq __P((struct slot *, int));
-static void pcictimeout __P((void));
+static timeout_t pcictimeout;
/*
* Per-slot data table.
@@ -98,7 +98,7 @@ static struct pcic_slot
struct slot *sp; /* Back ptr to slot */
} pcic_slots[PCIC_MAX_SLOTS];
static int pcic_irq;
-static unsigned long pcic_imask;
+static unsigned pcic_imask;
static struct slot_cont cinfo;
static int pcic_memory(struct slot *, int);
@@ -735,7 +735,7 @@ struct pcic_slot *sp = slotp->cdata;
*/
static void
-pcictimeout()
+pcictimeout(void *chan)
{
timeout(pcictimeout,0,hz/2);
pcicintr(0);
OpenPOWER on IntegriCloud