Patchworkβ Gigabyte ga-k8n51gmf-9

login
register
about
Submitter Joshua Roys
Date 2010-09-01 02:24:51
Message ID <AANLkTikVRVCKPx1HFW4Eq141qnLrdF3n-Xb1cbrMoMxg@mail.gmail.com>
Download mbox | patch
Permalink /patch/1839/
State Accepted
Commit 1154
Headers show

Comments

Joshua Roys - 2010-09-01 02:24:51
On Tue, Aug 31, 2010 at 10:39 AM, Tefnet Developers
<developers@tefnet.pl> wrote:
> Hi,
>
> as suggested on IRC, I am sending here information about a motherboard
> with bios that cannot be atm flashed with flashrom.
>
> Motherboard manufacturer: Gigabyte
> Motherboard model: ga-k8n51gmf-9
> Motherboard rev: not specified
>
> BIOS update URI:
> http://download.gigabyte.us/FileList/BIOS/motherboard_bios_ga-k8n51gmf-9(rh)_f8.exe
>

Hello,

Please try this patch with the latest SVN, and let us know if it works.

Thanks!

Josh
From 3fa19cd0268e2510391bb10e0d652fa517c5632a Mon Sep 17 00:00:00 2001
From: Joshua Roys <roysjosh@gmail.com>
Date: Tue, 31 Aug 2010 22:18:58 -0400
Subject: [PATCH] Board enable for GIGABYTE GA-K8N51GMF-9.

Signed-off-by: Joshua Roys <roysjosh@gmail.com>
---
Interestingly enough, this board's enable looked more like
enable_flash_nvidia_nforce2 than enable_flash_ck804; it whacked
0x92, not 0x88.  But according to the lspci, 0x92 is already 0.

 board_enable.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
Uwe Hermann - 2010-09-07 17:52:15
On Tue, Aug 31, 2010 at 10:24:51PM -0400, Joshua Roys wrote:
> On Tue, Aug 31, 2010 at 10:39 AM, Tefnet Developers
> <developers@tefnet.pl> wrote:
> > Hi,
> >
> > as suggested on IRC, I am sending here information about a motherboard
> > with bios that cannot be atm flashed with flashrom.
> >
> > Motherboard manufacturer: Gigabyte
> > Motherboard model: ga-k8n51gmf-9
> > Motherboard rev: not specified
> >
> > BIOS update URI:
> > http://download.gigabyte.us/FileList/BIOS/motherboard_bios_ga-k8n51gmf-9(rh)_f8.exe
> >
> 
> Hello,
> 
> Please try this patch with the latest SVN, and let us know if it works.

Thanks for the patch and thanks for testing. Committed in r1154 (I added
the board URL in addition).


Uwe.

Patch

diff --git a/board_enable.c b/board_enable.c
index ae0fbfa..72ad9c1 100644
--- a/board_enable.c
+++ b/board_enable.c
@@ -948,6 +948,15 @@  static int nvidia_mcp_gpio31_raise(void)
 
 /*
  * Suited for:
+ *  - GIGABYTE GA-K8N51GMF-9
+ */
+static int nvidia_mcp_gpio3b_raise(void)
+{
+	return nvidia_mcp_gpio_set(0x3b, 1);
+}
+
+/*
+ * Suited for:
  *  - Artec Group DBE61 and DBE62
  */
 static int board_artecgroup_dbe6x(void)
@@ -1797,6 +1806,7 @@  const struct board_pciid_enable board_pciid_enables[] = {
 	{0x1106, 0x0686, 0x1106, 0x0686,  0x1106, 0x3058, 0x1458, 0xa000, NULL,          NULL,         NULL,          "GIGABYTE",    "GA-7ZM",                512, OK, NULL},
 	{0x8086, 0x244b, 0x8086, 0x2442,  0x8086, 0x2445, 0x1458, 0xa002, NULL,          NULL,         NULL,          "GIGABYTE",    "GA-8IRML",              0,   OK, intel_ich_gpio25_raise},
 	{0x8086, 0x24c3, 0x1458, 0x24c2,  0x8086, 0x24cd, 0x1458, 0x5004, NULL,          NULL,         NULL,          "GIGABYTE",    "GA-8PE667 Ultra 2",     0,   OK, intel_ich_gpio32_raise},
+	{0x10DE, 0x026C, 0x1458, 0xA102,  0x10DE, 0x0260, 0x1458, 0x5001, NULL,          NULL,         NULL,          "GIGABYTE",    "GA-K8N51GMF-9",         0,   OK, nvidia_mcp_gpio3b_raise},
 	{0x10DE, 0x0050, 0x1458, 0x0C11,  0x10DE, 0x005e, 0x1458, 0x5000, NULL,          NULL,         NULL,          "GIGABYTE",    "GA-K8N-SLI",            0,   OK, nvidia_mcp_gpio21_raise},
 	{0x1166, 0x0223, 0x103c, 0x320d,  0x14e4, 0x1678, 0x103c, 0x703e, NULL,          "hp",         "dl145_g3",    "HP",          "ProLiant DL145 G3",     0,   OK, board_hp_dl145_g3_enable},
 	{0x1166, 0x0223, 0x103c, 0x320d,  0x14e4, 0x1648, 0x103c, 0x310f, NULL,          "hp",         "dl165_g6",    "HP",          "ProLiant DL165 G6",     0,   OK, board_hp_dl165_g6_enable},