lkml.org 
[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectwritel hang problem

Hi

I am writing a device driver for a PCI device on linux 2.4.19 and i386
processor. I am initializing the memory mapped IO for this device in the
same way as it is shown in linux/drivers/net/pci-skeleton.c. I am using
readl and writel for accessing this PCI memory mapped IO.

The problem I am facing is -

When I try to write to a particular configuration register in this PCI MMIO
region, the system hangs. I am able to write properly and read back the
contents from other registers in this PCI MMIO region.

* Could anyone tell me why this might be happening?

* Could anyone tell me for what all reasons writel might hang?

When I request for an IRQ, I got an error which says:

"PCI: No IRQ known for interrupt pin A of device 00:e0.0. Using IRQ 11"

* Could this problem be related to the system hang problem in any way. Is this
IRQ problem fatal? I seem to be getting some interrupts from my device, though
they are not the same as expected.

Could anyone tell me what might be happening?

Thanks in advance.

regards
Madhavi.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.024 / U:3.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site