Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 08:50:16 -0700
From:      Conrad Meyer <cem@freebsd.org>
To:        Warner Losh <imp@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r336067 - head/sys/dev/ath
Message-ID:  <CAG6CVpV-%2Bx=1R9DsFFjyJ6oUPeNgFb2oTyTeEChpKBTHwfq0-g@mail.gmail.com>
In-Reply-To: <201807071525.w67FPG1w088930@repo.freebsd.org>
References:  <201807071525.w67FPG1w088930@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 7, 2018 at 8:25 AM, Warner Losh <imp@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpV-%2Bx=1R9DsFFjyJ6oUPeNgFb2oTyTeEChpKBTHwfq0-g>