From owner-svn-src-head@freebsd.org Sat Jul 7 15:54:20 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 822A8102E608 for ; Sat, 7 Jul 2018 15:54:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x234.google.com (mail-io0-x234.google.com [IPv6:2607:f8b0:4001:c06::234]) (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 152DE7DB42 for ; Sat, 7 Jul 2018 15:54:20 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x234.google.com with SMTP id q9-v6so13442864ioj.8 for ; Sat, 07 Jul 2018 08:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1CCv2zEf79UH4rF2Ns5BxItIgKTvYfDg9E5B6WrDb0c=; b=pJja1cOew7bqdTPnMyFptz8Q3bC9MxEVqgBxB3ZV7oJ52lE3zb4MLDgsdVvvroawfx mXatJCIIL/efZoW6qQ6pCohi4WwgoqSK90wS+2ZV1Y/Umy0xf3DqP3g+d7swWlhqFllv dTW77JUXbQ6z9XYNLqc+R7aSjIzqBbttCTwbdgDfieU4JsMiAeKxW8hmi/SRIQALkho4 tpisMe2p2KipeF0qCpGGTSyrEo+NZxdO7Luc8VmA1/tjg80Va626XnNB0WbrP/7tsaHH e2MsIfzVf276MeFAvvvoAUByTwwZiM8gkAkCFZ/alSiKeqklUFNzVZSqwKzUgm6oY9RJ lW7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1CCv2zEf79UH4rF2Ns5BxItIgKTvYfDg9E5B6WrDb0c=; b=hyZVBAfdsHW/JuikVS72/XJtx0yy5K+PPk+JWKmcKHxZIEyJGDuKT7/zcMXN26BzlE p4B/cRCnwP2wOBNXf6+ZQOLbP8o/2QS4X8YT6E1HHmR1s1y4C1/lwM5TIl62sw7WC7Vh WpIcWo0TRaXgDM8gfpsj+znNs74GZwZm30l78xUOUiUTHpAMATh5SkXW/8I0lg9086zg O2Gopw5PhUh/FNmfAfvgn/vuN+MbkCUdsBNh33jevUAOD0+9g02qJ1hKYFvTCI7CCAK+ 3PL7dbTRlP/VrgXhYmHOVpwLzJ380CHFlmrh7Zk/+9xFrpUGO2nOYlZcPJH2p4vazs1D kP4w== X-Gm-Message-State: APt69E2DoZ2EvIUJ7b1KGgIhAyfTdZA368VxF9ZT7iFLopc7TgJKghuV eqDdn7nYc0rvNeKosTJAd2SgM56kecJkW1q8HtikjA== X-Google-Smtp-Source: AAOMgpdbXKJQ8cfkyocj1es1O3M/rsQkOJWKtUD63FRLuuwM443xyHRUCoBr52jio3CP4Jpdvl2LFT63UHsXxiWn9g4= X-Received: by 2002:a6b:d40c:: with SMTP id l12-v6mr12178007iog.37.1530978859135; Sat, 07 Jul 2018 08:54:19 -0700 (PDT) MIME-Version: 1.0 References: <201807071525.w67FPG1w088930@repo.freebsd.org> In-Reply-To: From: Warner Losh Date: Sat, 7 Jul 2018 09:54:07 -0600 Message-ID: Subject: Re: svn commit: r336067 - head/sys/dev/ath To: "Conrad E. Meyer" Cc: Warner Losh , src-committers , 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.27 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 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: Sat, 07 Jul 2018 15:54:20 -0000 On Sat, Jul 7, 2018, 10:50 AM Conrad Meyer wrote: > On Sat, Jul 7, 2018 at 8:25 AM, Warner Losh wrote: > > Author: imp > > Date: Sat Jul 7 15:25:16 2018 > > New Revision: 336067 > > URL: https://svnweb.freebsd.org/changeset/base/336067 > > > > Log: > > Switch to using new PCI_MATCH stuff. > > > > Modified: head/sys/dev/ath/if_ath_pci.c > > > ============================================================================== > > --- head/sys/dev/ath/if_ath_pci.c Sat Jul 7 15:25:11 2018 > (r336066) > > +++ head/sys/dev/ath/if_ath_pci.c Sat Jul 7 15:25:16 2018 > (r336067) > > @@ -82,41 +82,12 @@ struct ath_pci_softc { > > ... > > - int sub_vendor_id; > > - int sub_device_id; > > +#define PCI_DEVICE_SUB(v, d, sv, sd) \ > > + PCI_DEV(v, d), PCI_SUBDEV(v, d) > > PCI_SUBDEV(sv, sd)? > Doh. Warner >