Module Name: src Committed By: jmcneill Date: Sun Sep 8 10:43:51 UTC 2013
Modified Files: src/sys/arch/arm/allwinner: awin_ahcisata.c Log Message: correct a typo in the reg name polled while waiting for phy calibration To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/arm/allwinner/awin_ahcisata.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/allwinner/awin_ahcisata.c diff -u src/sys/arch/arm/allwinner/awin_ahcisata.c:1.6 src/sys/arch/arm/allwinner/awin_ahcisata.c:1.7 --- src/sys/arch/arm/allwinner/awin_ahcisata.c:1.6 Sun Sep 8 04:07:45 2013 +++ src/sys/arch/arm/allwinner/awin_ahcisata.c Sun Sep 8 10:43:51 2013 @@ -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 @@ awin_ahci_phy_init(struct awin_ahci_soft 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) {