diff options
Diffstat (limited to 'sys/i386/isa/spigot.c')
| -rw-r--r-- | sys/i386/isa/spigot.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/isa/spigot.c b/sys/i386/isa/spigot.c index e0f33a79f6652..50aebba2f18ca 100644 --- a/sys/i386/isa/spigot.c +++ b/sys/i386/isa/spigot.c @@ -107,8 +107,6 @@ static struct cdevsw spigot_cdevsw = spigot_ioctl, nostop, nullreset, nodevtotty,/* Spigot */ seltrue, spigot_mmap, NULL, "spigot", NULL, -1 }; -static ointhand2_t spigintr; - static int spigot_probe(struct isa_device *devp) { @@ -135,7 +133,6 @@ spigot_attach(struct isa_device *devp) int unit; struct spigot_softc *ss= &spigot_softc[unit = devp->id_unit]; - devp->id_ointr = spigintr; ss->maddr = kvtop(devp->id_maddr); ss->irq = devp->id_irq; #ifdef DEVFS @@ -249,7 +246,7 @@ struct spigot_info *info; * Interrupt procedure. * Just call a user level interrupt routine. */ -static void +void spigintr(int unit) { struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[unit]; @@ -259,7 +256,7 @@ struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[unit]; } static int -spigot_mmap(dev_t dev, vm_offset_t offset, int nprot) +spigot_mmap(dev_t dev, int offset, int nprot) { struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[0]; |
