The loop still exhibits the same behavior.
/usr/include/linux/ioport.h:#define IORESOURCE_IO 0x00000100 /* Resource type */
Definitely a different value, however.
> Apply this patch... (untested, you may need to include ioport.h)
fyi, ioport.h isn't required.
On Thu, Nov 23, 2000 at 03:53:27PM -0800, Linus Torvalds wrote:
> Try changing the thing around a bit: make the above place say
>
> /* disable legacy emulation */
> pci_write_config_word (dev, USBLEGSUP, 0);
>
> and then AFTER we have successfully done a request_irq() call, we
> can enable PCI interrupts with
>
> /* Enable PIRQ */
> pci_write_config_word (dev, USBLEGSUP, USBLEGSUP_DEFAULT);
>
> Does that make it happier?
Yep! That seems to have fixed it. Added the pci_write_config_word() after
the request_irq() in alloc_uhci().
me
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/