atl1c: change atl1c_buffer struct and restructure clean atl1c_buffer procedure
authorJie Yang <jie.yang@atheros.com>
Fri, 6 Nov 2009 08:32:05 +0000 (00:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 08:46:35 +0000 (00:46 -0800)
commitc6060be46fbda5af651b6ed2b85502ccbb3d9279
tree89ef8caaecd190a6ab29e38b78382775589e4050
parentd3bcfefaca27c1bfc8f740f5fff5b25d52ed1211
atl1c: change atl1c_buffer struct and restructure clean atl1c_buffer procedure

change atl1c_buffer struct, use "u16 flags" instead of "u16 state"
to store more infomation for atl1c_buffer, and restructure clean
atl1c_buffer procedure, add common api atl1c_clean_buffer.

Signed-off-by: Jie Yang <jie.yang@atheros.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atl1c/atl1c.h
drivers/net/atl1c/atl1c_main.c