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

2009-03-30 Thread Pyun YongHyeon
Author: yongari Date: Tue Mar 31 03:29:05 2009 New Revision: 190587 URL: http://svn.freebsd.org/changeset/base/190587 Log: Partial revert r185756. It seems that RTL8168D and RTL8102EL requires additional settle time to complete RL_PHYAR register write. Accessing RL_PHYAR register right aft

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

2009-03-30 Thread Warner Losh
Author: imp Date: Tue Mar 31 02:50:41 2009 New Revision: 190586 URL: http://svn.freebsd.org/changeset/base/190586 Log: Go back to filtering all PHY addresses above 16 since at least two cards still have issues with them. Maybe this is a silicon rev? In any case, doing the filtering only fo

svn commit: r190585 - head/lib/libthr

2009-03-30 Thread David Xu
Author: davidxu Date: Tue Mar 31 02:50:18 2009 New Revision: 190585 URL: http://svn.freebsd.org/changeset/base/190585 Log: Turn on nodelete linker flag because libthr can not be unloaded safely, it does hook on to libc. Modified: head/lib/libthr/Makefile Modified: head/lib/libthr/Makefile

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

2009-03-30 Thread Weongyo Jeong
Author: weongyo Date: Tue Mar 31 02:29:42 2009 New Revision: 190584 URL: http://svn.freebsd.org/changeset/base/190584 Log: MFC r190434: The malo(4) device driver first appeared in FreeBSD 7.1 not 8.0. Reported by:John Approved by: re (hrs) Modified: stable/7/share/ma

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

2009-03-30 Thread Warner Losh
Author: imp Date: Tue Mar 31 01:59:47 2009 New Revision: 190583 URL: http://svn.freebsd.org/changeset/base/190583 Log: H... This can't be right... But it looks like the DL100xx chips don't have one of the clock cycles (the turn cycle) that the AX88x90 chips have. Make this conditional

svn commit: r190582 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/bce dev/cxgb

2009-03-30 Thread Xin LI
Author: delphij Date: Tue Mar 31 01:01:01 2009 New Revision: 190582 URL: http://svn.freebsd.org/changeset/base/190582 Log: Update bce(4) to latest -CURRENT version: - Add several HP OEM parts' PCI IDs (187133+187317) - Remove intermediate variable busaddr and have bus_* operate dir

Re: svn commit: r190581 - in head/sys: . amd64/include/xen arm/arm cddl/dev/dtnfsclient contrib/pf dev/ata dev/ata/chipsets dev/cxgb dev/sound/usb dev/usb dev/usb/bluetooth dev/usb/controller dev/usb/

2009-03-30 Thread Daan Vreeken
Hi Alexander, On Tuesday 31 March 2009 00:18:38 Alexander Motin wrote: > Author: mav > Date: Mon Mar 30 22:18:38 2009 > New Revision: 190581 > URL: http://svn.freebsd.org/changeset/base/190581 > > Log: > Integrate user/mav/ata branch: > > Add ch_suspend/ch_resume methods for PCI controllers an

svn commit: r190581 - in head/sys: . amd64/include/xen arm/arm cddl/dev/dtnfsclient contrib/pf dev/ata dev/ata/chipsets dev/cxgb dev/sound/usb dev/usb dev/usb/bluetooth dev/usb/controller dev/usb/i...

2009-03-30 Thread Alexander Motin
Author: mav Date: Mon Mar 30 22:18:38 2009 New Revision: 190581 URL: http://svn.freebsd.org/changeset/base/190581 Log: Integrate user/mav/ata branch: Add ch_suspend/ch_resume methods for PCI controllers and implement them for AHCI. Refactor AHCI channel initialization according to it.

svn commit: r190580 - head/sys/arm/conf

2009-03-30 Thread Sam Leffler
Author: sam Date: Mon Mar 30 21:54:39 2009 New Revision: 190580 URL: http://svn.freebsd.org/changeset/base/190580 Log: revert unintended change Modified: head/sys/arm/conf/AVILA Modified: head/sys/arm/conf/AVILA == -

svn commit: r190579 - in head/sys: arm/conf dev/ath dev/ipw dev/iwi dev/iwn dev/malo dev/ral dev/usb/wlan dev/wi dev/wpi net80211

2009-03-30 Thread Sam Leffler
Author: sam Date: Mon Mar 30 21:53:27 2009 New Revision: 190579 URL: http://svn.freebsd.org/changeset/base/190579 Log: Hoist 802.11 encapsulation up into net80211: o call ieee80211_encap in ieee80211_start so frames passed down to drivers are already encapsulated o remove ieee80211_encap

svn commit: r190578 - head/sys/net80211

2009-03-30 Thread Rui Paulo
Author: rpaulo Date: Mon Mar 30 21:46:50 2009 New Revision: 190578 URL: http://svn.freebsd.org/changeset/base/190578 Log: Fix typo in comment. Modified: head/sys/net80211/ieee80211_scan.h Modified: head/sys/net80211/ieee80211_scan.h ===

svn commit: r190577 - head/sys/net80211

2009-03-30 Thread Rui Paulo
Author: rpaulo Date: Mon Mar 30 21:41:06 2009 New Revision: 190577 URL: http://svn.freebsd.org/changeset/base/190577 Log: MFP mesh11s: Add mesh debugging bit replacing the now deprecated RADKEYS. Modified: head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211_var.h

svn commit: r190575 - head/etc/rc.d

2009-03-30 Thread Maksim Yevmenkin
Author: emax Date: Mon Mar 30 21:31:52 2009 New Revision: 190575 URL: http://svn.freebsd.org/changeset/base/190575 Log: - Add ipfw_nat to the list of required modules if "firewall_nat_enable" is set and "natd_enable" is NOT set; - Accept and pass firewall type to the external firewall s

svn commit: r190574 - head/sys/dev/wi

2009-03-30 Thread Sam Leffler
Author: sam Date: Mon Mar 30 21:29:25 2009 New Revision: 190574 URL: http://svn.freebsd.org/changeset/base/190574 Log: fake the association id so packets are not rejected in the tx path Modified: head/sys/dev/wi/if_wi.c Modified: head/sys/dev/wi/if_wi.c ==

svn commit: r190573 - head/share/man/man9

2009-03-30 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Mar 30 20:56:37 2009 New Revision: 190573 URL: http://svn.freebsd.org/changeset/base/190573 Log: Remove pseudocode from VOP_* manual pages. It was out of date anyway. Reviewed by: scottl Approved by: rwatson (mentor) Modified: head/share/man/man9/VOP_ACCESS.9

svn commit: r190571 - in head/sys: arm/conf conf dev/ath modules/ath

2009-03-30 Thread Sam Leffler
Author: sam Date: Mon Mar 30 19:23:49 2009 New Revision: 190571 URL: http://svn.freebsd.org/changeset/base/190571 Log: Remove ATH_SUPPORT_TDMA and use IEEE80211_SUPPORT_TDMA instead. It doesn't make much sense to configure driver support w/o net80211. Note this means ath now depends on opt_

svn commit: r190570 - stable/7/sys/kern

2009-03-30 Thread Jeff Roberson
Author: jeff Date: Mon Mar 30 19:20:56 2009 New Revision: 190570 URL: http://svn.freebsd.org/changeset/base/190570 Log: MFC SVN rev 189787. - Fix steal_thresh calculation with odd numbers of cpus and sched_affinity() for threads on runqueues. Approved by: re Modified: stable/7/sys/

svn commit: r190569 - in stable/6/sys: . contrib/pf dev/cxgb dev/twa

2009-03-30 Thread John Baldwin
Author: jhb Date: Mon Mar 30 18:47:13 2009 New Revision: 190569 URL: http://svn.freebsd.org/changeset/base/190569 Log: MFC: Use a DMA boundary of 4GB to prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type limitations, the driver uses a 2GB boundary i

svn commit: r190568 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/twa

2009-03-30 Thread John Baldwin
Author: jhb Date: Mon Mar 30 18:43:41 2009 New Revision: 190568 URL: http://svn.freebsd.org/changeset/base/190568 Log: MFC: Reenable 64-bit DMA for twa(4) controllers, but use a boundary of 4GB to prevent individual transactions from crossing a 4GB address boundary. Due to bus_size_t type li

svn commit: r190567 - in stable/6/sys: . contrib/pf dev/acpica dev/cxgb

2009-03-30 Thread John Baldwin
Author: jhb Date: Mon Mar 30 18:38:03 2009 New Revision: 190567 URL: http://svn.freebsd.org/changeset/base/190567 Log: MFC: Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe() and into acpi_cpu_startup() which is where all the other code to update this global variable liv

svn commit: r190566 - in stable/7/sys: . contrib/pf dev/acpica dev/ath/ath_hal dev/cxgb

2009-03-30 Thread John Baldwin
Author: jhb Date: Mon Mar 30 18:33:04 2009 New Revision: 190566 URL: http://svn.freebsd.org/changeset/base/190566 Log: MFC: Move the code to update cpu_cx_count out of acpi_cpu_generic_cx_probe() and into acpi_cpu_startup() which is where all the other code to update this global variable liv

svn commit: r190565 - head/sys/dev/drm

2009-03-30 Thread Robert Noland
Author: rnoland Date: Mon Mar 30 18:01:42 2009 New Revision: 190565 URL: http://svn.freebsd.org/changeset/base/190565 Log: We don't know what these pages are going to be used for, they should be un-cached. This got lost somewhere with all the bus_dma fixups. MFC after:3 days Modifie

svn commit: r190564 - head/share/man/man9

2009-03-30 Thread John Baldwin
Author: jhb Date: Mon Mar 30 18:01:12 2009 New Revision: 190564 URL: http://svn.freebsd.org/changeset/base/190564 Log: Add a simple manage for the refcount(9) API. Requested by: rwatson Added: head/share/man/man9/refcount.9 (contents, props changed) Modified: head/share/man/man9/Make

svn commit: r190563 - head/sys/dev/drm

2009-03-30 Thread Robert Noland
Author: rnoland Date: Mon Mar 30 17:49:21 2009 New Revision: 190563 URL: http://svn.freebsd.org/changeset/base/190563 Log: Load the right microcode for RS780. MFC after:3 days Modified: head/sys/dev/drm/r600_cp.c Modified: head/sys/dev/drm/r600_cp.c =

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

2009-03-30 Thread Warner Losh
Author: imp Date: Mon Mar 30 17:25:56 2009 New Revision: 190562 URL: http://svn.freebsd.org/changeset/base/190562 Log: Two fixes: (1) Delete all children when detaching to keep from adding a phy each driver reload. (2) All AX88x90 chips have the RST issue. Modified: head/sys/dev/ed/

svn commit: r190560 - svnadmin/conf

2009-03-30 Thread Rui Paulo
Author: rpaulo Date: Mon Mar 30 16:40:55 2009 New Revision: 190560 URL: http://svn.freebsd.org/changeset/base/190560 Log: Add self to be able to MFH. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

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

2009-03-30 Thread Warner Losh
Author: imp Date: Mon Mar 30 16:15:06 2009 New Revision: 190559 URL: http://svn.freebsd.org/changeset/base/190559 Log: This is a major reworking of the AX88x90 support. o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain th

Re: svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-30 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 u...@vk2pj.dyndns.org wrote: [...] > Given that db runs with the same privileges as the process using it, I > don't see how zeroing memory eliminates any information leak - the > process can directly open and read the underlying db file itself. > Zeroi

Re: svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-30 Thread Brooks Davis
On Mon, Mar 30, 2009 at 09:18:50PM +1100, u...@vk2pj.dyndns.org wrote: > Hi Xin, > > On 2009-Mar-28 04:00:46 +, Xin LI wrote: > >Log: > > When allocating memory, zero out them if we don't intend to overwrite them > > all; before freeing memory, zero out them before we release it as free > >

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

2009-03-30 Thread Warner Losh
Author: imp Date: Mon Mar 30 16:01:09 2009 New Revision: 190558 URL: http://svn.freebsd.org/changeset/base/190558 Log: New PHY driver for the internal PHY found in the AX88790. There's a number of quirks for this device, and this implements just the basics. The 2.5s powerdown recommended in

svn commit: r190557 - head/sys/kern

2009-03-30 Thread Christian Brueffer
Author: brueffer Date: Mon Mar 30 15:01:29 2009 New Revision: 190557 URL: http://svn.freebsd.org/changeset/base/190557 Log: Fix memory leak in semunload(). PR: 133064 Submitted by: Mateusz Guzik MFC after:1 week Modified: head/sys/kern/sysv_sem.c Modified: head/sys/ke

Re: svn commit: r190543 - in head: include libexec/rtld-elf sys/sys

2009-03-30 Thread Robert Noland
On Mon, 2009-03-30 at 08:47 +, Konstantin Belousov wrote: > Author: kib > Date: Mon Mar 30 08:47:28 2009 > New Revision: 190543 > URL: http://svn.freebsd.org/changeset/base/190543 > > Log: > Implement support for RTLD_NODELETE flag for dlopen() and -z nodelete > static linker option. Do it

svn commit: r190556 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb netinet

2009-03-30 Thread Robert Watson
Author: rwatson Date: Mon Mar 30 14:11:37 2009 New Revision: 190556 URL: http://svn.freebsd.org/changeset/base/190556 Log: Merge r189196 from head to stable/7: Remove unreachable code for generating RST segments from tcp_twcheck(); this code became stale when T/TCP support was removed

svn commit: r190554 - svnadmin/conf

2009-03-30 Thread Paolo Pisati
Author: piso Date: Mon Mar 30 12:18:24 2009 New Revision: 190554 URL: http://svn.freebsd.org/changeset/base/190554 Log: Return the commit-size privilege. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r190552 - head/sys/dev/malo

2009-03-30 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 30 11:51:05 2009 New Revision: 190552 URL: http://svn.freebsd.org/changeset/base/190552 Log: when it failed to inform rx/tx dma setup it should clean up allocated dma-related buffers and tags. MFC after:3 days Modified: head/sys/dev/malo/if_malo.c Mod

svn commit: r190551 - svnadmin/conf

2009-03-30 Thread Paolo Pisati
Author: piso Date: Mon Mar 30 11:46:34 2009 New Revision: 190551 URL: http://svn.freebsd.org/changeset/base/190551 Log: Temporary raise my commit limit. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf =

Re: svn commit: r190550 - head/sys/dev/malo

2009-03-30 Thread Weongyo Jeong
On Mon, Mar 30, 2009 at 11:23:14AM +, Weongyo Jeong wrote: > Author: weongyo > Date: Mon Mar 30 11:23:14 2009 > New Revision: 190550 > URL: http://svn.freebsd.org/changeset/base/190550 > > Log: > corrects a error message. > > Modified: > head/sys/dev/malo/if_malohal.c > > Modified: head/

svn commit: r190550 - head/sys/dev/malo

2009-03-30 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 30 11:23:14 2009 New Revision: 190550 URL: http://svn.freebsd.org/changeset/base/190550 Log: corrects a error message. Modified: head/sys/dev/malo/if_malohal.c Modified: head/sys/dev/malo/if_malohal.c =

Re: svn commit: r190482 - in head/lib/libc/db: . btree hash mpool

2009-03-30 Thread user
Hi Xin, On 2009-Mar-28 04:00:46 +, Xin LI wrote: >Log: > When allocating memory, zero out them if we don't intend to overwrite them > all; before freeing memory, zero out them before we release it as free > heap. This will eliminate some potential information leak issue. Given that db ru

svn commit: r190547 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb dev/sound/pci/hda

2009-03-30 Thread Alexander Motin
Author: mav Date: Mon Mar 30 10:18:43 2009 New Revision: 190547 URL: http://svn.freebsd.org/changeset/base/190547 Log: MFC rev. 190519: Fixup relative pointers after channel realloc. It fixes crash on systems with several HDA codecs per controller. While I am there, remove some un

svn commit: r190544 - head/sys/dev/malo

2009-03-30 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 30 08:48:33 2009 New Revision: 190544 URL: http://svn.freebsd.org/changeset/base/190544 Log: handles more exceptional cases when the driver failed to attach. MFC after:3 days Modified: head/sys/dev/malo/if_malo_pci.c Modified: head/sys/dev/malo/if_malo_

svn commit: r190543 - in head: include libexec/rtld-elf sys/sys

2009-03-30 Thread Konstantin Belousov
Author: kib Date: Mon Mar 30 08:47:28 2009 New Revision: 190543 URL: http://svn.freebsd.org/changeset/base/190543 Log: Implement support for RTLD_NODELETE flag for dlopen() and -z nodelete static linker option. Do it by incrementing reference count on the loaded object and its dependencies.

svn commit: r190542 - stable/7/contrib/csup

2009-03-30 Thread Ulf Lilleengen
Author: lulf Date: Mon Mar 30 08:44:29 2009 New Revision: 190542 URL: http://svn.freebsd.org/changeset/base/190542 Log: MFC r190406: - Remember to set umask before setting attributes of RCS file. Approved by: re (kib) Modified: stable/7/contrib/csup/ (props changed) stable/7/contr

svn commit: r190541 - head/sys/dev/malo

2009-03-30 Thread Weongyo Jeong
Author: weongyo Date: Mon Mar 30 08:39:42 2009 New Revision: 190541 URL: http://svn.freebsd.org/changeset/base/190541 Log: fix a bug of uses after free. Pointed by: dchagin MFC after:3 days Modified: head/sys/dev/malo/if_malohal.c Modified: head/sys/dev/malo/if_malohal.c ===