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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:06:43 2009 New Revision: 194569 URL: http://svn.freebsd.org/changeset/base/194569 Log: Introduce Rx mbuf dma tag and use it in Rx path. Previously it used common mbuf dma tag for both Tx and Rx path but Rx buffer should have single DMA segment and maximum

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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:18:19 2009 New Revision: 194570 URL: http://svn.freebsd.org/changeset/base/194570 Log: Due to possible PCI bus lock-up issues fxp(4) didn't perform full hardware reset in attach phase. Selective reset does not clear configured parameters so I think full

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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:27:35 2009 New Revision: 194571 URL: http://svn.freebsd.org/changeset/base/194571 Log: Don't blindly enable Rx lock-up workaround. Newer chips do not need the Rx lock-up workaround. Obtained from:NetBSD Modified: head/sys/dev/fxp/if_fxp.c

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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 06:46:32 2009 New Revision: 194572 URL: http://svn.freebsd.org/changeset/base/194572 Log: Always check fxp(4) is running, see if it can accept frames from upper stack in fxp_start_body(). fxp(4) drops driver lock in Rx path so check the fxp(4) is still

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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 07:17:49 2009 New Revision: 194573 URL: http://svn.freebsd.org/changeset/base/194573 Log: Overhaul fxp(4) multicast filter programming. fxp(4) hardwares do not allow multicast filter programming when controller is busy to send/receive frames. So it used to

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

2009-06-21 Thread Pyun YongHyeon
Author: yongari Date: Sun Jun 21 07:34:12 2009 New Revision: 194574 URL: http://svn.freebsd.org/changeset/base/194574 Log: For ICH based fxp(4) controllers treat them as 82559 compatibles. To detect which controller is ICH based one, add a new member variable ich to struct fxp_ident and

Re: svn commit: r194904 - head/sys/dev/cas

2009-06-24 Thread Pyun YongHyeon
On Wed, Jun 24, 2009 at 08:56:07PM +, Marius Strobl wrote: Author: marius Date: Wed Jun 24 20:56:06 2009 New Revision: 194904 URL: http://svn.freebsd.org/changeset/base/194904 Log: - Change this driver to do taskqueue(9) based TX and interrupt handling in order to reduce

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

2009-07-08 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 9 01:58:59 2009 New Revision: 195484 URL: http://svn.freebsd.org/changeset/base/195484 Log: Make xl(4) build with Tx checksum offload. PR: kern/136409 Approved by: re (kib) Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

Re: svn commit: r189117 - head/sys/dev/bce

2009-08-12 Thread Pyun YongHyeon
On Wed, Aug 12, 2009 at 02:44:29PM -0700, Xin LI wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Stanislav, Stanislav Sedov wrote: On Thu, 06 Aug 2009 11:07:32 -0500 Tom Judge t...@tomjudge.com mentioned: I can confirm that we are also seeing this problem on a number of

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

2009-08-18 Thread Pyun YongHyeon
Author: yongari Date: Tue Aug 18 20:20:15 2009 New Revision: 196366 URL: http://svn.freebsd.org/changeset/base/196366 Log: Backout r193289. r193289 restored page select bits to previous value instead of blindly resetting it to 0. However, it seems page select bits of some 88E1116 PHY is

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

2009-08-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 24 18:58:13 2009 New Revision: 196516 URL: http://svn.freebsd.org/changeset/base/196516 Log: Add RTL8168DP/RTL8111DP device id. While I'm here append 8111D to the description of RTL8168D as RL_HWREV_8168D can be either RTL8168D or RTL8111D. PR:

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

2009-08-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 24 20:37:15 2009 New Revision: 196517 URL: http://svn.freebsd.org/changeset/base/196517 Log: Don't try to power down PHY when alc(4) failed to map the device. This fixes system crash when mapping alc(4) device failed in device attach. Reported by: Jim

svn commit: r196618 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/re dev/xen/xenpci pci

2009-08-28 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 28 17:34:22 2009 New Revision: 196618 URL: http://svn.freebsd.org/changeset/base/196618 Log: MFC r196516: Add RTL8168DP/RTL8111DP device id. While I'm here append 8111D to the description of RTL8168D as RL_HWREV_8168D can be either RTL8168D or RTL8111D.

svn commit: r196619 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/alc dev/xen/xenpci

2009-08-28 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 28 18:01:37 2009 New Revision: 196619 URL: http://svn.freebsd.org/changeset/base/196619 Log: MFC r196517: Don't try to power down PHY when alc(4) failed to map the device. This fixes system crash when mapping alc(4) device failed in device attach.

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

2009-08-31 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 31 22:09:48 2009 New Revision: 196721 URL: http://svn.freebsd.org/changeset/base/196721 Log: Make sure rx descriptor ring align on 16 bytes. I guess the alignment requirement could be multiple of 4 bytes but I think using descriptor size would make intention

svn commit: r196830 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/txp dev/xen/xenpci

2009-09-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 4 16:41:17 2009 New Revision: 196830 URL: http://svn.freebsd.org/changeset/base/196830 Log: MFC r196721: Make sure rx descriptor ring align on 16 bytes. I guess the alignment requirement could be multiple of 4 bytes but I think using descriptor size

svn commit: r197095 - in stable/7/sys: . contrib/pf dev/re pci

2009-09-11 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 11 17:15:18 2009 New Revision: 197095 URL: http://svn.freebsd.org/changeset/base/197095 Log: MFC r196516: Add RTL8168DP/RTL8111DP device id. While I'm here append 8111D to the description of RTL8168D as RL_HWREV_8168D can be either RTL8168D or RTL8111D.

svn commit: r197096 - in stable/7/sys: . contrib/pf dev/alc

2009-09-11 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 11 17:18:08 2009 New Revision: 197096 URL: http://svn.freebsd.org/changeset/base/197096 Log: MFC r195989: Free allocated Rx ring dma memory/tags. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed)

svn commit: r197097 - in stable/7/sys: . contrib/pf dev/alc

2009-09-11 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 11 17:20:11 2009 New Revision: 197097 URL: http://svn.freebsd.org/changeset/base/197097 Log: MFC r196517: Don't try to power down PHY when alc(4) failed to map the device. This fixes system crash when mapping alc(4) device failed in device attach.

svn commit: r197098 - in stable/7/sys: . contrib/pf dev/txp

2009-09-11 Thread Pyun YongHyeon
Author: yongari Date: Fri Sep 11 17:25:24 2009 New Revision: 197098 URL: http://svn.freebsd.org/changeset/base/197098 Log: MFC r196721: Make sure rx descriptor ring align on 16 bytes. I guess the alignment requirement could be multiple of 4 bytes but I think using descriptor size

svn commit: r197461 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 16:57:35 2009 New Revision: 197461 URL: http://svn.freebsd.org/changeset/base/197461 Log: Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply alignment fixup code for received frames on strict alignment architectures. Modified:

svn commit: r197463 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:07:04 2009 New Revision: 197463 URL: http://svn.freebsd.org/changeset/base/197463 Log: Consistently use bus_addr_t. Modified: head/sys/dev/de/if_de.c head/sys/dev/de/if_devar.h Modified: head/sys/dev/de/if_de.c

svn commit: r197464 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:11:41 2009 New Revision: 197464 URL: http://svn.freebsd.org/changeset/base/197464 Log: Destroy dmamap in dma cleanup. Modified: head/sys/dev/de/if_de.c Modified: head/sys/dev/de/if_de.c

svn commit: r197465 - head/sys/dev/de

2009-09-24 Thread Pyun YongHyeon
Author: yongari Date: Thu Sep 24 17:53:00 2009 New Revision: 197465 URL: http://svn.freebsd.org/changeset/base/197465 Log: Align Tx/Rx descriptors on 32 bytes boundary instead of PAGE_SIZE. Also align setup descriptor on 32 bytes boundary. Tx buffer have no alignment limitation so create

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 19:33:52 2009 New Revision: 197585 URL: http://svn.freebsd.org/changeset/base/197585 Log: Remove unnecessary device reinitialization. Modified: head/sys/dev/jme/if_jme.c Modified: head/sys/dev/jme/if_jme.c

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 19:40:16 2009 New Revision: 197586 URL: http://svn.freebsd.org/changeset/base/197586 Log: It seems some 82559ER controllers do not support Rx checksum offloading. Datasheet said nothing about the limitation of 82559ER except WOL. Explicitly disable Rx

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 19:48:17 2009 New Revision: 197587 URL: http://svn.freebsd.org/changeset/base/197587 Log: Don't encode model id twice. Reported by: Kristof Provost kristof sigsegv dot be Modified: head/sys/dev/mii/e1000phy.c Modified: head/sys/dev/mii/e1000phy.c

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 19:53:53 2009 New Revision: 197588 URL: http://svn.freebsd.org/changeset/base/197588 Log: Some fiber PHY(88E1112) does not seem to set resolved speed so always assume we've got IFM_1000_SX. Modified: head/sys/dev/mii/e1000phy.c Modified:

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 20:03:37 2009 New Revision: 197589 URL: http://svn.freebsd.org/changeset/base/197589 Log: Fix MIB statistics clear routine. This should fix alignment errors on sparc64. Reported by: Garrett Damore gdamore opensolaris dot org Modified:

svn commit: r197590 - in head/sys/dev: mii msk

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 21:03:28 2009 New Revision: 197590 URL: http://svn.freebsd.org/changeset/base/197590 Log: Add hack to pass controller specific information to phy driver. Unlike most other PHYs there is no easy way to know which media type the PHY supports on Marvell PHYs.

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 21:11:31 2009 New Revision: 197592 URL: http://svn.freebsd.org/changeset/base/197592 Log: Add DGE-560SX(Yukon XL) to the supported device list. Many thanks to Eugene Perevyazko john dnepro dot net who kindly gave remote access to system with DGE-560SX.

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

2009-09-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Sep 28 21:15:57 2009 New Revision: 197593 URL: http://svn.freebsd.org/changeset/base/197593 Log: DGE-560SX is now supported. Modified: head/share/man/man4/msk.4 Modified: head/share/man/man4/msk.4

svn commit: r197627 - in head/sys/dev: ae age alc ale

2009-09-29 Thread Pyun YongHyeon
Author: yongari Date: Tue Sep 29 23:03:16 2009 New Revision: 197627 URL: http://svn.freebsd.org/changeset/base/197627 Log: Fix multicast handling. All Atheros controllers use big-endian form in computing multicast hash. PR: kern/139137 Modified: head/sys/dev/ae/if_ae.c

svn commit: r197787 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/de dev/xen/xenpci

2009-10-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 5 19:29:25 2009 New Revision: 197787 URL: http://svn.freebsd.org/changeset/base/197787 Log: MFC r197461: Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply alignment fixup code for received frames on strict alignment architectures.

svn commit: r198036 - in stable/7/sys: . contrib/pf pci

2009-10-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 13 17:33:55 2009 New Revision: 198036 URL: http://svn.freebsd.org/changeset/base/198036 Log: MFC 191344: Clear IFF_DRV_OACTIVE flag if one of queued packets was transmitted. Previously it used to clear the flag only when the transmit queue is empty

svn commit: r198038 - in stable/6/sys: . conf contrib/pf dev/cxgb pci

2009-10-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 13 17:50:10 2009 New Revision: 198038 URL: http://svn.freebsd.org/changeset/base/198038 Log: MFC 191344: Clear IFF_DRV_OACTIVE flag if one of queued packets was transmitted. Previously it used to clear the flag only when the transmit queue is empty

svn commit: r198039 - in stable/7/sys: . contrib/pf pci

2009-10-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 13 17:56:48 2009 New Revision: 198039 URL: http://svn.freebsd.org/changeset/base/198039 Log: MFC 191345: To make it easy whether xl(4) missed Tx completion interrupt check number of queued packets in watchdog timeout handler. If there are no queued

svn commit: r198042 - in stable/6/sys: . conf contrib/pf dev/cxgb pci

2009-10-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Oct 13 18:09:15 2009 New Revision: 198042 URL: http://svn.freebsd.org/changeset/base/198042 Log: MFC 191345: To make it easy whether xl(4) missed Tx completion interrupt check number of queued packets in watchdog timeout handler. If there are no queued

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

2009-11-02 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 2 18:15:11 2009 New Revision: 198813 URL: http://svn.freebsd.org/changeset/base/198813 Log: Add BCM5761 PHY id. Modified: head/sys/dev/mii/brgphy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/brgphy.c

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

2009-11-02 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 2 18:35:05 2009 New Revision: 198814 URL: http://svn.freebsd.org/changeset/base/198814 Log: Add a check to know whether driver is still running after reacquiring driver lock in Rx handler. re(4) drops a driver lock before passing received frame to upper stack

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:03:19 2009 New Revision: 198912 URL: http://svn.freebsd.org/changeset/base/198912 Log: MFC r193875: Controller will dma SCB command status for a given command and driver should read updated status back after issuing a SCB command. To send a

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:07:09 2009 New Revision: 198913 URL: http://svn.freebsd.org/changeset/base/198913 Log: MFC r194569: Introduce Rx mbuf dma tag and use it in Rx path. Previously it used common mbuf dma tag for both Tx and Rx path but Rx buffer should have single

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:08:53 2009 New Revision: 198914 URL: http://svn.freebsd.org/changeset/base/198914 Log: MFC r194570: Due to possible PCI bus lock-up issues fxp(4) didn't perform full hardware reset in attach phase. Selective reset does not clear configured

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:14:19 2009 New Revision: 198915 URL: http://svn.freebsd.org/changeset/base/198915 Log: MFC r194571: Don't blindly enable Rx lock-up workaround. Newer chips do not need the Rx lock-up workaround. Obtained from:NetBSD Modified:

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:18:09 2009 New Revision: 198916 URL: http://svn.freebsd.org/changeset/base/198916 Log: MFC r194572: Always check fxp(4) is running, see if it can accept frames from upper stack in fxp_start_body(). fxp(4) drops driver lock in Rx path so check the

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:20:31 2009 New Revision: 198917 URL: http://svn.freebsd.org/changeset/base/198917 Log: MFC r194573: Overhaul fxp(4) multicast filter programming. fxp(4) hardwares do not allow multicast filter programming when controller is busy to send/receive

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:22:59 2009 New Revision: 198918 URL: http://svn.freebsd.org/changeset/base/198918 Log: MFC r194574: For ICH based fxp(4) controllers treat them as 82559 compatibles. To detect which controller is ICH based one, add a new member variable ich to

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:31:43 2009 New Revision: 198919 URL: http://svn.freebsd.org/changeset/base/198919 Log: MFC r197586: It seems some 82559ER controllers do not support Rx checksum offloading. Datasheet said nothing about the limitation of 82559ER except WOL.

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 18:34:14 2009 New Revision: 198920 URL: http://svn.freebsd.org/changeset/base/198920 Log: MFC r197586: It seems some 82559ER controllers do not support Rx checksum offloading. Datasheet said nothing about the limitation of 82559ER except WOL.

svn commit: r198922 - stable/7/sys/dev/de

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 19:01:35 2009 New Revision: 198922 URL: http://svn.freebsd.org/changeset/base/198922 Log: MFC r197461: Use __NO_STRICT_ALIGNMENT to determine whether de(4) have to apply alignment fixup code for received frames on strict alignment architectures.

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 20:19:21 2009 New Revision: 198923 URL: http://svn.freebsd.org/changeset/base/198923 Log: Use correct dma tag for jumbo buffer. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 20:40:38 2009 New Revision: 198924 URL: http://svn.freebsd.org/changeset/base/198924 Log: Covert bge_newbuf_std to use bus_dmamap_load_mbuf_sg(9). Note, bge_newbuf_std still has a bug for handling dma map load failure under high network load. Just reusing

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 20:57:52 2009 New Revision: 198927 URL: http://svn.freebsd.org/changeset/base/198927 Log: Remove common DMA tag used for TX/RX mbufs and create Tx DMA tag and Rx DMA tag separately. Previously it used a common mbuf DMA tag for both Tx and Rx path but Rx

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

2009-11-04 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 4 21:06:54 2009 New Revision: 198928 URL: http://svn.freebsd.org/changeset/base/198928 Log: Make bge_newbuf_std()/bge_newbuf_jumbo() returns actual error code for buffer allocation. If driver know we are out of Rx buffers let controller stop. This should fix

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

2009-11-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Nov 6 01:11:59 2009 New Revision: 198967 URL: http://svn.freebsd.org/changeset/base/198967 Log: Correct MSI mode register bits. Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h

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

2009-11-07 Thread Pyun YongHyeon
Author: yongari Date: Sat Nov 7 20:37:38 2009 New Revision: 199020 URL: http://svn.freebsd.org/changeset/base/199020 Log: Tell upper layer we support long frames. ether_ifattach() initializes it to ETHER_HDR_LEN so we have to override it after calling ether_ifattch(). While I'm here

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

2009-11-07 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 8 01:30:35 2009 New Revision: 199036 URL: http://svn.freebsd.org/changeset/base/199036 Log: Count number of inbound packets which were chosen to be discarded as input errors. Also count out of receive BDs as input errors. Modified: head/sys/dev/bge/if_bge.c

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

2009-11-08 Thread Pyun YongHyeon
Author: yongari Date: Sun Nov 8 19:59:54 2009 New Revision: 199054 URL: http://svn.freebsd.org/changeset/base/199054 Log: Partially revert r199035. Revision 1.158 says only lower ten bits of BGE_RXLP_LOCSTAT_IFIN_DROPS register is valid. For BCM5761 case it seems the controller maintains

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

2009-11-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 9 00:16:50 2009 New Revision: 199065 URL: http://svn.freebsd.org/changeset/base/199065 Log: Correct disabling checksum offloading for BCM5700 B0. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2009-11-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 9 22:58:30 2009 New Revision: 199115 URL: http://svn.freebsd.org/changeset/base/199115 Log: Add missing bus_dmamap_sync(9) before issuing kick command. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2009-11-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 9 23:09:18 2009 New Revision: 199116 URL: http://svn.freebsd.org/changeset/base/199116 Log: Zero out Tx/Rx descriptors before using them. Also add missing bus_dmamap_sync(9) after Tx descriptor initialization. Modified: head/sys/dev/bge/if_bge.c Modified:

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

2009-11-10 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 10 20:29:20 2009 New Revision: 199153 URL: http://svn.freebsd.org/changeset/base/199153 Log: Controller does not update Tx descriptors(send BDs) after sending frames so remove unnecessary BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTREAD of bus_dmamap_sync(9).

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

2009-11-17 Thread Pyun YongHyeon
Author: yongari Date: Tue Nov 17 18:19:45 2009 New Revision: 199413 URL: http://svn.freebsd.org/changeset/base/199413 Log: It seems generation of link state change of e1000phy(4) is not reliable on some Marvell PHYs. If msk(4) know it still does not have established link check whether

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 20:57:35 2009 New Revision: 199548 URL: http://svn.freebsd.org/changeset/base/199548 Log: Remove complex macros that were used to compute bits values. Although these macros may have its own strength, its complex definition make hard to read the code.

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 21:08:33 2009 New Revision: 199550 URL: http://svn.freebsd.org/changeset/base/199550 Log: Remove support code for FreeBSD 6.x versions. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 21:39:43 2009 New Revision: 199551 URL: http://svn.freebsd.org/changeset/base/199551 Log: Destroy driver mutex in device detach. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 21:45:06 2009 New Revision: 199552 URL: http://svn.freebsd.org/changeset/base/199552 Log: Add MSI support. Modified: head/sys/dev/et/if_et.c head/sys/dev/et/if_etvar.h Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 21:46:58 2009 New Revision: 199553 URL: http://svn.freebsd.org/changeset/base/199553 Log: Remove extra spce at the EOL. Modified: head/sys/dev/et/if_et.c head/sys/dev/et/if_etreg.h head/sys/dev/et/if_etvar.h Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 21:53:21 2009 New Revision: 199556 URL: http://svn.freebsd.org/changeset/base/199556 Log: style(9) Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c == ---

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 22:06:19 2009 New Revision: 199558 URL: http://svn.freebsd.org/changeset/base/199558 Log: Use bus_{read,write}_4 rather than bus_space_{read,write}_4. Modified: head/sys/dev/et/if_et.c head/sys/dev/et/if_etvar.h Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 22:53:41 2009 New Revision: 199561 URL: http://svn.freebsd.org/changeset/base/199561 Log: Use capability pointer to access PCIe registers rather than directly access them at fixed address. Frequently the register offset could be changed if additional PCI

Re: svn commit: r199552 - head/sys/dev/et

2009-11-19 Thread Pyun YongHyeon
On Thu, Nov 19, 2009 at 10:41:52PM +, Alexey Dokuchaev wrote: On Thu, Nov 19, 2009 at 09:45:06PM +, Pyun YongHyeon wrote: Modified: head/sys/dev/et/if_et.c == --- head/sys/dev/et/if_et.c Thu Nov 19 21:39

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 22:59:52 2009 New Revision: 199563 URL: http://svn.freebsd.org/changeset/base/199563 Log: Fix copy paste error and remove extra space before colon. Pointed out by: danfe Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 23:12:44 2009 New Revision: 199564 URL: http://svn.freebsd.org/changeset/base/199564 Log: Minimize interface reinitialization by checking IFF_DRV_RUNNING flag. This fixes unnecessary interface UP/DOWNs during getting an IP address via DHCP. Tested by:

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

2009-11-19 Thread Pyun YongHyeon
Author: yongari Date: Thu Nov 19 23:14:40 2009 New Revision: 199565 URL: http://svn.freebsd.org/changeset/base/199565 Log: Move interface reinitialization down after disabling WOL in resume path. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c

Re: svn commit: r205614 - stable/7/sys/dev/msk

2010-04-07 Thread Pyun YongHyeon
On Wed, Apr 07, 2010 at 07:34:17AM +0200, Andre Albsmeier wrote: On Tue, 06-Apr-2010 at 22:29:49 +0200, Pyun YongHyeon wrote: On Tue, Apr 06, 2010 at 09:59:36PM +0200, Andre Albsmeier wrote: On Tue, 06-Apr-2010 at 20:44:56 +0200, Pyun YongHyeon wrote: On Tue, Apr 06, 2010 at 08:00:27PM

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

2010-04-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 7 17:12:57 2010 New Revision: 206364 URL: http://svn.freebsd.org/changeset/base/206364 Log: Partial revert r204545. Just relying on status LE ownership of status block seems to cause poor performance. Always read current status index register first and then

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

2010-04-09 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 9 22:50:28 2010 New Revision: 206433 URL: http://svn.freebsd.org/changeset/base/206433 Log: Add preliminary support for 8168E/8111E PCIe controller. While I'm here simplify device description string. Tested by:Michael Beckmann michael apfel dot de

svn commit: r206436 - head/sys/pci

2010-04-09 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 9 23:00:24 2010 New Revision: 206436 URL: http://svn.freebsd.org/changeset/base/206436 Log: Consistently use capital letters. Modified: head/sys/pci/if_rlreg.h Modified: head/sys/pci/if_rlreg.h

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Apr 13 20:07:52 2010 New Revision: 206563 URL: http://svn.freebsd.org/changeset/base/206563 Log: Add Agere ET1011 PHY which is found on Belkin F5D5055 USB controller. Unlike Agere ET1011C, Agere ET1011 does not seem to need special DSP programming to workaround

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 00:50:18 2010 New Revision: 206575 URL: http://svn.freebsd.org/changeset/base/206575 Log: MFC r206364: Partial revert r204545. Just relying on status LE ownership of status block seems to cause poor performance. Always read current status index

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 01:09:14 2010 New Revision: 206576 URL: http://svn.freebsd.org/changeset/base/206576 Log: MFC r206364: Partial revert r204545. Just relying on status LE ownership of status block seems to cause poor performance. Always read current status index

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 01:12:24 2010 New Revision: 206577 URL: http://svn.freebsd.org/changeset/base/206577 Log: MFC r206433: Add preliminary support for 8168E/8111E PCIe controller. While I'm here simplify device description string. Tested by: Michael Beckmann

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 01:14:40 2010 New Revision: 206578 URL: http://svn.freebsd.org/changeset/base/206578 Log: MFC r206433: Add preliminary support for 8168E/8111E PCIe controller. While I'm here simplify device description string. Tested by: Michael Beckmann

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 01:22:33 2010 New Revision: 206579 URL: http://svn.freebsd.org/changeset/base/206579 Log: MFC r206436: Consistently use capital letters. Modified: stable/8/sys/pci/if_rlreg.h Directory Properties: stable/8/sys/ (props changed)

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

2010-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 01:24:09 2010 New Revision: 206581 URL: http://svn.freebsd.org/changeset/base/206581 Log: MFC r206436: Consistently use capital letters. Modified: stable/7/sys/pci/if_rlreg.h Directory Properties: stable/7/sys/ (props changed)

svn commit: r206625 - in head/sys: amd64/conf boot/forth conf dev/sge i386/conf modules modules/sge

2010-04-14 Thread Pyun YongHyeon
+ * SiS 900 driver by Bill Paul, using SiS 190/191 Solaris driver by + * Masayuki Murayama and SiS 190/191 GNU/Linux driver by K.M. Liu + * km...@sis.com. Thanks to Pyun YongHyeon pyu...@gmail.com for + * review and very useful comments. + * + * Adapted to SiS 191 NIC by Nikolay Denev with further

svn commit: r206628 - head/usr.sbin/sysinstall

2010-04-14 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 14 20:54:23 2010 New Revision: 206628 URL: http://svn.freebsd.org/changeset/base/206628 Log: Add sge(4) to the list of supported network interface. Modified: head/usr.sbin/sysinstall/devices.c Modified: head/usr.sbin/sysinstall/devices.c

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

2010-04-14 Thread Pyun YongHyeon
(r206631) @@ -0,0 +1,120 @@ +.\ Copyright (c) 2010 Pyun YongHyeon +.\ All rights reserved. +.\ +.\ Redistribution and use in source and binary forms, with or without +.\ modification, are permitted provided that the following conditions +.\ are met: +.\ 1. Redistributions of source code must retain

svn commit: r206672 - head/sys/dev/sge

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 17:24:21 2010 New Revision: 206672 URL: http://svn.freebsd.org/changeset/base/206672 Log: Fix include path. Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c ==

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:19:59 2010 New Revision: 206678 URL: http://svn.freebsd.org/changeset/base/206678 Log: MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 Modified:

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:22:55 2010 New Revision: 206679 URL: http://svn.freebsd.org/changeset/base/206679 Log: MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 Modified:

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:26:28 2010 New Revision: 206680 URL: http://svn.freebsd.org/changeset/base/206680 Log: MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:28:15 2010 New Revision: 206681 URL: http://svn.freebsd.org/changeset/base/206681 Log: MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:29:56 2010 New Revision: 206682 URL: http://svn.freebsd.org/changeset/base/206682 Log: MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that

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

2010-04-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 15 19:31:21 2010 New Revision: 206683 URL: http://svn.freebsd.org/changeset/base/206683 Log: MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that

svn commit: r206876 - in head/sys/dev: age alc ale fxp msk nfe

2010-04-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 19 22:10:40 2010 New Revision: 206876 URL: http://svn.freebsd.org/changeset/base/206876 Log: With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify drivers to take into account for the change. Basically CSUM_TSO should be checked before checking CSUM_TCP.

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

2010-04-21 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 22 01:39:45 2010 New Revision: 207046 URL: http://svn.freebsd.org/changeset/base/207046 Log: MFC r206563: Add Agere ET1011 PHY which is found on Belkin F5D5055 USB controller. Unlike Agere ET1011C, Agere ET1011 does not seem to need special DSP

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

2010-04-21 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 22 01:45:18 2010 New Revision: 207047 URL: http://svn.freebsd.org/changeset/base/207047 Log: MFC r206563: Add Agere ET1011 PHY which is found on Belkin F5D5055 USB controller. Unlike Agere ET1011C, Agere ET1011 does not seem to need special DSP

svn commit: r207071 - head/sys/dev/sge

2010-04-22 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 22 20:25:07 2010 New Revision: 207071 URL: http://svn.freebsd.org/changeset/base/207071 Log: Intialize interrupt moderation control register. The magic value was chosen by lots of trial and errors. The chosen value shows good interrupt moderation without

  1   2   3   4   5   6   7   8   9   10   >