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



The following reply was made to PR port-arm/50029; it has been noted by GNATS.

From: Jared McNeill <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: port-arm-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
    netbsd-bugs%netbsd.org@localhost
Subject: Re: port-arm/50029: External SATA HDD of CubieBoard 2 is not detected
 under NetBSD/evbearmv7hf-el current
Date: Sun, 5 Jul 2015 01:38:07 +0000 (UTC)

 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