svn commit: r46198 - in head: en_US.ISO8859-1/books/arch-handbook/pci zh_CN.UTF-8/books/arch-handbook/pci
John Baldwin
jhb at FreeBSD.org
Tue Jan 13 19:23:18 UTC 2015
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;
More information about the svn-doc-all
mailing list