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

2008-01-21 Thread Nicu Ioan Petru
> -Original Message- > From: Fleming Andy > Sent: Monday, January 14, 2008 8:56 PM > To: Nicu Ioan Petru > Cc: netdev@vger.kernel.org; [EMAIL PROTECTED] > Subject: Re: [PATCH][v2] phylib: add module owner to the > mii_bus structure > > Any reason you didn

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

2008-01-14 Thread Andy Fleming
On Dec 28, 2007, at 11:31, Ionut Nicu 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 count on phy_connect and decre

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

2007-12-28 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