request/release region in ide-cs.c ???
Steven Scholz <[email protected]> Thu, 10 Oct 2002 15:26:45 +0200
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi there, I am using PCMCIA CS with linuxppc-2.4.19 on a PowerPC (MPC855T). It's (kindof) working. But I just stumbled over the request/release_region in ide-cs.c: Could someone please explain to me why release_region is called in ide_config() and request_region is called in ide_release()??? Shouldn't it be the other way round? So I get entries in /proc/ioports after(!) doing "cardctl eject". root@dab4k_64937:~# cat /proc/ioports root@dab4k_64937:~# cardctl insert root@dab4k_64937:~# cat /proc/ioports root@dab4k_64937:~# cardctl eject root@dab4k_64937:~# cat /proc/ioports 00000100-0000010f : ide-cs root@dab4k_64937:~# cardctl insert root@dab4k_64937:~# cat /proc/ioports 00000100-0000010f : ide-cs root@dab4k_64937:~# cardctl eject root@dab4k_64937:~# cat /proc/ioports 00000100-0000010f : ide-cs 00000110-0000011f : ide-cs Am I missing something? Cheers, Steven ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf