Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/ic Pull up following revision(s) (requested by jd...



details:   https://anonhg.NetBSD.org/src/rev/43bf2edcff18
branches:  netbsd-9
changeset: 460442:43bf2edcff18
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Oct 23 18:06:46 2019 +0000

description:
Pull up following revision(s) (requested by jdolecek in ticket #357):

        sys/dev/ic/ahcisata_core.c: revision 1.76

Ensure cmdh_prdtl is 0 in ahci_do_reset_drive().
(I'm probably just being paranoid here.)

diffstat:

 sys/dev/ic/ahcisata_core.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 359adba80e6a -r 43bf2edcff18 sys/dev/ic/ahcisata_core.c
--- a/sys/dev/ic/ahcisata_core.c        Wed Oct 23 06:30:16 2019 +0000
+++ b/sys/dev/ic/ahcisata_core.c        Wed Oct 23 18:06:46 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahcisata_core.c,v 1.75 2019/04/07 17:46:49 bouyer Exp $        */
+/*     $NetBSD: ahcisata_core.c,v 1.75.4.1 2019/10/23 18:06:46 martin Exp $    */
 
 /*
  * Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.75 2019/04/07 17:46:49 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.75.4.1 2019/10/23 18:06:46 martin Exp $");
 
 #include <sys/types.h>
 #include <sys/malloc.h>
@@ -842,6 +842,7 @@
        cmd_tbl = achp->ahcic_cmd_tbl[c_slot];
        cmd_h->cmdh_flags = htole16(AHCI_CMDH_F_RST | AHCI_CMDH_F_CBSY |
            RHD_FISLEN / 4 | (drive << AHCI_CMDH_F_PMP_SHIFT));
+       cmd_h->cmdh_prdtl = 0;
        cmd_h->cmdh_prdbc = 0;
        memset(cmd_tbl->cmdt_cfis, 0, 64);
        cmd_tbl->cmdt_cfis[fis_type] = RHD_FISTYPE;



Home | Main Index | Thread Index | Old Index