Date: Mon, 9 Nov 2009 16:43:50 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r199091 - projects/mips/sys/dev/rmi/xlr Message-ID: <200911091643.nA9GhoxX027311@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rrs Date: Mon Nov 9 16:43:50 2009 New Revision: 199091 URL: http://svn.freebsd.org/changeset/base/199091 Log: Cooresponding hack to pass in the irq Modified: projects/mips/sys/dev/rmi/xlr/rge.c Modified: projects/mips/sys/dev/rmi/xlr/rge.c ============================================================================== --- projects/mips/sys/dev/rmi/xlr/rge.c Mon Nov 9 16:43:02 2009 (r199090) +++ projects/mips/sys/dev/rmi/xlr/rge.c Mon Nov 9 16:43:50 2009 (r199091) @@ -1925,7 +1925,8 @@ rge_attach(device_t dev) sc->irq = gmac_conf->baseirq + priv->instance % 4; /* Set the IRQ into the rid field */ - rman_set_rid(&sc->rge_irq, sc->irq); + /* note this is a hack to pass the irq to the iodi interrupt setup routines */ + sc->rge_irq.__r_i = (struct resource_i *)sc->irq; ret = bus_setup_intr(dev, &sc->rge_irq, INTR_FAST | INTR_TYPE_NET | INTR_MPSAFE, NULL, rge_intr, sc, &sc->rge_intrhand);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911091643.nA9GhoxX027311>