>From 9ed1cd3b2c0e20e7672a67fc076051a2acf9324a Mon Sep 17 00:00:00 2001 From: Joshua Roys Date: Wed, 15 Sep 2010 09:15:06 -0400 Subject: [PATCH] Add chipset enable for Broadcom OSB4 Signed-off-by: Joshua Roys --- chipset_enable.c | 18 ++++++++++++++++++ print.c | 1 + 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/chipset_enable.c b/chipset_enable.c index 4ac3a55..ac2edc2 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -802,6 +802,23 @@ static int enable_flash_ck804(struct pci_dev *dev, const char *name) return 0; } +static int enable_flash_osb4(struct pci_dev *dev, const char *name) +{ + uint8_t tmp; + + buses_supported = CHIP_BUSTYPE_PARALLEL; + + tmp = INB(0xc06); + tmp |= 0x1; + OUTB(tmp, 0xc06); + + tmp = INB(0xc6f); + tmp |= 0x40; + OUTB(tmp, 0xc6f); + + return 0; +} + /* ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80) */ static int enable_flash_sb400(struct pci_dev *dev, const char *name) { @@ -1008,6 +1025,7 @@ const struct penable chipset_enables[] = { {0x1002, 0x439d, OK, "AMD", "SB700/SB710/SB750", enable_flash_sb600}, {0x100b, 0x0510, NT, "AMD", "SC1100", enable_flash_sc1100}, {0x1002, 0x4377, OK, "ATI", "SB400", enable_flash_sb400}, + {0x1166, 0x0200, OK, "Broadcom", "OSB4", enable_flash_osb4}, {0x1166, 0x0205, OK, "Broadcom", "HT-1000", enable_flash_ht1000}, {0x8086, 0x3b00, NT, "Intel", "3400 Desktop", enable_flash_ich10}, {0x8086, 0x3b01, NT, "Intel", "3400 Mobile", enable_flash_ich10}, diff --git a/print.c b/print.c index 38249a8..66466c2 100644 --- a/print.c +++ b/print.c @@ -409,6 +409,7 @@ const struct board_info boards_known[] = { B("GIGABYTE", "GA-2761GXDK", 1, "http://www.computerbase.de/news/hardware/mainboards/amd-systeme/2007/mai/gigabyte_dtx-mainboard/", NULL), B("GIGABYTE", "GA-6BXC", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1445", NULL), B("GIGABYTE", "GA-6BXDU", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1429", NULL), + B("GIGABYTE", "GA-6ETXDR", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=992", "Write is not tested; you must toggle the JP1 firmware write protect jumper first."), B("GIGABYTE", "GA-6ZMA", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=1541", NULL), B("GIGABYTE", "GA-MA785GMT-UD2H", 1, "http://www.gigabyte.de/Products/Motherboard/Products_Overview.aspx?ProductID=4525", NULL), B("GIGABYTE", "GA-770TA-UD3", 1, "http://www.gigabyte.com/products/product-page.aspx?pid=3272#ov", NULL), -- 1.7.2.2