Hi! With last pci_choose_state, I passed wrong pointer to pci_choose_state. This fixes it. Please apply, Pavel Signed-off-by: Pavel Machek <[EMAIL PROTECTED]>
--- /data/l/READ-ONLY/linux/drivers/net/tg3.c 2005-01-22 21:28:41.000000000 +0100 +++ linux/drivers/net/tg3.c 2005-01-24 11:23:06.000000000 +0100 @@ -8475,7 +8475,7 @@ spin_unlock(&dev->xmit_lock); spin_unlock_irq(&tp->lock); - err = tg3_set_power_state(tp, pci_choose_state(dev, state)); + err = tg3_set_power_state(tp, pci_choose_state(pdev, state)); if (err) { spin_lock_irq(&tp->lock); spin_lock(&dev->xmit_lock); -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/