[pxc] pxc driver fixed for MPS environments.
Alessandro Rubini
rubini@gnu.org
Tue, 25 Mar 2003 20:51:26 +0100
> You can update your CVS tree, get the tar immediately from
> cvs.gnudd.com, or wait for the nightly snaphot on ftp://ar.linux.it/
> or the (faster) mirror on ftp://ftp.linux.it/pub/People/rubini/
Oh, well, I can also fit it here, it's one line. Silly me.
--- hardware.c 2002/07/27 08:04:10 1.10
+++ hardware.c 2003/03/25 19:38:45 1.11
@@ -347,7 +347,7 @@
dev->regs = ioremap(dev->phys_add, 4096); /* one page (on x86, at least) */
if (!dev->regs) return -ENOMEM;
- pci_read_config_byte(dev->pcidev, PCI_INTERRUPT_LINE, &dev->irq);
+ dev->irq = dev->pcidev->irq;
/* enable bus mastering and memory access */
pci_set_master(dev->pcidev);