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 Set the ACHI port mask since the h/w ...



details:   https://anonhg.NetBSD.org/src/rev/02de0238b18f
branches:  trunk
changeset: 789808:02de0238b18f
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Sep 08 11:47:50 2013 +0000

description:
Set the ACHI port mask since the h/w is broken.

diffstat:

 sys/arch/arm/allwinner/awin_ahcisata.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r c2de6f332c02 -r 02de0238b18f sys/arch/arm/allwinner/awin_ahcisata.c
--- a/sys/arch/arm/allwinner/awin_ahcisata.c    Sun Sep 08 11:47:16 2013 +0000
+++ b/sys/arch/arm/allwinner/awin_ahcisata.c    Sun Sep 08 11:47:50 2013 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_ahcisata.c,v 1.7 2013/09/08 10:43:51 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_ahcisata.c,v 1.8 2013/09/08 11:47:50 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -180,6 +180,7 @@
        sc->sc_dmat = aio->aio_dmat;
        sc->sc_ahcit = aio->aio_core_bst;
        sc->sc_ahcis = loc->loc_size;
+       sc->sc_ahci_ports = 1;
 
        bus_space_subregion(aio->aio_core_bst, aio->aio_core_bsh,
            loc->loc_offset, loc->loc_size, &sc->sc_ahcih);



Home | Main Index | Thread Index | Old Index