Messages in this thread | | | Subject | Re: Q: PCI Driver ioremap | Date | Wed, 20 Feb 2002 23:15:13 +0000 (GMT) | From | Alan Cox <> |
| |
> pci_enable_device (pdev)
Should check the return but that is fine I guess
> if(base==0) > DBG("memory mapped wrong\n");//this is never reached > writew(0xffff, base + 0x48); > <snip> > The write is unsuccessful or at least the data never reaches the card. > What am I doing incorrectly?
Looks fine to me. Obviously you should a read to make sure the write reaches the card from PCI posting but I'd expect that to timeout and hit the card - 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/
| |