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

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

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

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

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

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

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

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

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

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

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

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)

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)

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

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

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

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

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

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

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/

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

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

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

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

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

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

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

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

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

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

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)

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)

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

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

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.

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.

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

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.

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.

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:01:46 2011 New Revision: 221555 URL: http://svn.freebsd.org/changeset/base/221555 Log: Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well as enhancing

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:36:43 2011 New Revision: 221560 URL: http://svn.freebsd.org/changeset/base/221560 Log: Call bus_dmamap_sync() only after TX DPD update. 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: 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:

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: 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: r221468 - in head/sys/dev: bge mii

2011-05-04 Thread Pyun YongHyeon
Author: yongari Date: Thu May 5 00:43:40 2011 New Revision: 221468 URL: http://svn.freebsd.org/changeset/base/221468 Log: Enable Ethernet@WireSpeed for BCM5718/BCM57765 family. While I'm here inverse meaning of PHY flag as Ethernet@WireSpeed is enabled for most PHYs. Modified:

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

2011-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 2 22:49:43 2011 New Revision: 221351 URL: http://svn.freebsd.org/changeset/base/221351 Log: MFC r220368: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers

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

2011-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 2 22:52:22 2011 New Revision: 221352 URL: http://svn.freebsd.org/changeset/base/221352 Log: MFC r220368: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers

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: r220457 - stable/8/sys/dev/age

2011-04-08 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 8 19:06:01 2011 New Revision: 220457 URL: http://svn.freebsd.org/changeset/base/220457 Log: MFC r220249,220252: r220249: 64bit DMA caused data corruption. Unfortunately there is no known workaround to use 64bit DMA. Disable 64bit DMA on Attansic L1

svn commit: r220458 - stable/7/sys/dev/age

2011-04-08 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 8 19:08:48 2011 New Revision: 220458 URL: http://svn.freebsd.org/changeset/base/220458 Log: MFC r220249,220252: r220249: 64bit DMA caused data corruption. Unfortunately there is no known workaround to use 64bit DMA. Disable 64bit DMA on Attansic L1

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: r220342 - stable/8/sys/dev/fxp

2011-04-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 4 20:40:39 2011 New Revision: 220342 URL: http://svn.freebsd.org/changeset/base/220342 Log: MFC r220103: Normally fxp(4) does not receive bad frames but promiscuous mode makes controller to receive bad frames and i82557 will also receive bad frames

svn commit: r220344 - stable/8/sys/dev/vte

2011-04-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 4 20:44:26 2011 New Revision: 220344 URL: http://svn.freebsd.org/changeset/base/220344 Log: MFC r219938: Remove unused DMA map/tag in softc. Modified: stable/8/sys/dev/vte/if_vtevar.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r220345 - stable/7/sys/dev/vte

2011-04-04 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 4 20:45:39 2011 New Revision: 220345 URL: http://svn.freebsd.org/changeset/base/220345 Log: MFC r219938: Remove unused DMA map/tag in softc. Modified: stable/7/sys/dev/vte/if_vtevar.h Directory Properties: stable/7/sys/ (props changed)

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

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