Date: Tue, 6 Jan 2015 15:41:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r276753 - head/sys/dev/mrsas Message-ID: <201501061541.t06FfONs075841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Tue Jan 6 15:41:23 2015 New Revision: 276753 URL: https://svnweb.freebsd.org/changeset/base/276753 Log: Use struct thread directly instead of d_thread_t. This driver is not likely to be backported to 4.x. Reviewed by: kadesai Modified: head/sys/dev/mrsas/mrsas.c Modified: head/sys/dev/mrsas/mrsas.c ============================================================================== --- head/sys/dev/mrsas/mrsas.c Tue Jan 6 14:32:28 2015 (r276752) +++ head/sys/dev/mrsas/mrsas.c Tue Jan 6 15:41:23 2015 (r276753) @@ -204,7 +204,7 @@ MALLOC_DEFINE(M_MRSAS, "mrsasbuf", "Buff * routine when we create the /dev entry. */ int -mrsas_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td) +mrsas_open(struct cdev *dev, int oflags, int devtype, struct thread *td) { struct mrsas_softc *sc; @@ -213,7 +213,7 @@ mrsas_open(struct cdev *dev, int oflags, } int -mrsas_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td) +mrsas_close(struct cdev *dev, int fflag, int devtype, struct thread *td) { struct mrsas_softc *sc; @@ -1238,7 +1238,8 @@ mrsas_resume(device_t dev) * appropriate function for processing depending on the command received. */ static int -mrsas_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, d_thread_t *td) +mrsas_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, + struct thread *td) { struct mrsas_softc *sc; int ret = 0, i = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501061541.t06FfONs075841>