SIOCDEVPRIVATE help.

Jay Schulist (onyx@chaos.coredcs.com)
Sat, 29 Mar 1997 16:41:47 -0600 (CST)


Hello,

I need some help on understanding how the SIO signals are sent to a
driver. I have looked at net/dev.c and it helped some but I am still not
able to relate to where the calls are originating from and how to create
them. Specific question is below.

I was wondering how I can send a device driver a SIOCDEVPRIVATE signal to
get it to execute the correspinding code inside the drivers ioctl
function.

It looks like that the driver executes the other SIOC cases when another
program calls them, execept I need to make the SIOCDEVPRIVATE case get
executed before all other SIOC cases.

Thanks for any help.

!!!!!!!!!!!!! ....... The free UNIX operating system
Jay Schulist `:::' ....... ......
SPACS Network Developer ::: * `::. ::'
onyx@coredcs.com ::: .:: .:.::. .:: .:: `::. :'
http://www.coredcs.com/~onyx/ ::: :: :: :: :: :: :::.
finger - onyx@coredcs.com ::: .::. .:: ::. `::::. .:' ::.
..:::.....................::' .::::.
UNIX is user friendly. It's just selective about who its friends are.