sfc: Optimise falcon_writel_page_locked() for page > 0
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 20 Mar 2009 13:27:13 +0000 (13:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2009 02:06:56 +0000 (19:06 -0700)
commit85451a951b9511605475fadcc0a8d3aeccefded8
tree29ab9fbe40a96582c36b5f629b88f3bceae74545
parent28c4605826ab24d04102231fc1f3e8577bec376d
sfc: Optimise falcon_writel_page_locked() for page > 0

The bug this function works around only applies to the first set of
page-mapped registers; other pages can be written without locking.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/falcon_io.h