aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/sunbmac.h
diff options
context:
space:
mode:
authorKumar Gala <galak@gate.crashing.org>2005-11-09 12:13:11 -0600
committerJeff Garzik <jgarzik@pobox.com>2005-11-11 08:26:58 -0500
commit125d128bec1bbf81be4c198243334a6153c0b023 (patch)
tree0535e94300fe0e8f96d591c7a73fd2190d4b6255 /drivers/net/sunbmac.h
parent1387780f7dbaa8c770fbbbec3b2f42cd9adf1921 (diff)
[PATCH] gianfar mii needs to zero out the mii_bus structure
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>
Diffstat (limited to 'drivers/net/sunbmac.h')
0 files changed, 0 insertions, 0 deletions