linux-mips
[Top] [All Lists]

Au1500 and TI PCI1510 cardbus

To: linux-mips@linux-mips.org
Subject: Au1500 and TI PCI1510 cardbus
From: "Marco Braga" <marco.braga@gmail.com>
Date: Fri, 16 Mar 2007 19:29:48 +0100
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=ST4SQswzXAVXgWb8gFJ1UAFzSI+KtwnHf4ZevU91zdK3ml1BprN2u0LpZrlqcGbl2S4CtfLzcmNe0eV8KlqlED3kp9eQTvzUMRboGqUsJm16eyo9oJ1UPg59BfsxBRSy7lTa0JaOLy1tZruRUWCnLI7Fj5vvJGnZKxOT6QpGga8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ikF1W4PEnFqF3GZXT2JiuIR1Eq4ISaslJYokwrNzCCJCb5CQ47kdp0moyqKqTfBvxpjv/kgtRpngZk7WSh+RA//yn1j3wOverCkD/RJXZnKUoWKTeHcoUzcjtc2ZWDd7XB0JbrHZtB2KNTwa/ZVBMLYaFIJZXuIlAPIwV4scj54=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hello,

my Au1500 based board has a PCI1510 cardbus controller connected to the PCI bus. So far the kernel 2.6.17 supports it as a "yenta_socket". The cardbus is correctly seen and configured, and if I insert a wifi card in the slot I can configure it.

The problem is that when I transfer a file, the transfer interrupts and the system does not respond anymore to the serial console or ethernet pings. The only way to revive it is to remove the wifi card.

I've managed to follow the problem, it seems that at some point during the transfer "something breaks in the PCI". The effect is that no read or write involving the PCI work anymore, So when the wifi card rises an interrupt, the driver tries to read a register on the card to know the cause of the interrupt but instead it reads 0xFFFFFFFF. As a test I've inserted a "pci_read_config_dword" in the interrupt handler. Normally it reads the correct value, but when the problem happens it reads 0xFFFFFFFF instead.

I've noticed that config_access returns 0xFFFFFFFF in case of an error, but actually the 0xFFFFFFFF is not caused by any of those error conditions. The pci_read_config_dword returns 0 and the 0xFFFFFFFF value is a genuine value.

Any advice on this problem?
Thanks a lot!

<Prev in Thread] Current Thread [Next in Thread>