From: Johnny Strom <johnny.strom@osp.fi>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, Chris Wedgwood <cw@f00f.org>
Subject: Re: Patch to make VIA sata board bootable again.
Date: Fri, 01 Sep 2006 13:48:51 +0300 [thread overview]
Message-ID: <44F81013.4030904@osp.fi> (raw)
In-Reply-To: <20060901014745.750e69d1.akpm@osdl.org>
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
Andrew Morton wrote:
> On Fri, 01 Sep 2006 11:15:17 +0300
> Johnny Strom <johnny.strom@osp.fi> wrote:
>
>
>>
>>Hello
>>
>>The quirks.c update that went into 2.6.16.17 made an VIA machine here
>>non bootable from an sata drive (via_sata), the error is:
>>
>>"ATA1 qc timout"
>>"Failed to set xfermode".
>
>
> argh.
>
> Does 2.6.18-rc5 work?
>
No it is the same problem with 2.6.18-rc5.
>
>>And later kernel panic becouse no sata disk was found.
>>I tracked it down to the quirk update in 2.6.16.17. Below is a patch
>>against 2.6.17.11 that reverses the uppdate and makse the system
>>bootable again.
>>
>>Another option is to find out the PCI_DEVICE_ID_VIA for the motherboard
>>in question but I could not get that info. Dose someone have an idea how
>>to find that info? then I can provide an patch that adds the right
>>PCI_DEVICE_ID_VIA for my motherboard.
>
>
> That's wordwrapped.
>
Attached an new diff.
Johnny
[-- Attachment #2: quirks.c-via-fix.diff --]
[-- Type: text/x-patch, Size: 1093 bytes --]
diff -ur linux-2.6.17.11-org/drivers/pci/quirks.c linux-2.6.17.11/drivers/pci/quirks.c
--- linux-2.6.17.11-org/drivers/pci/quirks.c 2006-09-01 10:38:31.135747500 +0300
+++ linux-2.6.17.11/drivers/pci/quirks.c 2006-09-01 10:42:28.870605000 +0300
@@ -652,13 +652,7 @@
pci_write_config_byte(dev, PCI_INTERRUPT_LINE, new_irq);
}
}
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_0, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_2, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_3, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4, quirk_via_irq);
-DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_5, quirk_via_irq);
+DECLARE_PCI_FIXUP_ENABLE(PCI_VENDOR_ID_VIA, PCI_ANY_ID, quirk_via_irq);
/*
* VIA VT82C598 has its device ID settable and many BIOSes
next prev parent reply other threads:[~2006-09-01 10:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-01 8:15 Patch to make VIA sata board bootable again Johnny Strom
2006-09-01 8:47 ` Andrew Morton
2006-09-01 10:48 ` Johnny Strom [this message]
2006-09-01 15:55 ` Chris Wedgwood
2006-09-04 12:04 ` Johnny Strom
2006-09-01 11:49 ` Sergio Monteiro Basto
2006-09-01 12:43 ` Johnny Strom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44F81013.4030904@osp.fi \
--to=johnny.strom@osp.fi \
--cc=akpm@osdl.org \
--cc=cw@f00f.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.