svn commit: r227319 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:17:44 2011 New Revision: 227319 URL: http://svn.freebsd.org/changeset/base/227319 Log: Mini ring is not available on Tigon 1 so do not create DMA maps for mini ring on Tigon 1 to save resources. Modified: head/sys/dev/ti/if_ti.c Modified:

svn commit: r227322 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:47:25 2011 New Revision: 227322 URL: http://svn.freebsd.org/changeset/base/227322 Log: Show RX buffer allocation failure and do not blindly send alive message to firmware. Probably the correct way for this error is to send a TI_CMD_CODE_STACK_DOWN message

svn commit: r227323 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:53:06 2011 New Revision: 227323 URL: http://svn.freebsd.org/changeset/base/227323 Log: If ti_chipinit() fails in ti_stop(), ignore the error and release all allocated TX/RX buffer resources. If the interface is brought to up again after the error, we will

svn commit: r227324 - head/sys/dev/ti

2011-11-07 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 7 22:58:49 2011 New Revision: 227324 URL: http://svn.freebsd.org/changeset/base/227324 Log: Do not allow changing MTU to be less than the minimum. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c

svn commit: r227086 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 17:07:53 2011 New Revision: 227086 URL: http://svn.freebsd.org/changeset/base/227086 Log: Use ANSI function definations. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c

svn commit: r227087 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 18:28:10 2011 New Revision: 227087 URL: http://svn.freebsd.org/changeset/base/227087 Log: style. No functional changes. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c

svn commit: r227088 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 18:39:39 2011 New Revision: 227088 URL: http://svn.freebsd.org/changeset/base/227088 Log: Make ti(4) build with 'options TI_PRIVATE_JUMBOS'. This was broken in r175872. We have a UMA backed jumbo allocator and that is much better implementation than

svn commit: r227089 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 19:12:07 2011 New Revision: 227089 URL: http://svn.freebsd.org/changeset/base/227089 Log: s/u_intXX_t/uintXX_t/g Modified: head/sys/dev/ti/if_ti.c head/sys/dev/ti/if_tireg.h Modified: head/sys/dev/ti/if_ti.c

svn commit: r227092 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 20:43:37 2011 New Revision: 227092 URL: http://svn.freebsd.org/changeset/base/227092 Log: Announce IFCAP_LINKSTATE capability and let network stack know link state changes. Hide superfluous link up/down message under bootverbose since

svn commit: r227094 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 21:42:13 2011 New Revision: 227094 URL: http://svn.freebsd.org/changeset/base/227094 Log: Don't clear upper 4bits from VLAN tag information. It's responsibility of vlan(4) to extract VLAN id from the tag information and vlan(4) correctly handles it.

svn commit: r227095 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 22:53:52 2011 New Revision: 227095 URL: http://svn.freebsd.org/changeset/base/227095 Log: Don't abuse if_hwassist and make sure enabling corresponding TX/RX checksum offloading and VLAN hardware tag insertion/stripping from the currently enabled hardware

svn commit: r227098 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 23:09:57 2011 New Revision: 227098 URL: http://svn.freebsd.org/changeset/base/227098 Log: Because ti(4) drops a driver lock in RX handler, check whether driver is still running before re-enabling interrupts. Modified: head/sys/dev/ti/if_ti.c Modified:

svn commit: r227099 - head/sys/dev/ti

2011-11-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 4 23:34:54 2011 New Revision: 227099 URL: http://svn.freebsd.org/changeset/base/227099 Log: Implement altq(4) support. While I'm here fix a logic error in r227098 where it didn't re-enable interrupts when TX queue is empty. Modified: head/sys/dev/ti/if_ti.c

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 27 20:54:53 2011 New Revision: 226864 URL: http://svn.freebsd.org/changeset/base/226864 Log: Rename BGE_FW_DRV_ALIVE/BGE_FW_PAUSE to BGE_FW_CMD_DRV_ALIVE/BGE_FW_CMD_PAUSE. Also add more firmware commands(not used yet). No functional changes. Modified:

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 27 21:27:37 2011 New Revision: 226866 URL: http://svn.freebsd.org/changeset/base/226866 Log: Rename hard-coded value 1 14 with BGE_RX_CPU_DRV_EVENT. This bit(SW event 7 in publicly available data sheet) is used to make RX CPU handle a firmware command and the

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 27 22:10:52 2011 New Revision: 226867 URL: http://svn.freebsd.org/changeset/base/226867 Log: Define BGE_FW_HB_TIMEOUT_SEC and remove one more magic value. bge(4) sends BGE_FW_CMD_DRV_ALIVE command to firmware every 2 seconds. BGE_FW_CMD_DRV_ALIVE command

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 28 00:40:19 2011 New Revision: 226870 URL: http://svn.freebsd.org/changeset/base/226870 Log: Recognize BCM5720C PHY. Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/brgphy.c

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 28 01:04:40 2011 New Revision: 226871 URL: http://svn.freebsd.org/changeset/base/226871 Log: Add initial BCM5720 support. Many thanks to Broadcom for continuing support of FreeBSD. Submitted by: Geans Pin at Broadcom (initial version) H/W donated by:

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

2011-10-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 28 01:10:59 2011 New Revision: 226872 URL: http://svn.freebsd.org/changeset/base/226872 Log: Disable updating InputDiscards counter for BCM5717, BCM5718, BCM5719 A0 and BCM5720 A0 and add comment why driver does not try to read it. Modified:

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 18:05:46 2011 New Revision: 226804 URL: http://svn.freebsd.org/changeset/base/226804 Log: Make CPMU handle GPHY power down control on controllers that have CPMU capability. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 18:19:50 2011 New Revision: 226805 URL: http://svn.freebsd.org/changeset/base/226805 Log: It is known that all Broadcom controllers have 4GB boundary DMA bug. Apply workaround to all controllers. Modified: head/sys/dev/bge/if_bge.c Modified:

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 18:27:01 2011 New Revision: 226806 URL: http://svn.freebsd.org/changeset/base/226806 Log: Broadcom says BCM5755 or higher and BCM5906 have short DMA bug. Apply workaround to these controllers. Modified: head/sys/dev/bge/if_bge.c Modified:

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 21:11:40 2011 New Revision: 226815 URL: http://svn.freebsd.org/changeset/base/226815 Log: Define MAC address mail box and use it instead of using hard-coded value. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified:

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 23:22:32 2011 New Revision: 226820 URL: http://svn.freebsd.org/changeset/base/226820 Log: Offset 0x6810 is RX-RISC event register. Rename BGE_CPU_EVENT with BGE_RX_CPU_EVENT for readability. Additionally define BGE_TX_CPU_EVENT for TX-RSIC event

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

2011-10-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 23:52:02 2011 New Revision: 226821 URL: http://svn.freebsd.org/changeset/base/226821 Log: SRAM offset 0x0C04 is used by driver to inform the IPMI/ASF firmware about the various driver events like load, unload, reset, suspend, restart, and ioctl operations.

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 18:36:18 2011 New Revision: 226743 URL: http://svn.freebsd.org/changeset/base/226743 Log: Implement TX/RX checksum offloading support for ASIX AX88772B controller. AX88772B data sheet does not show detailed information about checksum offloading related

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 19:04:56 2011 New Revision: 226744 URL: http://svn.freebsd.org/changeset/base/226744 Log: AX88178/AX88772A/AX88772B supports VLAN over-sized frame. Xr vlan. Modified: head/share/man/man4/axe.4 Modified: head/share/man/man4/axe.4

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 19:10:10 2011 New Revision: 226745 URL: http://svn.freebsd.org/changeset/base/226745 Log: axe(4) got VLAN over-sized frame support. Add axe(4) to the list of interfaces that support VLAN over-sized frame. Modified: head/share/man/man4/vlan.4 Modified:

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 25 20:45:14 2011 New Revision: 226749 URL: http://svn.freebsd.org/changeset/base/226749 Log: Whitespace nits. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

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

2011-10-25 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 26 01:03:53 2011 New Revision: 226770 URL: http://svn.freebsd.org/changeset/base/226770 Log: Fix long standing bge_sysctl_debug_info() issues. o Protect bge(4) status block access and register dump with driver lock. o Add missing bus_dmamap_sync() before

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 17:05:59 2011 New Revision: 226695 URL: http://svn.freebsd.org/changeset/base/226695 Log: Fix a regression introduced in r218832. For TX status check, driver should use a TX list DMA tag. MFC after:3 days Modified: head/sys/dev/dc/if_dc.c

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 17:09:22 2011 New Revision: 226696 URL: http://svn.freebsd.org/changeset/base/226696 Log: Add missing bus_dmamap_sync() in setup frame transmit. MFC after:3 days Modified: head/sys/dev/dc/if_dc.c Modified: head/sys/dev/dc/if_dc.c

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:26:37 2011 New Revision: 226699 URL: http://svn.freebsd.org/changeset/base/226699 Log: When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:48:02 2011 New Revision: 226701 URL: http://svn.freebsd.org/changeset/base/226701 Log: Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet controller which is found on ULi M1563 South Bridge M1689 Bridge. These controllers look like a tulip

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 20:57:50 2011 New Revision: 226703 URL: http://svn.freebsd.org/changeset/base/226703 Log: Add ALi/ULi M5261/M5263 to supported hardware chipets. Modified: head/share/man/man4/dc.4 Modified: head/share/man/man4/dc.4

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 21:01:20 2011 New Revision: 226704 URL: http://svn.freebsd.org/changeset/base/226704 Log: All dc(4) controllers support VLAN over-sized frame. Xr vlan Modified: head/share/man/man4/dc.4 Modified: head/share/man/man4/dc.4

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

2011-10-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 24 23:38:11 2011 New Revision: 226709 URL: http://svn.freebsd.org/changeset/base/226709 Log: This change makes it possible to define driver specific attach handler such that driver can announce interface capabilities and can do its own MII attach. Currently

svn commit: r226478 - in head/sys: dev/age dev/alc dev/ale dev/lge dev/msk dev/nfe dev/nge dev/nve dev/re dev/sge dev/sis dev/vge dev/vr dev/vte mips/atheros mips/idt pci

2011-10-17 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 17 19:49:00 2011 New Revision: 226478 URL: http://svn.freebsd.org/changeset/base/226478 Log: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied

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

2011-10-17 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 17 19:51:38 2011 New Revision: 226479 URL: http://svn.freebsd.org/changeset/base/226479 Log: Close a race where SIOCGIFMEDIA ioctl get inconsistent link status. Because driver is accessing a common MII structure in mii_pollstat(), updating user supplied

svn commit: r226480 - head/sys/dev/et

2011-10-17 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 17 19:58:34 2011 New Revision: 226480 URL: http://svn.freebsd.org/changeset/base/226480 Log: Add missing driver lock in media status handler. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c

svn commit: r226123 - head/sys/dev/bce

2011-10-07 Thread Pyun YongHyeon
Author: yongari Date: Sat Oct 8 00:00:54 2011 New Revision: 226123 URL: http://svn.freebsd.org/changeset/base/226123 Log: BCE_MISC_ID register of BCM5716 returns the same id of BCM5709 so remove explicit checks for BCM5716. The BCM5709 and BCM5716 chips are virtually indistinguishable by

svn commit: r225440 - head/sys/dev/vge

2011-09-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Sep 7 16:57:43 2011 New Revision: 225440 URL: http://svn.freebsd.org/changeset/base/225440 Log: vge(4) hardwares poll media status and generates an interrupt whenever the link state is changed. Using software based polling for media status tracking is known to

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

2011-08-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 20:33:05 2011 New Revision: 225088 URL: http://svn.freebsd.org/changeset/base/225088 Log: Disable PHY hibernation until I get more detailed hibernation programming secret. The PHY would go into sleep state when it detects no established link and it will

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

2011-07-29 Thread Pyun YongHyeon
Author: yongari Date: Sat Jul 30 01:06:12 2011 New Revision: 224506 URL: http://svn.freebsd.org/changeset/base/224506 Log: Add new device id of D-Link DGE-530T Rev. C controller. DGE-503T Rev A1 and B1 is supported by sk(4) but the DGE-530T Rev. C controller is re-branded RealTek 8169

svn commit: r224157 - head/sys/dev/gem

2011-07-17 Thread Pyun YongHyeon
Author: yongari Date: Sun Jul 17 21:54:51 2011 New Revision: 224157 URL: http://svn.freebsd.org/changeset/base/224157 Log: Revert r222135 by allowing controller reinitialization. Due to unknown reason Apple UniNorth2 gem(4) device required manual interface down/up operation after r222135.

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

2011-07-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 14 17:34:59 2011 New Revision: 224023 URL: http://svn.freebsd.org/changeset/base/224023 Log: Document AX88772B and AX88760. AX88760 is treated as AX88772A in driver. Mention all ASIX USB controllers that are supported by axe(4). Reword media types and

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

2011-06-29 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 29 17:32:52 2011 New Revision: 223683 URL: http://svn.freebsd.org/changeset/base/223683 Log: Document two known hardware errata which requires manual link configuration. Submitted by: Aries Lee (arieslee jmicron com) Modified: head/share/man/man4/jme.4

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

2011-06-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 27 21:27:12 2011 New Revision: 223608 URL: http://svn.freebsd.org/changeset/base/223608 Log: Disable microcode loading for 82550 and 82550C controllers. Loading the microcode caused SCB timeouts. Linux driver does not allow microcode loading for these

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

2011-06-27 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 27 21:37:38 2011 New Revision: 223610 URL: http://svn.freebsd.org/changeset/base/223610 Log: Enable CPUSaver D102 E-step microcode loading for 82551 revision 0x10. Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c

svn commit: r223405 - head/sys/dev/vr

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 02:18:45 2011 New Revision: 223405 URL: http://svn.freebsd.org/changeset/base/223405 Log: Remove link state change callback handler. There is no need to register both status change and link state change callbacks. Implement checking valid link in state

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

2011-06-01 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 1 18:42:44 2011 New Revision: 222581 URL: http://svn.freebsd.org/changeset/base/222581 Log: Poke correct GPIO pins for newer axe(4) controllers with Marvell PHY. Newer models seem to use different LED mode that requires enabling both GPIO1 and GPIO2.

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

2011-05-31 Thread Pyun YongHyeon
Author: yongari Date: Tue May 31 18:45:15 2011 New Revision: 222542 URL: http://svn.freebsd.org/changeset/base/222542 Log: If driver is not running, disable interrupts and do not try to process received frames. Previously it was possible to handle RX interrupts even if controller is not

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

2011-05-30 Thread Pyun YongHyeon
Author: yongari Date: Tue May 31 01:30:58 2011 New Revision: 222516 URL: http://svn.freebsd.org/changeset/base/222516 Log: Correctly check MAC running status before disabling TX/RX MACs. Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c

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

2011-05-24 Thread Pyun YongHyeon
Author: yongari Date: Tue May 24 20:39:07 2011 New Revision: 69 URL: http://svn.freebsd.org/changeset/base/69 Log: style(9) Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c == ---

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 19:58:08 2011 New Revision: 19 URL: http://svn.freebsd.org/changeset/base/19 Log: Do not blindly clear entire GPHY control register. It seems some bits of the register is used for other purposes such that clearing these bits resulted in unexpected

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 20:09:32 2011 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: Rework store and forward configuration of TX MAC FIFO. Basically it enables store and forward mode except for jumbo frame on Yukon Ultra. Modified:

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 20:18:09 2011 New Revision: 23 URL: http://svn.freebsd.org/changeset/base/23 Log: Do not configure RAM registers for controllers that do not have them. These registers are defined only for Yukon XL, Yukon EC and Yukon FE. Modified:

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:00:56 2011 New Revision: 26 URL: http://svn.freebsd.org/changeset/base/26 Log: Make sure to enable all clocks before accessing registers. Releasing PHY from power down/COMA is done after enabling all clocks. While I'm here remove unnecessary

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:11:46 2011 New Revision: 27 URL: http://svn.freebsd.org/changeset/base/27 Log: Do not touch ASF related register for controllers that do not have these registers. Also disable Watchdog of ASF microcontroller. Modified: head/sys/dev/msk/if_msk.c

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:56:04 2011 New Revision: 31 URL: http://svn.freebsd.org/changeset/base/31 Log: When MTU is changed, check whether driver should be reinitialized or not. If reinitialized is required, clear driver running flag. Modified: head/sys/dev/msk/if_msk.c

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

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 22:02:15 2011 New Revision: 32 URL: http://svn.freebsd.org/changeset/base/32 Log: Add 88E8075 Yukon Supreme to the list of supported hardware list. Modified: head/share/man/man4/msk.4 Modified: head/share/man/man4/msk.4

svn commit: r222135 - head/sys/dev/gem

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 17:01:22 2011 New Revision: 222135 URL: http://svn.freebsd.org/changeset/base/222135 Log: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialized controller and it

svn commit: r222142 - head/sys/dev/vge

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 18:27:13 2011 New Revision: 222142 URL: http://svn.freebsd.org/changeset/base/222142 Log: Datasheet says vge(4) controllers support DAC but it seems that's not true on old PCI based controllers. DAC configuration is read from EEPROM in device reset phase

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

2011-05-15 Thread Pyun YongHyeon
Author: yongari Date: Sun May 15 21:44:51 2011 New Revision: 221974 URL: http://svn.freebsd.org/changeset/base/221974 Log: Correctly disable jumbo frame support for BCM5719 A0. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2011-05-12 Thread Pyun YongHyeon
Author: yongari Date: Thu May 12 17:11:31 2011 New Revision: 221817 URL: http://svn.freebsd.org/changeset/base/221817 Log: Explicitly clear 1000baseT control register for F1 PHY used in AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. Previously only link

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

2011-05-09 Thread Pyun YongHyeon
Author: yongari Date: Mon May 9 20:10:46 2011 New Revision: 221712 URL: http://svn.freebsd.org/changeset/base/221712 Log: Since r117657, bge(4) does not enable buffer manager for BCM5705 or newer controllers. However, all data sheet I have access has no indication that buffer manager

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

2011-05-09 Thread Pyun YongHyeon
Author: yongari Date: Mon May 9 20:20:43 2011 New Revision: 221713 URL: http://svn.freebsd.org/changeset/base/221713 Log: Recognize BCM5719C PHY. Submitted by: Geans Pin at Broadcom Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/brgphy.c

svn commit: r221548 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:37:07 2011 New Revision: 221548 URL: http://svn.freebsd.org/changeset/base/221548 Log: Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it has nothing to do with collision.

svn commit: r221552 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:46:29 2011 New Revision: 221552 URL: http://svn.freebsd.org/changeset/base/221552 Log: Fix white space nits and style Modified: head/sys/net/if_tun.c Modified: head/sys/net/if_tun.c

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:16:43 2011 New Revision: 221557 URL: http://svn.freebsd.org/changeset/base/221557 Log: Remove unnecessary htole32/le32toh dance. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:45:13 2011 New Revision: 221561 URL: http://svn.freebsd.org/changeset/base/221561 Log: Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. Modified:

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:55:53 2011 New Revision: 221563 URL: http://svn.freebsd.org/changeset/base/221563 Log: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop.

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:01:29 2011 New Revision: 221564 URL: http://svn.freebsd.org/changeset/base/221564 Log: Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:49:10 2011 New Revision: 221565 URL: http://svn.freebsd.org/changeset/base/221565 Log: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:06:02 2011 New Revision: 221566 URL: http://svn.freebsd.org/changeset/base/221566 Log: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 04:40:44 2011 New Revision: 221579 URL: http://svn.freebsd.org/changeset/base/221579 Log: Fix build. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c == ---

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

2011-05-04 Thread Pyun YongHyeon
Author: yongari Date: Wed May 4 17:04:31 2011 New Revision: 221445 URL: http://svn.freebsd.org/changeset/base/221445 Log: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive return ring is 4. The

svn commit: r220603 - in head/sys: dev/bxe modules/bxe

2011-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 13 16:35:43 2011 New Revision: 220603 URL: http://svn.freebsd.org/changeset/base/220603 Log: Remove mii(4) dependency and unneeded headers. Reviewed by: davidch Modified: head/sys/dev/bxe/if_bxe.h head/sys/modules/bxe/Makefile Modified:

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

2011-04-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Apr 5 17:41:54 2011 New Revision: 220368 URL: http://svn.freebsd.org/changeset/base/220368 Log: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers have one send ring,

svn commit: r220249 - head/sys/dev/age

2011-04-01 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 16:45:26 2011 New Revision: 220249 URL: http://svn.freebsd.org/changeset/base/220249 Log: 64bit DMA caused data corruption. Unfortunately there is no known workaround to use 64bit DMA. Disable 64bit DMA on Attansic L1 controller. Tested by:Yamagi

svn commit: r220252 - head/sys/dev/age

2011-04-01 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 18:53:41 2011 New Revision: 220252 URL: http://svn.freebsd.org/changeset/base/220252 Log: Partially revert r184106. RX buffer ring also needs bus_dmamap_sync(). Tested by:Yamagi Burmeister (lists yamagi dot org) MFC after:1 week Modified:

svn commit: r220234 - head/sys/dev/bxe

2011-03-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 01:30:21 2011 New Revision: 220234 URL: http://svn.freebsd.org/changeset/base/220234 Log: Make bxe(4) build with BXE_DEBUG. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c

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

2011-03-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 16:58:48 2011 New Revision: 220103 URL: http://svn.freebsd.org/changeset/base/220103 Log: Normally fxp(4) does not receive bad frames but promiscuous mode makes controller to receive bad frames and i82557 will also receive bad frames since fxp(4) have to

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

2011-03-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 19:08:53 2011 New Revision: 220106 URL: http://svn.freebsd.org/changeset/base/220106 Log: Revise r220046 by introducing dc_netcfg_wait() which waits the end of active DMA cycle. dc_setcfg() also has to wait until the DMA engine is stopped so using a common

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

2011-03-19 Thread Pyun YongHyeon
Author: yongari Date: Sat Mar 19 22:36:59 2011 New Revision: 219787 URL: http://svn.freebsd.org/changeset/base/219787 Log: Correct broadcast frame handling. Setting bit6 of MCR0 register enables broadcast filtering. Make sure to clear the bit to receive broadcast frames. While I'm here

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

2011-03-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 16 17:09:51 2011 New Revision: 219701 URL: http://svn.freebsd.org/changeset/base/219701 Log: Remove too expensive bus_dmamap_sync(9) call in dc_rx_resync(). With this change, driver may not notice updated descriptor status change when bounce buffers are active.

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

2011-02-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 28 20:37:48 2011 New Revision: 219102 URL: http://svn.freebsd.org/changeset/base/219102 Log: Make sure changing ownership of RX descriptor to be done as last operation. Previously ownership was transferred to hardware before setting address of new RX buffer

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

2011-02-22 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 23 02:40:31 2011 New Revision: 218964 URL: http://svn.freebsd.org/changeset/base/218964 Log: Remove unnecessary controller reinitialization which resulted in link flips during alias address insertion or dhclient operation. While I'm here remove dc_reset() in

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 20:38:05 2011 New Revision: 218820 URL: http://svn.freebsd.org/changeset/base/218820 Log: For controllers that have TX interrupt moderation capability, request TX completion interrupt for every 8-th frames. Previously dc(4) requested TX completion interrupt

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 22:58:46 2011 New Revision: 218826 URL: http://svn.freebsd.org/changeset/base/218826 Log: Make sure to clear status word of TX descriptor in dc_list_tx_init(). Do not update if_opackets if the transmission had failed. Modified: head/sys/dev/dc/if_dc.c

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 23:08:05 2011 New Revision: 218827 URL: http://svn.freebsd.org/changeset/base/218827 Log: There is no need to execute filter configuration when driver is not running. Remove wrong driver state change in dc_setfilt_xircom(). While I'm here nuke unnecessary

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 23:18:08 2011 New Revision: 218828 URL: http://svn.freebsd.org/changeset/base/218828 Log: Fix a long standing bug where driver handed over RX descriptor ownership to controller before completion of access to the descriptor. Driver is faking up status word so

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 00:00:32 2011 New Revision: 218830 URL: http://svn.freebsd.org/changeset/base/218830 Log: Send frames only when there is a valid link and driver is running as well as controller has enough free TX descriptors. Remove check for number of queued frames before

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 01:37:28 2011 New Revision: 218831 URL: http://svn.freebsd.org/changeset/base/218831 Log: Rearrange interrupt handler a bit and remove forever loop. Previously dc(4) always checked whether there is pending interrupts and this consumed a lot of CPU cycles in

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 02:47:10 2011 New Revision: 218832 URL: http://svn.freebsd.org/changeset/base/218832 Log: Split common TX/RX descriptor DMA tag to TX and RX DMA tags respectively and fix all bus_dma(9) issues seen when bounce buffers are used. o Setup frame handling had

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 03:01:24 2011 New Revision: 218833 URL: http://svn.freebsd.org/changeset/base/218833 Log: Count how many frames driver lost in interrupt handler. This register is cleared on read so make sure to clear it in driver initialization phase. Modified:

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 03:23:19 2011 New Revision: 218834 URL: http://svn.freebsd.org/changeset/base/218834 Log: Consistently use a tab character instead of space after #define. No functional changes. Modified: head/sys/dev/dc/if_dc.c head/sys/dev/dc/if_dcreg.h Modified:

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Sat Feb 19 03:32:10 2011 New Revision: 218835 URL: http://svn.freebsd.org/changeset/base/218835 Log: s/u_intXX_t/uintXX_t/g Modified: head/sys/dev/dc/if_dc.c head/sys/dev/dc/if_dcreg.h Modified: head/sys/dev/dc/if_dc.c

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 01:56:25 2011 New Revision: 218786 URL: http://svn.freebsd.org/changeset/base/218786 Log: Always check memory allocation failure. If driver encounter memory allocation error, do not attach driver. Reviewed by: marius Modified: head/sys/dev/dc/if_dc.c

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 02:14:53 2011 New Revision: 218787 URL: http://svn.freebsd.org/changeset/base/218787 Log: When driver have to use base softc due to lack of SROM on second port, copy SROM information from base softc as well and run SROM parser again. This change is

<    1   2   3   4   5   6   >