diff options
author | bde <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-22 05:58:45 +0000 |
commit | df88297cad3e438e774e13137af8eaff53c0fc7f (patch) | |
tree | d694ec5d94b6e29be85865e36be61cbb2bea66dc /sys/i386/isa/bs/bsif.c | |
parent | 7a07480a8f242db0c438040f3beb4ce7b2c7cde2 (diff) | |
download | FreeBSD-src-df88297cad3e438e774e13137af8eaff53c0fc7f.zip FreeBSD-src-df88297cad3e438e774e13137af8eaff53c0fc7f.tar.gz |
Initialize isa_devtab entries for interrupt handlers in individual
device drivers, not in ioconf.c. Use a different hack in isa_device.h
so that a new config(8) is not required yet.
pc98 parts approved by: kato
Diffstat (limited to 'sys/i386/isa/bs/bsif.c')
-rw-r--r-- | sys/i386/isa/bs/bsif.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/isa/bs/bsif.c b/sys/i386/isa/bs/bsif.c index d9a8210..58e7203 100644 --- a/sys/i386/isa/bs/bsif.c +++ b/sys/i386/isa/bs/bsif.c @@ -70,6 +70,7 @@ struct scsi_adapter pc98texa55bs = { #ifdef __FreeBSD__ static int bsprobe __P((struct isa_device *)); static int bsattach __P((struct isa_device *)); +static inthand2_t bsintr; static int bsprint __P((void *, const char *)); static void bs_scsi_minphys __P((struct buf *)); static int bs_dmarangecheck __P((caddr_t, unsigned)); @@ -220,6 +221,7 @@ bsattach(dev) struct bs_softc *bsc = bscdata[unit]; struct scsibus_data *scbus; + dev->id_ointr = bsintr; bsc->sc_link.adapter_unit = unit; bsc->sc_link.adapter_targ = bsc->sc_hostid; bsc->sc_link.flags = SDEV_BOUNCE; @@ -256,7 +258,7 @@ bsintr(arg) #endif /* __NetBSD__ */ #ifdef __FreeBSD__ -void +static void bsintr(unit) int unit; { |