Re: sppp: fix ipv6cp ifid collision handling

2014-01-06 Thread Stefan Sperling
Anyone? I have received no feedback on this. I'd really like to get review because fixing IPv6CP has turned out to be tricker than I expected. On Tue, Dec 17, 2013 at 04:32:03PM +0100, Stefan Sperling wrote: Our IPv6CP implementation has never handled IFID collisions. The old code (from before

loongson: ditch local BCD functions

2014-01-06 Thread Paul Irofti
Use the dedicated BCD macros from sys/time.h instead of handrolling our own for the m41t8x clocks. Runs fine on my Lemote. Is this okay? Index: m41t8xclock.c === RCS file: /cvs/src/sys/arch/loongson/dev/m41t8xclock.c,v retrieving

PATCH: new/fixed pcidevs from Attansic, Intel, Ralink

2014-01-06 Thread Alexey E. Suslikov
hi tech@. (diff is at the bottom of this message). references used: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a89534edaaa7008992b878680490e9b02a665563 http://lwn.net/Articles/555179/ Attansic entries being corrected according to above lwn.net reference. Ralink

PATCH: new usbdevs vendor Sunplus, new wi-fi devices

2014-01-06 Thread Alexey E. Suslikov
hi tech@. references used: http://svnweb.freebsd.org/base?view=revisionrevision=238779 http://svnweb.freebsd.org/base?view=revisionrevision=257955 Cheers, Alexey Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x), Intel(0x8086), rev 1.00 port 1 addr 2:

Re: PATCH: new usbdevs vendor Sunplus, new wi-fi devices

2014-01-06 Thread Alexey E. Suslikov
previous diff may be mangled. resending. Index: usbdevs === RCS file: /cvs/src/sys/dev/usb/usbdevs,v retrieving revision 1.618 diff -u -p -r1.618 usbdevs --- usbdevs 17 Dec 2013 12:51:14 - 1.618 +++ usbdevs 6 Jan

Re: PATCH: new/fixed pcidevs from Attansic, Intel, Ralink

2014-01-06 Thread Alexey E. Suslikov
previous diff may be mangled. resending. Index: sys/dev/pci/pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1708 diff -u -p -r1.1708 pcidevs --- sys/dev/pci/pcidevs 5 Jan 2014 23:55:25 - 1.1708

WIP: MediaTek/Ralink RT5370/RT5372

2014-01-06 Thread Alexey Suslikov
This is based on http://svnweb.freebsd.org/base?view=revisionrevision=257955 For now, my DWA-140 rev B3 is able to * attach to run(4) and correctly identify MAC address; * load firmware on ifconfig up; * blink LED (so I think something is going thru a radio); * ifconfig down (LED stops

tcpdump: detect bad ICMP checksums (1/2)

2014-01-06 Thread Lawrence Teo
Our tcpdump has the ability to detect bad TCP and UDP checksums with the -v flag, but not ICMP and ICMPv6 checksums. Here are two diffs to let tcpdump detect bad ICMP/ICMPv6 checksums, which should help when debugging issues caused by such checksums. :) The first diff (below) is simply a