Re: Question of kernel module dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

yeah..it seems strange.
I modified a mac driver and on top of that driver I made a new module.
The new module manages some information from the mac driver, so, they need to communicate each other.
I don't want to put the new module inside the mac driver.
So, I got this starage situation:)
Usually is there not any case that two module have dependency to each other?

Thanks,
JK

On 11/22/06, Avishay Traeger <atraeger@xxxxxxxxxxxxx> wrote:
On Wed, 2006-11-22 at 12:13 -0500, Jeongki Min wrote:
> Hi,
>
>
> I'm making two modules.
>
> Those modules are dependent on each other.
>
> I mean, for example, module A uses module B's function, and module B
> also uses modules A's function.
>
> Because of that, using "insmod" I cannot load one of them at all.
>
> Every time when I try to load one of them, there is error message to
> load the other one first.
>
> Is there any method I can load both together?
>
> Because this is first time on kernel module programming, I have no
> idea how to do it.
>
> I'd really appreciate it if you share any idea for me.
>
>
> Thanks,
> JK

I'm not sure how to do it, but this seems like a very strange
programming model.  Why would you make two separate modules if they are
dependent on each other?  Why not just make one module?

Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux