summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-03-09 05:12:50 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-03-09 05:12:50 -0500
commit93a1f69a2f52e4b570196582599e2dd691e5c70b (patch)
treee6eae6920a514a0eabf3b8bf284e4694c772e601 /net/unix/af_unix.c
parent60ba96e546da45d9e22bb04b84971a25684e4d46 (diff)
[PATCH] sis900 kernel oops fix
From: Herbert Xu <herbert@gondor.apana.org.au> Fix bug #4223. OK, this happened because we got preempted before sis900_mii_probe finished setting the sis_priv->mii. Theoretically this can happen with SMP as well but I suppose the number of SMP machines with sis900 is fairly small. Anyway, the fix is to make sure that sis900_mii_probe is done before the device can be opened. This patch does it by moving the setup before register_netdevice. Since the netdev name is not available before register_netdev, I've changed the relevant printk's to use pci_name instead. Note that one of those printk's may be called after register_netdev as well. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions