도와주세요!!
글 수 15,339
2003.03.13 13:11:03 (*.231.168.11)
6696
소스에서 보면
filp->private_data를 사용하고 있는데 왜 사용하나요?
==메세지==
[root@ezboard /root]$ ls
nfsmnt ez_ip gpio_sw.o gpio_sw_src test
[root@ezboard /root]$ insmod gpio_sw.o
[root@ezboard /root]$
[root@ezboard /root]$ lsmod
Module Size Used by
gpio_sw 2904 0 (unused)
[root@ezboard /root]$
[root@ezboard /root]$ ./test
GPIO OPEN FAIL
[root@ezboard /root]$
[root@ezboard /root]$ rmmod gpio_sw
Trying to free free IRQ42
Function entered at [] from []
r4 = C2800000
Function entered at [] from []
r4 = C2800000
Function entered at [] from []
r6 = C1767000 r5 = FFFFFFF0 r4 = C2800000
Function entered at [] from []
r8 = C00149A4 r7 = 00000081 r6 = 0200CFFC r5 = 00000001
r4 = 02017344
!!! GPIO_SW Device Exit Fail...
[root@ezboard /root]$
[root@ezboard /root]$
filp->private_data를 사용하고 있는데 왜 사용하나요?
==메세지==
[root@ezboard /root]$ ls
nfsmnt ez_ip gpio_sw.o gpio_sw_src test
[root@ezboard /root]$ insmod gpio_sw.o
[root@ezboard /root]$
[root@ezboard /root]$ lsmod
Module Size Used by
gpio_sw 2904 0 (unused)
[root@ezboard /root]$
[root@ezboard /root]$ ./test
GPIO OPEN FAIL
[root@ezboard /root]$
[root@ezboard /root]$ rmmod gpio_sw
Trying to free free IRQ42
Function entered at [
r4 = C2800000
Function entered at [
r4 = C2800000
Function entered at [
r6 = C1767000 r5 = FFFFFFF0 r4 = C2800000
Function entered at [
r8 = C00149A4 r7 = 00000081 r6 = 0200CFFC r5 = 00000001
r4 = 02017344
!!! GPIO_SW Device Exit Fail...
[root@ezboard /root]$
[root@ezboard /root]$