svn commit: r336067 - head/sys/dev/ath

Conrad Meyer cem at freebsd.org
Sat Jul 7 15:50:25 UTC 2018


On Sat, Jul 7, 2018 at 8:25 AM, Warner Losh <imp at 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


More information about the svn-src-head mailing list