On Tue, Oct 06, 2009 at 12:49:13PM +0200, Luc Verhaegen wrote:
> On Thu, Sep 03, 2009 at 12:29:46AM +0100, Putlinuxonit wrote:
> > Hi,
> > 
> > Just want to report a non-working board - the Asrock K7S41GX, tested with
> > flashrom r711 and superiotool r4623.
> > 
> > first some brief details ...
> > 
> > Board: Asrock K7S1GX
> > Bios Vendor: AMI
> > Bios Version: P1.90
> > 
> > r...@ubuntu:~# lspci
> > 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host
> > (rev 03)
> 
> > WARNING: No chipset found. Flash detection will most likely fail.
> 
> Aha. This is an SiS 741 without even chipset support. Let's dig that one 
> out of an award based board somewhere.
> 
> Luc Verhaegen.

Give this one a whirl.

Luc Verhaegen.
Add chipset support for SiS963.

Just touches two bits, but no docs as per SiS usual.

Signed-off-by: Luc Verhaegen <[email protected]>
Index: chipset_enable.c
===================================================================
--- chipset_enable.c    (revision 744)
+++ chipset_enable.c    (working copy)
@@ -624,6 +624,18 @@
        return 0;
 }
 
+static int enable_flash_sis963(struct pci_dev *dev, const char *name)
+{
+    uint8_t tmp;
+
+    tmp = pci_read_byte(dev, 0x45);
+    tmp &= ~0x80;
+    tmp |= 0x40;
+    pci_write_byte(dev, 0x45, tmp);
+
+    return 0;
+}
+
 /* Works for AMD-8111, VIA VT82C586A/B, VIA VT82C686A/B. */
 static int enable_flash_amd8111(struct pci_dev *dev, const char *name)
 {
@@ -1039,6 +1051,7 @@
        {0x10de, 0x0548, OK, "NVIDIA", "MCP67",         enable_flash_mcp55},
        {0x1039, 0x0008, OK, "SiS", "SiS5595",          enable_flash_sis5595},
        {0x1039, 0x0630, NT, "SiS", "SiS630",           enable_flash_sis630},
+       {0x1039, 0x0963, OK, "SiS", "SiS963",           enable_flash_sis963},
        {0x1106, 0x8324, OK, "VIA", "CX700",            enable_flash_vt823x},
        {0x1106, 0x8231, NT, "VIA", "VT8231",           enable_flash_vt823x},
        {0x1106, 0x3074, NT, "VIA", "VT8233",           enable_flash_vt823x},
_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to