From owner-svn-src-all@freebsd.org Sat Jul 7 15:50:25 2018 Return-Path: Delivered-To: svn-src-all@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 0CC34102DE3D; Sat, 7 Jul 2018 15:50:25 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it0-f44.google.com (mail-it0-f44.google.com [209.85.214.44]) (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 A07E67D666; Sat, 7 Jul 2018 15:50:24 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it0-f44.google.com with SMTP id a195-v6so20177733itd.3; Sat, 07 Jul 2018 08:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=Ju5h/WDHAFifcGJkR8rjnerMCR0366DxP11sU0VeYgc=; b=OfHWwGH/sFB9V6LBKYShN2zG2ErEq2J9G76cixyHh9udCE8cvxDiY4NNoNZGpsSzXD 1xdEgiubzRy19o9m6mqD0wtY1tMo85drvF/We7OkJCJP5WsRAPZVG9pyy/3UQUDAunFb ReOyp1H/iXCcIMnyUG0TyGfaRSx3EpdYWJLvpYoPQauetEEaiQcTi6QjK6YUJWEIGqZE v6gDfB3xl+SpCeVjBJRo0KXOoKvsYpwBqs7SvUFUqUfPslAO5mZGgLEqhYm1rWuKMiyM B/0HpqDeK/h5EU7gz/Y583tzSr049ZYc49NqWFIWI2pBYGQ7bkgomGl6Q/w52VJxsfuE Ljaw== X-Gm-Message-State: APt69E0dLfWwsXo24ZLNMSeOMJeiXUFZ8/Kwb6U9Kt0j4FlIXT1r6sOi FOtSzwCKoInzILaApOy5N2GenpH5 X-Google-Smtp-Source: AAOMgpeo8+flP3KSdpX4AqwC0R288PSFhnhjTVPufB0Y5Zv3j/xrjrFxdfh5Nex0LFoTInFW9vgWMQ== X-Received: by 2002:a24:684d:: with SMTP id v74-v6mr11580580itb.88.1530978617769; Sat, 07 Jul 2018 08:50:17 -0700 (PDT) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com. [209.85.223.181]) by smtp.gmail.com with ESMTPSA id l126-v6sm4251141ioa.39.2018.07.07.08.50.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Jul 2018 08:50:17 -0700 (PDT) Received: by mail-io0-f181.google.com with SMTP id z20-v6so13449843iol.0; Sat, 07 Jul 2018 08:50:17 -0700 (PDT) X-Received: by 2002:a6b:4e04:: with SMTP id c4-v6mr2369013iob.19.1530978617037; Sat, 07 Jul 2018 08:50:17 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 2002:a02:7e0a:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 08:50:16 -0700 (PDT) In-Reply-To: <201807071525.w67FPG1w088930@repo.freebsd.org> References: <201807071525.w67FPG1w088930@repo.freebsd.org> From: Conrad Meyer Date: Sat, 7 Jul 2018 08:50:16 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r336067 - head/sys/dev/ath To: Warner Losh Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 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: Sat, 07 Jul 2018 15:50:25 -0000 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)? Best, Conrad