[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 1/2] xen/arm: Add MVEBU UART driver for Marvell Armada 3700 SoC



Hi,

> Ah yes, if that works, we should. That bit is from the Linux BSP, isn't it?

Yes, it's from Linux BSP code only. Hope following is fine.

    if ( reg & STATUS_TXFIFO_EMP )
        return TX_FIFO_SIZE;
    else if ( reg & STAT_TX_FIFO_HFL )
        return TX_FIFO_SIZE / 2;
    else if ( !(reg & STAT_TX_FIFO_FUL) )
        return 1;

   return 0;

Thanks
-Amit

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.