Date: Thu, 6 Jan 2011 21:02:14 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217068 - head/sys/dev/adlink Message-ID: <201101062102.p06L2Euw028213@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Jan 6 21:02:14 2011 New Revision: 217068 URL: http://svn.freebsd.org/changeset/base/217068 Log: Remove an unnecessary INTR_MPSAFE and a comment suggesting it was unnecessary. Modified: head/sys/dev/adlink/adlink.c Modified: head/sys/dev/adlink/adlink.c ============================================================================== --- head/sys/dev/adlink/adlink.c Thu Jan 6 20:50:16 2011 (r217067) +++ head/sys/dev/adlink/adlink.c Thu Jan 6 21:02:14 2011 (r217068) @@ -375,9 +375,7 @@ adlink_attach(device_t self) if (error) return (error); - /* XXX why do we need INTR_MPSAFE if INTR_FAST was declared too?!?!? */ - i = bus_setup_intr(self, sc->res[2], - INTR_MPSAFE | INTR_TYPE_MISC, + i = bus_setup_intr(self, sc->res[2], INTR_TYPE_MISC, adlink_intr, NULL, sc, &sc->intrhand); if (i) { printf("adlink: Couldn't get FAST intr\n");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101062102.p06L2Euw028213>