summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Both RX_GMF_LP_THR and RX_GMF_UP_THR must be 16 bits register. Ifyongari2010-04-302-4/+4
| | | | | it is 8bits register then RX FIFO size can't exceed 2KB which is not true for almost all Yukon II controller.
* usb_controller.c requires opt_ddb.hthompsa2010-04-291-1/+1
|
* - Pass flow control settings back to bce(4).davidch2010-04-291-6/+4
| | | | MFC after: Two weeks
* Default connection timeout is way too long. To make it shorter we have topjd2010-04-291-3/+75
| | | | | | | | | make socket non-blocking, connect() and if we get EINPROGRESS, we have to wait using select(). Very complex, but I know no other way to define connection timeout for a given socket. Reported by: hiroshi@soupacific.com MFC after: 3 days
* Add FreeBSD 8.1 to known list as it's being referenced by a couple ofdelphij2010-04-291-0/+1
| | | | | | manpages already. MFC after: 3 days
* bwn(4) will first appear in FreeBSD 8.1-RELEASE.delphij2010-04-291-1/+1
| | | | MFC after: 1 week
* Now sge(4) supports hardware VLAN tag insertion/stripping.yongari2010-04-292-6/+6
|
* Enable VLAN hardware tag insertion/stripping. Due to lack of SiS190yongari2010-04-292-6/+60
| | | | | | | | | | | | | | controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. In theory, controller reinitialization is not needed when VLAN tag configuration is changed, but xclin said controller was not stable whenever toggling VLAN tag bit. To address that, sge(4) reinitialize controller for VLAN configuration which seems to work as expected. VLAN tag information for TX/RX descriptor and configure bit of RxMacControl register was found by xclin. Submitted by: xclin <xclin <> cs dot nctu dot edu dot tw > (initial version) Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Enable FCS stripping and padding 10 bytes bit of RX MAC controlyongari2010-04-292-5/+32
| | | | | | | | | | | | | | | | | | | | register. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. The controller can pad 10 bytes before DMAing a received frame to RX buffer and received bytes include the padded bytes. This padding is very useful on strict-alignment architectures because driver does not have to copy received frame to align IP header on 4 bytes boundary. It also gives better RX performance on non-strict alignment architectures. Special thanks to xclin to give me valuable register information. Without his enthusiastic trial and errors this wouldn't be even possible. While I'm here tighten validity check of received frame. Controller clears RDS_CRCOK bit when it received bad CRC frames. xclin found that using loop back testing. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Explicitly marks SiS190 to differentiate it from SiS191.yongari2010-04-292-1/+2
|
* Remove wrong link state chage.yongari2010-04-291-1/+0
|
* Preserve unknown bits of RX MAC control register when driveryongari2010-04-291-15/+16
| | | | | | | | | programs RX filter configuration. It seems RX MAC control register is one of key registers to get various offloading features as well as performance. Blindly clearing unrelated bits can result in unexpected results. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Simplify the inner loop of vm_pageout_object_deactivate_pages(). Ratheralc2010-04-291-7/+4
| | | | | | | | than checking each page for PG_UNMANAGED, check the vm object's type. Only OBJT_PHYS can have unmanaged pages. Eliminate a pointless counter. The vm object is locked, that lock is never released by the inner loop, and the set of pages contained by the vm object is not changed by the inner loop. Therefore, the counter serves no purpose.
* MFamd64/i386 r207205alc2010-04-293-28/+12
| | | | | | | Clearing a page table entry's accessed bit and setting the page's PG_REFERENCED flag in pmap_protect() can't really be justified, so don't do it. Moreover, on ia64, don't set the page's dirty field unless pmap_protect() is removing write access.
* - Check if the worker process was killed by signal and restart it.pjd2010-04-291-18/+26
| | | | | | | - Improve logging. Pointed out by: Garrett Cooper <yanefbsd@gmail.com> MFC after: 3 days
* Fix a problem where hastd will stuck in recv(2) after sending request topjd2010-04-2910-3/+87
| | | | | | | | | | secondary, which died between send(2) and recv(2). Do it by adding timeout to recv(2) for primary incoming and outgoing sockets and secondary outgoing socket. Reported by: Mikolaj Golub <to.my.trociny@gmail.com> Tested by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Decrement rxa_pad due to the addition of rxa_private.rpaulo2010-04-291-1/+1
|
* MFP4: @176978-176982, 176984, 176990-176994, 177441bz2010-04-2952-682/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | "Whitspace" churn after the VIMAGE/VNET whirls. Remove the need for some "init" functions within the network stack, like pim6_init(), icmp_init() or significantly shorten others like ip6_init() and nd6_init(), using static initialization again where possible and formerly missed. Move (most) variables back to the place they used to be before the container structs and VIMAGE_GLOABLS (before r185088) and try to reduce the diff to stable/7 and earlier as good as possible, to help out-of-tree consumers to update from 6.x or 7.x to 8 or 9. This also removes some header file pollution for putatively static global variables. Revert VIMAGE specific changes in ipfilter::ip_auth.c, that are no longer needed. Reviewed by: jhb Discussed with: rwatson Sponsored by: The FreeBSD Foundation Sponsored by: CK Software GmbH MFC after: 6 days
* ffs_vfsops: restore alphabetic order of options in ffs_optsavg2010-04-291-2/+2
| | | | | | | The order was not correct only for nfsv4acls. ("no" prefix is ignored) MFC after: 1 week
* When doing kstack swapin, read as much pages in one run as possible.kib2010-04-291-11/+25
| | | | | | Suggested and reviewed by: alc (previous version) Tested by: pho MFC after: 2 weeks
* In swap pager, do not free the non-requested pages from the run if they arekib2010-04-291-3/+11
| | | | | | | | | wired. Kstack pages are wired, this change prepares swap pager for handling of long runs of kstack pages. Noted and reviewed by: alc Tested by: pho MFC after: 2 weeks
* Remove caddr_t casts.kib2010-04-291-5/+3
| | | | | Requested by: bde MFC after: 10 days
* kern_ntptime: drop a comment that became stale after r207359avg2010-04-291-4/+0
| | | | | MFC after: 1 week X-MFC after: r207359
* periodically save system time to hardware time-of-day clockavg2010-04-291-0/+65
| | | | | | | | | | | | | | | This is done in kern_ntptime, perhaps not the best place. This is done using resettodr(). Some features: - make save period configurable via tunable and sysctl - period of zero disables saving, setting a non-zero period re-enables it or reschedules it - do saving only if system clock is ntp-synchronized - save on shutdown Discussed with: des, Peter Jeremy <peterjeremy@acm.org> X-Maybe: save time near seconds boundary for better precision MFC after: 2 weeks
* kern_ntptime: abstract time error check into a functionavg2010-04-291-23/+27
| | | | | | ... to avoid code duplication MFC after: 1 week
* MFi386: revision 206553nyan2010-04-291-4/+8
| | | | | - Change printf() calls to uprintf() for sigreturn(). - Normalize the messages to include both pid and thread name.
* On certain chipsets AT keyboard controller isn't present and issobomax2010-04-294-16/+69
| | | | | | | | | | | | | | | | | | | | emulated by BIOS using SMI interrupt. On those chipsets reading from the status port may be thousand times slower than usually. Sometimes this emilation is not working properly resulting in commands timing out and since we assume that inb() operation takes very little time to complete we need to adjust number of retries to keep waiting time within a designed limits (100ms). Measure time it takes to make read_status() call and adjust number of retries accordingly. To keep it simple, use TSC to measure inb() performance and keep it to amd64-only, since TSC may not available on older CPUs. Also enable detection of the AT controller absence on amd64. Reviewed by: jhb MFC after: 1 month
* For the experimental NFS client, it should always flush dirtyrmacklem2010-04-281-2/+1
| | | | | | | | | | buffers before closing the NFSv4 opens, as the comment states. This patch deletes the call to nfscl_mustflush() which would return 0 for the case where a delegation still exists, which was incorrect and could cause crashes during recovery from an expired lease. MFC after: 1 week
* Delete a diagnostic statement that is no longer useful fromrmacklem2010-04-281-4/+0
| | | | | | the experimental NFS client. MFC after: 1 week
* Restart worker thread only if the problem was temporary.pjd2010-04-281-3/+9
| | | | | | In case of persistent problem we don't want to loop forever. MFC after: 3 days
* Mark temporary issues as such.pjd2010-04-281-2/+2
| | | | MFC after: 3 days
* In the case where named_chroot_autoupdate is NOT set, butdougb2010-04-281-4/+10
| | | | | | | | | | | | | | | | named_chrootdir IS set, named-checkconf fails because it cannot find the conf file. Fix this by making checkconf a variable that includes "-t $named_chrootdir" as needed. Notice of the bug and suggested direction for the fix from [1]. Using required_files for named.conf is overkill ever since I added the named-checkconf call, so rather than update the logic to handle the case described above, remove it. This also handles the case where named_chroot_autoupdate IS set but the symlink doesn't exist yet. PR: conf/145904 Submitted by: J R Matthews
* Use WEXITSTATUS() to obtain real exit code.pjd2010-04-281-2/+3
| | | | MFC after: 3 days
* Merge ACPICA 20100428.jkim2010-04-2850-3929/+6055
|\
| * Import ACPICA 20100428.jkim2010-04-2853-3921/+16773
| |
| * Additional fix for root table size regression.jkim2010-04-021-3/+7
| | | | | | | | | | | | | | | | | | Set the size of the new root table correctly. Not the current size, but the number of current tables + the default increment. http://git.moblin.org/cgit.cgi/acpica/commit/?id=752d13e80656436cd58e9710225a80c9deb3b053 Obtained from: Intel
| * Fixes for table load regression.jkim2010-04-021-8/+11
| | | | | | | | | | | | | | http://git.moblin.org/cgit.cgi/acpica/commit/?id=e4c530f4e71d70804ed911d41d922dce4cea8b23 http://git.moblin.org/cgit.cgi/acpica/commit/?id=67a1ef8c98791bd4a0fb84fe0c2feff7082151dc Obtained from: Intel
| * Integrate FreeBSD changes for acfreebsd.h.jkim2010-04-021-4/+5
| | | | | | | | | | | | http://git.moblin.org/cgit.cgi/acpica/commit/?id=4580a813dd812d85c9a0ec1b77f7855c9940c60c Obtained from: Intel
| * Import ACPICA 20100331.jkim2010-04-0231-617/+880
| |
* | Don't assume that "resource" property is in metadata.pjd2010-04-281-1/+1
| | | | | | | | | | Reported by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* | Address the LOD that some are seeing, put the RX lockjfv2010-04-281-10/+13
| | | | | | | | | | | | | | | | back in rxeof (I could see little point in taking it out), and now release it before the stack entry. Also, make it so the 82574 does not configure for multiqueue when its not used in the stack.
* | Initialize the callout structure earlier in attach before calling anyjhb2010-04-281-1/+1
| | | | | | | | | | routines that can fail since ciss_free() always tries to stop and drain the callout.
* | Backport fix for 'zfs_znode_dmu_init: existing znode for dbuf' panic from ↵pjd2010-04-281-12/+31
| | | | | | | | | | | | | | | | | | | | OpenSolaris. PR: kern/144402 Reported by: Alex Bakhtin <alex.bakhtin@gmail.com> Tested by: Alex Bakhtin <alex.bakhtin@gmail.com> Obtained from: OpenSolaris, Bug ID 6895088 MFC after: 3 days
* | Change default WOL back to MAGIC only, havingjfv2010-04-281-2/+2
| | | | | | | | multicast enabled causes problems in man environments.
* | Remove dead code. Calculated greatest common divisor was not used at all.jkim2010-04-281-11/+0
| | | | | | | | | | | | | | | | | | On top of that, LLVM+Clang mis-compiles this code because of its register allocator bug. Analyzed by: Andrew Reilly (areilly at bigpond dot net dot au) Reviewed by: ariff, rdivacky MFC after: 3 days
* | - Extract the IODEV_PIO interface from ia64 and make it MI.attilio2010-04-288-198/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the end, it does help fixing /dev/io usage from multithreaded processes. - On i386 and amd64 the old behaviour is kept but multithreaded processes must use the new interface in order to work well. - Support for the other architectures is greatly improved, where necessary, by the necessity to define very small things now. Manpage update will happen shortly. Sponsored by: Sandvine Incorporated PR: threads/116181 Reviewed by: emaste, marcel MFC after: 3 weeks
* | Add a private field to struct ieee80211_rx_ampdu do hold driver specificrpaulo2010-04-281-0/+1
| | | | | | | | | | | | data. Sponsored by: iXsystems, inc
* | Add ic_rxstream and ic_txstream. These variables hold the number of RXrpaulo2010-04-281-1/+2
| | | | | | | | | | | | | | streams and the number of TX streams respectively. Obtained from: //depot/user/rpaulo/80211n/... Sponsored by: iXsystems, inc.
* | Couple of fixes from DragonFly (typos).rpaulo2010-04-282-5/+5
| | | | | | | | Obtained from: DragonFlyBSD
* | When in the RUN -> AUTH -> RUN FSM transition happens, we'll call therpaulo2010-04-282-17/+21
| | | | | | | | | | | | | | | | | | ratectl_node_init() functions and since ni_rtctls was already malloc'ed() we will panic. Fix this by using the already malloc'ed pointer. Found by: bschmidt Reviewed by: bschmidt
OpenPOWER on IntegriCloud