lkml.org 
[lkml]   [2003]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Re: VIA PCI IRQ router bug fix
From
Date

>
> 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]
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.041 / U:0.860 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site