Lendacky, Thomas
88131a812b
amd-xgbe: Perform phy connect/disconnect at dev open/stop
...
A change added to the mdiobus/phy api added a module_get/module_put
during phy connect/disconnect processing. Currently, the driver
performs a phy connect during module probe and a phy disconnect during
module remove. With the addition of the module_get during phy connect
the amd-xgbe module use count is incremented and can no longer be
unloaded.
Move the phy connect/disconnect from the driver probe/remove functions
to the net_device_ops ndo_open/ndo_stop functions. This allows the
module use count to be decremented when the device(s) are brought down
and allows the module to be unloaded.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-08-05 16:47:02 -07:00
..
2014-05-13 17:43:20 -04:00
2014-07-20 21:30:18 -07:00
2014-05-13 17:43:20 -04:00
2014-07-24 23:35:42 -07:00
2014-03-28 01:38:01 -04:00
2014-06-25 16:31:17 -07:00
2014-05-13 17:43:20 -04:00
2014-05-24 00:32:30 -04:00
2014-08-05 16:47:02 -07:00
2014-07-09 16:49:21 -07:00
2014-07-20 21:30:19 -07:00
2014-07-30 20:01:49 -07:00
2014-07-20 21:30:18 -07:00
2014-07-24 23:39:55 -07:00
2014-05-13 17:43:20 -04:00
2014-08-05 16:40:40 -07:00
2014-08-02 16:40:52 -07:00
2014-07-21 20:22:46 -07:00
2014-08-02 15:28:23 -07:00
2014-07-20 21:30:18 -07:00
2014-06-06 16:24:07 -07:00
2014-08-02 15:59:18 -07:00
2014-05-13 17:43:20 -04:00
2014-07-30 19:58:09 -07:00
2014-05-13 17:43:20 -04:00
2014-06-02 23:39:05 -07:00
2014-03-24 21:19:02 -07:00
2014-06-06 16:24:07 -07:00
2014-05-13 17:43:20 -04:00
2014-08-02 19:41:15 -07:00
2014-07-29 16:47:43 -07:00
2014-07-30 14:00:06 -07:00
2014-08-02 16:40:52 -07:00
2014-05-13 17:43:20 -04:00
2014-01-16 11:53:26 -08:00
2014-05-13 17:43:20 -04:00
2014-05-13 17:43:20 -04:00
2014-07-29 11:39:49 -07:00
2014-06-06 16:24:07 -07:00
2014-06-03 16:08:52 -07:00
2014-07-29 11:39:49 -07:00
2014-06-06 16:24:07 -07:00
2014-05-13 17:43:20 -04:00
2014-01-16 11:53:26 -08:00
2014-07-17 16:02:29 -07:00
2014-03-28 01:38:02 -04:00
2014-07-23 14:56:40 -07:00
2014-08-02 16:38:32 -07:00
2014-06-11 15:01:30 -07:00
2014-01-16 11:53:26 -08:00
2014-07-29 15:30:29 -07:00
2014-01-16 11:53:26 -08:00
2014-03-24 21:19:08 -07:00
2014-07-20 21:30:18 -07:00
2014-08-05 13:04:32 -07:00
2014-07-31 14:13:29 -07:00
2014-07-30 13:25:49 -07:00
2014-05-13 17:43:20 -04:00
2014-07-24 23:38:26 -07:00
2014-07-15 16:12:48 -07:00
2014-07-20 21:30:19 -07:00
2014-01-16 11:53:26 -08:00
2014-06-12 10:31:10 -07:00
2014-02-28 16:57:24 -05:00
2014-06-22 17:14:56 -07:00
2014-04-01 16:43:18 -04:00
2014-08-02 16:40:52 -07:00
2014-05-14 16:09:33 -04:00
2014-04-21 14:58:48 -04:00
2014-05-14 15:11:22 -04:00
2014-06-03 23:32:12 -07:00
2014-01-16 11:53:26 -08:00
2014-02-17 00:36:34 -05:00
2014-06-02 23:39:05 -07:00
2014-01-16 11:53:26 -08:00