tech-kern archive

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

Re: uftdi bug?



manu%netbsd.org@localhost (Emmanuel Dreyfus) writes:

>        /* Adjust buffer pointer to skip status prefix */
>        *ptr += 2;
>+       *count -= 2;


>But such a change breaks ucom. Did I misunderstood the way it should work, 
>or is it a bug that is worked arond somewhere else?


count is the number of bytes delivered to ucom. The two skipped status
bytes are not part of that count.



Home | Main Index | Thread Index | Old Index