]> err.no Git - linux-2.6/commit
[PATCH] PC300 pci_enable_device fix
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Tue, 26 Apr 2005 20:09:35 +0000 (13:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 26 Apr 2005 20:09:35 +0000 (13:09 -0700)
commite8108c98dd6d65613fa0ec9d2300f89c48d554bf
tree3608de2fc88b062070a9d197eda9cac1fb9635d3
parentefa545791ff439d778f79d02255d59ff1f7ea0fc
[PATCH] PC300 pci_enable_device fix

Call pci_enable_device() before looking at IRQ and resources,
and pci_disable_device() when shutting the interface down.

The driver requires this fix or the "pci=routeirq" workaround
on 2.6.10 and later kernels.

Reported and tested by Artur Lipowski.

From: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/wan/pc300_drv.c