Use struct thread directly instead of d_thread_t. This driver is not
likely to be backported to 4.x. Reviewed by: kadesai
This commit is contained in:
parent
e1165035a6
commit
7fc5f32950
@ -204,7 +204,7 @@ MALLOC_DEFINE(M_MRSAS, "mrsasbuf", "Buffers for the MRSAS driver");
|
|||||||
* routine when we create the /dev entry.
|
* routine when we create the /dev entry.
|
||||||
*/
|
*/
|
||||||
int
|
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;
|
struct mrsas_softc *sc;
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ mrsas_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
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;
|
struct mrsas_softc *sc;
|
||||||
|
|
||||||
@ -1238,7 +1238,8 @@ mrsas_resume(device_t dev)
|
|||||||
* appropriate function for processing depending on the command received.
|
* appropriate function for processing depending on the command received.
|
||||||
*/
|
*/
|
||||||
static int
|
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;
|
struct mrsas_softc *sc;
|
||||||
int ret = 0, i = 0;
|
int ret = 0, i = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user