cnic: Add a signature to indicate valid doorbell offset.
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 1 Jan 2014 07:18:34 +0000 (23:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:08:08 +0000 (22:08 -0500)
commitd15e2a92c4c263fd44a0b41e637a032bd618e6c9
treeaa545877a174e1c3986d6dbe3ed42d08fce97940
parent487d9edcd238f2d30fbe562871ab061f34b4a530
cnic: Add a signature to indicate valid doorbell offset.

The buffer that is used to pass doorbell offset to the userspace UIO
driver may contain nonzero value in older versions of bnx2x driver.
Userspace cannot easily tell whether it contains a valid doorbell
offset or not.  With the added signature, userspace will only use
the doorbell offset if the signature is present.

Update version to 2.5.19.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic.h
drivers/net/ethernet/broadcom/cnic_if.h