Module Name:    src
Committed By:   matt
Date:           Sun Sep  8 11:47:50 UTC 2013

Modified Files:
        src/sys/arch/arm/allwinner: awin_ahcisata.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 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.7 src/sys/arch/arm/allwinner/awin_ahcisata.c:1.8
--- src/sys/arch/arm/allwinner/awin_ahcisata.c:1.7	Sun Sep  8 10:43:51 2013
+++ src/sys/arch/arm/allwinner/awin_ahcisata.c	Sun Sep  8 11:47:50 2013
@@ -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 @@ awin_ahci_attach(device_t parent, device
 	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);

Reply via email to