| To: | Jon Mason <jdmason@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [patch 2.6.11-rc3 5/5] r8169: synchronization and balancing when the device is closed |
| From: | Francois Romieu <romieu@xxxxxxxxxxxxx> |
| Date: | Mon, 14 Feb 2005 20:31:06 +0100 |
| Cc: | Jeff Garzik <jgarzik@xxxxxxxxx>, akpm@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <200502141116.54441.jdmason@us.ibm.com> |
| References: | <20050211233918.GB8792@electric-eye.fr.zoreil.com> <20050211234403.GC13644@electric-eye.fr.zoreil.com> <20050211234522.GD13644@electric-eye.fr.zoreil.com> <200502141116.54441.jdmason@us.ibm.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
Jon Mason <jdmason@xxxxxxxxxx> : > [...] > > @@ -2399,6 +2398,8 @@ static int rtl8169_close(struct net_devi > > > > free_irq(dev->irq, dev); > > > > + netif_poll_enable(dev); > > + > > pci_free_consistent(pdev, R8169_RX_RING_BYTES, tp->RxDescArray, > > tp->RxPhyAddr); > > pci_free_consistent(pdev, R8169_TX_RING_BYTES, tp->TxDescArray, > > > > _ > > Dumb question....Why is this needed? dev_close has already checked for the dev_open() after dev_close(): netif_rx_schedule_prep() always fails in rtl8169_interrupt() and the device can not be scheduled for poll. Sucky. So, if someone wants to push it before 2.6.11 goes out... -- Ueimor |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [KJ] [PATCH 9/18] drivers/net/ remove pci_find_{device, subsys}, Greg KH |
|---|---|
| Next by Date: | [PATCH 2.6 1/2] Fix documentation build failure, Sergey Vlasov |
| Previous by Thread: | Re: [patch 2.6.11-rc3 5/5] r8169: synchronization and balancing when the device is closed, Jon Mason |
| Next by Thread: | Re: [patch 2.6.11-rc3 1/5] r8169: endianness fixes, Jeff Garzik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |