Changeset 69a5677 in rtems-libbsd


Ignore:
Timestamp:
May 18, 2017, 9:53:08 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b5f8d4831d66364b7391e3660560cb9bbecada2e, 31b5c87357cee83d6a3419c5d801a9bf16912714
Children:
7f1f428
Parents:
96da40c
git-author:
Sebastian Huber <sebastian.huber@…> (05/18/17 09:53:08)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/23/17 07:24:06)
Message:

dpaa: Disable QMAN_VOLATILE_FLAG_WAIT_INT

Location:
linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • linux/drivers/soc/fsl/qbman/qman.c

    r96da40c r69a5677  
    21952195        int ret = 0;
    21962196
     2197#ifndef __rtems__
    21972198        if (flags & QMAN_VOLATILE_FLAG_WAIT_INT)
    21982199                ret = wait_event_interruptible(affine_queue,
    21992200                                !set_vdqcr(p, fq, vdqcr));
    22002201        else
     2202#endif /* __rtems__ */
    22012203                wait_event(affine_queue, !set_vdqcr(p, fq, vdqcr));
    22022204        return ret;
     
    22242226        /* VDQCR is set */
    22252227        if (flags & QMAN_VOLATILE_FLAG_FINISH) {
     2228#ifndef __rtems__
    22262229                if (flags & QMAN_VOLATILE_FLAG_WAIT_INT)
    22272230                        /*
     
    22342237                                !fq_isset(fq, QMAN_FQ_STATE_VDQCR));
    22352238                else
     2239#endif /* __rtems__ */
    22362240                        wait_event(affine_queue,
    22372241                                !fq_isset(fq, QMAN_FQ_STATE_VDQCR));
  • linux/include/soc/fsl/qman.h

    r96da40c r69a5677  
    812812
    813813#define QMAN_VOLATILE_FLAG_WAIT      0x00000001 /* wait if VDQCR is in use */
     814#ifndef __rtems__
    814815#define QMAN_VOLATILE_FLAG_WAIT_INT  0x00000002 /* if wait, interruptible? */
     816#endif /* __rtems__ */
    815817#define QMAN_VOLATILE_FLAG_FINISH    0x00000004 /* wait till VDQCR completes */
    816818
Note: See TracChangeset for help on using the changeset viewer.