Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner correct a typo in the reg name polled...
details: https://anonhg.NetBSD.org/src/rev/168ca2640020
branches: trunk
changeset: 789805:168ca2640020
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Sep 08 10:43:51 2013 +0000
description:
correct a typo in the reg name polled while waiting for phy calibration
diffstat:
sys/arch/arm/allwinner/awin_ahcisata.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 0ec8d1e4ab90 -r 168ca2640020 sys/arch/arm/allwinner/awin_ahcisata.c
--- a/sys/arch/arm/allwinner/awin_ahcisata.c Sun Sep 08 10:32:56 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_ahcisata.c Sun Sep 08 10:43:51 2013 +0000
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: awin_ahcisata.c,v 1.6 2013/09/08 04:07:45 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_ahcisata.c,v 1.7 2013/09/08 10:43:51 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -132,7 +132,7 @@
timeout = 1000;
do {
delay(10);
- v = bus_space_read_4(bst, bsh, AWIN_AHCI_PHYCS0R_REG);
+ v = bus_space_read_4(bst, bsh, AWIN_AHCI_PHYCS2R_REG);
} while (--timeout && (v & __BIT(24)));
if (!timeout) {
Home |
Main Index |
Thread Index |
Old Index