]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ibm_newemac: Don't call dev_mc_add() before device is registered
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 17 Aug 2008 21:29:23 +0000 (07:29 +1000)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 27 Aug 2008 09:55:24 +0000 (05:55 -0400)
commite8296582783a9f3bf75dbeb98dfdae15fd45c008
tree78cc81d865c64158c50f52f09793de85a8e5addc
parentab9399059bb85a94758f42fb25607e440e926cc6
ibm_newemac: Don't call dev_mc_add() before device is registered

We must not call dev_mc_add() from within our HW configure which happens
before we initialize and register the netdev. Do it in open() instead.

Thanks to Sebastian Siewior for tracking it down.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ibm_newemac/core.c