Bugzilla – Attachment 114809 Details for
Bug 214931
sound on VIA audio controller often repeating
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
VIA IRQ quirk debugging patch
via-quirk-debug.patch (text/plain), 1.46 KB, created by
Jean Delvare
on 2007-01-24 19:43:26 UTC
(
hide
)
Description:
VIA IRQ quirk debugging patch
Filename:
MIME Type:
Creator:
Jean Delvare
Created:
2007-01-24 19:43:26 UTC
Size:
1.46 KB
patch
obsolete
>Add temporary debug messages to the VIA IRQ quirk. > >Signed-off-by: Jean Delvare <jdelvare@suse.de> >--- > drivers/pci/quirks.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >Index: linux-2.6.19/drivers/pci/quirks.c >=================================================================== >--- linux-2.6.19.orig/drivers/pci/quirks.c >+++ linux-2.6.19/drivers/pci/quirks.c >@@ -696,6 +696,8 @@ static void quirk_via_vlink(struct pci_d > if (dev_lo == -1) { > via_vlink_fixup = pci_find_present(via_vlink_fixup_tbl); > if (via_vlink_fixup == NULL) { >+ printk(KERN_NOTICE "VIA quirk %s: No supported south bridge found\n", >+ pci_name(dev)); > dev_lo = -2; > return; > } >@@ -707,13 +709,19 @@ static void quirk_via_vlink(struct pci_d > new_irq = dev->irq; > > /* Don't quirk interrupts outside the legacy IRQ range */ >- if (!new_irq || new_irq > 15) >+ if (!new_irq || new_irq > 15) { >+ printk(KERN_NOTICE "VIA quirk %s: IRQ %d outside of legacy range\n", >+ pci_name(dev), (int)new_irq); > return; >+ } > > /* Internal device ? */ > if (dev->bus->number != 0 || PCI_SLOT(dev->devfn) > dev_hi || >- PCI_SLOT(dev->devfn) < dev_lo) >+ PCI_SLOT(dev->devfn) < dev_lo) { >+ printk(KERN_NOTICE "VIA quirk %s: skipping (bus number %d, slot %d)\n", >+ pci_name(dev), (int)dev->bus->number, (int)PCI_SLOT(dev->devfn)); > return; >+ } > > /* This is an internal VLink device on a PIC interrupt. The BIOS > ought to have set this but may not have, so we redo it */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 214931
:
102582
|
102588
|
114657
|
114809
|
115902
|
116115
|
116184