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

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

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

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

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

2011-02-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Feb 28 20:37:48 2011 New Revision: 219102 URL: http://svn.freebsd.org/changeset/base/219102 Log: Make sure changing ownership of RX descriptor to be done as last operation. Previously ownership was transferred to hardware before setting address of new RX buffer suc

svn commit: r219407 - head/sys/dev/dc

2011-03-08 Thread Pyun YongHyeon
Author: yongari Date: Tue Mar 8 19:49:16 2011 New Revision: 219407 URL: http://svn.freebsd.org/changeset/base/219407 Log: Rearrange dc_tx_underrun() a bit to correctly set TX FIFO threshold value. Controllers that always require "store and forward" mode( Davicom and PNIC 82C168) have no way

svn commit: r219701 - head/sys/dev/dc

2011-03-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 16 17:09:51 2011 New Revision: 219701 URL: http://svn.freebsd.org/changeset/base/219701 Log: Remove too expensive bus_dmamap_sync(9) call in dc_rx_resync(). With this change, driver may not notice updated descriptor status change when bounce buffers are active.

svn commit: r219787 - head/sys/dev/vte

2011-03-19 Thread Pyun YongHyeon
Author: yongari Date: Sat Mar 19 22:36:59 2011 New Revision: 219787 URL: http://svn.freebsd.org/changeset/base/219787 Log: Correct broadcast frame handling. Setting bit6 of MCR0 register enables broadcast filtering. Make sure to clear the bit to receive broadcast frames. While I'm here renam

svn commit: r219938 - head/sys/dev/vte

2011-03-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Mar 23 22:06:09 2011 New Revision: 219938 URL: http://svn.freebsd.org/changeset/base/219938 Log: Remove unused DMA map/tag in softc. Modified: head/sys/dev/vte/if_vtevar.h Modified: head/sys/dev/vte/if_vtevar.h ===

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

2011-03-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 16:58:48 2011 New Revision: 220103 URL: http://svn.freebsd.org/changeset/base/220103 Log: Normally fxp(4) does not receive bad frames but promiscuous mode makes controller to receive bad frames and i82557 will also receive bad frames since fxp(4) have to rece

svn commit: r220106 - head/sys/dev/dc

2011-03-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Mar 28 19:08:53 2011 New Revision: 220106 URL: http://svn.freebsd.org/changeset/base/220106 Log: Revise r220046 by introducing dc_netcfg_wait() which waits the end of active DMA cycle. dc_setcfg() also has to wait until the DMA engine is stopped so using a common fu

svn commit: r220234 - head/sys/dev/bxe

2011-03-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 01:30:21 2011 New Revision: 220234 URL: http://svn.freebsd.org/changeset/base/220234 Log: Make bxe(4) build with BXE_DEBUG. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ===

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

2011-04-01 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 16:45:26 2011 New Revision: 220249 URL: http://svn.freebsd.org/changeset/base/220249 Log: 64bit DMA caused data corruption. Unfortunately there is no known workaround to use 64bit DMA. Disable 64bit DMA on Attansic L1 controller. Tested by:Yamagi Bur

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

2011-04-01 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 1 18:53:41 2011 New Revision: 220252 URL: http://svn.freebsd.org/changeset/base/220252 Log: Partially revert r184106. RX buffer ring also needs bus_dmamap_sync(). Tested by:Yamagi Burmeister (lists <> yamagi dot org) MFC after:1 week Modified: hea

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

2011-04-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Apr 5 17:41:54 2011 New Revision: 220368 URL: http://svn.freebsd.org/changeset/base/220368 Log: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers have one send ring, o

svn commit: r220603 - in head/sys: dev/bxe modules/bxe

2011-04-13 Thread Pyun YongHyeon
Author: yongari Date: Wed Apr 13 16:35:43 2011 New Revision: 220603 URL: http://svn.freebsd.org/changeset/base/220603 Log: Remove mii(4) dependency and unneeded headers. Reviewed by: davidch Modified: head/sys/dev/bxe/if_bxe.h head/sys/modules/bxe/Makefile Modified: head/sys/dev/bxe/

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

2011-05-04 Thread Pyun YongHyeon
Author: yongari Date: Wed May 4 17:04:31 2011 New Revision: 221445 URL: http://svn.freebsd.org/changeset/base/221445 Log: Add initial BCM57765 family support. The BCM57765 family seems to have similar hardware features of BCM5718 family except the number of receive return ring is 4. The BCM

svn commit: r221468 - in head/sys/dev: bge mii

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

svn commit: r221548 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:37:07 2011 New Revision: 221548 URL: http://svn.freebsd.org/changeset/base/221548 Log: Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it has nothing to do with collision. Re

svn commit: r221552 - head/sys/net

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 20:46:29 2011 New Revision: 221552 URL: http://svn.freebsd.org/changeset/base/221552 Log: Fix white space nits and style Modified: head/sys/net/if_tun.c Modified: head/sys/net/if_tun.c ==

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

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

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:16:43 2011 New Revision: 221557 URL: http://svn.freebsd.org/changeset/base/221557 Log: Remove unnecessary htole32/le32toh dance. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c ===

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:26:57 2011 New Revision: 221558 URL: http://svn.freebsd.org/changeset/base/221558 Log: Set status word once instead of twice. For 3C90xB/3C90xC, frame length of status word is ignored. While here move bus_dmamap_sync() up where DMA map is loaded. Modified

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:36:43 2011 New Revision: 221560 URL: http://svn.freebsd.org/changeset/base/221560 Log: Call bus_dmamap_sync() only after TX DPD update. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:45:13 2011 New Revision: 221561 URL: http://svn.freebsd.org/changeset/base/221561 Log: Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. Modified:

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 22:55:53 2011 New Revision: 221563 URL: http://svn.freebsd.org/changeset/base/221563 Log: Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop. Modif

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:01:29 2011 New Revision: 221564 URL: http://svn.freebsd.org/changeset/base/221564 Log: Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to uppe

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Fri May 6 23:49:10 2011 New Revision: 221565 URL: http://svn.freebsd.org/changeset/base/221565 Log: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued frame.

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:06:02 2011 New Revision: 221566 URL: http://svn.freebsd.org/changeset/base/221566 Log: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of statis

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:18:58 2011 New Revision: 221567 URL: http://svn.freebsd.org/changeset/base/221567 Log: Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. Modified: h

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 00:25:12 2011 New Revision: 221568 URL: http://svn.freebsd.org/changeset/base/221568 Log: XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. Modified: head/sys/dev/xl/if_xl.c head/sys/dev/xl/if_xlreg.h Modif

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 02:19:46 2011 New Revision: 221571 URL: http://svn.freebsd.org/changeset/base/221571 Log: Remove unneeded use of variable status. This should have been done in r221557. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c

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

2011-05-06 Thread Pyun YongHyeon
Author: yongari Date: Sat May 7 04:40:44 2011 New Revision: 221579 URL: http://svn.freebsd.org/changeset/base/221579 Log: Fix build. Modified: head/sys/dev/xl/if_xl.c Modified: head/sys/dev/xl/if_xl.c == --- head/sy

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 c

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 sili

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

2010-04-14 Thread Pyun YongHyeon
1 PCI Ethernet NIC driver. + * + * Adapted to SiS 190 NIC by Alexander Pohoyda based on the original + * 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 + * . Thanks to Pyun YongHyeon for + * review and very useful comm

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
e.4 Wed Apr 14 21:27:48 2010(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 conditio

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

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

2010-04-26 Thread Pyun YongHyeon
Author: yongari Date: Mon Apr 26 21:08:15 2010 New Revision: 207251 URL: http://svn.freebsd.org/changeset/base/207251 Log: It seems ale(4) controllers do not like to see TCP payload in the first descriptor in TSO case. Otherwise controller can generate bad frames during TSO. To address it, m

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 17:28:07 2010 New Revision: 207375 URL: http://svn.freebsd.org/changeset/base/207375 Log: Preserve unknown bits of RX MAC control register when driver programs RX filter configuration. It seems RX MAC control register is one of key registers to get various of

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 17:30:21 2010 New Revision: 207376 URL: http://svn.freebsd.org/changeset/base/207376 Log: Remove wrong link state chage. Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c ==

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 17:34:01 2010 New Revision: 207377 URL: http://svn.freebsd.org/changeset/base/207377 Log: Explicitly marks SiS190 to differentiate it from SiS191. Modified: head/sys/dev/sge/if_sge.c head/sys/dev/sge/if_sgereg.h Modified: head/sys/dev/sge/if_sge.c =

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 18:00:42 2010 New Revision: 207379 URL: http://svn.freebsd.org/changeset/base/207379 Log: Enable FCS stripping and padding 10 bytes bit of RX MAC control register. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so thi

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 18:14:14 2010 New Revision: 207380 URL: http://svn.freebsd.org/changeset/base/207380 Log: Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 29 18:21:27 2010 New Revision: 207381 URL: http://svn.freebsd.org/changeset/base/207381 Log: Now sge(4) supports hardware VLAN tag insertion/stripping. Modified: head/share/man/man4/sge.4 head/share/man/man4/vlan.4 Modified: head/share/man/man4/sge.4 =

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

2010-04-29 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 30 00:34:00 2010 New Revision: 207409 URL: http://svn.freebsd.org/changeset/base/207409 Log: Both RX_GMF_LP_THR and RX_GMF_UP_THR must be 16 bits register. If it is 8bits register then RX FIFO size can't exceed 2KB which is not true for almost all Yukon II contr

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

2010-04-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 30 18:04:46 2010 New Revision: 207442 URL: http://svn.freebsd.org/changeset/base/207442 Log: Disable non-ASF packet flushing on Yukon Extreme as vendor's driver does. Without this change, Yukon Extreme seems to generate lots of RX FIFO overruns even though contr

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

2010-04-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 30 18:58:55 2010 New Revision: 207445 URL: http://svn.freebsd.org/changeset/base/207445 Log: Add basic support for Marvell 88E8059 Yukon Optima. Tested by:James LaLagna < jameslalagna <> gmail dot com > MFC after:5 days Modified: head/sys/dev/msk/i

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

2010-04-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 30 19:01:55 2010 New Revision: 207446 URL: http://svn.freebsd.org/changeset/base/207446 Log: Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. Tested by:James LaLagna < jameslalagna <> gmail dot com > MFC after:5 days Modified:

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

2010-04-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Apr 30 19:05:01 2010 New Revision: 207447 URL: http://svn.freebsd.org/changeset/base/207447 Log: Marvell 88E8059(Yukon Optima) is now supported. Modified: head/share/man/man4/msk.4 Modified: head/share/man/man4/msk.4 =

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

2010-05-02 Thread Pyun YongHyeon
Author: yongari Date: Mon May 3 00:56:26 2010 New Revision: 207545 URL: http://svn.freebsd.org/changeset/base/207545 Log: Fix wrong dma tag usage. Previously it used TX descriptor ring dma tag which should be TX mbuf dma tag. Reported by: xclin cs dot nctu dot edu dot tw > Modified:

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:02:34 2010 New Revision: 207622 URL: http://svn.freebsd.org/changeset/base/207622 Log: Drop driver lock before exiting from interrupt handler. Submitted by: jhb MFC after:3 days Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_m

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:12:36 2010 New Revision: 207623 URL: http://svn.freebsd.org/changeset/base/207623 Log: Make sure to check whether driver is running before processing received frames. Also check driver has valid ifp pointer before calling msk_stop() in device_shutdown hand

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 17:34:00 2010 New Revision: 207625 URL: http://svn.freebsd.org/changeset/base/207625 Log: Remove clearing RxHashTable2 register. The register is reprogrammed in sge_rxfilter(). Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 19:04:51 2010 New Revision: 207628 URL: http://svn.freebsd.org/changeset/base/207628 Log: Enable multi-descriptor transmisstion for fragmented mbufs. There is no more need to defragment mbufs. After transmitting the multi-fragmented frame, the controller upda

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 21:23:59 2010 New Revision: 207635 URL: http://svn.freebsd.org/changeset/base/207635 Log: Free entire mbuf chain instead of the first mbuf. Modified: head/sys/dev/sge/if_sge.c Modified: head/sys/dev/sge/if_sge.c ===

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

2010-05-04 Thread Pyun YongHyeon
Author: yongari Date: Tue May 4 22:24:19 2010 New Revision: 207638 URL: http://svn.freebsd.org/changeset/base/207638 Log: When VLAN hardware tagging is disabled, make sure to disable VLAN checksum offloading as well as TSO over VLAN. Reported by: jhb Modified: head/sys/dev/msk/if_msk

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

2010-05-07 Thread Pyun YongHyeon
Author: yongari Date: Fri May 7 16:43:00 2010 New Revision: 207748 URL: http://svn.freebsd.org/changeset/base/207748 Log: It seems controller has two types of promiscuous control, one for unicast and the other for multicast. To receive multicast frames that host didn't join in promiscuous m

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

2010-05-07 Thread Pyun YongHyeon
Author: yongari Date: Fri May 7 18:03:35 2010 New Revision: 207750 URL: http://svn.freebsd.org/changeset/base/207750 Log: 8255x configure command requires number of bytes of configuration table. The default size of the configuration table was 22 bytes. To use extended feature of 82550/82551

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

2010-05-07 Thread Pyun YongHyeon
Author: yongari Date: Fri May 7 23:05:27 2010 New Revision: 207763 URL: http://svn.freebsd.org/changeset/base/207763 Log: Don't change PCIe maximum read request size to 2048 on RTL810x controllers. It caused device timeouts. Reported by: McLone < mclone <> gmail dot com > Tested by:

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

2010-05-09 Thread Pyun YongHyeon
Author: yongari Date: Sun May 9 22:16:15 2010 New Revision: 207832 URL: http://svn.freebsd.org/changeset/base/207832 Log: Export hardware MAC statistics through sysctl node. Previously fxp(4) already used to extract most hardware MAC statistics but it didn't show them. With this change, all

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

2010-05-10 Thread Pyun YongHyeon
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 of allowed fragmentation of mbuf chain to 32 from 16 because TSO can send 64KB sized packet which in turn requires long

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

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

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

2010-05-10 Thread Pyun YongHyeon
Author: yongari Date: Mon May 10 17:48:00 2010 New Revision: 207853 URL: http://svn.freebsd.org/changeset/base/207853 Log: Now sge(4) supports TCP segmentation offload (TSO). Modified: head/share/man/man4/sge.4 Modified: head/share/man/man4/sge.4 =

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

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 Modified

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 receiv

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 > > > &g

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 &g

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 pa

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

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

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

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

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 J

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

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

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, 2

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

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 sh

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: r227914 - in head/sys: dev/re pci

2011-11-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 23 22:07:13 2011 New Revision: 227914 URL: http://svn.freebsd.org/changeset/base/227914 Log: Make sure to stop TX MAC before freeing queued TX frames. For RTL8111DP, check if the TX MAC is active by reading RL_GTXSTART register. For RTL8402/8168E-VL/8168F/8411,

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

2011-11-23 Thread Pyun YongHyeon
Author: yongari Date: Wed Nov 23 23:29:18 2011 New Revision: 227916 URL: http://svn.freebsd.org/changeset/base/227916 Log: To save more power, switch to 10/100Mbps link when controller is put into suspend/shutdown. Old PCI controllers performed that operation in firmware but for RTL8111C or

svn commit: r228084 - head/sys/dev/vr

2011-11-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 28 18:32:35 2011 New Revision: 228084 URL: http://svn.freebsd.org/changeset/base/228084 Log: Reuse flag variable to represent driver internal states rather than using member variables in softc. While I'm here change media after setting IFF_DRV_RUNNING. This wi

svn commit: r228086 - head/sys/dev/vr

2011-11-28 Thread Pyun YongHyeon
Author: yongari Date: Mon Nov 28 19:03:59 2011 New Revision: 228086 URL: http://svn.freebsd.org/changeset/base/228086 Log: Announce flow control capability to PHY drivers and enable flow control for all vr(4) controllers that support it. It's known that old vr(4) controllers(Rhine II) does

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

2011-12-02 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 2 19:01:26 2011 New Revision: 228205 URL: http://svn.freebsd.org/changeset/base/228205 Log: Add more controllers that support jumbo frame. Modified: head/share/man/man4/bge.4 Modified: head/share/man/man4/bge.4 ==

svn commit: r228286 - head/sys/dev/ed

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 18:10:43 2011 New Revision: 228286 URL: http://svn.freebsd.org/changeset/base/228286 Log: Fix off by one error in mbuf access. Previously it caused panic. While I'm here use NULL to compare mbuf pointer and add additional check for zero length mbuf before ac

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:09:07 2011 New Revision: 228291 URL: http://svn.freebsd.org/changeset/base/228291 Log: Remove NetBSD license. r199548 removed all bit macros that were derived from NetBSD. Modified: head/sys/dev/et/if_etreg.h Modified: head/sys/dev/et/if_etreg.h

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:22:39 2011 New Revision: 228292 URL: http://svn.freebsd.org/changeset/base/228292 Log: Implement suspend/resume methods. Driver has no issue with suspend/resume. Modified: head/sys/dev/et/if_et.c Modified: head/sys/dev/et/if_et.c ===

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Mon Dec 5 22:55:52 2011 New Revision: 228293 URL: http://svn.freebsd.org/changeset/base/228293 Log: Fix alt(4) support. Also add check for number of available TX descriptors before trying to send frames. If we're not able to send a frame, make sure to prepend it to i

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 6 00:18:37 2011 New Revision: 228297 URL: http://svn.freebsd.org/changeset/base/228297 Log: et(4) supports VLAN oversized frame so correctly set header length. While I'm here remove initializing if_mtu, it is set by ether_ifattach(9). Also move callout_init_mt

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

2011-12-05 Thread Pyun YongHyeon
Author: yongari Date: Tue Dec 6 00:58:42 2011 New Revision: 228298 URL: http://svn.freebsd.org/changeset/base/228298 Log: Make et_probe() return BUS_PROBE_DEFAULT such that allow other driver that has high precedence for the controller override et(4). Add missing callout_drain(9) in device

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

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 18:17:09 2011 New Revision: 228325 URL: http://svn.freebsd.org/changeset/base/228325 Log: Overhaul bus_dma(9) usage in et(4) and clean up TX/RX path. This change should make et(4) work on any architectures. o Remove m_getl inline function and replace it wit

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

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 19:08:54 2011 New Revision: 228326 URL: http://svn.freebsd.org/changeset/base/228326 Log: Controller does not require TX start command for every frame. So send a single TX command after setting up all TX frames. This removes unnecessary register accesses an

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

2011-12-07 Thread Pyun YongHyeon
Author: yongari Date: Wed Dec 7 19:43:04 2011 New Revision: 228327 URL: http://svn.freebsd.org/changeset/base/228327 Log: Remove et_enable_intrs(), et_disable_intrs() functions and manipulation of interrupt register access is done through CSR_WRITE_4 macro. Also add disabling interrupt int

  1   2   3   4   5   6   7   >