Re: [PATCH 2/2] phylib: add module owner to the mii_bus structure

2007-12-21 Thread Stephen Hemminger
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 usag

RE: [PATCH 2/2] phylib: add module owner to the mii_bus structure

2007-12-21 Thread Medve Emilian
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/

[PATCH 2/2] phylib: add module owner to the mii_bus structure

2007-12-21 Thread Ionut Nicu
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