From owner-svn-src-head@freebsd.org Mon Apr 4 17:33:37 2016 Return-Path: Delivered-To: svn-src-head@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 4B637B03BBF for ; Mon, 4 Apr 2016 17:33:37 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 BEDA81A81 for ; Mon, 4 Apr 2016 17:33:36 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-lb0-x236.google.com with SMTP id u8so171538237lbk.0 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=VxzQwjEpeC9WUq/FXebce8qjbjl09R6q+hXfCQ4m3ehQlDfxBl9uj92K/aN3kN1n28 vqgMMdl9apmxT+a33qBcUpwDPmDocj/oV5qPMBZpeKU3FdKZANeSt+kodXlJyp173SqC jxPuF3ffnMAZxzJqK983tWYbMF6GRqNmY22k8zp+bPBUkRgWWwWgMkKmy6PaeoK9mpAm 2f0xFEGsI4WF0oS3JK/Oyojz1C6iwtbNKM8dG+1XpqBkPGDk3NqxQQsBW952hwU6QleU 1M7eZwJEgS2naHYzIVophw5rjESFOr/0iEwBxKuYpw2MaMId1p+5Q+7TuUh34ul9kAlg Nl4w== X-Gm-Message-State: AD7BkJIDMMNP2Hgr0NudYfR82LeBIGgqWV6WSrM5lRebYydEZY6l8Z0qKnb2f/tNKWbD81mGXknk+TxUeFUZVYZi 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-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the src tree for head/-current 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 >