From owner-svn-src-all@freebsd.org Mon Apr 4 17:33:37 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BF29B03BC0 for ; Mon, 4 Apr 2016 17:33:37 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C438E1A82 for ; Mon, 4 Apr 2016 17:33:36 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-lb0-x231.google.com with SMTP id bc4so170126576lbc.2 for ; Mon, 04 Apr 2016 10:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=DnvoCWeiKx4cke3VaIza/ZQE5oOMGL8wK1AdSJK0Uq0=; b=vPJFK0tVKyRIZbZZ21Hz7G0oTEzvpzs5EBw1bY7ObUGeYCP1gBNtxYm8g4Ugk5uPRK DopburuAnAgY7jxYKQrz7/eC+Oz2jh56SjVjF9/TpUCyU/8mrNAiaEdckx6WOwEYRKDt 0GW+0+THBk3Y0lH3i6OEMIDytninjbmZHJzwZIfhqTXtOAJ4Skj6h+CebDkRtqAsNyQP A0TaWZSQYEhVn2IB6FAsKibRzHrfbwyIOKTlUo97EQ5kEH+OYCGX3I/8kFMTaflmombE QplE2sh5QtmJhW2BNHC9xb7m82vuA8ZiJ2zrhP/hCJ/tCUquYq3y0tF+P1L98OnHtE+N uC1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=DnvoCWeiKx4cke3VaIza/ZQE5oOMGL8wK1AdSJK0Uq0=; b=YiqQABgQ3OmB19dkpVt6iILMP0kbhcjsuJ+337bBmCK3Hlkov3AXCfOeAdoL4t0z9K bjrUNBn3oy3QEDwl/OxnoKhybH4ljvyvbehbzehnpNoSmrS5E3n0UZAFlbbxswKlg5Hn Q76dguUjlUBBRrgo69wQy3UVFQk3e1eVgcW1YPbDCEvv0OKbYxiHhygwurGvJN55xAsK Q0LP75usa/Cpem84ztP0i1uvuYfTpdGbM7ixCu4KeHkuiQfgb2rM0wNgOL4HUsRu1I7J 0uV/Ovb+5xaWkwuJgIPpsofL/Ea7/OT0LYyEA83a5kF2KS2jGm/CmMTYdyuh8kElOZRs QP5Q== X-Gm-Message-State: AD7BkJLYffsUw4ylh9vC0WZe1YAdHl53axrvtShZvAXxSQreva36BqUX5ZPJNjHZoRZ3qL68TgE2v44CXDW9RnSH MIME-Version: 1.0 X-Received: by 10.28.216.141 with SMTP id p135mr13477703wmg.22.1459791213595; Mon, 04 Apr 2016 10:33:33 -0700 (PDT) Received: by 10.194.243.98 with HTTP; Mon, 4 Apr 2016 10:33:33 -0700 (PDT) In-Reply-To: <1801560.qVehiR5EY7@ralph.baldwin.cx> References: <201604020159.u321xr2V087305@repo.freebsd.org> <1801560.qVehiR5EY7@ralph.baldwin.cx> Date: Mon, 4 Apr 2016 19:33:33 +0200 Message-ID: Subject: Re: svn commit: r297501 - head/usr.sbin/pciconf From: Oliver Pinter To: John Baldwin Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 17:33:37 -0000 On Monday, April 4, 2016, John Baldwin wrote: > On Saturday, April 02, 2016 11:49:53 AM Oliver Pinter wrote: > > > + if (cap & PCIEM_SLOT_CAP_HPS) > > > + printf(" surprise"); > > > > > > What is this surprise string or state? Or is this a forgotten debug > string? > > It's an actual thing in the spec. "Surprise" insertion/removal means that > devices > can be hotplugged without requiring notification to the OS ahead of time. > The > expresscard slots in my x220 actually report this: Okay, thanks for the clarification. > > pcib3@pci0:0:28:3: class=0x060400 card=0x21da17aa chip=0x1c168086 > rev=0xb4 hdr=0x01 > cap 10[40] = PCI-Express 2 root port max data 128(128) > link x0(x1) speed 0.0(5.0) ASPM L0s/L1(L0s/L1) > slot 3 power limit 100 mW HotPlug(empty) surprise > cap 05[80] = MSI supports 1 message > cap 0d[90] = PCI Bridge card=0x21da17aa > cap 01[a0] = powerspec 2 supports D0 D3 current D0 > > and after inserting a card: > > pcib3@pci0:0:28:3: class=0x060400 card=0x21da17aa chip=0x1c168086 > rev=0xb4 hdr=0x01 > cap 10[40] = PCI-Express 2 root port max data 128(128) > link x1(x1) speed 2.5(5.0) ASPM disabled(L0s/L1) > slot 3 power limit 100 mW HotPlug(present) surprise > cap 05[80] = MSI supports 1 message > cap 0d[90] = PCI Bridge card=0x21da17aa > cap 01[a0] = powerspec 2 supports D0 D3 current D0 > > -- > John Baldwin >