svn commit: r246725 - stable/8/sys/dev/age

2013-02-12 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 13 00:47:47 2013 New Revision: 246725 URL: http://svnweb.freebsd.org/changeset/base/246725 Log: MFC r246341: Rework jumbo frame handling. QAC confirmed that the controller requires 8 bytes alignment on RX buffer. Given that non-jumbo frame works on

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

svn commit: r245857 - stable/9/sys/pci

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:07:34 2013 New Revision: 245857 URL: http://svnweb.freebsd.org/changeset/base/245857 Log: MFC r245485: Add D-Link DFE-520TX rev C1. Modified: stable/9/sys/pci/if_rl.c stable/9/sys/pci/if_rlreg.h Directory Properties: stable/9/sys/ (props changed)

svn commit: r245858 - stable/8/sys/pci

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:10:15 2013 New Revision: 245858 URL: http://svnweb.freebsd.org/changeset/base/245858 Log: MFC r245485: Add D-Link DFE-520TX rev C1. Modified: stable/8/sys/pci/if_rl.c stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed)

svn commit: r245859 - stable/9/share/man/man4

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:12:55 2013 New Revision: 245859 URL: http://svnweb.freebsd.org/changeset/base/245859 Log: MFC r245487: Add D-Link DFE-520TX (rev. C1) to HARDWARE section. Modified: stable/9/share/man/man4/rl.4 Directory Properties: stable/9/share/man/man4/ (props

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

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:13:13 2013 New Revision: 245860 URL: http://svnweb.freebsd.org/changeset/base/245860 Log: MFC r245487: Add D-Link DFE-520TX (rev. C1) to HARDWARE section. Modified: stable/8/share/man/man4/rl.4 Directory Properties: stable/8/share/man/man4/ (props

svn commit: r245861 - stable/9/sys/dev/mii

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:31:22 2013 New Revision: 245861 URL: http://svnweb.freebsd.org/changeset/base/245861 Log: MFC r244481: For fiber PHYs, BRGPHY_MII_1000CTL register is not defined at all so do not touch it. Modified: stable/9/sys/dev/mii/brgphy.c Directory

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

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 01:32:17 2013 New Revision: 245862 URL: http://svnweb.freebsd.org/changeset/base/245862 Log: MFC r244481: For fiber PHYs, BRGPHY_MII_1000CTL register is not defined at all so do not touch it. Modified: stable/8/sys/dev/mii/brgphy.c Directory

svn commit: r245865 - stable/9/sys/dev/mii

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 02:19:38 2013 New Revision: 245865 URL: http://svnweb.freebsd.org/changeset/base/245865 Log: MFC r244482: 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

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

2013-01-23 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 24 02:20:25 2013 New Revision: 245866 URL: http://svnweb.freebsd.org/changeset/base/245866 Log: MFC r244482: 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

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

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

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: r245151 - stable/9/sys/dev/bge

2013-01-07 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 8 05:29:54 2013 New Revision: 245151 URL: http://svnweb.freebsd.org/changeset/base/245151 Log: MFC r243686: Add preliminary support for BCM57766 ASIC. While I'm here add BCM57762 device id which is found on Apple Thunderbolt ethernet. Modified:

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

2013-01-07 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 8 05:30:45 2013 New Revision: 245152 URL: http://svnweb.freebsd.org/changeset/base/245152 Log: MFC r243686: Add preliminary support for BCM57766 ASIC. While I'm here add BCM57762 device id which is found on Apple Thunderbolt ethernet. Modified:

svn commit: r245153 - stable/9/sys/dev/ale

2013-01-07 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 8 05:34:17 2013 New Revision: 245153 URL: http://svnweb.freebsd.org/changeset/base/245153 Log: MFC r244341: 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

svn commit: r245154 - stable/8/sys/dev/ale

2013-01-07 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 8 05:35:18 2013 New Revision: 245154 URL: http://svnweb.freebsd.org/changeset/base/245154 Log: MFC r244341: 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

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

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

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: r243536 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 02:31:28 2012 New Revision: 243536 URL: http://svnweb.freebsd.org/changeset/base/243536 Log: MFC r241215-241216,241219-241220,241341,241343: r241215: Don't touch EMAC Mode and TX/RX MAC Mode register when driver is not running. r241216: APE

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 02:32:32 2012 New Revision: 243537 URL: http://svnweb.freebsd.org/changeset/base/243537 Log: MFC r241215-241216,241219-241220,241341,241343: r241215: Don't touch EMAC Mode and TX/RX MAC Mode register when driver is not running. r241216: APE

svn commit: r243538 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 02:41:30 2012 New Revision: 243538 URL: http://svnweb.freebsd.org/changeset/base/243538 Log: MFC r241388-241393: r241388: If the maximum payload size is 256 bytes or more, set the DMA write water mark to 256 bytes. Otherwise controller will encounter

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 02:42:19 2012 New Revision: 243539 URL: http://svnweb.freebsd.org/changeset/base/243539 Log: MFC r241388-241393: r241388: If the maximum payload size is 256 bytes or more, set the DMA write water mark to 256 bytes. Otherwise controller will encounter

svn commit: r243541 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:10:27 2012 New Revision: 243541 URL: http://svnweb.freebsd.org/changeset/base/243541 Log: MFC r241436: Rework controller reset procedure. Previously driver saved BGE_PCI_PCISTATE register before issuing global reset. After issuing reset, it reads

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:11:12 2012 New Revision: 243542 URL: http://svnweb.freebsd.org/changeset/base/243542 Log: MFC r241436: Rework controller reset procedure. Previously driver saved BGE_PCI_PCISTATE register before issuing global reset. After issuing reset, it reads

svn commit: r243544 - stable/9/sys/dev/mii

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:20:11 2012 New Revision: 243544 URL: http://svnweb.freebsd.org/changeset/base/243544 Log: MFC r241437: For 5717C/5719C/5720C and 57765 PHYs, do not perform any special handling(jumbo, wire speed etc) in brgphy_reset(). Touching BRGPHY_MII_AUXCTL

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:20:59 2012 New Revision: 243545 URL: http://svnweb.freebsd.org/changeset/base/243545 Log: MFC r241437: For 5717C/5719C/5720C and 57765 PHYs, do not perform any special handling(jumbo, wire speed etc) in brgphy_reset(). Touching BRGPHY_MII_AUXCTL

svn commit: r243546 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:25:41 2012 New Revision: 243546 URL: http://svnweb.freebsd.org/changeset/base/243546 Log: MFC r241438: Add APE firmware support and improve firmware handshake procedure. This change will enable IPMI access on 5717/5718/5719/5720 and 5761

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:26:27 2012 New Revision: 243547 URL: http://svnweb.freebsd.org/changeset/base/243547 Log: MFC r241438: Add APE firmware support and improve firmware handshake procedure. This change will enable IPMI access on 5717/5718/5719/5720 and 5761

svn commit: r243549 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:34:05 2012 New Revision: 243549 URL: http://svnweb.freebsd.org/changeset/base/243549 Log: MFC r241983-241985: r241983: Do not hardcode phy address. Multi-port controllers use different phy address. r241984: Ethernet@WireSpeed is defined for

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:34:53 2012 New Revision: 243550 URL: http://svnweb.freebsd.org/changeset/base/243550 Log: MFC r241983-241985: r241983: Do not hardcode phy address. Multi-port controllers use different phy address. r241984: Ethernet@WireSpeed is defined for

svn commit: r243551 - stable/9/sys/dev/bge

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:39:41 2012 New Revision: 243551 URL: http://svnweb.freebsd.org/changeset/base/243551 Log: MFC r242426: TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP

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

2012-11-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 26 04:40:26 2012 New Revision: 243552 URL: http://svnweb.freebsd.org/changeset/base/243552 Log: MFC r242426: TCP/UDP checksum offloading feature for IP fragmented datagram was removed in r99417. bge(4) controllers can do TCP checksum offload for IP

svn commit: r242739 - stable/9/sys/dev/ti

2012-11-07 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 8 02:06:27 2012 New Revision: 242739 URL: http://svnweb.freebsd.org/changeset/base/242739 Log: MFC r242425: Remove TCP/UDP checksum offloading feature for IP fragmented datagrams. Traditionally upper stack fragmented packets without computing TCP/UDP

svn commit: r242740 - stable/8/sys/dev/ti

2012-11-07 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 8 02:08:42 2012 New Revision: 242740 URL: http://svnweb.freebsd.org/changeset/base/242740 Log: MFC r242425: Remove TCP/UDP checksum offloading feature for IP fragmented datagrams. Traditionally upper stack fragmented packets without computing TCP/UDP

svn commit: r242641 - stable/9/sys/dev/age

2012-11-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 6 00:54:25 2012 New Revision: 242641 URL: http://svnweb.freebsd.org/changeset/base/242641 Log: MFC r242348: 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

svn commit: r242645 - stable/8/sys/dev/age

2012-11-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 6 01:04:46 2012 New Revision: 242645 URL: http://svnweb.freebsd.org/changeset/base/242645 Log: MFC r242348: 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

svn commit: r242652 - stable/9/sys/dev/ale

2012-11-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 6 02:19:51 2012 New Revision: 242652 URL: http://svnweb.freebsd.org/changeset/base/242652 Log: MFC r241340: Fix typo. Check against number of allocated MSI-X vectors. There is no ale(4) controller that supports MSI-X so this is not real issue.

svn commit: r242653 - stable/8/sys/dev/ale

2012-11-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 6 02:20:44 2012 New Revision: 242653 URL: http://svnweb.freebsd.org/changeset/base/242653 Log: MFC r241340: Fix typo. Check against number of allocated MSI-X vectors. There is no ale(4) controller that supports MSI-X so this is not real issue.

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

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

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

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

2012-10-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 24 05:00:56 2012 New Revision: 241983 URL: http://svn.freebsd.org/changeset/base/241983 Log: Do not hardcode phy address. Multi-port controllers use different phy address. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified:

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

2012-10-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 24 05:22:41 2012 New Revision: 241984 URL: http://svn.freebsd.org/changeset/base/241984 Log: Ethernet@WireSpeed is defined for 1000baseT adapter to establish a link at a lower speed so enabling it for fiber adapters is wrong. Fix the issue by setting

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:

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

2012-10-11 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 11 06:07:48 2012 New Revision: 241437 URL: http://svn.freebsd.org/changeset/base/241437 Log: For 5717C/5719C/5720C and 57765 PHYs, do not perform any special handling(jumbo, wire speed etc) in brgphy_reset(). Touching BRGPHY_MII_AUXCTL register seems to

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

2012-10-11 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 11 06:43:43 2012 New Revision: 241438 URL: http://svn.freebsd.org/changeset/base/241438 Log: Add APE firmware support and improve firmware handshake procedure. This change will enable IPMI access on 5717/5718/5719/5720 and 5761 controllers. Because ASF is not

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

2012-10-10 Thread Pyun YongHyeon
Author: yongari Date: Thu Oct 11 05:48:04 2012 New Revision: 241436 URL: http://svn.freebsd.org/changeset/base/241436 Log: Rework controller reset procedure. Previously driver saved BGE_PCI_PCISTATE register before issuing global reset. After issuing reset, it reads BGE_PCI_PCISTATE

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 01:24:02 2012 New Revision: 241388 URL: http://svn.freebsd.org/changeset/base/241388 Log: If the maximum payload size is 256 bytes or more, set the DMA write water mark to 256 bytes. Otherwise controller will encounter DMA write under run errors and would

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 01:59:53 2012 New Revision: 241389 URL: http://svn.freebsd.org/changeset/base/241389 Log: On PHY write error use hex number to show the value. Add more comments. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 02:21:36 2012 New Revision: 241390 URL: http://svn.freebsd.org/changeset/base/241390 Log: Honor PHY type fiber for BCM5717/BCM5718/BCM5719/BCM5720. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 02:35:10 2012 New Revision: 241391 URL: http://svn.freebsd.org/changeset/base/241391 Log: Do not force PCIe 1.0a mode in device reset on BCM5717 and newer controllers. BCM5785 does not require PCI 1.0a mode as well during reset. Modified:

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 04:38:29 2012 New Revision: 241392 URL: http://svn.freebsd.org/changeset/base/241392 Log: Fix a long standing VCPU reset sequence bug on BCM5906. The VCPU(Virtual CPU) of BCM5906 is used to provide a mechanism to control the bootcode execution and to pick up

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

2012-10-09 Thread Pyun YongHyeon
Author: yongari Date: Wed Oct 10 05:43:04 2012 New Revision: 241393 URL: http://svn.freebsd.org/changeset/base/241393 Log: Remove unnecessary delay. I don't see any comments in data sheet that requires 10ms delay after device reset. Because that code was there from day 1, I guess it was

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

2012-10-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 8 07:01:07 2012 New Revision: 241340 URL: http://svn.freebsd.org/changeset/base/241340 Log: Fix typo. Check against number of allocated MSI-X vectors. There is no ale(4) controller that supports MSI-X so this is not real issue. PR: kern/171825

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

2012-10-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 8 07:13:45 2012 New Revision: 241341 URL: http://svn.freebsd.org/changeset/base/241341 Log: Limit applying TX data corruption and FIFO workaround to BCM5719 A0. It's believed BCM5720 does not have the issue. Modified: head/sys/dev/bge/if_bge.c Modified:

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

2012-10-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 8 07:33:43 2012 New Revision: 241343 URL: http://svn.freebsd.org/changeset/base/241343 Log: Rework device detach. While here, move driver lock/callout initialization to the beginning of device attach for readability. Modified: head/sys/dev/bge/if_bge.c

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

2012-10-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 5 06:24:22 2012 New Revision: 241219 URL: http://svn.freebsd.org/changeset/base/241219 Log: Add 40 microseconds delay after updating EMAC Mode register as recommended by Broadcom data sheet. Modified: head/sys/dev/bge/if_bge.c Modified:

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

2012-10-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 5 07:13:21 2012 New Revision: 241220 URL: http://svn.freebsd.org/changeset/base/241220 Log: Follow Broadcom datasheet: Delay 100 microseconds after enabling transmit MAC. Delay 10 microseconds after enabling receive MAC. Modified:

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

2012-10-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 5 03:35:38 2012 New Revision: 241215 URL: http://svn.freebsd.org/changeset/base/241215 Log: Don't touch EMAC Mode and TX/RX MAC Mode register when driver is not running. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2012-10-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Oct 5 03:46:25 2012 New Revision: 241216 URL: http://svn.freebsd.org/changeset/base/241216 Log: APE firmware touches EMAC Mode and TX/RX MAC Mode registers to keep the MAC connected to the outside world. So keep the accesses atomic. Modified:

svn commit: r236945 - stable/8/sys/dev/jme

2012-06-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 12 07:43:01 2012 New Revision: 236945 URL: http://svn.freebsd.org/changeset/base/236945 Log: MFC r236700: Fix a logic error when use PCIY_PMG capability Modified: stable/8/sys/dev/jme/if_jme.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r236946 - stable/8/sys/dev/ae

2012-06-12 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 12 07:53:39 2012 New Revision: 236946 URL: http://svn.freebsd.org/changeset/base/236946 Log: MFC 236649,236670: Check the return value of pci_find_extcap() Modified: stable/8/sys/dev/ae/if_ae.c Directory Properties: stable/8/sys/ (props changed)

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

2012-06-06 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 7 03:22:20 2012 New Revision: 236701 URL: http://svn.freebsd.org/changeset/base/236701 Log: Fix typo. Submitted by: Alexander Milanov a amilanov dot com Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h

svn commit: r236702 - stable/9/sys/dev/bge

2012-06-06 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 7 05:35:43 2012 New Revision: 236702 URL: http://svn.freebsd.org/changeset/base/236702 Log: MFC r236371: Remove unnecessary device_printfs. Modified: stable/9/sys/dev/bge/if_bge.c Directory Properties: stable/9/sys/ (props changed)

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

2012-06-06 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 7 05:37:46 2012 New Revision: 236703 URL: http://svn.freebsd.org/changeset/base/236703 Log: MFC r236371: Remove unnecessary device_printfs. Modified: stable/8/sys/dev/bge/if_bge.c Directory Properties: stable/8/sys/ (props changed)

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

2012-05-31 Thread Pyun YongHyeon
Author: yongari Date: Thu May 31 23:56:10 2012 New Revision: 236371 URL: http://svn.freebsd.org/changeset/base/236371 Log: Remove unnecessary device_printfs. Pointed out by: marius Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

svn commit: r236216 - stable/9/sys/dev/bce

2012-05-28 Thread Pyun YongHyeon
Author: yongari Date: Tue May 29 04:30:02 2012 New Revision: 236216 URL: http://svn.freebsd.org/changeset/base/236216 Log: MFC r235816: Make IPMI work in the bce driver even when the interface is configured down. Formerly, IPMI communication was lost whenever the interface was not

svn commit: r236217 - stable/8/sys/dev/bce

2012-05-28 Thread Pyun YongHyeon
Author: yongari Date: Tue May 29 04:32:27 2012 New Revision: 236217 URL: http://svn.freebsd.org/changeset/base/236217 Log: MFC r235816: Make IPMI work in the bce driver even when the interface is configured down. Formerly, IPMI communication was lost whenever the interface was not

svn commit: r236218 - stable/9/sys/dev/bge

2012-05-28 Thread Pyun YongHyeon
Author: yongari Date: Tue May 29 04:44:51 2012 New Revision: 236218 URL: http://svn.freebsd.org/changeset/base/236218 Log: MFC r235821: Don't force max payload size to 128. Root complex and Endpoint will negotiate with each other on the TLP payload size so blindly forcing the size

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

2012-05-28 Thread Pyun YongHyeon
Author: yongari Date: Tue May 29 04:53:46 2012 New Revision: 236219 URL: http://svn.freebsd.org/changeset/base/236219 Log: MFC r235821: Don't force max payload size to 128. Root complex and Endpoint will negotiate with each other on the TLP payload size so blindly forcing the size

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

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 01:20:25 2012 New Revision: 235816 URL: http://svn.freebsd.org/changeset/base/235816 Log: Make IPMI work in the bce driver even when the interface is configured down. Formerly, IPMI communication was lost whenever the interface was not up. The reason was

svn commit: r235818 - stable/9/sys/dev/bce

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 02:02:29 2012 New Revision: 235818 URL: http://svn.freebsd.org/changeset/base/235818 Log: MFC r235151: Implement basic remote PHY support. Remote PHY allows the controller to perform MDIO type accesses to a remote transceiver using message pages

svn commit: r235819 - stable/8/sys/dev/bce

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 02:12:00 2012 New Revision: 235819 URL: http://svn.freebsd.org/changeset/base/235819 Log: MFC r235151: Implement basic remote PHY support. Remote PHY allows the controller to perform MDIO type accesses to a remote transceiver using message pages

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

2012-05-22 Thread Pyun YongHyeon
Author: yongari Date: Wed May 23 03:35:08 2012 New Revision: 235821 URL: http://svn.freebsd.org/changeset/base/235821 Log: Don't force max payload size to 128. Root complex and Endpoint will negotiate with each other on the TLP payload size so blindly forcing the size to 128 can cause a

svn commit: r235423 - in stable/9/sys: dev/bce i386/conf kern

2012-05-13 Thread Pyun YongHyeon
Author: yongari Date: Mon May 14 04:21:27 2012 New Revision: 235423 URL: http://svn.freebsd.org/changeset/base/235423 Log: MFC r235119: Restore jumbo frame configuration which was broken in r218423. Submitted by: Andrey Zonov andrey zonov dot org (initial version) Tested

svn commit: r235424 - in stable/8/sys: dev/bce i386/conf

2012-05-13 Thread Pyun YongHyeon
Author: yongari Date: Mon May 14 04:24:24 2012 New Revision: 235424 URL: http://svn.freebsd.org/changeset/base/235424 Log: MFC r235119: Restore jumbo frame configuration which was broken in r218423. Submitted by: Andrey Zonov andrey zonov dot org (initial version) Tested

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

2012-05-08 Thread Pyun YongHyeon
Author: yongari Date: Wed May 9 01:55:23 2012 New Revision: 235151 URL: http://svn.freebsd.org/changeset/base/235151 Log: Implement basic remote PHY support. Remote PHY allows the controller to perform MDIO type accesses to a remote transceiver using message pages defined through

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

2012-05-06 Thread Pyun YongHyeon
Author: yongari Date: Mon May 7 04:56:26 2012 New Revision: 235119 URL: http://svn.freebsd.org/changeset/base/235119 Log: Restore jumbo frame configuration which was broken in r218423. Submitted by: Andrey Zonov andrey zonov dot org (initial version) Tested by:Andrey Zonov andrey

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

2012-04-24 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 25 02:46:13 2012 New Revision: 234666 URL: http://svn.freebsd.org/changeset/base/234666 Log: For Yukon II controllers that implement optional temperature sensor and voltage sensor, TWSI is used to get sensor data. msk(4) does not monitor these sensors and

svn commit: r234593 - in stable/9/sys: dev/bce i386/conf kern

2012-04-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 23 03:38:40 2012 New Revision: 234593 URL: http://svn.freebsd.org/changeset/base/234593 Log: MFC r234121: Back out r228476. r228476 fixed superfluous link UP/DOWN messages but broke IPMI access during boot. It's not clear why r228476 breaks IPMI and

svn commit: r234594 - in stable/8/sys: dev/bce i386/conf

2012-04-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 23 03:40:39 2012 New Revision: 234594 URL: http://svn.freebsd.org/changeset/base/234594 Log: MFC r234121: Back out r228476. r228476 fixed superfluous link UP/DOWN messages but broke IPMI access during boot. It's not clear why r228476 breaks IPMI and

svn commit: r234595 - stable/7/sys/dev/bce

2012-04-22 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 23 03:42:23 2012 New Revision: 234595 URL: http://svn.freebsd.org/changeset/base/234595 Log: MFC r234121: Back out r228476. r228476 fixed superfluous link UP/DOWN messages but broke IPMI access during boot. It's not clear why r228476 breaks IPMI and

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

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 06:34:25 2012 New Revision: 234121 URL: http://svn.freebsd.org/changeset/base/234121 Log: Back out r228476. r228476 fixed superfluous link UP/DOWN messages but broke IPMI access during boot. It's not clear why r228476 breaks IPMI and should be revisited.

svn commit: r234123 - in stable/9/sys: dev/fxp i386/conf kern

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:08:41 2012 New Revision: 234123 URL: http://svn.freebsd.org/changeset/base/234123 Log: MFC r233585-233587: r233585: Partially revert r223608 and selectively allow microcode loading for 82550C. For 82550 controllers this change restores CPUSaver

svn commit: r234124 - in stable/8/sys: dev/fxp i386/conf

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:10:58 2012 New Revision: 234124 URL: http://svn.freebsd.org/changeset/base/234124 Log: MFC r233585-233587: r233585: Partially revert r223608 and selectively allow microcode loading for 82550C. For 82550 controllers this change restores CPUSaver

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

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:12:20 2012 New Revision: 234125 URL: http://svn.freebsd.org/changeset/base/234125 Log: MFC r233585-233587: r233585: Partially revert r223608 and selectively allow microcode loading for 82550C. For 82550 controllers this change restores CPUSaver

svn commit: r234126 - in stable/9/sys: dev/ale i386/conf kern

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:18:41 2012 New Revision: 234126 URL: http://svn.freebsd.org/changeset/base/234126 Log: MFC r233688-233689: r233688: Remove task queue based link state change handler. Driver no longer needs to defer link state handling. While I'm here, mark

svn commit: r234127 - in stable/8/sys: dev/ale i386/conf

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:19:46 2012 New Revision: 234127 URL: http://svn.freebsd.org/changeset/base/234127 Log: MFC r233688-233689: r233688: Remove task queue based link state change handler. Driver no longer needs to defer link state handling. While I'm here, mark

svn commit: r234128 - stable/7/sys/dev/ale

2012-04-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 11 07:21:51 2012 New Revision: 234128 URL: http://svn.freebsd.org/changeset/base/234128 Log: MFC r233688-233689: r233688: Remove task queue based link state change handler. Driver no longer needs to defer link state handling. While I'm here, mark

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

2012-03-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 30 04:46:39 2012 New Revision: 233688 URL: http://svn.freebsd.org/changeset/base/233688 Log: Remove task queue based link state change handler. Driver no longer needs to defer link state handling. While I'm here, mark IFF_DRV_RUNNING before changing media. If

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

2012-03-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Mar 30 05:27:05 2012 New Revision: 233689 URL: http://svn.freebsd.org/changeset/base/233689 Log: Do not report current link status if driver is not running. This change also workarounds dhclient's link state handling bug by not giving current link status.

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

2012-03-27 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 28 01:08:55 2012 New Revision: 233585 URL: http://svn.freebsd.org/changeset/base/233585 Log: Partially revert r223608 and selectively allow microcode loading for 82550C. For 82550 controllers this change restores CPUSaver microcode loading. Due to silicon bug

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

2012-03-27 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 28 01:27:27 2012 New Revision: 233586 URL: http://svn.freebsd.org/changeset/base/233586 Log: Load entire EEPROM contents in device attach time and verify whether the checksum of EEPROM is valid or not. Because driver heavily relies on EEPROM information when

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

2012-03-27 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 28 01:52:38 2012 New Revision: 233587 URL: http://svn.freebsd.org/changeset/base/233587 Log: Remove unnecessary #if as the software workaround for PCI protocol violation should be activated unless the system is cold-booted after updating EEPROM. The PCI

svn commit: r233486 - in stable/9/sys: dev/sf i386/conf

2012-03-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 26 03:45:46 2012 New Revision: 233486 URL: http://svn.freebsd.org/changeset/base/233486 Log: MFC r232019,232021,232025,232027,232029,232031,232040: r232019: Give hardware chance to drain active DMA cycles. r232021: If there are not enough RX buffers,

svn commit: r233487 - in stable/8/sys: dev/sf i386/conf

2012-03-25 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 26 03:48:21 2012 New Revision: 233487 URL: http://svn.freebsd.org/changeset/base/233487 Log: MFC r232019,232021,232025,232027,232029,232040: r232019: Give hardware chance to drain active DMA cycles. r232021: If there are not enough RX buffers,

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