]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
gianfar: Use gfar_halt to stop DMA in gfar_probe
authorAndy Fleming <afleming@freescale.com>
Tue, 16 Dec 2008 23:25:45 +0000 (15:25 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 23:25:45 +0000 (15:25 -0800)
commit257d938a0c17838c740eb68f0005b041444ac2c2
treede3625da9ab82bedf79c08e5672ff4185462356d
parent5eeabf5150878018d7c7092042f3b681f5b554b5
gianfar: Use gfar_halt to stop DMA in gfar_probe

gfar_halt does everything we want to do there, including disabling
TX/RX.  It also doesn't unnecessarily enable DMA if it's already
stopped.

Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c