Hi guys

I am new to linux programming.

1st problem:

I was going thru this book on Linux device drivers.
I came across an example in which the loadable module
checks for free ports and incase availible allocates them.

What i want to know is when u do the clean up (unregister) how 
does one figure which ports to release.

the request_region method returns  a struct request *.
Are supposed to use this struct(Coz the code does mention this) in 
the release_region function.


2nd problem:
I am calling a static function from my init method, incase i 
return any value besides 0. The module does not load and gives IO 
or IRQ error.

Thanks
Anuroop



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to