diff options
author | bde <bde@FreeBSD.org> | 1998-06-18 15:32:09 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-18 15:32:09 +0000 |
commit | 5f62f0e8d098c625160e74c3257b2c9eae1a8cc2 (patch) | |
tree | df02485b79b159afa1982eac17e611a52c457f44 /sys/pccard/pcic.c | |
parent | ee69dd69c584a8a7bd6cb1a59e16ade77758ff6a (diff) | |
download | FreeBSD-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/pcic.c')
-rw-r--r-- | sys/pccard/pcic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 584a375..ff02b78 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -56,7 +56,7 @@ /* * Prototypes for interrupt handler. */ -static void pcicintr __P((int unit)); +static inthand2_t pcicintr; static int pcic_ioctl __P((struct slot *, int, caddr_t)); static int pcic_power __P((struct slot *)); static timeout_t pcic_reset; @@ -284,7 +284,7 @@ pcic_dump_attributes(unsigned char *scratch, int maxlen) #endif static void -nullfunc(int unit) +nullfunc(void *unused) { /* empty */ } @@ -1058,7 +1058,7 @@ pcic_disable(struct slot *slt) static void pcictimeout(void *chan) { - pcicintr(0); + pcicintr(NULL); pcictimeout_ch = timeout(pcictimeout, 0, hz/2); } @@ -1069,7 +1069,7 @@ pcictimeout(void *chan) * on this card, so send an event to the main code. */ static void -pcicintr(int unit) +pcicintr(void *unused) { int slot, s; unsigned char chg; |