NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/50029: External SATA HDD of CubieBoard 2 is not detected under NetBSD/evbearmv7hf-el current



Does the following patch help?

Index: awin_ahcisata.c
===================================================================
RCS file: /cvsroot/src/sys/arch/arm/allwinner/awin_ahcisata.c,v
retrieving revision 1.11
diff -u -p -r1.11 awin_ahcisata.c
--- awin_ahcisata.c	24 Feb 2014 16:40:29 -0000	1.11
+++ awin_ahcisata.c	5 Jul 2015 01:37:09 -0000
@@ -188,7 +188,7 @@ awin_ahci_attach(device_t parent, device
 	sc->sc_ahcit = aio->aio_core_bst;
 	sc->sc_ahcis = loc->loc_size;
 	sc->sc_ahci_ports = 1;
-	sc->sc_ahci_quirks = AHCI_QUIRK_BADPMP;
+	sc->sc_ahci_quirks = AHCI_QUIRK_BADPMP | AHCI_QUIRK_SKIP_RESET;
 	sc->sc_save_init_data = true;
 	sc->sc_channel_start = awin_ahci_channel_start;





Home | Main Index | Thread Index | Old Index