Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2015 19:23:17 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r46198 - in head: en_US.ISO8859-1/books/arch-handbook/pci zh_CN.UTF-8/books/arch-handbook/pci
Message-ID:  <201501131923.t0DJNHND075735@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Jan 13 19:23:17 2015
New Revision: 46198
URL: https://svnweb.freebsd.org/changeset/doc/46198

Log:
  Use 'struct thread' instead of 'd_thread_t' in example PCI driver.

Modified:
  head/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml
  head/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml

Modified: head/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml	Tue Jan 13 15:45:27 2015	(r46197)
+++ head/en_US.ISO8859-1/books/arch-handbook/pci/chapter.xml	Tue Jan 13 19:23:17 2015	(r46198)
@@ -75,7 +75,7 @@ static struct cdevsw mypci_cdevsw = {
  */
 
 int
-mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
+mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
 {
 	struct mypci_softc *sc;
 
@@ -86,7 +86,7 @@ mypci_open(struct cdev *dev, int oflags,
 }
 
 int
-mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
+mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
 {
 	struct mypci_softc *sc;
 

Modified: head/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml
==============================================================================
--- head/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml	Tue Jan 13 15:45:27 2015	(r46197)
+++ head/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml	Tue Jan 13 19:23:17 2015	(r46198)
@@ -80,7 +80,7 @@ static struct cdevsw mypci_cdevsw = {
  */
 
 int
-mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
+mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
 {
 	struct mypci_softc *sc;
 
@@ -91,7 +91,7 @@ mypci_open(struct cdev *dev, int oflags,
 }
 
 int
-mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
+mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
 {
 	struct mypci_softc *sc;
 



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