ops-loongson2.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | ops-loongson2.c (2f9060b1db4aa2c21c248e34476d8936a2b69cf6) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc. 4 * All rights reserved. 5 * Authors: Carsten Langgaard <carstenl@mips.com> 6 * Maciej W. Rozycki <macro@mips.com> 7 * 8 * Copyright (C) 2009 Lemote Inc. --- 35 unchanged lines hidden (view full) --- 44 45 if (busnum == 0) { 46 /* board-specific part,currently,only fuloong2f,yeeloong2f 47 * use CS5536, fuloong2e use via686b, gdium has no 48 * south bridge 49 */ 50#ifdef CONFIG_CS5536 51 /* cs5536_pci_conf_read4/write4() will call _rdmsr/_wrmsr() to | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Copyright (C) 1999, 2000, 2004 MIPS Technologies, Inc. 4 * All rights reserved. 5 * Authors: Carsten Langgaard <carstenl@mips.com> 6 * Maciej W. Rozycki <macro@mips.com> 7 * 8 * Copyright (C) 2009 Lemote Inc. --- 35 unchanged lines hidden (view full) --- 44 45 if (busnum == 0) { 46 /* board-specific part,currently,only fuloong2f,yeeloong2f 47 * use CS5536, fuloong2e use via686b, gdium has no 48 * south bridge 49 */ 50#ifdef CONFIG_CS5536 51 /* cs5536_pci_conf_read4/write4() will call _rdmsr/_wrmsr() to |
52 * access the regsters PCI_MSR_ADDR, PCI_MSR_DATA_LO, | 52 * access the registers PCI_MSR_ADDR, PCI_MSR_DATA_LO, |
53 * PCI_MSR_DATA_HI, which is bigger than PCI_MSR_CTRL, so, it 54 * will not go this branch, but the others. so, no calling dead 55 * loop here. 56 */ 57 if ((PCI_IDSEL_CS5536 == device) && (reg < PCI_MSR_CTRL)) { 58 switch (access_type) { 59 case PCI_ACCESS_READ: 60 *data = cs5536_pci_conf_read4(function, reg); --- 153 unchanged lines hidden --- | 53 * PCI_MSR_DATA_HI, which is bigger than PCI_MSR_CTRL, so, it 54 * will not go this branch, but the others. so, no calling dead 55 * loop here. 56 */ 57 if ((PCI_IDSEL_CS5536 == device) && (reg < PCI_MSR_CTRL)) { 58 switch (access_type) { 59 case PCI_ACCESS_READ: 60 *data = cs5536_pci_conf_read4(function, reg); --- 153 unchanged lines hidden --- |