]> git.baikalelectronics.ru Git - kernel.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)
commita8f9a68870d3e55a496663bfcf29d757eed984c3
tree2a9d290d147af4d678055845f9a7697cfaa0b5ea
parent73d0eea0b32aa02664f2b9de8985d543ae33d1f0
chelsio: Fix non-NAPI compile

Chelsio without NAPI enabled has been broken (won't compile) since
8f12b449 ("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