3c59x: check return of pci_enable_device()
authorMark Hindley <mark@hindley.org.uk>
Thu, 16 Aug 2007 10:28:40 +0000 (11:28 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:50:46 +0000 (16:50 -0700)
commitc8303d10daeacb5dd7714d99f03e15cc6b91a71e
tree5f848df320f98a213f1c61244bfca374eb089514
parent79ef4a4dd44cd4f9942975b0f625bd01549a2aa9
3c59x: check return of pci_enable_device()

Check return of pci_enable_device in vortex_up().

Also modify vortex_up to return error to callers. Handle failure of
vortex_up in vortex_open and vortex_resume.

Signed-off-by: Mark Hindley <mark@hindley.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/3c59x.c