svn commit: r46198 - in head: en_US.ISO8859-1/books/arch-handbook/pci zh_CN.UTF-8/books/arch-handbook/pci

John Baldwin <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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;
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.