aboutsummaryrefslogtreecommitdiff
path: root/zh_CN.UTF-8/books
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-01-13 19:23:17 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2015-01-13 19:23:17 +0000
commite292bc894715ea5b0348cd6448225dd1e5dee6c0 (patch)
treeeca082bbe4527dde0851598b6b7bf64f299828ad /zh_CN.UTF-8/books
parenta753b6609cf55cee9e3e4b5c783d7c424a65145c (diff)
downloaddoc-e292bc894715ea5b0348cd6448225dd1e5dee6c0.tar.gz
doc-e292bc894715ea5b0348cd6448225dd1e5dee6c0.zip
Use 'struct thread' instead of 'd_thread_t' in example PCI driver.
Notes
Notes: svn path=/head/; revision=46198
Diffstat (limited to 'zh_CN.UTF-8/books')
-rw-r--r--zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml b/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml
index 5b48abc4d1..264c2c6b59 100644
--- a/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml
+++ b/zh_CN.UTF-8/books/arch-handbook/pci/chapter.xml
@@ -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 devtype, d_thread_t *td)
}
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;