Signed-off-by: Luc Verhaegen libv@skynet.be --- board_enable.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/board_enable.c b/board_enable.c index 44b1a67..5d8ac92 100644 --- a/board_enable.c +++ b/board_enable.c @@ -434,6 +434,24 @@ static void nvidia_mcp_gpio_raise(struct pci_dev *dev, uint8_t offset) }
/** + * Suited for the Tyan S2915: nVidia MCP55. + */ +static int board_tyan_s2915(const char *name) +{ + struct pci_dev *dev; + + dev = pci_dev_find(0x10DE, 0x0368); /* NVIDIA MCP55 SMBus */ + if (!dev) { + fprintf(stderr, "\nERROR: nVidia MCP55 SMBus not found.\n"); + return -1; + } + + nvidia_mcp_gpio_raise(dev, 0x04); + + return 0; +} + +/** * Suited for the Gigabyte GA-K8N-SLI: CK804 southbridge. */ static int board_ga_k8n_sli(const char *name) @@ -1186,6 +1204,7 @@ struct board_pciid_enable board_pciid_enables[] = { {0x10DE, 0x0050, 0x1297, 0x5036, 0x1412, 0x1724, 0x1297, 0x5036, NULL, NULL, "Shuttle", "FN25", board_shuttle_fn25}, {0x1106, 0x3038, 0x0925, 0x1234, 0x1106, 0x3058, 0x15DD, 0x7609, NULL, NULL, "Soyo", "SY-7VCA", board_soyo_sy_7vca}, {0x8086, 0x1076, 0x8086, 0x1176, 0x1106, 0x3059, 0x10f1, 0x2498, NULL, NULL, "Tyan", "S2498 (Tomcat K7M)", board_asus_a7v8x_mx}, + {0x10DE, 0x0369, 0x10F1, 0x2915, 0x10DE, 0x0364, 0x10F1, 0x2915, NULL, NULL, "Tyan", "S2915", board_tyan_s2915}, {0x1106, 0x0314, 0x1106, 0xaa08, 0x1106, 0x3227, 0x1106, 0xAA08, NULL, NULL, "VIA", "EPIA-CN", board_via_epia_sp}, {0x1106, 0x3177, 0x1106, 0xAA01, 0x1106, 0x3123, 0x1106, 0xAA01, NULL, NULL, "VIA", "EPIA M/MII/...", board_via_epia_m}, {0x1106, 0x0259, 0x1106, 0x3227, 0x1106, 0x3065, 0x1106, 0x3149, "via", "epia-n", "VIA", "EPIA-N/NL", board_via_epia_n}, /* TODO: remove coreboot ids */