Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread David Miller
From: "Rafael J. Wysocki" Date: Sun, 01 Dec 2013 02:34:37 +0100 > From: Rafael J. Wysocki > > Modify tg3_chip_reset() and tg3_close() to check if the PCI network > adapter device is accessible at all in order to skip poking it or > trying to handle a carrier loss in vain when that's not the

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread Michael Chan
On Mon, 2013-12-02 at 13:48 -0500, David Miller wrote: > From: "Michael Chan" > Date: Sun, 1 Dec 2013 12:39:19 -0800 > > > I'm not familiar with the DS1. Does the tg3 device get removed through > > tg3_remove_one() in this case? What happens when you reconnect the DS1? > > Michael, is

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread David Miller
From: "Michael Chan" Date: Sun, 1 Dec 2013 12:39:19 -0800 > I'm not familiar with the DS1. Does the tg3 device get removed through > tg3_remove_one() in this case? What happens when you reconnect the DS1? Michael, is Rafael's explanation sufficient for you? -- To unsubscribe from this list:

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread David Miller
From: Michael Chan mc...@broadcom.com Date: Sun, 1 Dec 2013 12:39:19 -0800 I'm not familiar with the DS1. Does the tg3 device get removed through tg3_remove_one() in this case? What happens when you reconnect the DS1? Michael, is Rafael's explanation sufficient for you? -- To unsubscribe

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread Michael Chan
On Mon, 2013-12-02 at 13:48 -0500, David Miller wrote: From: Michael Chan mc...@broadcom.com Date: Sun, 1 Dec 2013 12:39:19 -0800 I'm not familiar with the DS1. Does the tg3 device get removed through tg3_remove_one() in this case? What happens when you reconnect the DS1? Michael, is

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-02 Thread David Miller
From: Rafael J. Wysocki r...@rjwysocki.net Date: Sun, 01 Dec 2013 02:34:37 +0100 From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify tg3_chip_reset() and tg3_close() to check if the PCI network adapter device is accessible at all in order to skip poking it or trying to handle a

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-01 Thread Rafael J. Wysocki
On Sunday, December 01, 2013 12:39:19 PM Michael Chan wrote: > On Sun, 2013-12-01 at 02:34 +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Modify tg3_chip_reset() and tg3_close() to check if the PCI network > > adapter device is accessible at all in order to skip poking it or

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-01 Thread Michael Chan
On Sun, 2013-12-01 at 02:34 +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Modify tg3_chip_reset() and tg3_close() to check if the PCI network > adapter device is accessible at all in order to skip poking it or > trying to handle a carrier loss in vain when that's not the case. >

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-01 Thread Michael Chan
On Sun, 2013-12-01 at 02:34 +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify tg3_chip_reset() and tg3_close() to check if the PCI network adapter device is accessible at all in order to skip poking it or trying to handle a carrier loss in vain when

Re: [PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-12-01 Thread Rafael J. Wysocki
On Sunday, December 01, 2013 12:39:19 PM Michael Chan wrote: On Sun, 2013-12-01 at 02:34 +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify tg3_chip_reset() and tg3_close() to check if the PCI network adapter device is accessible at all in order to

[PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-11-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify tg3_chip_reset() and tg3_close() to check if the PCI network adapter device is accessible at all in order to skip poking it or trying to handle a carrier loss in vain when that's not the case. Introduce a special PCI helper function pci_device_is_present() for this

[PATCH] PCI / tg3: Give up chip reset and carrier loss handling if PCI device is not present

2013-11-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Modify tg3_chip_reset() and tg3_close() to check if the PCI network adapter device is accessible at all in order to skip poking it or trying to handle a carrier loss in vain when that's not the case. Introduce a special PCI helper function