]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
chelsio: Fix non-NAPI compile
authorRoland Dreier <rdreier@cisco.com>
Mon, 26 Feb 2007 22:58:49 +0000 (14:58 -0800)
committerJeff Garzik <jeff@garzik.org>
Tue, 27 Feb 2007 09:27:13 +0000 (04:27 -0500)
commit54d3e568209553d3dd0d824fbc0ef4a6cedaf465
tree2a9d290d147af4d678055845f9a7697cfaa0b5ea
parente0994eb1d9ead09bb8f6483cf5cf6aa55ce0f3b9
chelsio: Fix non-NAPI compile

Chelsio without NAPI enabled has been broken (won't compile) since
3de00b89 ("chelsio: NAPI speed improvement"):

    drivers/net/chelsio/sge.c: In function `t1_interrupt`:
    drivers/net/chelsio/sge.c:1716: error: `Q` undeclared (first use in this function)

The change below seems to add back in the declaration and
initialization of `Q` that was removed by mistake, and at least makes
the driver compile for me, although I have no hardware and hence no
way to test whether this actually works.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/chelsio/sge.c