Rename via_shutdown() to via_powerdown() for clarity and consistency.
This commit is contained in:
parent
67f17dd709
commit
66477a6be5
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: viareg.h,v 1.10 1999/01/06 07:16:56 scottr Exp $ */
|
||||
/* $NetBSD: viareg.h,v 1.11 1999/02/20 09:57:35 scottr Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
|
||||
|
@ -190,7 +190,7 @@ extern int VIA2;
|
|||
#define vDirA_ADBState 0x30
|
||||
|
||||
void via_init __P((void));
|
||||
void via_shutdown __P((void));
|
||||
void via_powerdown __P((void));
|
||||
void via_set_modem __P((int));
|
||||
int add_nubus_intr __P((int, void (*) __P((void *)), void *));
|
||||
void enable_nubus_intr __P((void));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.217 1999/01/09 22:10:18 thorpej Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.218 1999/02/20 09:57:35 scottr Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -670,7 +670,6 @@ initcpu()
|
|||
|
||||
void doboot __P((void))
|
||||
__attribute__((__noreturn__));
|
||||
void via_shutdown __P((void));
|
||||
|
||||
/*
|
||||
* Set registers on exec.
|
||||
|
@ -764,7 +763,7 @@ cpu_reboot(howto, bootstr)
|
|||
|
||||
if (howto & RB_HALT) {
|
||||
printf("System halted.\n\n");
|
||||
via_shutdown();
|
||||
via_powerdown();
|
||||
#ifndef MRG_ADB
|
||||
/*
|
||||
* Shut down machines whose power functions are accessed
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: via.c,v 1.68 1999/01/06 05:54:39 scottr Exp $ */
|
||||
/* $NetBSD: via.c,v 1.69 1999/02/20 09:57:35 scottr Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
|
||||
|
@ -456,7 +456,7 @@ slot_noint(client_data)
|
|||
}
|
||||
|
||||
void
|
||||
via_shutdown()
|
||||
via_powerdown()
|
||||
{
|
||||
if (VIA2 == VIA2OFF) {
|
||||
via2_reg(vDirB) |= 0x04; /* Set write for bit 2 */
|
||||
|
|
Loading…
Reference in New Issue