Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/ic Approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/6d63b8129126
branches: netbsd-1-5
changeset: 488768:6d63b8129126
user: mycroft <mycroft%NetBSD.org@localhost>
date: Thu Jul 27 02:31:03 2000 +0000
description:
Approved by thorpej:
Set Vpp=Vcc.
Add missing newlines in some messages.
syssrc/sys/dev/ic/i82365.c 1.60 -> 1.61
diffstat:
sys/dev/ic/i82365.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 192ab2dc7625 -r 6d63b8129126 sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c Thu Jul 27 02:13:44 2000 +0000
+++ b/sys/dev/ic/i82365.c Thu Jul 27 02:31:03 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82365.c,v 1.59 2000/04/03 01:55:25 cgd Exp $ */
+/* $NetBSD: i82365.c,v 1.59.4.1 2000/07/27 02:31:03 mycroft Exp $ */
#define PCICDEBUG
@@ -1373,7 +1373,7 @@
#ifdef DIAGNOSTIC
if (h->flags & PCIC_FLAG_ENABLED)
- printf("pcic_chip_socket_enable: enabling twice");
+ printf("pcic_chip_socket_enable: enabling twice\n");
#endif
/* disable interrupts */
@@ -1401,7 +1401,7 @@
printf("cvsr = %02x\n", pcic_read(h, 0x2f));
#endif
/* power up the socket */
- pwr |= PCIC_PWRCTL_DISABLE_RESETDRV | PCIC_PWRCTL_PWR_ENABLE;
+ pwr |= PCIC_PWRCTL_DISABLE_RESETDRV | PCIC_PWRCTL_PWR_ENABLE | PCIC_PWRCTL_VPP1_VCC;
pcic_write(h, PCIC_PWRCTL, pwr);
/*
@@ -1420,7 +1420,7 @@
pcic_write(h, PCIC_INTR, intr);
pcic_write(h, PCIC_PWRCTL, PCIC_PWRCTL_DISABLE_RESETDRV |
- PCIC_PWRCTL_OE | PCIC_PWRCTL_PWR_ENABLE);
+ PCIC_PWRCTL_OE | PCIC_PWRCTL_PWR_ENABLE | PCIC_PWRCTL_VPP1_VCC);
/*
* hold RESET at least 10us, this is a min allow for slop in
* delay routine.
@@ -1437,7 +1437,7 @@
#ifdef DIAGNOSTIC
reg = pcic_read(h, PCIC_IF_STATUS);
if (!(reg & PCIC_IF_STATUS_POWERACTIVE)) {
- printf("pcic_chip_socket_enable: status %x", reg);
+ printf("pcic_chip_socket_enable: status %x\n", reg);
}
#endif
/* wait for the chip to finish initializing */
Home |
Main Index |
Thread Index |
Old Index