diff options
author | Michael Chan <mchan@broadcom.com> | 2011-07-13 17:24:19 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 08:46:07 -0700 |
commit | e1dd883cb15310dc2ded9995a1f1d8b1cb1e88f3 (patch) | |
tree | 9c8580a6ea022f9a3e4ef58d4424cab6e6000439 /init/do_mounts_rd.c | |
parent | b7d40315c9643034ac4b5c9dda480d0124416f89 (diff) |
cnic: Fix ring setup/shutdown code
Latest bnx2x driver uses different CID for the iSCSI rings, so
we need to pass it in the ring init data. The rx ring is also
zeroed out to prevent stale DMA addresses from being used after
shutdown.
The same cp local variable redefined inside the else branch is
also eliminated.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/do_mounts_rd.c')
0 files changed, 0 insertions, 0 deletions