svn commit: r218788 - head/sys/dev/dc

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 02:58:09 2011 New Revision: 218788 URL: http://svn.freebsd.org/changeset/base/218788 Log: Apply special PHY initialization code for 21143 controllers before any other media configuration. Otherwise some 21143 controller cannot establish a link. While I'm

svn commit: r218789 - head/sys/dev/dc

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 03:37:53 2011 New Revision: 218789 URL: http://svn.freebsd.org/changeset/base/218789 Log: Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX frame in DM910x controllers. In r67595(more than 10 years ago) it was replaced to use Store and

svn commit: r218760 - in head/sys: dev/re pci

2011-02-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 16 21:59:42 2011 New Revision: 218760 URL: http://svn.freebsd.org/changeset/base/218760 Log: Add initial support for RTL8401E PCIe Fast Ethernet. PR: 154789 Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_re.c

svn commit: r218710 - head/sys/dev/fxp

2011-02-15 Thread Pyun YongHyeon
Author: yongari Date: Tue Feb 15 18:16:04 2011 New Revision: 218710 URL: http://svn.freebsd.org/changeset/base/218710 Log: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is

svn commit: r218289 - head/sys/dev/re

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 17:49:55 2011 New Revision: 218289 URL: http://svn.freebsd.org/changeset/base/218289 Log: Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For

svn commit: r218141 - head/sys/dev/alc

2011-01-31 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 31 20:00:43 2011 New Revision: 218141 URL: http://svn.freebsd.org/changeset/base/218141 Log: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id

svn commit: r218038 - head/sys/dev/alc

2011-01-28 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 28 21:03:32 2011 New Revision: 218038 URL: http://svn.freebsd.org/changeset/base/218038 Log: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad comstyle dot com ) MFC after:

svn commit: r217973 - head/share/man/man4

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 20:06:24 2011 New Revision: 217973 URL: http://svn.freebsd.org/changeset/base/217973 Log: Backout r216577. ixgb(4) does not support altq(4) yet. Modified: head/share/man/man4/ixgb.4 Modified: head/share/man/man4/ixgb.4

svn commit: r217974 - head/share/man/man4

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 20:08:14 2011 New Revision: 217974 URL: http://svn.freebsd.org/changeset/base/217974 Log: ixgb(4) does not support altq(4) yet. Modified: head/share/man/man4/altq.4 Modified: head/share/man/man4/altq.4

svn commit: r217902 - in head/sys: dev/re pci

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 20:25:40 2011 New Revision: 217902 URL: http://svn.freebsd.org/changeset/base/217902 Log: Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under

svn commit: r217910 - head/sys/dev/mii

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:07:44 2011 New Revision: 217910 URL: http://svn.freebsd.org/changeset/base/217910 Log: Add Realtek RTL8201E 10/100 PHY found in RTL8105E controller. The exact model name is not clear yet. All previous RTL8201 10/100 PHYs used 0x8201 in MII_PHYIDR2 which

svn commit: r217911 - in head/sys: dev/re pci

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:14:20 2011 New Revision: 217911 URL: http://svn.freebsd.org/changeset/base/217911 Log: Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code

svn commit: r217914 - head/share/man/man4

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:59:59 2011 New Revision: 217914 URL: http://svn.freebsd.org/changeset/base/217914 Log: Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod Modified: head/share/man/man4/re.4 Modified: head/share/man/man4/re.4

svn commit: r217857 - in head/sys: dev/re pci

2011-01-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 25 22:18:00 2011 New Revision: 217857 URL: http://svn.freebsd.org/changeset/base/217857 Log: Prefer MSI-X to MSI on controllers that support MSI-X. All recent PCIe controllers(RTL8102E or later and RTL8168/8111C or later) supports either 2 or 4 MSI-X messages.

svn commit: r217868 - in head/sys: dev/re pci

2011-01-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 25 23:27:28 2011 New Revision: 217868 URL: http://svn.freebsd.org/changeset/base/217868 Log: Remove TX taskqueue and directly invoke re_start in interrupt task. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_re.c

svn commit: r217794 - head/sys/dev/nfe

2011-01-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 17:53:58 2011 New Revision: 217794 URL: http://svn.freebsd.org/changeset/base/217794 Log: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang bluecoat com ) Modified: head/sys/dev/nfe/if_nfe.c

svn commit: r217766 - head/sys/dev/re

2011-01-23 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 00:01:06 2011 New Revision: 217766 URL: http://svn.freebsd.org/changeset/base/217766 Log: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX

svn commit: r217649 - head/sys/dev/alc

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 20 18:26:33 2011 New Revision: 217649 URL: http://svn.freebsd.org/changeset/base/217649 Log: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change should fix lockup

svn commit: r217548 - head/sys/dev/sis

2011-01-18 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 18 17:50:14 2011 New Revision: 217548 URL: http://svn.freebsd.org/changeset/base/217548 Log: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if

svn commit: r217524 - in head/sys: dev/re pci

2011-01-17 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 18 00:46:10 2011 New Revision: 217524 URL: http://svn.freebsd.org/changeset/base/217524 Log: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g

svn commit: r217498 - in head/sys: dev/re pci

2011-01-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 17 02:23:50 2011 New Revision: 217498 URL: http://svn.freebsd.org/changeset/base/217498 Log: Add initial support for RTL8168E/8111E-VL PCIe GbE. H/W donated by: Realtek Semiconductor Corp. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h

svn commit: r217499 - in head/sys: dev/re pci

2011-01-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 17 03:24:33 2011 New Revision: 217499 URL: http://svn.freebsd.org/changeset/base/217499 Log: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that

svn commit: r217381 - head/sys/dev/re

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 22:49:10 2011 New Revision: 217381 URL: http://svn.freebsd.org/changeset/base/217381 Log: Allow TX/RX checksum offloading to be configured independently. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c

svn commit: r217382 - head/sys/dev/re

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 22:52:57 2011 New Revision: 217382 URL: http://svn.freebsd.org/changeset/base/217382 Log: re_reset() should be called only after setting device specific features. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c

svn commit: r217384 - head/sys/dev/re

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 23:00:28 2011 New Revision: 217384 URL: http://svn.freebsd.org/changeset/base/217384 Log: Make sure to check validity of dma maps before destroying. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c

svn commit: r217385 - head/sys/dev/re

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 23:15:09 2011 New Revision: 217385 URL: http://svn.freebsd.org/changeset/base/217385 Log: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware

svn commit: r217331 - head/sys/dev/alc

2011-01-12 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 12 22:24:07 2011 New Revision: 217331 URL: http://svn.freebsd.org/changeset/base/217331 Log: Make sure to invoke unlocked foo_start since the taskqueue does not hold a driver lock. This should fix a regression introduced in r216925. PR: kern/153769

svn commit: r217225 - head/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:37:49 2011 New Revision: 217225 URL: http://svn.freebsd.org/changeset/base/217225 Log: Backout r216973 and r216970. r216973 didn't solve watchdog timeout issue seen on PCIX BCM5704 controller. r216970 fixed the issue but the DMA address space restriction

svn commit: r217226 - head/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:45:09 2011 New Revision: 217226 URL: http://svn.freebsd.org/changeset/base/217226 Log: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind

svn commit: r217246 - in head/sys: dev/re pci

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:28:46 2011 New Revision: 217246 URL: http://svn.freebsd.org/changeset/base/217246 Log: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration

svn commit: r217247 - head/sys/dev/re

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:47:11 2011 New Revision: 217247 URL: http://svn.freebsd.org/changeset/base/217247 Log: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled

svn commit: r216970 - head/sys/dev/bge

2011-01-04 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 4 19:10:54 2011 New Revision: 216970 URL: http://svn.freebsd.org/changeset/base/216970 Log: Partially revert change made in r212061. r212061 relied on bus_dma(9)'s capability which honors boundary restrictions of DMA tag for dynamic buffers. However it seems

svn commit: r216973 - head/sys/dev/bge

2011-01-04 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 4 20:06:26 2011 New Revision: 216973 URL: http://svn.freebsd.org/changeset/base/216973 Log: Limit hardware bug workaround to controllers that have 4GB boundary bug instead of blindly applying it to all controllers. Pointed out by: marius MFC after:

svn commit: r216858 - head/share/man/man4

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 21:52:51 2010 New Revision: 216858 URL: http://svn.freebsd.org/changeset/base/216858 Log: Remove duplicated perfect Pointed out by: pluknet Modified: head/share/man/man4/vte.4 Modified: head/share/man/man4/vte.4

svn commit: r216860 - head/sys/dev/msk

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 22:18:41 2010 New Revision: 216860 URL: http://svn.freebsd.org/changeset/base/216860 Log: Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control

svn commit: r216828 - in head/sys: conf dev/mii modules/mii

2010-12-30 Thread Pyun YongHyeon
) +++ head/sys/dev/mii/rdcphy.c Thu Dec 30 23:50:25 2010(r216828) @@ -0,0 +1,267 @@ +/*- + * Copyright (c) 2010, Pyun YongHyeon yong...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

svn commit: r216829 - in head/sys: boot/forth conf dev/vte i386/conf modules modules/vte

2010-12-30 Thread Pyun YongHyeon
:00 1970 (empty, because file is newly added) +++ head/sys/dev/vte/if_vte.c Fri Dec 31 00:21:41 2010(r216829) @@ -0,0 +1,2056 @@ +/*- + * Copyright (c) 2010, Pyun YongHyeon yong...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms

svn commit: r216833 - head/sys/dev/vte

2010-12-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 01:23:04 2010 New Revision: 216833 URL: http://svn.freebsd.org/changeset/base/216833 Log: Remove debugging leftovers. Modified: head/sys/dev/vte/if_vte.c Modified: head/sys/dev/vte/if_vte.c

svn commit: r216766 - head/sys/dev/sound/pci/hda

2010-12-28 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 28 17:45:43 2010 New Revision: 216766 URL: http://svn.freebsd.org/changeset/base/216766 Log: Add device id for RDC M3010 which is found on Vortex86 SoC. Reviewed by: mav Modified: head/sys/dev/sound/pci/hda/hdac.c Modified:

svn commit: r216596 - head/share/man/man4

2010-12-20 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 20 17:39:39 2010 New Revision: 216596 URL: http://svn.freebsd.org/changeset/base/216596 Log: Document limitation of station address reprogramming. Modified: head/share/man/man4/jme.4 Modified: head/share/man/man4/jme.4

svn commit: r216576 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 19 23:50:36 2010 New Revision: 216576 URL: http://svn.freebsd.org/changeset/base/216576 Log: ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4). Modified: head/share/man/man4/altq.4 Modified: head/share/man/man4/altq.4

svn commit: r216577 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 19 23:53:23 2010 New Revision: 216577 URL: http://svn.freebsd.org/changeset/base/216577 Log: Add .Xr to altq(4). Modified: head/share/man/man4/ixgb.4 Modified: head/share/man/man4/ixgb.4

svn commit: r216578 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 19 23:54:31 2010 New Revision: 216578 URL: http://svn.freebsd.org/changeset/base/216578 Log: Add .Xr to altq(4). Modified: head/share/man/man4/ixgbe.4 Modified: head/share/man/man4/ixgbe.4

svn commit: r216579 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 20 00:10:53 2010 New Revision: 216579 URL: http://svn.freebsd.org/changeset/base/216579 Log: igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag insertion/stripping. et(4) and fwe(4) support VLAN oversized frames. Modified:

svn commit: r216580 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 20 00:23:47 2010 New Revision: 216580 URL: http://svn.freebsd.org/changeset/base/216580 Log: Add ae(4) to the list of drivers use the miibus interface. Modified: head/share/man/man4/miibus.4 Modified: head/share/man/man4/miibus.4

svn commit: r216581 - head/share/man/man4

2010-12-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 20 00:27:40 2010 New Revision: 216581 URL: http://svn.freebsd.org/changeset/base/216581 Log: Oops, fwe(4) listed twice. Modified: head/share/man/man4/vlan.4 Modified: head/share/man/man4/vlan.4

svn commit: r216546 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:03:38 2010 New Revision: 216546 URL: http://svn.freebsd.org/changeset/base/216546 Log: Consistently put a tab character between #define and the macro name. Modified: head/sys/dev/jme/if_jmevar.h Modified: head/sys/dev/jme/if_jmevar.h

svn commit: r216548 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:21:16 2010 New Revision: 216548 URL: http://svn.freebsd.org/changeset/base/216548 Log: Fix a regression introduced in r213893. FPGA version requires PHY probing so allow PHY probing on all possible addresses. Modified: head/sys/dev/jme/if_jme.c

svn commit: r216549 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:24:59 2010 New Revision: 216549 URL: http://svn.freebsd.org/changeset/base/216549 Log: Make sure whether driver allocated resource before releasing it. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

svn commit: r216550 - head/sys/dev/jme

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:26:38 2010 New Revision: 216550 URL: http://svn.freebsd.org/changeset/base/216550 Log: Use system defined PCIR_EXPRESS_DEVICE_CTL instead of using magic number. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

svn commit: r216551 - in head/sys/dev: jme mii

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Dec 18 23:52:50 2010 New Revision: 216551 URL: http://svn.freebsd.org/changeset/base/216551 Log: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices and have the same

svn commit: r216552 - head/share/man/man4

2010-12-18 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 19 00:00:29 2010 New Revision: 216552 URL: http://svn.freebsd.org/changeset/base/216552 Log: Document JMC251/JMC261 support. Modified: head/share/man/man4/jme.4 Modified: head/share/man/man4/jme.4

svn commit: r216438 - head/sys/dev/ale

2010-12-14 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 14 17:39:10 2010 New Revision: 216438 URL: http://svn.freebsd.org/changeset/base/216438 Log: Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg Modified: head/sys/dev/ale/if_ale.c Modified: head/sys/dev/ale/if_ale.c

svn commit: r216362 - in head/sys/dev: alc jme

2010-12-10 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 10 21:43:20 2010 New Revision: 216362 URL: http://svn.freebsd.org/changeset/base/216362 Log: Remove unecessary and clearly wrong usage of atomic(9). Reported by: avg, jhb, attilio Modified: head/sys/dev/alc/if_alc.c head/sys/dev/jme/if_jme.c Modified:

Re: svn commit: r216284 - head/sys/dev/usb/net

2010-12-08 Thread Pyun YongHyeon
On Wed, Dec 08, 2010 at 08:26:50AM +0100, Hans Petter Selasky wrote: On Wednesday 08 December 2010 02:24:05 Pyun YongHyeon wrote: - if (m-m_pkthdr.len MCLBYTES) { - m-m_pkthdr.len = MCLBYTES; - } You are sure

svn commit: r216284 - head/sys/dev/usb/net

2010-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 8 01:24:05 2010 New Revision: 216284 URL: http://svn.freebsd.org/changeset/base/216284 Log: r184610 changed the way how TX frames are handled on AX88178 and AX88772 controllers. ASIX added a new feature for AX88178/AX88772 controllers which allows combining

svn commit: r216131 - head/share/man/man4

2010-12-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 2 18:37:34 2010 New Revision: 216131 URL: http://svn.freebsd.org/changeset/base/216131 Log: Document loader tunable hw.re.prefer_iomap. Modified: head/share/man/man4/re.4 Modified: head/share/man/man4/re.4

svn commit: r216111 - head/sys/dev/fxp

2010-12-01 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 2 03:53:29 2010 New Revision: 216111 URL: http://svn.freebsd.org/changeset/base/216111 Log: If RX lockup workaround is enabled, fxp(4) will periodically reset the controller to workaround silicon bug of i82557. Each reset will re-establish link which in turn

svn commit: r215963 - head/sys/dev/usb/net

2010-11-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 28 01:00:39 2010 New Revision: 215963 URL: http://svn.freebsd.org/changeset/base/215963 Log: Do not reinitialize controller if it's already running. Modified: head/sys/dev/usb/net/if_axe.c Modified: head/sys/dev/usb/net/if_axe.c

svn commit: r215964 - head/sys/dev/usb/net

2010-11-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 28 01:03:06 2010 New Revision: 215964 URL: http://svn.freebsd.org/changeset/base/215964 Log: Make sure to change to currently selected media. Modified: head/sys/dev/usb/net/if_axe.c Modified: head/sys/dev/usb/net/if_axe.c

svn commit: r215968 - head/sys/dev/usb/net

2010-11-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 28 01:43:28 2010 New Revision: 215968 URL: http://svn.freebsd.org/changeset/base/215968 Log: Introduce new macro AXE_IS_178_FAMILY and AXE_IS_772. Include AX88772A and AX88772B for future extension. While here add TX buffer size for 178 family controllers.

svn commit: r215969 - head/sys/dev/usb/net

2010-11-27 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 28 01:56:44 2010 New Revision: 215969 URL: http://svn.freebsd.org/changeset/base/215969 Log: Add initial AX88772A support. H/W donated by: Derrick Brashear (shadow gmail dot com) Modified: head/sys/dev/usb/net/if_axe.c

svn commit: r215848 - head/sys/dev/jme

2010-11-25 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 26 01:58:25 2010 New Revision: 215848 URL: http://svn.freebsd.org/changeset/base/215848 Log: Allocate 1 MSI/MSI-X vector. Originally jme(4) was designed to support multi-queue but the hardware limitation made it hard to implement supporting multi-queue.

svn commit: r215849 - head/sys/dev/jme

2010-11-25 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 26 02:01:16 2010 New Revision: 215849 URL: http://svn.freebsd.org/changeset/base/215849 Log: Enable ethernet flow-control on all jme(4) controllers. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

svn commit: r215850 - head/sys/dev/alc

2010-11-25 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 26 02:10:56 2010 New Revision: 215850 URL: http://svn.freebsd.org/changeset/base/215850 Log: Enable ethernet flow-control on all alc(4) controllers. This change should reduce a lot of dropped frames under high network load. Modified: head/sys/dev/alc/if_alc.c

svn commit: r215432 - head/sys/dev/nfe

2010-11-17 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 17 18:09:02 2010 New Revision: 215432 URL: http://svn.freebsd.org/changeset/base/215432 Log: MCP55 is the only NVIDIA controller that supports VLAN tag insertion/stripping and it also supports TSO over VLAN. Implement TSO over VLAN support for MCP55 controller.

svn commit: r215350 - head/sys/dev/nfe

2010-11-15 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 15 22:05:08 2010 New Revision: 215350 URL: http://svn.freebsd.org/changeset/base/215350 Log: Plug memory leakage introduced in r215327. Submitted by: jkim Modified: head/sys/dev/nfe/if_nfe.c Modified: head/sys/dev/nfe/if_nfe.c

svn commit: r215327 - head/sys/dev/nfe

2010-11-14 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 14 23:37:43 2010 New Revision: 215327 URL: http://svn.freebsd.org/changeset/base/215327 Log: P5N32-SLI PREMIUM from ASUSTeK is known to have MSI/MSI-X issue such that nfe(4) does not work with MSI-X. When MSI-X support was introduced, I remember MCP55

svn commit: r215328 - head/sys/dev/xl

2010-11-14 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 14 23:53:13 2010 New Revision: 215328 URL: http://svn.freebsd.org/changeset/base/215328 Log: Add flow control for 3C905B and newer controllers. Note, these controllers support RX pause only. Reviewed by: marius Modified: head/sys/dev/xl/if_xl.c

svn commit: r215329 - head/sys/dev/re

2010-11-14 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 15 00:06:19 2010 New Revision: 215329 URL: http://svn.freebsd.org/changeset/base/215329 Log: Add flow control for all re(4) controllers. re(4) controllers do not provide any MAC configuration interface for resolved flow control parameters. There is even no

svn commit: r215194 - head/sys/dev/nfe

2010-11-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 12 19:33:13 2010 New Revision: 215194 URL: http://svn.freebsd.org/changeset/base/215194 Log: Fix regression introduced in r215132. Caller always holds a driver lock before accessing mii, so locking is not needed here. Reported by: Rob Farmer (rfarmer

svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL: http://svn.freebsd.org/changeset/base/215132 Log: Add basic WOL support for MCP ethernet controllers. It seems the controller does not perform automatic switching from 1000Mbps link to 10/100Mbps link when WOL is

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 07:34:09PM +0100, Joel Dahl wrote: On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New Revision: 215132 URL: http://svn.freebsd.org/changeset/base/215132 Log: Add basic WOL support for MCP ethernet controllers

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 11:56:43AM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 11:19, Pyun YongHyeon pyu...@gmail.com wrote: On Thu, Nov 11, 2010 at 07:34:09PM +0100, Joel Dahl wrote: On 11-11-2010 18:08, Pyun YongHyeon wrote: Author: yongari Date: Thu Nov 11 18:08:50 2010 New

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 01:34:34PM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 13:18, Pyun YongHyeon pyu...@gmail.com wrote: Yes, but I think this has nothing to do with the subject. I think MCP controllers have a silicon bug that does not generate TX completion interrupts under

Re: svn commit: r215132 - head/sys/dev/nfe

2010-11-11 Thread Pyun YongHyeon
On Thu, Nov 11, 2010 at 02:52:41PM -0800, Rob Farmer wrote: On Thu, Nov 11, 2010 at 13:48, Pyun YongHyeon pyu...@gmail.com wrote: I believe you're the first one that reported real issue. Could you give me more details about bogus traffic? I don't know what PHY I don't know how to get more

svn commit: r214992 - head/sys/dev/re

2010-11-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 8 19:15:31 2010 New Revision: 214992 URL: http://svn.freebsd.org/changeset/base/214992 Log: Reduce spin wait time consumed in GMII register access routine. There were a couple of attempts in the past to reduce it since it took more than 1ms. Because mii_tick()

svn commit: r215017 - in head/sys: dev/re pci

2010-11-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 8 21:50:50 2010 New Revision: 215017 URL: http://svn.freebsd.org/changeset/base/215017 Log: Follow the lead of vendor's interrupt moderation mechanism. It seems RTL8169/RTL8168/RTL810xE has a kind of interrupt moderation mechanism but it is not documented at

svn commit: r215018 - head/sys/pci

2010-11-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 8 22:03:40 2010 New Revision: 215018 URL: http://svn.freebsd.org/changeset/base/215018 Log: Consistently use tab character instead of using space character. No functional changes. Modified: head/sys/pci/if_rlreg.h Modified: head/sys/pci/if_rlreg.h

svn commit: r215020 - head/sys/pci

2010-11-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 8 22:10:51 2010 New Revision: 215020 URL: http://svn.freebsd.org/changeset/base/215020 Log: Remove standard PCI configuration space register definitions. Modified: head/sys/pci/if_rlreg.h Modified: head/sys/pci/if_rlreg.h

svn commit: r215025 - head/sys/dev/re

2010-11-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 9 01:52:09 2010 New Revision: 215025 URL: http://svn.freebsd.org/changeset/base/215025 Log: Only moderate TX completion interrupts. Relying on taskqueue to suppress RX interrupts seems to give better RX performance than RX interrupt moderation. Modified:

svn commit: r214968 - head/share/man/man4

2010-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 8 01:15:42 2010 New Revision: 214968 URL: http://svn.freebsd.org/changeset/base/214968 Log: Use shorten model name instead of showing all controller model numbers. bge(4) supports too many models such that it's unreasonable to list all these controllers in one

svn commit: r214898 - head/sys/dev/sk

2010-11-06 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 6 21:54:32 2010 New Revision: 214898 URL: http://svn.freebsd.org/changeset/base/214898 Log: If we got an invalid station address, generate random address. This might be caused by broken BIOS. Reported by: Mikhail T. mi+thun aldan.algebra.com MFC after:

svn commit: r214899 - head/sys/dev/sk

2010-11-06 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 6 22:07:22 2010 New Revision: 214899 URL: http://svn.freebsd.org/changeset/base/214899 Log: Fix a long standing bug in programming station address for Yukon controllers. sk(4) never reprogrammed station address for Yukon controllers so overriding station

svn commit: r214840 - head/sys/dev/re

2010-11-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 5 18:19:54 2010 New Revision: 214840 URL: http://svn.freebsd.org/changeset/base/214840 Log: Enable 64bit DMA addressing for RTL810xE/RTL8168/RTL8111 PCIe controllers. Some old PCI controllers may work with DAC but it was known to be buggy so 64bit DMA

svn commit: r214841 - head/sys/dev/re

2010-11-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 5 18:23:43 2010 New Revision: 214841 URL: http://svn.freebsd.org/changeset/base/214841 Log: Remove extra white spaces. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c

svn commit: r214842 - head/sys/dev/re

2010-11-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 5 18:24:50 2010 New Revision: 214842 URL: http://svn.freebsd.org/changeset/base/214842 Log: style(9). Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c == ---

svn commit: r214844 - in head/sys: dev/re pci

2010-11-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 5 19:28:00 2010 New Revision: 214844 URL: http://svn.freebsd.org/changeset/base/214844 Log: Add simple MAC statistics counter reading support. Unfortunately useful counters like rl_missed_pkts is 16 bits quantity which is too small to hold meaningful

svn commit: r214542 - head/sys/dev/alc

2010-10-29 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 30 01:12:54 2010 New Revision: 214542 URL: http://svn.freebsd.org/changeset/base/214542 Log: Don't bother to enable ASPM L1 to save more power. Even though I am not able to trigger the issue with sample boards, some users seems to suffer from freeze/lockup when

svn commit: r214432 - head/share/man/man4

2010-10-27 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 27 19:01:09 2010 New Revision: 214432 URL: http://svn.freebsd.org/changeset/base/214432 Log: Use shorten model name and add RTL8168, RTL8111 to the list of supported device. re(4) had been supported all variants of RTL8168, RTL8111 and RTL810x. I think this

svn commit: r214292 - head/sys/dev/bge

2010-10-24 Thread Pyun YongHyeon
Author: yongari Date: Sun Oct 24 20:54:46 2010 New Revision: 214292 URL: http://svn.freebsd.org/changeset/base/214292 Log: Use bge_chipid to compare controller ids. r214251 incorrectly used bge_chiprev. Reported by: Buganini buganini gmail dot com Modified:

svn commit: r214251 - head/sys/dev/bge

2010-10-23 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 23 21:25:50 2010 New Revision: 214251 URL: http://svn.freebsd.org/changeset/base/214251 Log: Apply the same workaround for SDI flow control used on BCM5906 A1 to BCM6906 A0/A2. This should fix a long standing BCM5906 A2 lockup issues. Data sheet explicitly

svn commit: r214216 - head/sys/dev/bge

2010-10-22 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 22 18:31:44 2010 New Revision: 214216 URL: http://svn.freebsd.org/changeset/base/214216 Log: Enable TX MAC state machine lockup fix for both BCM5755 or higher and BCM5906. Publicly available data sheet just says it may happen due to corrupted TxMbuf. Modified:

svn commit: r214219 - head/sys/dev/bge

2010-10-22 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 22 19:30:56 2010 New Revision: 214219 URL: http://svn.freebsd.org/changeset/base/214219 Log: Add workaround for BCM5906 A1 controller silicon bug. When auto-negotiation results in half-duplex operation, excess collision on the ethernet link may cause internal

svn commit: r214087 - head/sys/dev/bge

2010-10-19 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 19 23:04:23 2010 New Revision: 214087 URL: http://svn.freebsd.org/changeset/base/214087 Log: Add workaround for BCM5906 controller silicon bug. If device receive two back-to-back send BDs with less than or equal to 8 total bytes then the device may hang. The

svn commit: r214089 - head/sys/dev/sis

2010-10-19 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 20 00:19:25 2010 New Revision: 214089 URL: http://svn.freebsd.org/changeset/base/214089 Log: Correct handling of shared interrupt in sis_intr(). r212116 incorrectly released a drver lock for shared interrupt case such that it caused panic. While I'm here check

svn commit: r213841 - head/sys/dev/dc

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 17:22:38 2010 New Revision: 213841 URL: http://svn.freebsd.org/changeset/base/213841 Log: It seems some multi-port dc(4) controllers shares SROM of the first port such that reading station address from second port always returned

svn commit: r213842 - head/sys/dev/alc

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 17:57:52 2010 New Revision: 213842 URL: http://svn.freebsd.org/changeset/base/213842 Log: Backout r204230. TX mbuf parser for VLAN is still required to enable TX checksum offloading if VLAN hardware tagging is disabled. Modified: head/sys/dev/alc/if_alc.c

svn commit: r213844 - in head/sys/dev: age alc ale bce bge fxp jme sge

2010-10-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 14 18:31:40 2010 New Revision: 213844 URL: http://svn.freebsd.org/changeset/base/213844 Log: Make sure to not use stale ip/tcp header pointers. The ip/tcp header parser uses m_pullup(9) to get access to mbuf chain. m_pullup(9) can allocate new mbuf chain and

svn commit: r213796 - head/sys/pci

2010-10-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 13 17:55:19 2010 New Revision: 213796 URL: http://svn.freebsd.org/changeset/base/213796 Log: Rewrite interrupt handler to give fairness for both RX and TX. Previously rl(4) continuously checked whether there are RX events or TX completions in forever loop. This

<    1   2   3   4   5   6   >