Re: Incrementing module reference count

2012-12-09 Thread Borislav Petkov
On Sat, Dec 08, 2012 at 11:17:31AM -0800, Aaron Williams wrote: > I got it working. I designed my solution to be generic so it's not > tied to just the at24 driver. I added a memory accessor module which > is basically a registry. The at24 driver registers with it and then > the Vitesse PHY driver

Re: Incrementing module reference count

2012-12-09 Thread Borislav Petkov
On Sat, Dec 08, 2012 at 11:17:31AM -0800, Aaron Williams wrote: I got it working. I designed my solution to be generic so it's not tied to just the at24 driver. I added a memory accessor module which is basically a registry. The at24 driver registers with it and then the Vitesse PHY driver

Re: Incrementing module reference count

2012-12-08 Thread Aaron Williams
On 12/08/2012 03:44 AM, Borislav Petkov wrote: > On Fri, Dec 07, 2012 at 05:14:39PM -0800, Aaron Williams wrote: >> Hi, >> >> I have a kernel module which other modules register with in order to >> export access functions. So far I have everything working but I want >> to prevent a module that is

Re: Incrementing module reference count

2012-12-08 Thread Borislav Petkov
On Fri, Dec 07, 2012 at 05:14:39PM -0800, Aaron Williams wrote: > Hi, > > I have a kernel module which other modules register with in order to > export access functions. So far I have everything working but I want > to prevent a module that is registered with my module from unloading > since now

Re: Incrementing module reference count

2012-12-08 Thread Borislav Petkov
On Fri, Dec 07, 2012 at 05:14:39PM -0800, Aaron Williams wrote: Hi, I have a kernel module which other modules register with in order to export access functions. So far I have everything working but I want to prevent a module that is registered with my module from unloading since now my

Re: Incrementing module reference count

2012-12-08 Thread Aaron Williams
On 12/08/2012 03:44 AM, Borislav Petkov wrote: On Fri, Dec 07, 2012 at 05:14:39PM -0800, Aaron Williams wrote: Hi, I have a kernel module which other modules register with in order to export access functions. So far I have everything working but I want to prevent a module that is registered

Incrementing module reference count

2012-12-07 Thread Aaron Williams
Hi, I have a kernel module which other modules register with in order to export access functions. So far I have everything working but I want to prevent a module that is registered with my module from unloading since now my module is dependent on the other module. Is there a way I can cause

Incrementing module reference count

2012-12-07 Thread Aaron Williams
Hi, I have a kernel module which other modules register with in order to export access functions. So far I have everything working but I want to prevent a module that is registered with my module from unloading since now my module is dependent on the other module. Is there a way I can cause