]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ne2k-pci: Do not register device until initialized.
authorLubomir Rintel <lkundrak@v3.sk>
Sat, 2 May 2009 20:52:13 +0000 (13:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 May 2009 20:52:13 +0000 (13:52 -0700)
commit379b026ecc20c4657d37e40ead789f7f28f1a1c1
tree04e4f62a9f674474b0d679716b5a0f95bf4106fc
parent902e5ea15f8471a3213a37b11b98196f3406aeaf
ne2k-pci: Do not register device until initialized.

Doing it in reverse order causes uevent to be sent before
we have a MAC address, which confuses udev.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ne2k-pci.c