Current-Users archive

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

Re: amd64-current won't boot (another one)



On Fri, Jul 06, 2012 at 07:42:49PM +0200, Manuel Bouyer wrote:
> Last, you could see if the attached patch helps.
> 
> -- 
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --

> Index: ahcisata_core.c
> ===================================================================
> RCS file: /home/bouyer/anoncvs/cvs/src/sys/dev/ic/ahcisata_core.c,v
> retrieving revision 1.35
> diff -u -r1.35 ahcisata_core.c
> --- ahcisata_core.c   2 Jul 2012 18:15:46 -0000       1.35
> +++ ahcisata_core.c   6 Jul 2012 17:42:09 -0000
> @@ -642,8 +642,7 @@
>       /* clear port interrupt register */
>       AHCI_WRITE(sc, AHCI_P_IS(chp->ch_channel), 0xffffffff);
>       /* clear SErrors and start operations */
> -     if ((sc->sc_ahci_cap & (AHCI_CAP_SPM | AHCI_CAP_CLO)) ==
> -         (AHCI_CAP_SPM | AHCI_CAP_CLO)) {
> +     if ((sc->sc_ahci_cap & AHCI_CAP_CLO) == AHCI_CAP_CLO) {
>               /*
>                * issue a command list override to clear BSY.
>                * This is needed if there's a PMP with no drive

I've committed that change - without it my system wouldn't boot.
The other option is to revert the entrire previous change.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index