aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mach-visws/reboot.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-07-10 16:29:28 +0200
committerIngo Molnar <mingo@elte.hu>2008-07-10 18:55:32 +0200
commit22d5c67c5b0476e463ce4b632ba9ec3953d33a5f (patch)
tree2a0e19587aa081c48f3cbb60585d47ebc9c52294 /arch/x86/mach-visws/reboot.c
parent3b33553badcde952adcf3b3ba5faae38d7d85071 (diff)
x86, VisWS: turn into generic arch, make VisWS boot on a regular PC
first step: make the VISWS subarch boot on a regular PC. We take various shortcuts for that. We copy the generic arch setup file over into the VISWS setup file. This is the only step that is not expected to boot on a real VISWS. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-visws/reboot.c')
-rw-r--r--arch/x86/mach-visws/reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-visws/reboot.c b/arch/x86/mach-visws/reboot.c
index 99332abfad4..79c26eab882 100644
--- a/arch/x86/mach-visws/reboot.c
+++ b/arch/x86/mach-visws/reboot.c
@@ -33,7 +33,7 @@ void machine_restart(char * __unused)
void machine_power_off(void)
{
unsigned short pm_status;
- extern unsigned int pci_bus0;
+/* extern unsigned int pci_bus0; */
while ((pm_status = inw(PMSTS_PORT)) & 0x100)
outw(pm_status, PMSTS_PORT);
@@ -45,7 +45,7 @@ void machine_power_off(void)
#define PCI_CONF1_ADDRESS(bus, devfn, reg) \
(0x80000000 | (bus << 16) | (devfn << 8) | (reg & ~3))
- outl(PCI_CONF1_ADDRESS(pci_bus0, SPECIAL_DEV, SPECIAL_REG), 0xCF8);
+/* outl(PCI_CONF1_ADDRESS(pci_bus0, SPECIAL_DEV, SPECIAL_REG), 0xCF8); */
outl(PIIX_SPECIAL_STOP, 0xCFC);
}