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: 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 Modified:

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

2011-10-17 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 17 20:03:38 2011 New Revision: 226481 URL: http://svn.freebsd.org/changeset/base/226481 Log: Make sure to report media change status to caller. Previously it always reported success. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c =

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: 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 structur

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 structur

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: r225595 - stable/7/sys/dev/vge

2011-09-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 15 17:22:38 2011 New Revision: 225595 URL: http://svn.freebsd.org/changeset/base/225595 Log: MFC r225440: vge(4) hardwares poll media status and generates an interrupt whenever the link state is changed. Using software based polling for media status tra

svn commit: r225594 - stable/8/sys/dev/vge

2011-09-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 15 17:20:20 2011 New Revision: 225594 URL: http://svn.freebsd.org/changeset/base/225594 Log: MFC r225440: vge(4) hardwares poll media status and generates an interrupt whenever the link state is changed. Using software based polling for media status tra

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 cau

svn commit: r225269 - stable/7/sys/dev/alc

2011-08-30 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 30 17:21:55 2011 New Revision: 225269 URL: http://svn.freebsd.org/changeset/base/225269 Log: MFC r225088: Disable PHY hibernation until I get more detailed hibernation programming secret. The PHY would go into sleep state when it detects no established

svn commit: r225268 - stable/8/sys/dev/alc

2011-08-30 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 30 17:20:34 2011 New Revision: 225268 URL: http://svn.freebsd.org/changeset/base/225268 Log: MFC r225088: Disable PHY hibernation until I get more detailed hibernation programming secret. The PHY would go into sleep state when it detects no established

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 re-e

svn commit: r224892 - in stable/7/sys: dev/re pci

2011-08-15 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 15 17:10:23 2011 New Revision: 224892 URL: http://svn.freebsd.org/changeset/base/224892 Log: MFC r224506: 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-brand

svn commit: r224891 - in stable/8/sys: dev/re pci

2011-08-15 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 15 17:08:54 2011 New Revision: 224891 URL: http://svn.freebsd.org/changeset/base/224891 Log: MFC r224506: 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-brand

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 contr

svn commit: r224402 - stable/7/sys/dev/gem

2011-07-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 25 20:13:35 2011 New Revision: 224402 URL: http://svn.freebsd.org/changeset/base/224402 Log: MFC r224157: Revert r222135 by allowing controller reinitialization. Due to unknown reason Apple UniNorth2 gem(4) device required manual interface down/up opera

svn commit: r224401 - stable/8/sys/dev/gem

2011-07-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 25 20:12:31 2011 New Revision: 224401 URL: http://svn.freebsd.org/changeset/base/224401 Log: MFC r224157: Revert r222135 by allowing controller reinitialization. Due to unknown reason Apple UniNorth2 gem(4) device required manual interface down/up opera

svn commit: r224399 - stable/8/share/man/man4

2011-07-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 25 20:09:09 2011 New Revision: 224399 URL: http://svn.freebsd.org/changeset/base/224399 Log: MFC r224023,224060: Document AX88772B and AX88760. AX88760 is treated as AX88772A in driver. Mention all ASIX USB controllers that are supported by axe(4). R

svn commit: r224398 - in stable/8/sys/dev/usb: . net

2011-07-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 25 20:06:18 2011 New Revision: 224398 URL: http://svn.freebsd.org/changeset/base/224398 Log: MFC r224020: Add initial support for AX88772B USB Fast Ethernet. AX88772B supports IPv4/IPv6 checksum offloading and VLAN tag insertion/ stripping as well as WOL

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 explicly

svn commit: r224020 - in head/sys/dev/usb: . net

2011-07-14 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 14 17:19:00 2011 New Revision: 224020 URL: http://svn.freebsd.org/changeset/base/224020 Log: Add initial support for AX88772B USB Fast Ethernet. AX88772B supports IPv4/IPv6 checksum offloading and VLAN tag insertion/ stripping as well as WOL. Because uether doe

svn commit: r223916 - stable/7/share/man/man4

2011-07-10 Thread Pyun YongHyeon
Author: yongari Date: Sun Jul 10 22:09:53 2011 New Revision: 223916 URL: http://svn.freebsd.org/changeset/base/223916 Log: MFC r223683: Document two known hardware errata which requires manual link configuration. Submitted by: Aries Lee (arieslee <> jmicron com) Modified:

svn commit: r223915 - stable/8/share/man/man4

2011-07-10 Thread Pyun YongHyeon
Author: yongari Date: Sun Jul 10 22:09:34 2011 New Revision: 223915 URL: http://svn.freebsd.org/changeset/base/223915 Log: MFC r223683: Document two known hardware errata which requires manual link configuration. Submitted by: Aries Lee (arieslee <> jmicron com) Modified:

svn commit: r223810 - stable/7/sys/dev/fxp

2011-07-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 5 23:31:40 2011 New Revision: 223810 URL: http://svn.freebsd.org/changeset/base/223810 Log: MFC r223610: Enable CPUSaver D102 E-step microcode loading for 82551 revision 0x10. Modified: stable/7/sys/dev/fxp/if_fxp.c Directory Properties: stable/7/sys/

svn commit: r223809 - stable/8/sys/dev/fxp

2011-07-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 5 23:30:14 2011 New Revision: 223809 URL: http://svn.freebsd.org/changeset/base/223809 Log: MFC r223610: Enable CPUSaver D102 E-step microcode loading for 82551 revision 0x10. Modified: stable/8/sys/dev/fxp/if_fxp.c Directory Properties: stable/8/sys/

svn commit: r223808 - stable/7/sys/dev/fxp

2011-07-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 5 23:18:28 2011 New Revision: 223808 URL: http://svn.freebsd.org/changeset/base/223808 Log: MFC r223608: Disable microcode loading for 82550 and 82550C controllers. Loading the microcode caused SCB timeouts. Linux driver does not allow microcode loading

svn commit: r223807 - stable/8/sys/dev/fxp

2011-07-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 5 23:17:27 2011 New Revision: 223807 URL: http://svn.freebsd.org/changeset/base/223807 Log: MFC r223608: Disable microcode loading for 82550 and 82550C controllers. Loading the microcode caused SCB timeouts. Linux driver does not allow microcode loading

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: r223682 - stable/7/sys/dev/vr

2011-06-29 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 29 17:20:10 2011 New Revision: 223682 URL: http://svn.freebsd.org/changeset/base/223682 Log: MFC r223405: Remove link state change callback handler. There is no need to register both status change and link state change callbacks. Implement checking vali

svn commit: r223681 - stable/8/sys/dev/vr

2011-06-29 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 29 17:18:33 2011 New Revision: 223681 URL: http://svn.freebsd.org/changeset/base/223681 Log: MFC r223405: Remove link state change callback handler. There is no need to register both status change and link state change callbacks. Implement checking vali

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: 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 controller

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 chang

svn commit: r223403 - stable/7/share/man/man4

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:57:45 2011 New Revision: 223403 URL: http://svn.freebsd.org/changeset/base/223403 Log: MFC r32: Add 88E8075 Yukon Supreme to the list of supported hardware list. Modified: stable/7/share/man/man4/msk.4 Directory Properties: stable/7/share/man/man4

svn commit: r223402 - stable/8/share/man/man4

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:57:31 2011 New Revision: 223402 URL: http://svn.freebsd.org/changeset/base/223402 Log: MFC r32: Add 88E8075 Yukon Supreme to the list of supported hardware list. Modified: stable/8/share/man/man4/msk.4 Directory Properties: stable/8/share/man/man4

svn commit: r223401 - stable/7/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:55:47 2011 New Revision: 223401 URL: http://svn.freebsd.org/changeset/base/223401 Log: MFC r69: style(9) Modified: stable/7/sys/dev/msk/if_msk.c Directory Properties: stable/7/sys/ (props changed) stable/7/sys/cddl/contrib/opensolaris/ (prop

svn commit: r223400 - stable/8/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:54:49 2011 New Revision: 223400 URL: http://svn.freebsd.org/changeset/base/223400 Log: MFC r69: style(9) Modified: stable/8/sys/dev/msk/if_msk.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props chang

svn commit: r223399 - stable/7/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:48:41 2011 New Revision: 223399 URL: http://svn.freebsd.org/changeset/base/223399 Log: MFC r30: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. Modified: stable/7/sys/dev/msk/if_msk.c stable/7/sys/dev/msk/if_mskreg.h Directory Prope

svn commit: r223398 - stable/8/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:47:23 2011 New Revision: 223398 URL: http://svn.freebsd.org/changeset/base/223398 Log: MFC r30: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. Modified: stable/8/sys/dev/msk/if_msk.c stable/8/sys/dev/msk/if_mskreg.h Directory Prope

svn commit: r223397 - stable/7/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:44:09 2011 New Revision: 223397 URL: http://svn.freebsd.org/changeset/base/223397 Log: MFC r19,21,23,26-27,31,222516: Merge all relevant changes from HEAD to fix long standing instability issues of msk(4). To get desired effect

svn commit: r223396 - stable/8/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 01:42:52 2011 New Revision: 223396 URL: http://svn.freebsd.org/changeset/base/223396 Log: MFC r19,21,23,26-27,31,222516: Merge all relevant changes from HEAD to fix long standing instability issues of msk(4). To get desired effect

svn commit: r223395 - stable/7/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:49:24 2011 New Revision: 223395 URL: http://svn.freebsd.org/changeset/base/223395 Log: MFC r205091,216860: r205091: Implement Rx checksum offloading for Yukon EC, Yukon Ultra, Yukon FE and Yukon Ultra2. These controllers provide very simple check

svn commit: r223394 - stable/8/sys/dev/msk

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:48:13 2011 New Revision: 223394 URL: http://svn.freebsd.org/changeset/base/223394 Log: MFC r205091,216860: r205091: Implement Rx checksum offloading for Yukon EC, Yukon Ultra, Yukon FE and Yukon Ultra2. These controllers provide very simple check

svn commit: r223393 - stable/7/sys/dev/nfe

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:39:36 2011 New Revision: 223393 URL: http://svn.freebsd.org/changeset/base/223393 Log: MFC r222542: 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

svn commit: r223392 - stable/8/sys/dev/nfe

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:38:25 2011 New Revision: 223392 URL: http://svn.freebsd.org/changeset/base/223392 Log: MFC r222542: 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

svn commit: r223391 - stable/8/sys/dev/usb/net

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:35:42 2011 New Revision: 223391 URL: http://svn.freebsd.org/changeset/base/223391 Log: MFC r222581: 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

svn commit: r223390 - stable/7/sys/dev/bge

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:22:26 2011 New Revision: 223390 URL: http://svn.freebsd.org/changeset/base/223390 Log: MFC r221974: Correctly disable jumbo frame support for BCM5719 A0. Modified: stable/7/sys/dev/bge/if_bge.c Directory Properties: stable/7/sys/ (props changed) s

svn commit: r223389 - stable/8/sys/dev/bge

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:21:19 2011 New Revision: 223389 URL: http://svn.freebsd.org/changeset/base/223389 Log: MFC r221974: Correctly disable jumbo frame support for BCM5719 A0. Modified: stable/8/sys/dev/bge/if_bge.c Directory Properties: stable/8/sys/ (props changed) s

svn commit: r223388 - stable/7/sys/dev/bge

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:17:48 2011 New Revision: 223388 URL: http://svn.freebsd.org/changeset/base/223388 Log: MFC r221818: Add initial BCM5719 support. TSO and jumbo frame was intentionally disabled for BCM5719 A0 revision due to known hardware errata. Many thanks to Bro

svn commit: r223387 - stable/8/sys/dev/bge

2011-06-21 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 22 00:16:40 2011 New Revision: 223387 URL: http://svn.freebsd.org/changeset/base/223387 Log: MFC r221818: Add initial BCM5719 support. TSO and jumbo frame was intentionally disabled for BCM5719 A0 revision due to known hardware errata. Many thanks to Bro

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. Teste

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 ful

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: r222388 - stable/7/sys/pci

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 21:45:21 2011 New Revision: 222388 URL: http://svn.freebsd.org/changeset/base/222388 Log: MFC r221565-221568,221579: r221565: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) se

svn commit: r222387 - stable/8/sys/dev/xl

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 21:43:35 2011 New Revision: 222387 URL: http://svn.freebsd.org/changeset/base/222387 Log: MFC r221565-221568,221579: r221565: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) se

svn commit: r222385 - stable/7/sys/pci

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 20:34:23 2011 New Revision: 222385 URL: http://svn.freebsd.org/changeset/base/222385 Log: MFC r221563-221564: r221563: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frame

svn commit: r222384 - stable/8/sys/dev/xl

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 20:33:26 2011 New Revision: 222384 URL: http://svn.freebsd.org/changeset/base/222384 Log: MFC r221563-221564: r221563: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frame

svn commit: r222383 - stable/7/sys/pci

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 20:22:19 2011 New Revision: 222383 URL: http://svn.freebsd.org/changeset/base/222383 Log: MFC r221557-221558,221560-221561,221571: r221557: Remove unnecessary htole32/le32toh dance. r221571: Remove unneeded use of variable status. r221558:

svn commit: r222382 - stable/8/sys/dev/xl

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 20:21:12 2011 New Revision: 222382 URL: http://svn.freebsd.org/changeset/base/222382 Log: MFC r221557-221558,221560-221561,221571: r221557: Remove unnecessary htole32/le32toh dance. r221571: Remove unneeded use of variable status. r221558:

svn commit: r222378 - stable/7/sys/pci

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 19:27:17 2011 New Revision: 222378 URL: http://svn.freebsd.org/changeset/base/222378 Log: MFC r221555: Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well a

svn commit: r222377 - stable/8/sys/dev/xl

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 19:26:12 2011 New Revision: 222377 URL: http://svn.freebsd.org/changeset/base/222377 Log: MFC r221555: Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well a

svn commit: r222375 - in stable/7/sys/dev: alc ale

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 19:05:01 2011 New Revision: 222375 URL: http://svn.freebsd.org/changeset/base/222375 Log: MFC r222107: Fix typo. Submitted by: brad at OpenBSD Modified: stable/7/sys/dev/alc/if_alcreg.h stable/7/sys/dev/ale/if_alereg.h Directory Properties:

svn commit: r222374 - in stable/8/sys/dev: alc ale

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 19:03:42 2011 New Revision: 222374 URL: http://svn.freebsd.org/changeset/base/222374 Log: MFC r222107: Fix typo. Submitted by: brad at OpenBSD Modified: stable/8/sys/dev/alc/if_alcreg.h stable/8/sys/dev/ale/if_alereg.h Directory Properties:

svn commit: r222372 - stable/7/sys/dev/gem

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:59:24 2011 New Revision: 222372 URL: http://svn.freebsd.org/changeset/base/222372 Log: MFC r222135: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialize

svn commit: r222371 - stable/8/sys/dev/gem

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:58:08 2011 New Revision: 222371 URL: http://svn.freebsd.org/changeset/base/222371 Log: MFC r222135: Remove unnecessary controller reinitialization by checking IFF_DRV_RUNNING flag. Previously running dhclient or adding alias addresses reinitialize

svn commit: r222370 - stable/7/sys/dev/bge

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:47:48 2011 New Revision: 222370 URL: http://svn.freebsd.org/changeset/base/222370 Log: MFC r221712: 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

svn commit: r222369 - stable/8/sys/dev/bge

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:46:24 2011 New Revision: 222369 URL: http://svn.freebsd.org/changeset/base/222369 Log: MFC r221712: 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

svn commit: r222368 - stable/7/sys/dev/vge

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:40:31 2011 New Revision: 222368 URL: http://svn.freebsd.org/changeset/base/222368 Log: MFC r222142: 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 d

svn commit: r222367 - stable/8/sys/dev/vge

2011-05-27 Thread Pyun YongHyeon
Author: yongari Date: Fri May 27 18:39:18 2011 New Revision: 222367 URL: http://svn.freebsd.org/changeset/base/222367 Log: MFC r222142: 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 d

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 == --- head/

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: 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: r222230 - head/sys/dev/msk

2011-05-23 Thread Pyun YongHyeon
Author: yongari Date: Mon May 23 21:51:47 2011 New Revision: 30 URL: http://svn.freebsd.org/changeset/base/30 Log: Add initial support for Marvell 88E8055/88E8075 Yukon Supreme. Modified: head/sys/dev/msk/if_msk.c head/sys/dev/msk/if_mskreg.h Modified: head/sys/dev/msk/if_msk.c ===

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: 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 contro

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: head/sys/dev/ms

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: head/sys/dev/msk/i

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 res

svn commit: r222155 - stable/8/sys/net

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Sat May 21 00:38:43 2011 New Revision: 222155 URL: http://svn.freebsd.org/changeset/base/222155 Log: MFC r221548,221552: r221548: Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it ha

svn commit: r222147 - in stable/7/sys/dev: bge mii

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 20:31:36 2011 New Revision: 222147 URL: http://svn.freebsd.org/changeset/base/222147 Log: MFC r221468: Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. M

svn commit: r222146 - in stable/8/sys/dev: bge mii

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 20:29:50 2011 New Revision: 222146 URL: http://svn.freebsd.org/changeset/base/222146 Log: MFC r221468: Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. M

svn commit: r222145 - stable/7/sys/dev/bge

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 20:27:25 2011 New Revision: 222145 URL: http://svn.freebsd.org/changeset/base/222145 Log: MFC r221445: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive retu

svn commit: r222144 - stable/8/sys/dev/bge

2011-05-20 Thread Pyun YongHyeon
Author: yongari Date: Fri May 20 20:26:16 2011 New Revision: 222144 URL: http://svn.freebsd.org/changeset/base/222144 Log: MFC r221445: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive retu

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 and

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 r

svn commit: r222107 - in head/sys/dev: alc ale

2011-05-19 Thread Pyun YongHyeon
Author: yongari Date: Thu May 19 23:13:08 2011 New Revision: 222107 URL: http://svn.freebsd.org/changeset/base/222107 Log: Fix typo. Submitted by: brad at OpenBSD Modified: head/sys/dev/alc/if_alcreg.h head/sys/dev/ale/if_alereg.h Modified: head/sys/dev/alc/if_alcreg.h ===

svn commit: r222099 - stable/7/sys/dev/mii

2011-05-19 Thread Pyun YongHyeon
Author: yongari Date: Thu May 19 17:20:13 2011 New Revision: 222099 URL: http://svn.freebsd.org/changeset/base/222099 Log: MFC r221817: Explicitly clear 1000baseT control register for F1 PHY used in AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. P

svn commit: r222098 - stable/8/sys/dev/mii

2011-05-19 Thread Pyun YongHyeon
Author: yongari Date: Thu May 19 17:18:13 2011 New Revision: 222098 URL: http://svn.freebsd.org/changeset/base/222098 Log: MFC r221817: Explicitly clear 1000baseT control register for F1 PHY used in AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. P

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: r221818 - head/sys/dev/bge

2011-05-12 Thread Pyun YongHyeon
Author: yongari Date: Thu May 12 17:15:57 2011 New Revision: 221818 URL: http://svn.freebsd.org/changeset/base/221818 Log: Add initial BCM5719 support. TSO and jumbo frame was intentionally disabled for BCM5719 A0 revision due to known hardware errata. Many thanks to Broadcom for continuing

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 p

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: 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 shoul

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 == --- head/sy

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 02:19:46 2011 New Revision: 221571 URL: http://svn.freebsd.org/changeset/base/221571 Log: Remove unneeded use of variable status. This should have been done in r221557. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:25:12 2011 New Revision: 221568 URL: http://svn.freebsd.org/changeset/base/221568 Log: XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. Modified: head/sys/dev/xl/if_xl.c head/sys/dev/xl/if_xlreg.h Modif

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:18:58 2011 New Revision: 221567 URL: http://svn.freebsd.org/changeset/base/221567 Log: Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. Modified: h

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 statis

<    2   3   4   5   6   7   8   9   10   11   >