Prevent unloading mii bus driver module when other modules have references to
some
phydevs on that bus. Added a new member (module owner) to struct mii_bus and
added
code to increment the mii bus owner module usage count on phy_connect and
decrement
it on phy_disconnect
Set the module owner in
Tested-by: Emil Medve [EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicu Ioan Petru
Sent: Friday, December 21, 2007 7:58 AM
To: netdev@vger.kernel.org
Cc: Nicu Ioan Petru
Subject: [PATCH 2/2] phylib: add module owner
On Fri, 21 Dec 2007 15:57:31 +0200
Ionut Nicu [EMAIL PROTECTED] wrote:
Prevent unloading mii bus driver module when other modules have references to
some
phydevs on that bus. Added a new member (module owner) to struct mii_bus and
added
code to increment the mii bus owner module usage