Re: question about drivers/staging/quatech_usb2/quatech_usb2.c

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

 



On 02/26/2010 08:42 AM, Sandeep G.R wrote:
>       Whenever you want to the set or reset the bits you need to use the
> LOGICAL OR operations, your code should be like this
> 
>  {
>        __u16 nSWflowout;
> 
>        nSWflowout |= (start_char << 8);
>        nSWflowout = (unsigned short)stop_char;

What?

-- 
js
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux