[PATCH] gianfar mii needs to zero out the mii_bus structure
authorKumar Gala <galak@gate.crashing.org>
Wed, 9 Nov 2005 18:13:11 +0000 (12:13 -0600)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 11 Nov 2005 13:26:58 +0000 (08:26 -0500)
To ensure that phy_mask and any future elements of the mii_bus
structure are initialized use kzalloc() instead of kmalloc().

This fixes an issue in which phy_mask was not being initialized
and we would skip random phy addresses when scanning.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

No differences found