Re: PCIE

From: Roland Dreier
Date: Wed May 23 2007 - 18:24:55 EST


> If i uncomment the saa716x_read or write, what i get is a solid freeze
> on module load. If i leave it commented out, the module loads fine.

That sounds like a typical bug during driver development... you're
probably wedging the hardware by doing the wrong access.

I didn't see the source for saa716x_read or write in the code you
posted, so it's hard to say if there's a problem with them.

Is your interrupt handler getting called? Is the device generating
interrupts?

> That part is then fine. Does MSI require any special tinkering ?

Just pci_enable_msi() as usual.

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