sky2: Refactor sky2_get_regs into two functions
authorMike McCormack <mikem@ring3k.org>
Thu, 31 Dec 2009 00:49:43 +0000 (00:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2010 04:26:13 +0000 (20:26 -0800)
commitc32bbff81c04096c7888aed3946ee90fdbfbc3a3
tree511329910cdb187f3ed1404527bc03333a53f68e
parentceba0b29e002e6151b6b5ead8db9c664b58d8d21
sky2: Refactor sky2_get_regs into two functions

Separate code deciding which registers can be accessed out of
sky2_get_regs in preparation for adding more conditions into it.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c