Re: Changes to usb/serial: how to distinguish between old and new interfaces in 8-STABLE and 9-CURRENT branches?

2011-05-31 Thread Nick Hibma
Lev, ABI's change. You need to use __FreeBSD_version. See /usr/include/osreldate.h. But could we include the driver in the kernel? That way it would be updated when needed. Nick Hibma n...@van-laarhoven.org Want to feel like going on a holiday tomorrow? Try GTD. On 31 May 2011, at 22:12, Lev

Re: usb/157474: svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice.

2011-05-31 Thread linimon
Synopsis: svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice. Responsible-Changed-From-To: freebsd-usb->n_hibma Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jun 1 01:26:20 UTC 2011 Responsible-Changed-Why: Over to committer of MFC

Re: Changes to usb/serial: how to distinguish between old and new interfaces in 8-STABLE and 9-CURRENT branches?

2011-05-31 Thread Lev Serebryakov
Hello, Perryh. You wrote 1 июня 2011 г., 2:19:19: >> Last changes, committed to 8-STABLE ... breaks some API/ABI ... > AFAIK, changes that break API/ABI are not supposed to be MFCd. > Perhaps that one needs to be backed out of 8-STABLE? I'm not sure, is this applicable to ABI for kernel module

Re: Changes to usb/serial: how to distinguish between old and new interfaces in 8-STABLE and 9-CURRENT branches?

2011-05-31 Thread perryh
Lev Serebryakov wrote: > Last changes, committed to 8-STABLE ... breaks some API/ABI ... AFAIK, changes that break API/ABI are not supposed to be MFCd. Perhaps that one needs to be backed out of 8-STABLE? ___ freebsd-usb@freebsd.org mailing list http

usb/157474: svn revisions 221612 (for stable/8) and 214831/214761 (for head) breaks API/ABI without any notice.

2011-05-31 Thread Lev A. Serebryakov
>Number: 157474 >Category: usb >Synopsis: svn revisions 221612 (for stable/8) and 214831/214761 (for >head) breaks API/ABI without any notice. >Confidential: no >Severity: critical >Priority: high >Responsible:freebsd-usb >State: open >Quarter:

Changes to usb/serial: how to distinguish between old and new interfaces in 8-STABLE and 9-CURRENT branches?

2011-05-31 Thread Lev Serebryakov
Hello, Freebsd-usb. I'm author of `comms/umcs7840' port, which is module for usbcom, like `uftdi' and `uplcom' in base system. Last changes, committed to 8-STABLE (and, earlier to HEAD), breaks some API/ABI for such modules. I have tow questions: (1) How could I detect which version have