Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 15:55:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336069 - head/sys/dev/ath
Message-ID:  <201807071555.w67FtwLY005014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Jul  7 15:55:58 2018
New Revision: 336069
URL: https://svnweb.freebsd.org/changeset/base/336069

Log:
  Fix PCI_SUBDEV call

Modified:
  head/sys/dev/ath/if_ath_pci.c

Modified: head/sys/dev/ath/if_ath_pci.c
==============================================================================
--- head/sys/dev/ath/if_ath_pci.c	Sat Jul  7 15:55:52 2018	(r336068)
+++ head/sys/dev/ath/if_ath_pci.c	Sat Jul  7 15:55:58 2018	(r336069)
@@ -86,7 +86,7 @@ struct ath_pci_softc {
 	PCI_DEV(v,d)
 
 #define	PCI_DEVICE_SUB(v, d, sv, sd)		\
-	PCI_DEV(v, d), PCI_SUBDEV(v, d)
+	PCI_DEV(v, d), PCI_SUBDEV(sv, sd)
 
 #define	PCI_VENDOR_ID_ATHEROS		0x168c
 #define	PCI_VENDOR_ID_SAMSUNG		0x144d



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071555.w67FtwLY005014>