Re: OT: Mapping virtual addresses to physical | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
From: "Andrejs Cainikovs" <AndrejsC@xxxxxxxxxxxxxxxxxxxxxxxxxxx> To: "Tomas D." <mailsoc@xxxxxxxxx> Cc: <linux-arm@xxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, July 03, 2008 4:07 AM Subject: Re: Mapping virtual addresses to physical > Tomas D. wrote: >> It's really more easy to write a device driver. I have written a kernel >> module for accessing (read/write) GPIO pins in AT91SAM926x boards. It >> took me less time to study how to write a kernel module than studying >> virtual/physical addresses. >> > Tomas, > there was a small discussion at at91.com forum and one person have posted > it's own gpio module code. > Are you the same guy? If not, could you please send me your own version? Yes, that's me. Also I have slightly changed the code and made a module for setting a pin for input and reading its value. Anyway, I think I could post it somewhere if you need, but there are only two or three lines of code changed. ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]