From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f180.google.com ([209.85.219.180]) by ewsd; Wed Oct 17 16:29:03 EDT 2018 Received: by mail-yb1-f180.google.com with SMTP id g15-v6so10933714ybf.6 for <9front@9front.org>; Wed, 17 Oct 2018 13:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:content-disposition; bh=xgw9o+Rq4LgO2wbfIXmZt/hhf6NdcTaeOZjlV17GOr0=; b=cDxrM132EuYIkTHhZ4LPdxApkmtcy7pRqSg+wfFrOok/hGOOoyUx05r552C9q32Umb uH4DJVyY0iIjuz5DNFhSYH9mlfpAtKlCvWrna20WmIKH4hd9Yqv7eMlyIDOvP3UC9hEq mZsG0ds0NB2NWngXU3ba2JRL1d+l/oEfZhyW5y9ZosZ3hMnnztomcaU5kH8r+u13ZdEs NbXxNXFkXyQombM+UPW40vSBj7KqE1edYdwkUsUdv5XjP5zTzkfFTUUYk+ATBUoyejIs mIqPnofaxMOYjbFw8xHjYQTiMst4LAg9Uw9GVQGwP/npf2MOLMiDJjs/MH7emSZ1W9mA fsJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id :content-disposition; bh=xgw9o+Rq4LgO2wbfIXmZt/hhf6NdcTaeOZjlV17GOr0=; b=jQgUBogH4WyNmklbBZY+Rn35OcvTJRCw4E8n/kygsFb1RSxIFVBZswkgUmTaB4LnXa m5/pORAdNcUkZxCnqqksRPB6uF2FJC0HgMyQW4urvDboOM04toNjum1g4erHVHnWZbOg p1p99kHs41lj0dY2x1vyn+CJMIxjUYdxjMl5oNW1fSmVprlpJnQWiN/1GqlBV+UtTS6C K31mFiKpGJLdbDpDVDDUOmQeYoYxm02uf7bjPoWlPGBYxFnJoo6j7k0mdISSkxJGo9Xh i8/WG6VMWrqa3FEsC2o1xEVt0UKtLNBq848AC4PJYaBDuIBSy4xaDEhI4Vu2Si2xvlbY Wf8w== X-Gm-Message-State: ABuFfohdOQirJZazvMcIK4GdpP1cYMygFabpb8AZ29ah2lQi2ftUxwED JaabrQNLgzqpULGAkcNoZMWi+wZ1 X-Google-Smtp-Source: ACcGV60lmsfwTMFsOSfOV0c7uSd4XYqcxYstZiRNVqMDVPdVXUP98eiwzpqRaDV0aSEIUYXwbylNVA== X-Received: by 2002:a25:2585:: with SMTP id l127-v6mr5993760ybl.453.1539808138357; Wed, 17 Oct 2018 13:28:58 -0700 (PDT) Return-Path: Received: from master.localdomain (ip72-200-72-19.tc.ph.cox.net. [72.200.72.19]) by smtp.gmail.com with ESMTPSA id 15-v6sm4910108ywo.6.2018.10.17.13.28.57 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 13:28:57 -0700 (PDT) Date: Wed, 17 Oct 2018 13:28:55 -0700 From: Joe M To: 9front@9front.org Subject: Avoid treating the SB7x0/SB8x0/SB9x0 SATA Controller as an SB600 Message-ID: <20181017202855.GA15127@master> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: secure converged rails realtime-java SSL over AJAX method element-oriented NoSQL manager Hello, This patch avoids the SB600 errata fix when dealing with the later SATA controllers. 0.17.0: disk 01.06.01 1002/4391 11 0:0000b001 16 1:0000a001 16 2:00009001 16 3:00008001 16 4:00007001 16 5:fdcffc00 1024 Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] # HG changeset patch # User joe # Date 1539807714 25200 # Wed Oct 17 13:21:54 2018 -0700 # Node ID 855645ff928b86129a314a0e7380cebe74eb4c14 # Parent 4c1c90cb3a47f8cc9414f6165b4bc957c07b0b51 recognise SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] as an AHCI controller it does not need the 255 max packets errata fix too diff -r 4c1c90cb3a47 -r 855645ff928b sys/src/9/pc/sdiahci.c --- a/sys/src/9/pc/sdiahci.c Tue Oct 16 12:53:55 2018 -0700 +++ b/sys/src/9/pc/sdiahci.c Wed Oct 17 13:21:54 2018 -0700 @@ -2088,8 +2088,12 @@ break; case 0x1002: if(p->ccru == 1 || p->ccrp != 1) - if(p->did == 0x4380 || p->did == 0x4390) - sbsetupahci(p); + if(p->did == 0x4380 || p->did == 0x4390) + sbsetupahci(p); + if(p->did == 0x4391 || p->did == 0x4394) { + type = Tahci; + break; + } type = Tsb600; break; case 0x1106: Thanks