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

2017-04-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 08:27:42 2017 New Revision: 316821 URL: https://svnweb.freebsd.org/changeset/base/316821 Log: Remove dead code. Modified: head/sys/dev/age/if_age.c Modified: head/sys/dev/age/if_age.c ===

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

2017-04-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 08:11:50 2017 New Revision: 316820 URL: https://svnweb.freebsd.org/changeset/base/316820 Log: Don't overwrite mapped bits. Found by: PVS-Studio Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c ==

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

2017-04-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 07:27:23 2017 New Revision: 316819 URL: https://svnweb.freebsd.org/changeset/base/316819 Log: Remove unnecessary assignment. Found by: PVS-Studio Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c

svn commit: r316808 - head/sys/dev/txp

2017-04-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 03:23:03 2017 New Revision: 316808 URL: https://svnweb.freebsd.org/changeset/base/316808 Log: Remove unnecessary check aginst NULL. txp_ext_command() with TXP_CMD_WAIT argument allocates a response buffer. If the allocation fails, txp_ext_command() returns

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

2017-04-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 02:33:26 2017 New Revision: 316806 URL: https://svnweb.freebsd.org/changeset/base/316806 Log: Remove unnecessary comparison. Found by: PVS-Studio Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c

svn commit: r316805 - head/sys/dev/ae

2017-04-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 14 02:24:02 2017 New Revision: 316805 URL: https://svnweb.freebsd.org/changeset/base/316805 Log: Fix a potentially forever loop. Found by: PVS-Studio Modified: head/sys/dev/ae/if_ae.c Modified: head/sys/dev/ae/if_ae.c ===

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

2016-12-03 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 4 05:55:18 2016 New Revision: 309528 URL: https://svnweb.freebsd.org/changeset/base/309528 Log: Fix too low volume on MSI H170 GAMING M3 board by poking vendor specific COEF. Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified: head/sys/dev/sound/pci

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

2016-12-03 Thread Pyun YongHyeon
Author: yongari Date: Sun Dec 4 05:46:30 2016 New Revision: 309527 URL: https://svnweb.freebsd.org/changeset/base/309527 Log: Recognize RealTek ALC1150 7.1 channel HD audio codec. Modified: head/sys/dev/sound/pci/hda/hdac.h head/sys/dev/sound/pci/hda/hdacc.c Modified: head/sys/dev/sound/p

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

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 03:28:06 2016 New Revision: 304584 URL: https://svnweb.freebsd.org/changeset/base/304584 Log: Add a missing change in r304575. Noticed by: jhb Modified: head/sys/dev/alc/if_alcvar.h Modified: head/sys/dev/alc/if_alcvar.h ===

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

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:28:02 2016 New Revision: 304576 URL: https://svnweb.freebsd.org/changeset/base/304576 Log: Add Killer E2400 to the supported hardware list. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4

svn commit: r304575 - in head/sys/dev: alc pci

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:19:05 2016 New Revision: 304575 URL: https://svnweb.freebsd.org/changeset/base/304575 Log: Add Killer E2400 Gigabit Ethernet support. It seems Killer E2200/E2400 has a BIOS misconfiguration or silicon bug which triggers DMA write errors when driver uses ad

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

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:06:54 2016 New Revision: 304574 URL: https://svnweb.freebsd.org/changeset/base/304574 Log: Correct DMA channel number selection on AR816x family of controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x except L1D controller, use vendor recomme

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

2016-08-19 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 19 10:51:30 2016 New Revision: 304458 URL: https://svnweb.freebsd.org/changeset/base/304458 Log: Host controller is byte oriented. Fix wrong assumption on big-endian systems. Pointed out by: hselasky Modified: head/sys/dev/usb/net/if_axgereg.h Modi

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

2016-08-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 19 00:50:32 2016 New Revision: 304439 URL: https://svnweb.freebsd.org/changeset/base/304439 Log: Fix build on big-endian systems. Reported by: bz Modified: head/sys/dev/usb/net/if_axgereg.h Modified: head/sys/dev/usb/net/if_axgereg.h ==

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

2016-08-18 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 07:11:31 2016 New Revision: 304336 URL: https://svnweb.freebsd.org/changeset/base/304336 Log: When device is detached make sure to stop the controller and make it return zero-length USB packet. Modified: head/sys/dev/usb/net/if_axge.c Modified: head/sys/dev

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 06:46:14 2016 New Revision: 304335 URL: https://svnweb.freebsd.org/changeset/base/304335 Log: In axge_stop(), clear medium receive enable bit which will stop RX MAC operation. Modified: head/sys/dev/usb/net/if_axge.c Modified: head/sys/dev/usb/net/if_axge.c

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 06:35:09 2016 New Revision: 304333 URL: https://svnweb.freebsd.org/changeset/base/304333 Log: When usbd_transfer_setup() fails, don't call usbd_transfer_unsetup(). Modified: head/sys/dev/usb/net/if_axge.c Modified: head/sys/dev/usb/net/if_axge.c ===

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 06:29:07 2016 New Revision: 304332 URL: https://svnweb.freebsd.org/changeset/base/304332 Log: Introduce axge_rxfilter() which configures RX filtering and replace axge_setmulti()/axge_setpromisc() with axge_rxfilter(). Multicast filter programming and promiscu

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 05:07:02 2016 New Revision: 304326 URL: https://svnweb.freebsd.org/changeset/base/304326 Log: Switch to TX header format rather than directly manipulating header structures. This simplifies mbuf copy operation to USB buffers as well as improving readability.

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 04:25:17 2016 New Revision: 304325 URL: https://svnweb.freebsd.org/changeset/base/304325 Log: Rename cryptic RX filter constants with more readable ones. No functional change. Modified: head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/net/if_axgereg.h Modi

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 02:14:39 2016 New Revision: 304324 URL: https://svnweb.freebsd.org/changeset/base/304324 Log: Don't explicitly call MIIBUS_STATCHG() method handler. Link state change should be handled by PHY driver. Some broken PHY H/Ws may need that workaround but it seem

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

2016-08-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 01:48:58 2016 New Revision: 304323 URL: https://svnweb.freebsd.org/changeset/base/304323 Log: Pass PHY location information and remove PHY access hack. Modified: head/sys/dev/usb/net/if_axge.c head/sys/dev/usb/net/if_axgereg.h Modified: head/sys/dev/usb/net

svn commit: r302548 - head/share/man/man9

2016-07-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 11 06:49:56 2016 New Revision: 302548 URL: https://svnweb.freebsd.org/changeset/base/302548 Log: Belatedly remove CSUM_IP_FRAGS and CSUM_FRAGMENT offloading capabilities. It was removed in r243624 and r254804/r271006 respectively. This file and mbuf(9) needs

svn commit: r295873 - in head/sys/dev: msk sk

2016-02-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 22 00:58:04 2016 New Revision: 295873 URL: https://svnweb.freebsd.org/changeset/base/295873 Log: ifnet lock was changed to use sx(9) long time ago. Don't hold a driver lock for if_free(9). Modified: head/sys/dev/msk/if_msk.c head/sys/dev/sk/if_sk.c Modified:

svn commit: r295738 - head/sys/dev/rl

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 03:05:08 2016 New Revision: 295738 URL: https://svnweb.freebsd.org/changeset/base/295738 Log: Fix a bug introduced in r295736 TX descriptor address should be updated for valid chain. Pointed out by: jmallett Modified: head/sys/dev/rl/if_rl.c Modi

svn commit: r295736 - head/sys/dev/rl

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 01:30:49 2016 New Revision: 295736 URL: https://svnweb.freebsd.org/changeset/base/295736 Log: Remove duplicated check. Found by: PVS-Studio Modified: head/sys/dev/rl/if_rl.c Modified: head/sys/dev/rl/if_rl.c ==

svn commit: r295735 - in head/sys/dev: age alc ale jme msk stge vte

2016-02-17 Thread Pyun YongHyeon
Author: yongari Date: Thu Feb 18 01:24:10 2016 New Revision: 295735 URL: https://svnweb.freebsd.org/changeset/base/295735 Log: Fix variable assignment. Found by: PVS-Studio Modified: head/sys/dev/age/if_age.c head/sys/dev/alc/if_alc.c head/sys/dev/ale/if_ale.c head/sys/dev/jme/

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

2015-12-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 3 05:27:39 2015 New Revision: 291676 URL: https://svnweb.freebsd.org/changeset/base/291676 Log: Disable EEE(Energy Efficient Ethernet) for RTL8211F PHY. It seems the EEE made RX MAC enter LPI(Low Power Idle) mode such that dwc(4) was not able to receive packets

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

2015-08-27 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 28 01:32:42 2015 New Revision: 287238 URL: https://svnweb.freebsd.org/changeset/base/287238 Log: Set DMA alignment constraint of status, TX and RX LEs(List Elements in Marvell terms) to 32768. 32768 looks overkill but it will ensure correct DMAed update. This

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

2015-04-22 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 23 01:39:28 2015 New Revision: 281877 URL: https://svnweb.freebsd.org/changeset/base/281877 Log: Add another variant of BCM5708S controller to IBM HS21 workaround list. PR: 118238 MFC after:2 weeks Modified: head/sys/dev/mii/brgphy.c Modif

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

2015-03-12 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 13 01:16:14 2015 New Revision: 279941 URL: https://svnweb.freebsd.org/changeset/base/279941 Log: Restore auto MDIX for RTL8211B and newer revision PHYs which was broken in r279903. Reported by: john <> feith . com Modified: head/sys/dev/mii/rgephy.c Modi

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

2015-03-12 Thread Pyun YongHyeon
Author: yongari Date: Thu Mar 12 07:05:28 2015 New Revision: 279903 URL: https://svnweb.freebsd.org/changeset/base/279903 Log: Add RTL8211F gigabit PHY support. PR: 197265 MFC after:2 weeks Modified: head/sys/dev/mii/rgephy.c head/sys/dev/mii/rgephyreg.h Modified: head/sys/dev

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

2015-02-23 Thread Pyun YongHyeon
Author: yongari Date: Tue Feb 24 01:00:46 2015 New Revision: 279223 URL: https://svnweb.freebsd.org/changeset/base/279223 Log: Correct a typo. Reported by: jmg Modified: head/sys/dev/bce/if_bcereg.h Modified: head/sys/dev/bce/if_bcereg.h

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

2015-01-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 30 01:13:07 2015 New Revision: 277907 URL: https://svnweb.freebsd.org/changeset/base/277907 Log: Correct device description message. Modified: head/sys/dev/alc/if_alc.c Modified: head/sys/dev/alc/if_alc.c =

svn commit: r277050 - head/sys/dev/nge

2015-01-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 12 07:43:19 2015 New Revision: 277050 URL: https://svnweb.freebsd.org/changeset/base/277050 Log: Receive filter configuration is done in nge_rxfilter(). Remove unnecessary filter configuration code in nge_init_locked(). While I'm here add a check for driver run

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

2015-01-11 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 12 07:37:06 2015 New Revision: 277048 URL: https://svnweb.freebsd.org/changeset/base/277048 Log: Enable receive filter in sis_rxfilter(). While I'm here add a check for driver running state for multicast filter handling. Suggested by: b...@openbsd.org Modi

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

2014-12-15 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 16 06:13:30 2014 New Revision: 275816 URL: https://svnweb.freebsd.org/changeset/base/275816 Log: Fix a bug introdiced in r217548. According to NS DP83815 data sheet, RX filter should be disabled before programming. Previously it was clearing wrong bits so RX fi

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

2014-10-20 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 21 01:31:24 2014 New Revision: 273359 URL: https://svnweb.freebsd.org/changeset/base/273359 Log: It seems multicast filtering of RTL8168F does not work. Workaround the silicon bug by accepting any multicast packets. PR: 193488 MFC After:1 week Modif

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

2014-10-12 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 13 01:06:40 2014 New Revision: 273018 URL: https://svnweb.freebsd.org/changeset/base/273018 Log: Remove ALC_LOCK_ASSERT in alc_stop_queue(). This function is now called in device attach without holding a driver lock so it resulted in panic. Reported by: m

svn commit: r272732 - head/sys/dev/pci

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:53:04 2014 New Revision: 272732 URL: https://svnweb.freebsd.org/changeset/base/272732 Log: Oops, fix typo made in r272729. Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c ===

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

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:49:10 2014 New Revision: 272731 URL: https://svnweb.freebsd.org/changeset/base/272731 Log: Document newly added controller AR816x/AR817x. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4 ==

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

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:47:01 2014 New Revision: 272730 URL: https://svnweb.freebsd.org/changeset/base/272730 Log: Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers. These controllers seem to have the same feature of AR813x/AR815x and improved RSS support(4 TX q

svn commit: r272729 - head/sys/dev/pci

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 05:34:39 2014 New Revision: 272729 URL: https://svnweb.freebsd.org/changeset/base/272729 Log: Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4). QAC AR816x/E2200 controller has a silicon bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of command r

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

2014-10-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 8 01:03:32 2014 New Revision: 272721 URL: https://svnweb.freebsd.org/changeset/base/272721 Log: Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters

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

2014-09-03 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 4 01:04:37 2014 New Revision: 271073 URL: http://svnweb.freebsd.org/changeset/base/271073 Log: Do not blindly announce 1000baseT half-duplex capability in autonegotiation. Some controllers like cgem(4) do not support half-duplex at gigabit speeds. Modified:

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

2014-05-12 Thread Pyun YongHyeon
Author: yongari Date: Tue May 13 05:19:29 2014 New Revision: 265943 URL: http://svnweb.freebsd.org/changeset/base/265943 Log: Disable TX IP/TCP/UDP checksum offloading for RTL8168C/RTL8168CP. Previously only TX IP checksum offloading was disabled but it's reported that TX checksum offloading

svn commit: r265942 - head/sys/netinet

2014-05-12 Thread Pyun YongHyeon
Author: yongari Date: Tue May 13 05:07:03 2014 New Revision: 265942 URL: http://svnweb.freebsd.org/changeset/base/265942 Log: Fix checksum computation. Previously it didn't include carry. Reviewed by: tuexen Modified: head/sys/netinet/ip_input.c Modified: head/sys/netinet/ip_input.c =

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

2014-04-08 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 9 05:15:40 2014 New Revision: 264293 URL: http://svnweb.freebsd.org/changeset/base/264293 Log: Add workaround for MCP61 Ethernet controller found on MSI K9 motherboard. PHY hardware used for the controller responded at all possible addresses which in turn resu

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

2014-04-02 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 3 01:32:43 2014 New Revision: 264062 URL: http://svnweb.freebsd.org/changeset/base/264062 Log: Correct endianness handling in getting station address from EEPROM. While I'm here, remove aue_eeprom_getword() as its only usage is to read station address and make

svn commit: r263957 - in head/sys: dev/age dev/alc dev/ale dev/bce dev/bge dev/fxp dev/jme dev/msk dev/nfe dev/sge pci

2014-03-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 31 01:54:59 2014 New Revision: 263957 URL: http://svnweb.freebsd.org/changeset/base/263957 Log: Increase the number of TX DMA segments from 32 to 35. It turned out 32 is not enough to support a full sized TSO packet. While I'm here fix a long standing bug intro

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

2014-02-06 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 7 05:08:59 2014 New Revision: 261577 URL: http://svnweb.freebsd.org/changeset/base/261577 Log: Revert r234666. Clearing TWSI IRQ seems to cause watchdog timeout on old Yukon II controllers. Tested by:bsam MFC after:2 weeks Modified: head/sys/de

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

2014-01-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 8 01:06:32 2014 New Revision: 260429 URL: http://svnweb.freebsd.org/changeset/base/260429 Log: m_defrag(9) does not touch original mbuf chain when it can't allocate new mbuf. Free original mbuf chain when driver is not able to send the packet. Modified: hea

svn commit: r259543 - head/sys/dev/ae

2013-12-17 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 18 07:23:42 2013 New Revision: 259543 URL: http://svnweb.freebsd.org/changeset/base/259543 Log: Failed m_devget(9) indicates lack of free mbuf cluster. Update if_iqdrops counter for that case since the received frame is ok. While here, simplify updating counter

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

2013-12-01 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 2 05:21:54 2013 New Revision: 258830 URL: http://svnweb.freebsd.org/changeset/base/258830 Log: Add support for BCM57764, BCM57767, BCM57782, BCM57786 and BCM57787. Submitted by: jhb PR: 184304 Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgere

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

2013-10-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 1 05:03:47 2013 New Revision: 257490 URL: http://svnweb.freebsd.org/changeset/base/257490 Log: Perform media change after setting IFF_DRV_RUNNING flag. Without it, driver would ignore the first link state update if controller already established a link. Re

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

2013-10-28 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 29 06:37:27 2013 New Revision: 257307 URL: http://svnweb.freebsd.org/changeset/base/257307 Log: Fix regression introduced in r235816. r235816 triggered kernel panic or hang after warm boot. Don't blindly restore BCE_EMAC_MODE media configuration in bce_reset()

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

2013-10-28 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 29 05:37:05 2013 New Revision: 257306 URL: http://svnweb.freebsd.org/changeset/base/257306 Log: Add preliminary support for RTL8168EP. Submitted by: Edward O'Callaghan (eocallaghan <> alterapraxis dot com) Modified: head/sys/dev/re/if_re.c head/sys/pci/if_

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

2013-10-28 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 29 05:30:21 2013 New Revision: 257305 URL: http://svnweb.freebsd.org/changeset/base/257305 Log: Add preliminary support for RTL8168G, RTL8168GU and RTL8411B. RTL8168GU has two variants(GMII and MII) but it uses the same chip revision id. Driver checks PCI devic

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

2013-10-28 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 29 05:14:38 2013 New Revision: 257304 URL: http://svnweb.freebsd.org/changeset/base/257304 Log: Add support for new Gigabit PHY of RealTek. I don't have a copy of data sheet so I'm not sure exact PHY model name. Vendor's web page indicates RTL8251 is latest PHY

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

2013-10-20 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 21 06:27:20 2013 New Revision: 256828 URL: http://svnweb.freebsd.org/changeset/base/256828 Log: Add preliminary support for RTL8106E PCIe FastEthernet. H/W donated by: RealTek Semiconductor Corp. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlre

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

2013-10-20 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 21 06:22:20 2013 New Revision: 256827 URL: http://svnweb.freebsd.org/changeset/base/256827 Log: Correct MAC revision bits. Previously it always cleared bit 20 and bit 21. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_

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

2013-10-03 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 4 02:21:39 2013 New Revision: 256038 URL: http://svnweb.freebsd.org/changeset/base/256038 Log: Fix clearing MAC stats registers. Previously it cleared every fourth register. Submitted by: Paul A. Patience Approved by: re (gjb) Modified: head/sys/dev/n

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

2013-08-08 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 9 01:15:32 2013 New Revision: 254118 URL: http://svnweb.freebsd.org/changeset/base/254118 Log: Fix for IPv4 fragment packets treated as RMCP. bit25 of rxMode MAC register of 5762 needs to be set for rx mgmt filter to work correctly when processing match for

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

2013-07-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 22 05:45:54 2013 New Revision: 253540 URL: http://svnweb.freebsd.org/changeset/base/253540 Log: 5725 family of devices corrupts TSO packets when TSO DMA buffers cross into regions which are within MSS bytes of a 4GB boundary. If we encounter the condition, drop

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

2013-07-20 Thread Pyun YongHyeon
Author: yongari Date: Sat Jul 20 07:58:03 2013 New Revision: 253483 URL: http://svnweb.freebsd.org/changeset/base/253483 Log: Add support for upcoming BCM5725 (ASIC 5762) controller. This is a new 1Gb server controller chip that will be going into production soon. BCM5725 combines MAC wit

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

2013-07-20 Thread Pyun YongHyeon
Author: yongari Date: Sat Jul 20 07:24:01 2013 New Revision: 253481 URL: http://svnweb.freebsd.org/changeset/base/253481 Log: Recognize BCM5725C PHY. Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/brgphy.c ===

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

2013-07-20 Thread Pyun YongHyeon
Author: yongari Date: Sat Jul 20 07:09:50 2013 New Revision: 253480 URL: http://svnweb.freebsd.org/changeset/base/253480 Log: Setup the PCIE Fast Training Sequence (FTS) value to prevent transmit hangs for 57766 and non Ax versions of 57765. While here, correct definition of BGE_CHIPREV_5776

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

2013-07-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Jul 17 04:53:53 2013 New Revision: 253408 URL: http://svnweb.freebsd.org/changeset/base/253408 Log: Implement workaround for BCM5719/BCM5720 TX hang. The read DMA request logic operation is based on having sufficient available space in the transmit data buffer (TXMB

svn commit: r253406 - head/sys/dev/ae

2013-07-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Jul 17 01:34:25 2013 New Revision: 253406 URL: http://svnweb.freebsd.org/changeset/base/253406 Log: Avoid magic constant. No functional change. Modified: head/sys/dev/ae/if_ae.c head/sys/dev/ae/if_aereg.h Modified: head/sys/dev/ae/if_ae.c ===

svn commit: r253404 - head/sys/dev/ae

2013-07-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Jul 17 01:24:23 2013 New Revision: 253404 URL: http://svnweb.freebsd.org/changeset/base/253404 Log: o TxD ring requires 8 bytes alignment to work so change alignment constraint to 8. Previously it may have triggered watchdog timeouts. o Check whether inter

svn commit: r253134 - head/sys/dev/hme

2013-07-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Jul 10 06:46:46 2013 New Revision: 253134 URL: http://svnweb.freebsd.org/changeset/base/253134 Log: Avoid controller reinitialization which could be triggered by dhclient(8) or alias addresses are added. Tested by:dcx dcy Modified: head/sys/dev/hme/if_hme

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

2013-06-29 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 30 05:56:13 2013 New Revision: 252404 URL: http://svnweb.freebsd.org/changeset/base/252404 Log: Fix triggering false watchdog timeout as done in bce(4) when controller is in PAUSE state. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modifi

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

2013-06-29 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 30 05:12:18 2013 New Revision: 252402 URL: http://svnweb.freebsd.org/changeset/base/252402 Log: Fix triggering false watchdog timeout when controller is in PAUSE state. Previously it used to check if controller has sent a PAUSE frame to the remote peer. Re

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

2013-06-25 Thread Pyun YongHyeon
Author: yongari Date: Wed Jun 26 01:15:40 2013 New Revision: 252227 URL: http://svnweb.freebsd.org/changeset/base/252227 Log: Don't blidly clear GPIOs configuration. Just use firmware configured one. This change also fixes non-working traffic LED on BCM57780. Submitted by: Masanobu SAITO

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

2013-06-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 25 00:29:13 2013 New Revision: 252186 URL: http://svnweb.freebsd.org/changeset/base/252186 Log: Add Lenovo USB 2.0 Ethernet adapter to the list of supported devices. Modified: head/share/man/man4/axe.4 Modified: head/share/man/man4/axe.4 ==

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

2013-06-24 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 25 00:26:30 2013 New Revision: 252185 URL: http://svnweb.freebsd.org/changeset/base/252185 Log: Add Lenovo USB 2.0 Ethernet adapter. PR: usb/179920 MFC After:1 week Modified: head/sys/dev/usb/net/if_axe.c head/sys/dev/usb/usbdevs Modified:

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

2013-06-23 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 24 05:18:31 2013 New Revision: 252143 URL: http://svnweb.freebsd.org/changeset/base/252143 Log: When RX checksum offloading is active, AX88772B will prepend a checksum header. The header contains a received frame length but the defined length for AX88772B is di

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

2013-06-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Jun 14 05:16:51 2013 New Revision: 251733 URL: http://svnweb.freebsd.org/changeset/base/251733 Log: Fix a typo introduced in r213280. IFM_OPTIONS macro should see current media word. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c =

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

2013-06-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jun 10 07:31:49 2013 New Revision: 251600 URL: http://svnweb.freebsd.org/changeset/base/251600 Log: Avoid unnecessary controller reinitialization by checking driver running state. fxp(4) requires controller reinitialization for the following cases. o RX lockup c

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

2013-06-06 Thread Pyun YongHyeon
Author: yongari Date: Fri Jun 7 01:21:09 2013 New Revision: 251482 URL: http://svnweb.freebsd.org/changeset/base/251482 Log: Correct setting TX random backoff register. This register is implemented as a 10 bits linear feedback shift register so only lower 10 bits are valid. Because this r

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

2013-06-06 Thread Pyun YongHyeon
Author: yongari Date: Fri Jun 7 01:01:39 2013 New Revision: 251481 URL: http://svnweb.freebsd.org/changeset/base/251481 Log: Do not report current link status if driver is not running. Reporting link status in driver has a side-effect that makes mii(4) check current link status. mii(4) wil

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

2013-04-01 Thread Pyun YongHyeon
Author: yongari Date: Tue Apr 2 00:57:54 2013 New Revision: 248993 URL: http://svnweb.freebsd.org/changeset/base/248993 Log: Fix a typo. Reported by: David Imhoff via brad@OpenBSD Tested by:hrs Reviewed by: davidch Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bg

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

2013-03-19 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 20 05:31:34 2013 New Revision: 248542 URL: http://svnweb.freebsd.org/changeset/base/248542 Log: For RTL8211B or later PHYs, enable crossover detection and auto-correction. This change makes re(4) establish a link with a system using non-crossover UTP cable.

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

2013-03-17 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 18 04:46:17 2013 New Revision: 248456 URL: http://svnweb.freebsd.org/changeset/base/248456 Log: r119712 introduced SIS_TYPE_83816 but it was not actually set in driver such that checking against the type was always false. To detect NS DP83816, driver should have

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

2013-03-12 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 13 02:11:45 2013 New Revision: 248227 URL: http://svnweb.freebsd.org/changeset/base/248227 Log: Disable TX IP header checksum offloading on RL_HWREV_8168CP. The controller generates wrong checksummed frame if the IP packet has IP options. Submitted by: Alex

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

2013-03-12 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 13 01:40:01 2013 New Revision: 248226 URL: http://svnweb.freebsd.org/changeset/base/248226 Log: r241438 broke IPMI access on Sun Fire X2200 M2(BCM5715). Fix the IPMI regression by sending BGE_FW_DRV_STATE_UNLOAD to ASF/IPMI firmware in driver attach phase. Send

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

2013-02-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 27 05:03:35 2013 New Revision: 247382 URL: http://svnweb.freebsd.org/changeset/base/247382 Log: RX checksum offloading on old Yukon controllers seem to cause more problems. Disable RX checksum offloading on controllers that don't use new descriptor format but g

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

2013-02-04 Thread Pyun YongHyeon
Author: yongari Date: Tue Feb 5 00:37:45 2013 New Revision: 246341 URL: http://svnweb.freebsd.org/changeset/base/246341 Log: Rework jumbo frame handling. QAC confirmed that the controller requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on any alignments I guess t

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

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 04:54:53 2013 New Revision: 245870 URL: http://svnweb.freebsd.org/changeset/base/245870 Log: bge_attach() can fail before attaching mii(4). So make sure to check bge_miibus before detaching mii(4). Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/

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

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 02:25:43 2013 New Revision: 245867 URL: http://svnweb.freebsd.org/changeset/base/245867 Log: For 57765 class controllers, set low watermark max receive frames to 1. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ==

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

2013-01-15 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 16 02:22:56 2013 New Revision: 245487 URL: http://svnweb.freebsd.org/changeset/base/245487 Log: Add D-Link DFE-520TX (rev. C1) to HARDWARE section. MFC After:1 week Modified: head/share/man/man4/rl.4 Modified: head/share/man/man4/rl.4 ==

svn commit: r245485 - head/sys/pci

2013-01-15 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 16 01:30:46 2013 New Revision: 245485 URL: http://svnweb.freebsd.org/changeset/base/245485 Log: Add D-Link DFE-520TX rev C1. Tested by:Ruslan Makhmatkhanov < cvs-src <> yandex dot ru > MFC After:1 week Modified: head/sys/pci/if_rl.c head/sys/pci/

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

2012-12-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 20 05:02:12 2012 New Revision: 244482 URL: http://svnweb.freebsd.org/changeset/base/244482 Log: Recognize 5720S PHY and treat it as 5708S PHY. Unfortunately 5720S uses 5709S PHY id so add a hack to detect 5720S PHY by checking parent device name. 5720S PHY does

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

2012-12-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Dec 20 04:47:31 2012 New Revision: 244481 URL: http://svnweb.freebsd.org/changeset/base/244481 Log: For fiber PHYs, BRGPHY_MII_1000CTL register is not defined at all so do not touch it. Modified: head/sys/dev/mii/brgphy.c Modified: head/sys/dev/mii/brgphy.c ==

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

2012-12-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 17 06:01:57 2012 New Revision: 244341 URL: http://svnweb.freebsd.org/changeset/base/244341 Log: Make sure to stop both TX and RX MACs in ale_stop_mac(). Previously it used to stop TX MAC only such that MAC reconfiguration after getting a link didn't work as expe

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

2012-11-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 30 01:38:00 2012 New Revision: 243686 URL: http://svnweb.freebsd.org/changeset/base/243686 Log: Add preliminary support for BCM57766 ASIC. While I'm here add BCM57762 device id which is found on Apple Thunderbolt ethernet. Tested by:Richard Kuhns < rjk

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

2012-11-01 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 1 06:02:27 2012 New Revision: 242426 URL: http://svn.freebsd.org/changeset/base/242426 Log: TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP fragmented datagrams but unl

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

2012-11-01 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 1 05:39:21 2012 New Revision: 242425 URL: http://svn.freebsd.org/changeset/base/242425 Log: Remove TCP/UDP checksum offloading feature for IP fragmented datagrams. Traditionally upper stack fragmented packets without computing TCP/UDP checksum and these datagr

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

2012-10-30 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 30 07:55:03 2012 New Revision: 242348 URL: http://svn.freebsd.org/changeset/base/242348 Log: TSO engine of L1 requires a separate DMA descriptor for TCP payload. This means driver has to split a TX buffer into two pieces of TX buffers when the TX buffer contain

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

2012-10-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 24 05:54:17 2012 New Revision: 241985 URL: http://svn.freebsd.org/changeset/base/241985 Log: For fast ethernet controllers, Ethernet@WireSpeed is not defined so explicitly set BGE_PHY_NO_WIRESPEED flag. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/de

  1   2   3   4   5   6   7   >