diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-10 18:29:28 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-10 20:55:32 +0400 |
commit | 22d5c67c5b0476e463ce4b632ba9ec3953d33a5f (patch) | |
tree | 2a0e19587aa081c48f3cbb60585d47ebc9c52294 /arch/x86/mach-visws/reboot.c | |
parent | 3b33553badcde952adcf3b3ba5faae38d7d85071 (diff) | |
download | linux-22d5c67c5b0476e463ce4b632ba9ec3953d33a5f.tar.xz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mach-visws/reboot.c b/arch/x86/mach-visws/reboot.c index 99332abfad42..79c26eab8824 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); } |