2.6.x kernels & PCI-to-PCMCIA bridges [again]
jar
jar at pcuf.fi
Mon May 3 21:19:15 BST 2004
komujun at nifty.com wrote:
>>>The FC2 pcmcia script looks like the RH9 script (no eject command
>>>nowhere). But I added "/sbin/cardctl eject" command just before rmmod
>>>commands. This is only a script, this is no so important :)
>
>
>>Not working. When i add this "/sbin/cardctl eject" to the pcmcia script
>>and do service pcmcia restart the kernel panics.
>
>
> You are using the PD6729 driver from LKML 2004/01/11.
> This version has a bug that does not release resouces properly.
>
> Please upgrade the driver to LKML 2004/02/01.
I don't think so? I use the patch that says
"I updated the pd6729 driver for 2.6.x.
*pd6729_pci_remove => remove resources properly.
Please see the following patch."
And the function pd6729_pci_remove() in it is:
static void __devexit pd6729_pci_remove(struct pci_dev *dev)
{
int i;
for (i = socket_count-1; i >=0 ; i--)
pcmcia_unregister_socket(&sockets[i].socket);
free_irq(dev->irq, pd6729_interrupt);
pci_release_regions(dev);
}
Regards, Jar
More information about the linux-pcmcia
mailing list