summaryrefslogtreecommitdiffstats
path: root/sys/dev/tws
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-01-05 19:49:20 +0000
committerjhb <jhb@FreeBSD.org>2015-01-05 19:49:20 +0000
commita5005e88e59b78e96561d6c1976822b8f09b424e (patch)
tree9ab46184d09c3cbf6634f7c9d7f9de3f6a50c35a /sys/dev/tws
parent0da0078579e64d07fcb2653f069eb3cab9b4c522 (diff)
downloadFreeBSD-src-a5005e88e59b78e96561d6c1976822b8f09b424e.zip
FreeBSD-src-a5005e88e59b78e96561d6c1976822b8f09b424e.tar.gz
Use struct thread * directly instead of d_thread_t. This driver is not
likely to be merged back to stable/4. Reviewed by: delphij
Diffstat (limited to 'sys/dev/tws')
-rw-r--r--sys/dev/tws/tws.c4
-rw-r--r--sys/dev/tws/tws_user.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/tws/tws.c b/sys/dev/tws/tws.c
index a94ac25..9c70db3 100644
--- a/sys/dev/tws/tws.c
+++ b/sys/dev/tws/tws.c
@@ -113,7 +113,7 @@ static struct cdevsw tws_cdevsw = {
*/
int
-tws_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
+tws_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
{
struct tws_softc *sc = dev->si_drv1;
@@ -123,7 +123,7 @@ tws_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
}
int
-tws_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
+tws_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
{
struct tws_softc *sc = dev->si_drv1;
diff --git a/sys/dev/tws/tws_user.c b/sys/dev/tws/tws_user.c
index 53ac7e4..5c93a4b 100644
--- a/sys/dev/tws/tws_user.c
+++ b/sys/dev/tws/tws_user.c
@@ -41,7 +41,7 @@
int tws_ioctl(struct cdev *dev, long unsigned int cmd, caddr_t buf, int flags,
- d_thread_t *proc);
+ struct thread *td);
void tws_passthru_complete(struct tws_request *req);
extern void tws_circular_aenq_insert(struct tws_softc *sc,
struct tws_circular_q *cq, struct tws_event_packet *aen);
@@ -60,7 +60,7 @@ extern void tws_timeout(void *arg);
int
tws_ioctl(struct cdev *dev, u_long cmd, caddr_t buf, int flags,
- d_thread_t *proc)
+ struct thread *td)
{
struct tws_softc *sc = (struct tws_softc *)(dev->si_drv1);
int error;
OpenPOWER on IntegriCloud