device driver for mini2440

vatti
I want to understand and rewrite char (plat form) device driver leds for
mini2440
 
Please anyone can explore on device driver,those are working on device
driver.
 
please share or suggest,how can i start quickly on device driver
 
1.web sites
2.forums
3.books
4.articles
5.Gathered data
6.your related work experirnce
 
Thanks for helping in advance

Thanks and Regards
Alex

eduardo
Dear vatti,

You should take a look at these files:
Micro 2440 User Manual (search for "led driver" and "hello module").
Download linux kernel from download area and look for
"linux-2.6.32.2/drivers/char/mini2440_leds.c"
Download "examples" from examples and take a look at "leds" example.

Using these files above you will be able to understand and built your own
device driver.

Regards.

vatti
How you can find major number for leds?

How ioctl function can related in leds driver?

Can anyone explore on these?

Thanks in advance
Alex