device driver modules

Salman (assembly@gofree.indigo.ie)
Tue, 3 Dec 2002 15:34:02 +0000


Hi !

I'm working with a device driver which comes in 2 modules.

One directly talking to the hardware and kernel, and the other sitting on top
of it, in user mode providing a nice interface for user applications and etc.

Basically the top layer should directly communicate with bottom layer for any
action.
I'm going through code of top layer, and it never calls the lower layer
functions ! a sample code traverses as follows (i used source navigator to go
through code)

ConnectRemoteSegment -> kcConnectR -> SISCI_IOCTL -> unixIoctl -> ioctl

all above fucntions are within the top layer code.
none are even listed in /proc/ksyms
and the ioctl function simply doesn't exist, not even in kernel source code.

I know i'm missing a major concept here, can someone guide me how to
understand what's going on.

Thanks,

Salman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/