Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 14:25:37 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232465 - head/sys/dev/pci
Message-ID:  <201203031425.q23EPbFS085961@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Sat Mar  3 14:25:36 2012
New Revision: 232465
URL: http://svn.freebsd.org/changeset/base/232465

Log:
  Update the pci_get_vpd_readonly() wrapper to use 'vptr' instead of
  'identptr' for its last parameter to match the default implementation
  as well as the method definition in pci_if.m.

Modified:
  head/sys/dev/pci/pcivar.h

Modified: head/sys/dev/pci/pcivar.h
==============================================================================
--- head/sys/dev/pci/pcivar.h	Sat Mar  3 14:24:39 2012	(r232464)
+++ head/sys/dev/pci/pcivar.h	Sat Mar  3 14:25:36 2012	(r232465)
@@ -350,9 +350,9 @@ pci_get_vpd_ident(device_t dev, const ch
 }
 
 static __inline int
-pci_get_vpd_readonly(device_t dev, const char *kw, const char **identptr)
+pci_get_vpd_readonly(device_t dev, const char *kw, const char **vptr)
 {
-    return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, identptr));
+    return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, vptr));
 }
 
 /*



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