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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 23:08:05 2011 New Revision: 218827 URL: http://svn.freebsd.org/changeset/base/218827 Log: There is no need to execute filter configuration when driver is not running. Remove wrong driver state change in dc_setfilt_xircom(). While I'm here nuke unnecessary ass

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 22:58:46 2011 New Revision: 218826 URL: http://svn.freebsd.org/changeset/base/218826 Log: Make sure to clear status word of TX descriptor in dc_list_tx_init(). Do not update if_opackets if the transmission had failed. Modified: head/sys/dev/dc/if_dc.c Modif

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

2011-02-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 20:38:05 2011 New Revision: 218820 URL: http://svn.freebsd.org/changeset/base/218820 Log: For controllers that have TX interrupt moderation capability, request TX completion interrupt for every 8-th frames. Previously dc(4) requested TX completion interrupt i

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 03:37:53 2011 New Revision: 218789 URL: http://svn.freebsd.org/changeset/base/218789 Log: Remove use case of DC_TX_ONE. It was used to limit queue just 1 TX frame in DM910x controllers. In r67595(more than 10 years ago) it was replaced to use "Store and Forwa

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 02:58:09 2011 New Revision: 218788 URL: http://svn.freebsd.org/changeset/base/218788 Log: Apply special PHY initialization code for 21143 controllers before any other media configuration. Otherwise some 21143 controller cannot establish a link. While I'm here

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 02:14:53 2011 New Revision: 218787 URL: http://svn.freebsd.org/changeset/base/218787 Log: When driver have to use base softc due to lack of SROM on second port, copy SROM information from base softc as well and run SROM parser again. This change is necessary

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

2011-02-17 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 18 01:56:25 2011 New Revision: 218786 URL: http://svn.freebsd.org/changeset/base/218786 Log: Always check memory allocation failure. If driver encounter memory allocation error, do not attach driver. Reviewed by: marius Modified: head/sys/dev/dc/if_dc.c

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

2011-02-16 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 16 21:59:42 2011 New Revision: 218760 URL: http://svn.freebsd.org/changeset/base/218760 Log: Add initial support for RTL8401E PCIe Fast Ethernet. PR: 154789 Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_re.c

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

2011-02-15 Thread Pyun YongHyeon
Author: yongari Date: Tue Feb 15 18:16:04 2011 New Revision: 218710 URL: http://svn.freebsd.org/changeset/base/218710 Log: Fix a regression introduced in r215906. The change made in r215906 caused link re-negotiation whenever application joins or leaves a multicast group. If driver is runni

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

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:59:45 2011 New Revision: 218302 URL: http://svn.freebsd.org/changeset/base/218302 Log: MFC r216831,216858: r216831: Add vte(4) man page and hook up vte(4) to the build. Also add Xr to appropriate man pages. r216858: Remove duplicated "perfec

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

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:57:37 2011 New Revision: 218301 URL: http://svn.freebsd.org/changeset/base/218301 Log: MFC r216831,216858: r216831: Add vte(4) man page and hook up vte(4) to the build. Also add Xr to appropriate man pages. r216858: Remove duplicated "perfec

svn commit: r218300 - stable/7/usr.sbin/sysinstall

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:52:13 2011 New Revision: 218300 URL: http://svn.freebsd.org/changeset/base/218300 Log: MFC r216830: Add vte(4) to the list of supported network interface. Modified: stable/7/usr.sbin/sysinstall/devices.c Directory Properties: stable/7/usr.sbin/sysinst

svn commit: r218299 - stable/8/usr.sbin/sysinstall

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:51:18 2011 New Revision: 218299 URL: http://svn.freebsd.org/changeset/base/218299 Log: MFC r216830: Add vte(4) to the list of supported network interface. Modified: stable/8/usr.sbin/sysinstall/devices.c Directory Properties: stable/8/usr.sbin/sysinst

svn commit: r218298 - stable/7/sys/dev/vte

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:48:53 2011 New Revision: 218298 URL: http://svn.freebsd.org/changeset/base/218298 Log: Make vte(4) work on stable/7. This is direct commit to stable/7 since if_maddr_rlock/if_maddr_runlock is not available in stable/7. Modified: stable/7/sys/dev/vte/if_vt

svn commit: r218297 - in stable/7/sys: boot/forth conf dev/vte i386/conf modules modules/vte

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:47:46 2011 New Revision: 218297 URL: http://svn.freebsd.org/changeset/base/218297 Log: MFC r216829,216833: rr216829: Add driver for DM&P Vortex86 RDC R6040 Fast Ethernet. The controller is commonly found on DM&P Vortex86 x86 SoC. The driver supp

svn commit: r218296 - in stable/8/sys: boot/forth conf dev/vte i386/conf modules modules/vte

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 20:32:52 2011 New Revision: 218296 URL: http://svn.freebsd.org/changeset/base/218296 Log: MFC r216829,216833: rr216829: Add driver for DM&P Vortex86 RDC R6040 Fast Ethernet. The controller is commonly found on DM&P Vortex86 x86 SoC. The driver supp

svn commit: r218295 - in stable/7/sys: conf dev/mii modules/mii

2011-02-04 Thread Pyun YongHyeon
(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 the above copyright + *notice

svn commit: r218294 - in stable/8/sys: conf dev/mii modules/mii

2011-02-04 Thread Pyun YongHyeon
/mii/rdcphy.c) @@ -0,0 +1,267 @@ +/*- + * 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

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

2011-02-04 Thread Pyun YongHyeon
Author: yongari Date: Fri Feb 4 17:49:55 2011 New Revision: 218289 URL: http://svn.freebsd.org/changeset/base/218289 Log: Disable TX IP checksum offloading for RTL8168C controllers. The controller in question generates frames with bad IP checksum value if packets contain IP options. For i

svn commit: r218199 - in stable/7/sys/dev: ae age alc ale nfe

2011-02-02 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 2 18:44:02 2011 New Revision: 218199 URL: http://svn.freebsd.org/changeset/base/218199 Log: MFC r216925,217331,217349,217542: r216925: Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines ins

svn commit: r218198 - in stable/8/sys/dev: ae age alc ale nfe

2011-02-02 Thread Pyun YongHyeon
Author: yongari Date: Wed Feb 2 18:42:53 2011 New Revision: 218198 URL: http://svn.freebsd.org/changeset/base/218198 Log: MFC r216925,217331,217349,217542: r216925: Add a 'locked' variant of the foo_start() routine and call it directly from interrupt handlers and watchdog routines ins

Re: svn commit: r218055 - head/sys/dev/cs

2011-01-31 Thread Pyun YongHyeon
On Mon, Jan 31, 2011 at 12:34:17PM +, Gavin Atkinson wrote: > On Sat, 2011-01-29 at 00:53 +, Andrew Turner wrote: > > Author: andrew > > Date: Sat Jan 29 00:53:58 2011 > > New Revision: 218055 > > URL: http://svn.freebsd.org/changeset/base/218055 > > > > Log: > > Use bus space functions

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

2011-01-31 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 31 20:00:43 2011 New Revision: 218141 URL: http://svn.freebsd.org/changeset/base/218141 Log: alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id

svn commit: r218116 - stable/7/sys/dev/alc

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 31 00:29:11 2011 New Revision: 218116 URL: http://svn.freebsd.org/changeset/base/218116 Log: MFC r218038: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comsty

svn commit: r218115 - stable/8/sys/dev/alc

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 31 00:27:34 2011 New Revision: 218115 URL: http://svn.freebsd.org/changeset/base/218115 Log: MFC r218038: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comsty

svn commit: r218112 - stable/7/sys/dev/sound/pci/hda

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:29:45 2011 New Revision: 218112 URL: http://svn.freebsd.org/changeset/base/218112 Log: MFC r216766: Add device id for RDC M3010 which is found on Vortex86 SoC. Reviewed by:mav Modified: stable/7/sys/dev/sound/pci/hda/hdac.c Directory Prop

svn commit: r218111 - stable/8/sys/dev/sound/pci/hda

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:23:05 2011 New Revision: 218111 URL: http://svn.freebsd.org/changeset/base/218111 Log: MFC r216766: Add device id for RDC M3010 which is found on Vortex86 SoC. Reviewed by:mav Modified: stable/8/sys/dev/sound/pci/hda/hdac.c Directory Prop

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

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:18:55 2011 New Revision: 218110 URL: http://svn.freebsd.org/changeset/base/218110 Log: MFC r216596: Document limitation of station address reprogramming. Modified: stable/7/share/man/man4/jme.4 Directory Properties: stable/7/share/man/man4/ (props c

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

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:18:25 2011 New Revision: 218109 URL: http://svn.freebsd.org/changeset/base/218109 Log: MFC r216596: Document limitation of station address reprogramming. Modified: stable/8/share/man/man4/jme.4 Directory Properties: stable/8/share/man/man4/ (props c

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

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:16:49 2011 New Revision: 218108 URL: http://svn.freebsd.org/changeset/base/218108 Log: MFC r216576,216578-216581,217974: r216576,217974: ae(4), igb(4) and ixgbe(4) supports altq(4). r216578: Add .Xr to altq(4). r216579,216581: igb(4), i

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

2011-01-30 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 30 23:15:45 2011 New Revision: 218107 URL: http://svn.freebsd.org/changeset/base/218107 Log: MFC r216576,216578-216581,217974: r216576,217974: ae(4), igb(4) and ixgbe(4) supports altq(4). r216578: Add .Xr to altq(4). r216579,216581: igb(4), i

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

2011-01-28 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 28 21:03:32 2011 New Revision: 218038 URL: http://svn.freebsd.org/changeset/base/218038 Log: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comstyle dot com ) MFC after:

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 20:08:14 2011 New Revision: 217974 URL: http://svn.freebsd.org/changeset/base/217974 Log: ixgb(4) does not support altq(4) yet. Modified: head/share/man/man4/altq.4 Modified: head/share/man/man4/altq.4 =

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 20:06:24 2011 New Revision: 217973 URL: http://svn.freebsd.org/changeset/base/217973 Log: Backout r216577. ixgb(4) does not support altq(4) yet. Modified: head/share/man/man4/ixgb.4 Modified: head/share/man/man4/ixgb.4

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:38:03 2011 New Revision: 217971 URL: http://svn.freebsd.org/changeset/base/217971 Log: MFC r182771: Hook up ixgbe(4) to the build. D'oh! Modified: stable/7/share/man/man4/Makefile Directory Properties: stable/7/share/man/man4/ (props changed) Modi

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:32:53 2011 New Revision: 217968 URL: http://svn.freebsd.org/changeset/base/217968 Log: MFC r179724,179852: r179724: Add man page for ixgbe driver r179852: Bring this up to date with regard to our other section 4 and Intel manpages, also fixe

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:17:31 2011 New Revision: 217963 URL: http://svn.freebsd.org/changeset/base/217963 Log: MFC r183646,216552: r183646: Add a HARDWARE section. It doesn't contain any information not already in the DESCRIPTION section, but this allows for the manual

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:05:43 2011 New Revision: 217956 URL: http://svn.freebsd.org/changeset/base/217956 Log: MFC r216552: Document JMC251/JMC261 support. Modified: stable/8/share/man/man4/jme.4 Directory Properties: stable/8/share/man/man4/ (props changed) Modified: sta

svn commit: r217955 - in stable/7/sys/dev: jme mii

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:04:17 2011 New Revision: 217955 URL: http://svn.freebsd.org/changeset/base/217955 Log: MFC r216551: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices

svn commit: r217954 - in stable/8/sys/dev: jme mii

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 19:02:28 2011 New Revision: 217954 URL: http://svn.freebsd.org/changeset/base/217954 Log: MFC r216551: Add support for JMicron JMC251/JMC261 Gigabit/Fast ethernet controller with Card Read Host Controller. These controllers are multi-function devices

svn commit: r217953 - stable/7/sys/dev/jme

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:46:26 2011 New Revision: 217953 URL: http://svn.freebsd.org/changeset/base/217953 Log: MFC r216546,216548-216550: r216546: Consistently put a tab character between #define and the macro name. r216548: Fix a regression introduced in r213893. FPGA

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:44:05 2011 New Revision: 217952 URL: http://svn.freebsd.org/changeset/base/217952 Log: MFC r216546,216548-216550: r216546: Consistently put a tab character between #define and the macro name. r216548: Fix a regression introduced in r213893. FPGA

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:38:48 2011 New Revision: 217951 URL: http://svn.freebsd.org/changeset/base/217951 Log: MFC r216438: Remove unecessary and clearly wrong usage of atomic(9). Modified: stable/7/sys/dev/ale/if_ale.c Directory Properties: stable/7/sys/ (props changed)

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

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:37:10 2011 New Revision: 217950 URL: http://svn.freebsd.org/changeset/base/217950 Log: MFC r216438: Remove unecessary and clearly wrong usage of atomic(9). Modified: stable/8/sys/dev/ale/if_ale.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r217949 - in stable/7/sys/dev: alc jme

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:34:05 2011 New Revision: 217949 URL: http://svn.freebsd.org/changeset/base/217949 Log: MFC r216362: Remove unecessary and clearly wrong usage of atomic(9). Modified: stable/7/sys/dev/alc/if_alc.c stable/7/sys/dev/jme/if_jme.c Directory Properties: s

svn commit: r217948 - in stable/8/sys/dev: alc jme

2011-01-27 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 27 18:31:07 2011 New Revision: 217948 URL: http://svn.freebsd.org/changeset/base/217948 Log: MFC r216362: Remove unecessary and clearly wrong usage of atomic(9). Modified: stable/8/sys/dev/alc/if_alc.c stable/8/sys/dev/jme/if_jme.c Directory Properties: s

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:59:59 2011 New Revision: 217914 URL: http://svn.freebsd.org/changeset/base/217914 Log: Document newly added tunables. hw.re.intr_filter hw.re.msix_disable dev.re.%d.int_rx_mod Modified: head/share/man/man4/re.4 Modified: head/share/man/man4/re.4 =

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:14:20 2011 New Revision: 217911 URL: http://svn.freebsd.org/changeset/base/217911 Log: Add support for RTL8105E PCIe Fast Ethernet controller. It seems the controller has a kind of embedded controller/memory and vendor applies a large set of magic code via

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 21:07:44 2011 New Revision: 217910 URL: http://svn.freebsd.org/changeset/base/217910 Log: Add Realtek RTL8201E 10/100 PHY found in RTL8105E controller. The exact model name is not clear yet. All previous RTL8201 10/100 PHYs used 0x8201 in MII_PHYIDR2 which in

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

2011-01-26 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 26 20:25:40 2011 New Revision: 217902 URL: http://svn.freebsd.org/changeset/base/217902 Log: Do not use interrupt taskqueue on controllers with MSI/MSI-X capability. One of reason using interrupt taskqueue in re(4) was to reduce number of TX/RX interrupts under

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

2011-01-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 25 23:27:28 2011 New Revision: 217868 URL: http://svn.freebsd.org/changeset/base/217868 Log: Remove TX taskqueue and directly invoke re_start in interrupt task. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Modified: head/sys/dev/re/if_re.c ===

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

2011-01-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 25 22:18:00 2011 New Revision: 217857 URL: http://svn.freebsd.org/changeset/base/217857 Log: Prefer MSI-X to MSI on controllers that support MSI-X. All recent PCIe controllers(RTL8102E or later and RTL8168/8111C or later) supports either 2 or 4 MSI-X messages. U

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

2011-01-25 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 25 19:05:46 2011 New Revision: 217832 URL: http://svn.freebsd.org/changeset/base/217832 Log: Disable TSO for all Realtek controllers. Experimentation showed RTL8111C generated corrupted frames where TCP option header was broken. All other sample controllers I ha

svn commit: r217804 - releng/7.4/sys/dev/sis

2011-01-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 21:04:32 2011 New Revision: 217804 URL: http://svn.freebsd.org/changeset/base/217804 Log: MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializ

svn commit: r217803 - releng/8.2/sys/dev/sis

2011-01-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 21:03:22 2011 New Revision: 217803 URL: http://svn.freebsd.org/changeset/base/217803 Log: MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializ

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

2011-01-24 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 17:53:58 2011 New Revision: 217794 URL: http://svn.freebsd.org/changeset/base/217794 Log: Reinitialize driver when MTU is changed and driver is running. Reported by: Huang, Yusheng ( yusheng.huang <> bluecoat com ) Modified: head/sys/dev/nfe/if_nfe.c Mo

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

2011-01-23 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 24 00:01:06 2011 New Revision: 217766 URL: http://svn.freebsd.org/changeset/base/217766 Log: Apply TX interrupt moderation to all RTL810xE PCIe Fast Ethernet controllers. Experimentation with RTL8102E, RTL8103E and RTL8105E showed dramatic decrement of TX comple

svn commit: r217741 - stable/7/sys/dev/alc

2011-01-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 23 02:18:18 2011 New Revision: 217741 URL: http://svn.freebsd.org/changeset/base/217741 Log: MFC r217649: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change

svn commit: r217740 - stable/8/sys/dev/alc

2011-01-22 Thread Pyun YongHyeon
Author: yongari Date: Sun Jan 23 02:15:50 2011 New Revision: 217740 URL: http://svn.freebsd.org/changeset/base/217740 Log: MFC r217649: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change

svn commit: r217669 - stable/7/sys/dev/sis

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 21 00:35:34 2011 New Revision: 217669 URL: http://svn.freebsd.org/changeset/base/217669 Log: MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializ

svn commit: r217668 - stable/8/sys/dev/sis

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 21 00:33:10 2011 New Revision: 217668 URL: http://svn.freebsd.org/changeset/base/217668 Log: MFC r217548: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializ

svn commit: r217661 - stable/7/sys/dev/bktr

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 20 21:25:16 2011 New Revision: 217661 URL: http://svn.freebsd.org/changeset/base/217661 Log: MFC r192784,192805: Free the memory correctly in the error case PR: misc/154152 Modified: stable/7/sys/dev/bktr/bktr_os.c Directory Properties: stable/7/sys/

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

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 20 18:26:33 2011 New Revision: 217649 URL: http://svn.freebsd.org/changeset/base/217649 Log: Correct wrong definition of PM timer mask and adjust L1/PM timer value. While I'm here enable all clocks before initializing controller. This change should fix lockup is

svn commit: r217648 - releng/7.4/sys/dev/re

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 20 17:42:42 2011 New Revision: 217648 URL: http://svn.freebsd.org/changeset/base/217648 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

svn commit: r217647 - releng/8.2/sys/dev/re

2011-01-20 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 20 17:41:24 2011 New Revision: 217647 URL: http://svn.freebsd.org/changeset/base/217647 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

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

2011-01-18 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 18 17:50:14 2011 New Revision: 217548 URL: http://svn.freebsd.org/changeset/base/217548 Log: Rework RX filter programming by providing separate handler for DP8381[56] and SiS 900/7016 controllers. After r212119, sis(4) no longer reinitializes controller if ALLM

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

2011-01-17 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 18 00:46:10 2011 New Revision: 217524 URL: http://svn.freebsd.org/changeset/base/217524 Log: Change model names of controller RTL_HWREV_8168_SPIN[123] to real ones. s/RL_HWREV_8168_SPIN1/RL_HWREV_8168B_SPIN1/g s/RL_HWREV_8168_SPIN2/RL_HWREV_8168B_SPIN2/g s/RL_

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

2011-01-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 17 03:24:33 2011 New Revision: 217499 URL: http://svn.freebsd.org/changeset/base/217499 Log: Implement initial jumbo frame support for RTL8168/8111 C/D/E PCIe GbE controllers. It seems these controllers no longer support multi-fragmented RX buffers such that dri

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

2011-01-16 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 17 02:23:50 2011 New Revision: 217498 URL: http://svn.freebsd.org/changeset/base/217498 Log: Add initial support for RTL8168E/8111E-VL PCIe GbE. H/W donated by: Realtek Semiconductor Corp. Modified: head/sys/dev/re/if_re.c head/sys/pci/if_rlreg.h Mo

svn commit: r217436 - stable/7/sys/dev/re

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Sat Jan 15 00:34:50 2011 New Revision: 217436 URL: http://svn.freebsd.org/changeset/base/217436 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

svn commit: r217435 - stable/8/sys/dev/re

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Sat Jan 15 00:32:15 2011 New Revision: 217435 URL: http://svn.freebsd.org/changeset/base/217435 Log: MFC r217296: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuri

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

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:58:41 2011 New Revision: 217431 URL: http://svn.freebsd.org/changeset/base/217431 Log: MFC r216131: Document loader tunable hw.re.prefer_iomap. Modified: stable/7/share/man/man4/re.4 Directory Properties: stable/7/share/man/man4/ (props changed) Mo

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

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:58:08 2011 New Revision: 217430 URL: http://svn.freebsd.org/changeset/base/217430 Log: MFC r216131: Document loader tunable hw.re.prefer_iomap. Modified: stable/8/share/man/man4/re.4 Directory Properties: stable/8/share/man/man4/ (props changed) Mo

svn commit: r217429 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:36:33 2011 New Revision: 217429 URL: http://svn.freebsd.org/changeset/base/217429 Log: MFC r216284: r184610 changed the way how TX frames are handled on AX88178 and AX88772 controllers. ASIX added a new feature for AX88178/AX88772 controllers which

svn commit: r217428 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:33:12 2011 New Revision: 217428 URL: http://svn.freebsd.org/changeset/base/217428 Log: MFC r215969: Add initial AX88772A support. H/W donated by: Derrick Brashear (shadow <> gmail dot com) Modified: stable/8/sys/dev/usb/net/if_axe.c stable/

svn commit: r217427 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:31:26 2011 New Revision: 217427 URL: http://svn.freebsd.org/changeset/base/217427 Log: MFC r215968: Introduce new macro AXE_IS_178_FAMILY and AXE_IS_772. Include AX88772A and AX88772B for future extension. While here add TX buffer size for 178 fami

svn commit: r217426 - stable/8/sys/dev/usb/net

2011-01-14 Thread Pyun YongHyeon
Author: yongari Date: Fri Jan 14 22:29:45 2011 New Revision: 217426 URL: http://svn.freebsd.org/changeset/base/217426 Log: MFC r215960,215962-215964,215966: r215960: Apply GPIO configuration for all CICADA PHYs. While I'm here show selected phymode to ease of debugging. r215962:

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

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 23:15:09 2011 New Revision: 217385 URL: http://svn.freebsd.org/changeset/base/217385 Log: If driver is not able to allocate RX buffer, do not start driver. While I'm here move RX buffer allocation and descriptor initialization up to not touch hardware registe

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

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 23:00:28 2011 New Revision: 217384 URL: http://svn.freebsd.org/changeset/base/217384 Log: Make sure to check validity of dma maps before destroying. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c ==

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

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 22:52:57 2011 New Revision: 217382 URL: http://svn.freebsd.org/changeset/base/217382 Log: re_reset() should be called only after setting device specific features. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c ==

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

2011-01-13 Thread Pyun YongHyeon
Author: yongari Date: Thu Jan 13 22:49:10 2011 New Revision: 217381 URL: http://svn.freebsd.org/changeset/base/217381 Log: Allow TX/RX checksum offloading to be configured independently. Modified: head/sys/dev/re/if_re.c Modified: head/sys/dev/re/if_re.c =

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

2011-01-12 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 12 22:24:07 2011 New Revision: 217331 URL: http://svn.freebsd.org/changeset/base/217331 Log: Make sure to invoke unlocked foo_start since the taskqueue does not hold a driver lock. This should fix a regression introduced in r216925. PR: kern/153769 Modif

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

2011-01-11 Thread Pyun YongHyeon
Author: yongari Date: Wed Jan 12 03:43:47 2011 New Revision: 217296 URL: http://svn.freebsd.org/changeset/base/217296 Log: For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E), limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:47:11 2011 New Revision: 217247 URL: http://svn.freebsd.org/changeset/base/217247 Log: When driver is not running, do not send DUMP command to controller and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 23:28:46 2011 New Revision: 217246 URL: http://svn.freebsd.org/changeset/base/217246 Log: Implement TSO on RealTek RTL8168/8111 C or later controllers. RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration i

svn commit: r217235 - releng/7.4/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:59:20 2011 New Revision: 217235 URL: http://svn.freebsd.org/changeset/base/217235 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

svn commit: r217233 - releng/8.2/sys/dev/bge

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:55:30 2011 New Revision: 217233 URL: http://svn.freebsd.org/changeset/base/217233 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:48:24 2011 New Revision: 217231 URL: http://svn.freebsd.org/changeset/base/217231 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 19:43:16 2011 New Revision: 217230 URL: http://svn.freebsd.org/changeset/base/217230 Log: MFC r217226: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM570

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:45:09 2011 New Revision: 217226 URL: http://svn.freebsd.org/changeset/base/217226 Log: Apply DMA address space restriction to controllers that have 4GB DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind

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

2011-01-10 Thread Pyun YongHyeon
Author: yongari Date: Mon Jan 10 17:37:49 2011 New Revision: 217225 URL: http://svn.freebsd.org/changeset/base/217225 Log: Backout r216973 and r216970. r216973 didn't solve watchdog timeout issue seen on PCIX BCM5704 controller. r216970 fixed the issue but the DMA address space restriction w

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

2011-01-04 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 4 20:06:26 2011 New Revision: 216973 URL: http://svn.freebsd.org/changeset/base/216973 Log: Limit hardware bug workaround to controllers that have 4GB boundary bug instead of blindly applying it to all controllers. Pointed out by: marius MFC after:

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

2011-01-04 Thread Pyun YongHyeon
Author: yongari Date: Tue Jan 4 19:10:54 2011 New Revision: 216970 URL: http://svn.freebsd.org/changeset/base/216970 Log: Partially revert change made in r212061. r212061 relied on bus_dma(9)'s capability which honors boundary restrictions of DMA tag for dynamic buffers. However it seems th

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

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 22:18:41 2010 New Revision: 216860 URL: http://svn.freebsd.org/changeset/base/216860 Log: Fix endianness bug introduced in r205091. After controller updates control word in a RX LE, driver converts it to host byte order. The checksum value in the control word

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

2010-12-31 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 21:52:51 2010 New Revision: 216858 URL: http://svn.freebsd.org/changeset/base/216858 Log: Remove duplicated "perfect" Pointed out by: pluknet Modified: head/share/man/man4/vte.4 Modified: head/share/man/man4/vte.4 ==

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

2010-12-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 01:23:04 2010 New Revision: 216833 URL: http://svn.freebsd.org/changeset/base/216833 Log: Remove debugging leftovers. Modified: head/sys/dev/vte/if_vte.c Modified: head/sys/dev/vte/if_vte.c =

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

2010-12-30 Thread Pyun YongHyeon
.Xr xl 4 . .Pp Added: head/share/man/man4/vte.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/vte.4 Fri Dec 31 00:46:30 2010(r216831) @@ -0,0 +1,152 @@ +.\" Copyright (c) 2010 Pyun YongHyeon +.\&quo

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

2010-12-30 Thread Pyun YongHyeon
Author: yongari Date: Fri Dec 31 00:24:08 2010 New Revision: 216830 URL: http://svn.freebsd.org/changeset/base/216830 Log: Add vte(4) to the list of supported network interface. Modified: head/usr.sbin/sysinstall/devices.c Modified: head/usr.sbin/sysinstall/devices.c

svn commit: r216829 - in head/sys: boot/forth conf dev/vte i386/conf modules modules/vte

2010-12-30 Thread Pyun YongHyeon
x.c optional vx dev/vx/if_vx_eisa.coptional vx eisa dev/vx/if_vx_pci.c optional vx pci Added: head/sys/dev/vte/if_vte.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/vte/if_vte.c Fri Dec 31 00:21:41 2010(r2

svn commit: r216828 - in head/sys: conf dev/mii modules/mii

2010-12-30 Thread Pyun YongHyeon
) +++ head/sys/dev/mii/rdcphy.c Thu Dec 30 23:50:25 2010(r216828) @@ -0,0 +1,267 @@ +/*- + * 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

<    4   5   6   7   8   9   10   11   12   13   >