On 2/1/07, Andrea Gasparini <gaspa@xxxxxxxxxxx> wrote:
I should implement a peripheral driver, i think... :-P advantech DVS 300 has a bttv driven gpio, so i think that it's a bttv gpio (so i can try to use bttv_read_gpio and companies) i have in mind that i should register a device (dev/gpio?) and talk through that for calling bttv provided stuff. but if I'll find an example (even little) i'm the happiest man in the world :-D (i'm not so sure of what i'm doing.. :-P )
you probably want to read about the new gpio framework (which unfortunately has not yet been merged into mainline) it comes with a pretty good document going over things -mike -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/