sky2: Set SKY2_HW_RAM_BUFFER in sky2_init
authorMike McCormack <mikem@ring3k.org>
Mon, 21 Sep 2009 04:08:52 +0000 (04:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2009 21:00:11 +0000 (14:00 -0700)
commit74a61ebf653c6abe459f228eb40e9f24f7ef1fb7
tree8fa91d0ae6a6fe3130ab5bdb6b68115d205138df
parent55865c66d24b8f1a885a1a03836d219286d41818
sky2: Set SKY2_HW_RAM_BUFFER in sky2_init

The SKY2_HW_RAM_BUFFER bit in hw->flags was checked in sky2_mac_init(),
 before being set later in sky2_up().

Setting SKY2_HW_RAM_BUFFER in sky2_init() where other hw->flags are set
 should avoid this problem recurring.

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