Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: [PATCH] Re: VIA PCI IRQ router bug fix | From | Arjan van de Ven <> | Date | 04 Jul 2003 09:31:47 +0200 |
| |
> > static int pirq_via_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) > { > - write_config_nybble(router, 0x55, pirq, irq); > + write_config_nybble(router, 0x55, pirq == 4 ? 5 : pirq, irq); > return 1; > }
you missed the > + return (x >> 4); in the original patch... so your code is NOT identical. [unhandled content-type:application/pgp-signature]
| ![\](/images/icornerr.gif) |