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

Warner Losh imp at FreeBSD.org
Sat Jul 7 15:56:01 UTC 2018


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


More information about the svn-src-head mailing list