svn commit: r211361 - stable/8/sys/dev/sge

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 21:56:45 2010 New Revision: 211361 URL: http://svn.freebsd.org/changeset/base/211361 Log: MFC r209818: Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits

svn commit: r211362 - stable/7/sys/dev/sge

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 21:58:05 2010 New Revision: 211362 URL: http://svn.freebsd.org/changeset/base/211362 Log: MFC r209818: Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:36:12 2010 New Revision: 211365 URL: http://svn.freebsd.org/changeset/base/211365 Log: MFC r208917: Remove unused macros. Modified: stable/8/sys/dev/bge/if_bgereg.h Directory Properties: stable/8/sys/ (props changed)

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:37:32 2010 New Revision: 211366 URL: http://svn.freebsd.org/changeset/base/211366 Log: MFC r208917: Remove unused macros. Modified: stable/7/sys/dev/bge/if_bgereg.h Directory Properties: stable/7/sys/ (props changed)

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:40:47 2010 New Revision: 211367 URL: http://svn.freebsd.org/changeset/base/211367 Log: MFC r209714: It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO configuration to get IPv4 TSO work on BCM57780. While I'm here apply the same

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:44:28 2010 New Revision: 211369 URL: http://svn.freebsd.org/changeset/base/211369 Log: MFC r209741: Zero entire status block and add missing bus_dmamap_sync(9). Modified: stable/8/sys/dev/bge/if_bge.c Directory Properties: stable/8/sys/ (props

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:45:40 2010 New Revision: 211370 URL: http://svn.freebsd.org/changeset/base/211370 Log: MFC r209741: Zero entire status block and add missing bus_dmamap_sync(9). Modified: stable/7/sys/dev/bge/if_bge.c Directory Properties: stable/7/sys/ (props

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:51:52 2010 New Revision: 211371 URL: http://svn.freebsd.org/changeset/base/211371 Log: MFC r210011,210013-210015: r210011: Make bge_stop_fw() static. While I'm here use ANSI function definitions. r210013: style. r210014: Fix error

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:53:46 2010 New Revision: 211372 URL: http://svn.freebsd.org/changeset/base/211372 Log: MFC r210011,210013-210015: r210011: Make bge_stop_fw() static. While I'm here use ANSI function definitions. r210013: style. r210014: Fix error

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:57:50 2010 New Revision: 211373 URL: http://svn.freebsd.org/changeset/base/211373 Log: MFC r210083,210152: r210083: Remove enabling Data FIFO protection with indirect memory access. r165114 added that code and that change ignored the same logic

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 22:59:35 2010 New Revision: 211374 URL: http://svn.freebsd.org/changeset/base/211374 Log: MFC r210083,210152: r210083: Remove enabling Data FIFO protection with indirect memory access. r165114 added that code and that change ignored the same logic

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:02:41 2010 New Revision: 211375 URL: http://svn.freebsd.org/changeset/base/211375 Log: MFC r205651: Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim read request size. Modified: stable/8/sys/dev/bge/if_bge.c Directory

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:07:06 2010 New Revision: 211376 URL: http://svn.freebsd.org/changeset/base/211376 Log: MFC r205651: Use pci_get_max_read_req() and pci_set_max_read_req() to set maximim read request size. Modified: stable/7/sys/dev/bge/if_bge.c Directory

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:11:38 2010 New Revision: 211377 URL: http://svn.freebsd.org/changeset/base/211377 Log: MFC r210244: Implement WOL. WOL is supported on RTL8139B or newer controllers. PR: kern/148013 Modified: stable/8/sys/pci/if_rl.c Directory Properties:

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:13:09 2010 New Revision: 211378 URL: http://svn.freebsd.org/changeset/base/211378 Log: MFC r210244: Implement WOL. WOL is supported on RTL8139B or newer controllers. PR: kern/148013 Modified: stable/7/sys/pci/if_rl.c Directory Properties:

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:26:46 2010 New Revision: 211379 URL: http://svn.freebsd.org/changeset/base/211379 Log: MFC r207391: - Pass flow control settings back to bce(4). Modified: stable/8/sys/dev/mii/brgphy.c Directory Properties: stable/8/sys/ (props changed)

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:28:11 2010 New Revision: 211380 URL: http://svn.freebsd.org/changeset/base/211380 Log: MFC r207391: - Pass flow control settings back to bce(4). Modified: stable/7/sys/dev/mii/brgphy.c Directory Properties: stable/7/sys/ (props changed)

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:30:53 2010 New Revision: 211381 URL: http://svn.freebsd.org/changeset/base/211381 Log: MFC r207411: - Enable flow control. - Print device details only when verbose boot is enabled. - Add debug output for shared memory access. - Add debug

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:32:23 2010 New Revision: 211382 URL: http://svn.freebsd.org/changeset/base/211382 Log: MFC r207411: - Enable flow control. - Print device details only when verbose boot is enabled. - Add debug output for shared memory access. - Add debug

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:38:49 2010 New Revision: 211383 URL: http://svn.freebsd.org/changeset/base/211383 Log: MFC r210257,210259-210261: r210257: When we didn't find a matching flash device, do not touch flash config data. While I'm here, use return code of

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:40:44 2010 New Revision: 211384 URL: http://svn.freebsd.org/changeset/base/211384 Log: MFC r210257,210259-210261: r210257: When we didn't find a matching flash device, do not touch flash config data. While I'm here, use return code of

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:47:04 2010 New Revision: 211385 URL: http://svn.freebsd.org/changeset/base/211385 Log: MFC r210263,210267,210269-210270: r210263: Do not report current link state if interface is not UP. r210267: Add KASSERT to check number of returned DMA

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:48:58 2010 New Revision: 211386 URL: http://svn.freebsd.org/changeset/base/211386 Log: MFC r210263,210267,210269-210270: r210263: Do not report current link state if interface is not UP. r210267: Add KASSERT to check number of returned DMA

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:56:57 2010 New Revision: 211387 URL: http://svn.freebsd.org/changeset/base/211387 Log: MFC r210271: Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4) controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes. Modified:

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

2010-08-15 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 15 23:58:21 2010 New Revision: 211388 URL: http://svn.freebsd.org/changeset/base/211388 Log: MFC r210271: Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4) controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes. Modified:

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

2010-08-13 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 13 19:39:33 2010 New Revision: 211285 URL: http://svn.freebsd.org/changeset/base/211285 Log: Make sure to disable RX MAC in alc_stop_mac(). Previously there was a logic error which it always enabled RX MAC. Modified: head/sys/dev/alc/if_alc.c Modified:

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

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:22:14 2010 New Revision: 211103 URL: http://svn.freebsd.org/changeset/base/211103 Log: Add F1 PHY found on Atheros AR8151 v2.0 PCIe gigabit ethernet controller. Modified: head/sys/dev/mii/atphy.c head/sys/dev/mii/miidevs Modified:

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

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:28:08 2010 New Revision: 211105 URL: http://svn.freebsd.org/changeset/base/211105 Log: Add support for Atheros AR8151/AR8152 PCIe gigabit/fast ethernet controller. These controllers are known as L1D(AR8151) and L2CB/B2(AR8152). This change adds supports

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

2010-08-09 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 17:33:03 2010 New Revision: 211106 URL: http://svn.freebsd.org/changeset/base/211106 Log: Document newly added controller AR8151 and AR8152. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4

svn commit: r211089 - head/sys/dev/ste

2010-08-08 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 9 01:47:09 2010 New Revision: 211089 URL: http://svn.freebsd.org/changeset/base/211089 Log: It seems some old Sundace(now IC Plus Corp.) controllers do not like memory mapped register access. Typical problem from the issue was MII access returned unreliable

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 7 23:16:21 2010 New Revision: 211046 URL: http://svn.freebsd.org/changeset/base/211046 Log: Marvell model number 0x06 is 88E1101 PHY. Modified: head/sys/dev/mii/e1000phy.c head/sys/dev/mii/miidevs Modified: head/sys/dev/mii/e1000phy.c

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 7 23:33:06 2010 New Revision: 211047 URL: http://svn.freebsd.org/changeset/base/211047 Log: Controller does not seem to support more than 1024 bytes DMA burst. Limit DMA burst size to be less than or equal to 1024 bytes. Modified: head/sys/dev/alc/if_alc.c

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sat Aug 7 23:41:46 2010 New Revision: 211048 URL: http://svn.freebsd.org/changeset/base/211048 Log: Do not touch CMB TX threshold register when CMB is not used. Note, alc(4) does not use CMB at all due to silicon bug. Modified: head/sys/dev/alc/if_alc.c Modified:

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 8 00:12:31 2010 New Revision: 211051 URL: http://svn.freebsd.org/changeset/base/211051 Log: Always disable ASPM L0s and enable L1 before entering into WOL suspend state. Also disable master clock after PHY power down, this is supposed to save more power. The

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 8 00:23:36 2010 New Revision: 211052 URL: http://svn.freebsd.org/changeset/base/211052 Log: Remove unnecessary assignment. Modified: head/sys/dev/alc/if_alc.c Modified: head/sys/dev/alc/if_alc.c

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

2010-08-07 Thread Pyun YongHyeon
Author: yongari Date: Sun Aug 8 00:43:41 2010 New Revision: 211053 URL: http://svn.freebsd.org/changeset/base/211053 Log: Cache PCIY_PMG and PCIY_EXPRESS capability pointer to softc and use it instead of calling pci_find_extcap(). Modified: head/sys/dev/alc/if_alc.c

svn commit: r210946 - head/contrib/bsnmp/snmp_mibII

2010-08-06 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 6 18:44:07 2010 New Revision: 210946 URL: http://svn.freebsd.org/changeset/base/210946 Log: Fix a typo introduced in r210936 which broke build. Modified: head/contrib/bsnmp/snmp_mibII/mibII.c Modified: head/contrib/bsnmp/snmp_mibII/mibII.c

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

2010-08-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 6 00:50:16 2010 New Revision: 210904 URL: http://svn.freebsd.org/changeset/base/210904 Log: Reduce Tx interrupt moderation timer from 50ms to 1ms. The default value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance

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

2010-08-05 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 6 00:52:23 2010 New Revision: 210905 URL: http://svn.freebsd.org/changeset/base/210905 Log: Reflect default Tx interrupt moderation timer value change(50ms - 1ms). Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4

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

2010-07-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 29 20:42:38 2010 New Revision: 210632 URL: http://svn.freebsd.org/changeset/base/210632 Log: Consistently check header type after reading PCIR_HDRTYPE register. While I'm here use defined macro instead of using magic numbers for header type. Reviewed by:

Re: svn commit: r210514 - in head/sys/amd64: acpica amd64

2010-07-27 Thread Pyun YongHyeon
On Tue, Jul 27, 2010 at 12:15:06PM -0400, Jung-uk Kim wrote: On Tuesday 27 July 2010 10:49 am, Gavin Atkinson wrote: On Mon, 2010-07-26 at 19:53 +, Jung-uk Kim wrote: Author: jkim Date: Mon Jul 26 19:53:09 2010 New Revision: 210514 URL:

Re: svn commit: r208995 - stable/7/sys/dev/bge

2010-07-21 Thread Pyun YongHyeon
On Tue, Jul 20, 2010 at 11:52:24PM +0200, Anders Nordby wrote: Hi, On Thu, Jul 01, 2010 at 02:52:18PM -0700, Pyun YongHyeon wrote: Is it possible to get this fix into FreeBSD 7.3-RELEASE? We typically rely on developers to decide if fixes might warrant consideration as an Errata Notice

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

2010-07-20 Thread Pyun YongHyeon
On Tue, Jul 20, 2010 at 10:13:03AM +, Bjoern A. Zeeb wrote: On Mon, 19 Jul 2010, Pyun YongHyeon wrote: Author: yongari Date: Mon Jul 19 21:41:54 2010 New Revision: 210263 URL: http://svn.freebsd.org/changeset/base/210263 Log: Do not report current link state if interface is not UP

svn commit: r210244 - head/sys/pci

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 18:01:06 2010 New Revision: 210244 URL: http://svn.freebsd.org/changeset/base/210244 Log: Implement WOL. WOL is supported on RTL8139B or newer controllers. PR: kern/148013 Modified: head/sys/pci/if_rl.c Modified: head/sys/pci/if_rl.c

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 21:13:07 2010 New Revision: 210257 URL: http://svn.freebsd.org/changeset/base/210257 Log: When we didn't find a matching flash device, do not touch flash config data. While I'm here, use return code of bce_init_nvram() to set error instead of directly

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 21:25:05 2010 New Revision: 210259 URL: http://svn.freebsd.org/changeset/base/210259 Log: Have bce_init_ctx() return error code and make caller check the return code. If context was not setup correctly give up initialization. While I'm here move variable

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 21:32:47 2010 New Revision: 210260 URL: http://svn.freebsd.org/changeset/base/210260 Log: Don't change current media in bce_stop(). There is no need to do this here. Reviewed by: davidch Modified: head/sys/dev/bce/if_bce.c Modified:

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 21:38:07 2010 New Revision: 210261 URL: http://svn.freebsd.org/changeset/base/210261 Log: Correctly check the result of media selection. Previously it always returned success. Reviewed by: davidch Modified: head/sys/dev/bce/if_bce.c Modified:

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 21:41:54 2010 New Revision: 210263 URL: http://svn.freebsd.org/changeset/base/210263 Log: Do not report current link state if interface is not UP. Reviewed by: davidch Modified: head/sys/dev/bce/if_bce.c Modified: head/sys/dev/bce/if_bce.c

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 23:25:19 2010 New Revision: 210267 URL: http://svn.freebsd.org/changeset/base/210267 Log: Add KASSERT to check number of returned DMA segments. Reviewed by: davidch Modified: head/sys/dev/bce/if_bce.c Modified: head/sys/dev/bce/if_bce.c

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 23:35:43 2010 New Revision: 210269 URL: http://svn.freebsd.org/changeset/base/210269 Log: Use bus_get_dma_tag() to get parent tag. Also use BUS_SPACE_MAXSIZE_32BIT to specify sum of all segment lengths. Previously it used MAXBSIZE which was wrong.

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 23:41:45 2010 New Revision: 210270 URL: http://svn.freebsd.org/changeset/base/210270 Log: Specify BUS_DMA_ZERO flag to bus_dmamem_alloc(9) and remove bzero() calls. Also add BUS_DMA_COHERENT flag to bus_dmamem_alloc(9) to take advantage of efficient

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

2010-07-19 Thread Pyun YongHyeon
Author: yongari Date: Mon Jul 19 23:48:03 2010 New Revision: 210271 URL: http://svn.freebsd.org/changeset/base/210271 Log: Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4) controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes. Reviewed by: davidch Modified:

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

2010-07-15 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 15 23:34:58 2010 New Revision: 210152 URL: http://svn.freebsd.org/changeset/base/210152 Log: Use Miscellaneous Configuration Register bit definition instead of magic number. Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified:

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

2010-07-14 Thread Pyun YongHyeon
Author: yongari Date: Wed Jul 14 21:47:49 2010 New Revision: 210083 URL: http://svn.freebsd.org/changeset/base/210083 Log: Remove enabling Data FIFO protection with indirect memory access. r165114 added that code and that change ignored the same logic committed in r135772. In addition, data

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

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:39:51 2010 New Revision: 210013 URL: http://svn.freebsd.org/changeset/base/210013 Log: style. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c == ---

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

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:42:55 2010 New Revision: 210014 URL: http://svn.freebsd.org/changeset/base/210014 Log: Fix error message for jumbo buffer allocation failure. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2010-07-13 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 13 19:45:40 2010 New Revision: 210015 URL: http://svn.freebsd.org/changeset/base/210015 Log: Prefer PCIR_BAR macro over BGE_PCI_BAR0. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

svn commit: r209865 - head/sys/dev/sk

2010-07-09 Thread Pyun YongHyeon
Author: yongari Date: Fri Jul 9 21:21:08 2010 New Revision: 209865 URL: http://svn.freebsd.org/changeset/base/209865 Log: Some revision of Yukon controller generates corrupted frame when TX checksum offloading is enabled. The frame has a valid checksum value so payload might be modified

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

2010-07-08 Thread Pyun YongHyeon
Author: yongari Date: Thu Jul 8 18:22:49 2010 New Revision: 209818 URL: http://svn.freebsd.org/changeset/base/209818 Log: Remove enabling RX checksum offloading in RX filter setup. RX checksum is enabled in sge_init_locked(). While I'm here do not set RX checksum bits in RX descriptor

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

2010-07-06 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 6 18:17:31 2010 New Revision: 209741 URL: http://svn.freebsd.org/changeset/base/209741 Log: Zero entire status block and add missing bus_dmamap_sync(9). Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c

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

2010-07-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Jul 6 02:07:59 2010 New Revision: 209714 URL: http://svn.freebsd.org/changeset/base/209714 Log: It seems read DMA mode register requires both IPv4 TSO and IPv6 TSO configuration to get IPv4 TSO work on BCM57780. While I'm here apply the same fix to BCM5785 which

Re: svn commit: r208995 - stable/7/sys/dev/bge

2010-07-01 Thread Pyun YongHyeon
On Tue, Jun 29, 2010 at 10:13:45AM -0400, Ken Smith wrote: On Tue, 2010-06-29 at 09:48 +0200, Anders Nordby wrote: Is it possible to get this fix into FreeBSD 7.3-RELEASE? We typically rely on developers to decide if fixes might warrant consideration as an Errata Notice and send email to

Re: svn commit: r208995 - stable/7/sys/dev/bge

2010-07-01 Thread Pyun YongHyeon
On Thu, Jul 01, 2010 at 06:28:35PM -0700, Garrett Cooper wrote: On Thu, Jul 1, 2010 at 2:52 PM, Pyun YongHyeon pyu...@gmail.com wrote: On Tue, Jun 29, 2010 at 10:13:45AM -0400, Ken Smith wrote: On Tue, 2010-06-29 at 09:48 +0200, Anders Nordby wrote: Is it possible to get this fix

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:21:24AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11, 2010, at 5:51 AM, John Baldwin wrote: On Thursday 10 June 2010 11:00:33 pm Marcel Moolenaar wrote: Author:

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:37:36AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:32 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:21 AM, Scott Long wrote: On Jun 11, 2010, at 11:04 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 9:12 AM, Scott Long wrote: On Jun 11,

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:44:39AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:41 AM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:37:36AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:32 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:21 AM, Scott Long wrote: On Jun 11

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:55:07AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:53 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:47 AM, Scott Long wrote: On Jun 11, 2010, at 11:44 AM, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:37 AM, Scott Long wrote: I'm not clear

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote: I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or alignment restrictions. Some controllers have 4G

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 02:20:46PM -0400, John Baldwin wrote: On Friday 11 June 2010 1:50:16 pm Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:44:39AM -0600, Scott Long wrote: On Jun 11, 2010, at 11:41 AM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:37:36AM -0600, Scott Long wrote

Re: svn commit: r209026 - in head/sys/ia64: ia64 include

2010-06-11 Thread Pyun YongHyeon
On Fri, Jun 11, 2010 at 11:49:14AM -0700, Marcel Moolenaar wrote: On Jun 11, 2010, at 11:08 AM, Pyun YongHyeon wrote: On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote: On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote: I'm not clear why you even need bounce

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

2010-06-10 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 10 17:53:35 2010 New Revision: 208993 URL: http://svn.freebsd.org/changeset/base/208993 Log: MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be

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

2010-06-10 Thread Pyun YongHyeon
Author: yongari Date: Thu Jun 10 18:04:25 2010 New Revision: 208995 URL: http://svn.freebsd.org/changeset/base/208995 Log: MFC r208862: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be

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

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 17:28:28 2010 New Revision: 208917 URL: http://svn.freebsd.org/changeset/base/208917 Log: Remove unused macros. Reviewed by: bde Modified: head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bgereg.h

svn commit: r208923 - stable/8/sys/dev/sge

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 19:26:22 2010 New Revision: 208923 URL: http://svn.freebsd.org/changeset/base/208923 Log: MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by:

svn commit: r208924 - stable/7/sys/dev/sge

2010-06-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Jun 8 19:36:41 2010 New Revision: 208924 URL: http://svn.freebsd.org/changeset/base/208924 Log: MFC r208806: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by:

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

2010-06-05 Thread Pyun YongHyeon
Author: yongari Date: Sat Jun 5 23:29:24 2010 New Revision: 208862 URL: http://svn.freebsd.org/changeset/base/208862 Log: Fix a bug introduced in r199011. When bge(4) reuses loaded RX buffers it should also reinitialize RX descriptors otherwise some stale data could be passed to

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

2010-06-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Jun 4 17:11:33 2010 New Revision: 208806 URL: http://svn.freebsd.org/changeset/base/208806 Log: Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If there is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by: Nikolay Denev ndenev

svn commit: r208677 - stable/8/sys/dev/sge

2010-05-31 Thread Pyun YongHyeon
Author: yongari Date: Mon May 31 22:03:56 2010 New Revision: 208677 URL: http://svn.freebsd.org/changeset/base/208677 Log: MFC r208512: sge_encap() can sometimes return an error with m_head set to NULL. Make sure not to requeue freed mbuf in sge_start_locked(). This should fix NULL

svn commit: r208678 - stable/7/sys/dev/sge

2010-05-31 Thread Pyun YongHyeon
Author: yongari Date: Mon May 31 22:07:18 2010 New Revision: 208678 URL: http://svn.freebsd.org/changeset/base/208678 Log: MFC r208512: sge_encap() can sometimes return an error with m_head set to NULL. Make sure not to requeue freed mbuf in sge_start_locked(). This should fix NULL

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

2010-05-24 Thread Pyun YongHyeon
Author: yongari Date: Mon May 24 17:12:44 2010 New Revision: 208512 URL: http://svn.freebsd.org/changeset/base/208512 Log: sge_encap() can sometimes return an error with m_head set to NULL. Make sure not to requeue freed mbuf in sge_start_locked(). This should fix NULL pointer dereference

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

2010-05-19 Thread Pyun YongHyeon
Author: yongari Date: Wed May 19 20:56:18 2010 New Revision: 208314 URL: http://svn.freebsd.org/changeset/base/208314 Log: MFC r208081,208083: r208081: Controller updates RFA via DMA so driver needs synchronization. Add missing BUS_DMASYNC_POSTWRITE and BUS_DMASYNC_PREREAD.

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

2010-05-19 Thread Pyun YongHyeon
Author: yongari Date: Wed May 19 21:02:02 2010 New Revision: 208315 URL: http://svn.freebsd.org/changeset/base/208315 Log: MFC r208081,208083: r208081: Controller updates RFA via DMA so driver needs synchronization. Add missing BUS_DMASYNC_POSTWRITE and BUS_DMASYNC_PREREAD.

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

2010-05-19 Thread Pyun YongHyeon
Author: yongari Date: Wed May 19 21:08:38 2010 New Revision: 208316 URL: http://svn.freebsd.org/changeset/base/208316 Log: MFC r208084: If controller received bad frames make sure to update newly added RFA. Also drop frames that have either CRC error or alignment error. Normally bad

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

2010-05-19 Thread Pyun YongHyeon
Author: yongari Date: Wed May 19 21:12:10 2010 New Revision: 208317 URL: http://svn.freebsd.org/changeset/base/208317 Log: MFC r208084: If controller received bad frames make sure to update newly added RFA. Also drop frames that have either CRC error or alignment error. Normally bad

Re: svn commit: r207851 - head/sys/dev/sge

2010-05-18 Thread Pyun YongHyeon
On Tue, May 18, 2010 at 03:27:33AM +, Bjoern A. Zeeb wrote: On Mon, 10 May 2010, Pyun YongHyeon wrote: Author: yongari Date: Mon May 10 17:14:14 2010 New Revision: 207851 URL: http://svn.freebsd.org/changeset/base/207851 Log: Implement TSO and TSO over VLAN. Increase number

Re: svn commit: r207851 - head/sys/dev/sge

2010-05-18 Thread Pyun YongHyeon
On Tue, May 18, 2010 at 10:53:27PM +, Bjoern A. Zeeb wrote: On Tue, 18 May 2010, Pyun YongHyeon wrote: On Tue, May 18, 2010 at 03:27:33AM +, Bjoern A. Zeeb wrote: On Mon, 10 May 2010, Pyun YongHyeon wrote: Author: yongari Date: Mon May 10 17:14:14 2010 New Revision: 207851 URL

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 16:47:25 2010 New Revision: 208196 URL: http://svn.freebsd.org/changeset/base/208196 Log: MFC r207750: 8255x configure command requires number of bytes of configuration table. The default size of the configuration table was 22 bytes. To use extended

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 16:54:31 2010 New Revision: 208197 URL: http://svn.freebsd.org/changeset/base/208197 Log: MFC r207750: 8255x configure command requires number of bytes of configuration table. The default size of the configuration table was 22 bytes. To use extended

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 16:59:36 2010 New Revision: 208200 URL: http://svn.freebsd.org/changeset/base/208200 Log: MFC r207832: Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them.

svn commit: r208202 - stable/7/sys/dev/sge

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:04:09 2010 New Revision: 208202 URL: http://svn.freebsd.org/changeset/base/208202 Log: MFC r207851: Implement TSO and TSO over VLAN. Increase number of allowed fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB sized packet which

svn commit: r208203 - stable/8/sys/dev/sge

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:12:35 2010 New Revision: 208203 URL: http://svn.freebsd.org/changeset/base/208203 Log: MFC r207852: SiS190 supports RX 10 bytes padding, CRC stripping as well as VLAN hardware tag insertion/stripping. Remove conditional code that disables these

svn commit: r208204 - stable/7/sys/dev/sge

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:14:25 2010 New Revision: 208204 URL: http://svn.freebsd.org/changeset/base/208204 Log: MFC r207852: SiS190 supports RX 10 bytes padding, CRC stripping as well as VLAN hardware tag insertion/stripping. Remove conditional code that disables these

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:16:12 2010 New Revision: 208205 URL: http://svn.freebsd.org/changeset/base/208205 Log: MFC r207853: Now sge(4) supports TCP segmentation offload (TSO). Modified: stable/8/share/man/man4/sge.4 Directory Properties: stable/8/share/man/man4/ (props

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:16:49 2010 New Revision: 208206 URL: http://svn.freebsd.org/changeset/base/208206 Log: MFC r207853: Now sge(4) supports TCP segmentation offload (TSO). Modified: stable/7/share/man/man4/sge.4 Directory Properties: stable/7/share/man/man4/ (props

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

2010-05-17 Thread Pyun YongHyeon
Author: yongari Date: Mon May 17 17:18:58 2010 New Revision: 208208 URL: http://svn.freebsd.org/changeset/base/208208 Log: MFC r207971: Document undocumented tunables and sysctl variables. While here use actual string to specify width as well as using Cm to set command argument.

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

2010-05-14 Thread Pyun YongHyeon
Author: yongari Date: Fri May 14 16:55:13 2010 New Revision: 208081 URL: http://svn.freebsd.org/changeset/base/208081 Log: Controller updates RFA via DMA so driver needs synchronization. Add missing BUS_DMASYNC_POSTWRITE and BUS_DMASYNC_PREREAD. Modified: head/sys/dev/fxp/if_fxp.c

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

2010-05-14 Thread Pyun YongHyeon
Author: yongari Date: Fri May 14 16:58:37 2010 New Revision: 208083 URL: http://svn.freebsd.org/changeset/base/208083 Log: Dont' allow dma map load deferring. fxp(4) is not able to handle EINPROGRESS. Modified: head/sys/dev/fxp/if_fxp.c Modified: head/sys/dev/fxp/if_fxp.c

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

2010-05-14 Thread Pyun YongHyeon
Author: yongari Date: Fri May 14 17:39:28 2010 New Revision: 208084 URL: http://svn.freebsd.org/changeset/base/208084 Log: If controller received bad frames make sure to update newly added RFA. Also drop frames that have either CRC error or alignment error. Normally bad frames are not

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

2010-05-12 Thread Pyun YongHyeon
Author: yongari Date: Wed May 12 16:59:58 2010 New Revision: 207971 URL: http://svn.freebsd.org/changeset/base/207971 Log: Document undocumented tunables and sysctl variables. While here use actual string to specify width as well as using Cm to set command argument. Reviewed by:

<    8   9   10   11   12   13   14   15   16   17   >