diff options
author | Paolo Pisati <piso@FreeBSD.org> | 2007-02-23 12:19:07 +0000 |
---|---|---|
committer | Paolo Pisati <piso@FreeBSD.org> | 2007-02-23 12:19:07 +0000 |
commit | ef544f631226436ef590825881e7a28369df82f6 (patch) | |
tree | 10833d4edb6c0d0a5efcf7762d842a4c378404b0 /sys/dev/sn/if_sn.c | |
parent | 68cb8659050380e1245328796e2783f030c94974 (diff) | |
download | src-ef544f631226436ef590825881e7a28369df82f6.tar.gz src-ef544f631226436ef590825881e7a28369df82f6.zip |
o break newbus api: add a new argument of type driver_filter_t to
bus_setup_intr()
o add an int return code to all fast handlers
o retire INTR_FAST/IH_FAST
For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current
Reviewed by: many
Approved by: re@
Notes
Notes:
svn path=/head/; revision=166901
Diffstat (limited to 'sys/dev/sn/if_sn.c')
-rw-r--r-- | sys/dev/sn/if_sn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sn/if_sn.c b/sys/dev/sn/if_sn.c index 3845bf3383ab..42da0dd9f98b 100644 --- a/sys/dev/sn/if_sn.c +++ b/sys/dev/sn/if_sn.c @@ -218,7 +218,8 @@ sn_attach(device_t dev) * during startup to avoid LORs in the network layer. */ if ((err = bus_setup_intr(dev, sc->irq_res, - INTR_TYPE_NET | INTR_MPSAFE, sn_intr, sc, &sc->intrhand)) != 0) { + INTR_TYPE_NET | INTR_MPSAFE, NULL, sn_intr, sc, + &sc->intrhand)) != 0) { sn_detach(dev); return err; } |