summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* o consolidate loops to eliminate assumptions about ordering of modessam2009-02-191-13/+10
| | | | o replace 0x80 by IEEE80211_RATE_MCS
* Change country ie construction to simplify forthcoming changes:sam2009-02-191-11/+17
| | | | | o use c99 initializer for skipflags o calculate band flags instead of statically listing them in the table
* use c99 initializersam2009-02-191-10/+13
|
* simplify setting up the roaming parameters; writing default parameters onlysam2009-02-191-43/+29
| | | | | for active modes hasn't turned out to be useful so just define a const table and copy it in place
* check ptr against NULLsam2009-02-191-1/+1
|
* instead of special casing lookups for the 11na/g legacy rate set, justsam2009-02-192-8/+4
| | | | install the rates once when creating the com structure
* Cleanup ath_hal_computetxtime's handling of 1/2 and 1/4-width channels:sam2009-02-193-86/+74
| | | | | | | | | o mark phy type to indicate 1/2 or 1/4-rate operation o use phy type instead of channel attributes to identify 1/2 and 1/4-rate operation o general cleanup of code including move phy constants to ah_internal.h Eventually this code should go away and we should use the net0211 equivalents.
* add phy types for 1/2 and 1/4-rate modessam2009-02-191-0/+2
|
* add HAL_DIAG_SETREGS to write registers via the diag apisam2009-02-192-4/+20
|
* whitespacesam2009-02-191-2/+2
|
* Quite mechanical ch_detach implementations for all atapci subdrivers.mav2009-02-1917-31/+171
| | | | Some dmainit call fixes for previous commit.
* if_cx is currently disconnected from the build due to a dependence onrwatson2009-02-191-32/+10
| | | | | | the old TTY implementation; however, take a cut at stripping its optional Giant-protected code paths enabled using debug.cx.mpsafenet, which will no longer work once IFF_NEEDSGIANT is removed.
* Mark these variables as __used too. Fix a style of previous commit.rdivacky2009-02-181-5/+6
| | | | | Noticed by: Christoph Mallon Approved by: kib (mentor)
* yppasswdd assumed that a struct x_master_passwd is type punable to aimp2009-02-181-3/+21
| | | | | | | | | | | | | | | | struct passwd. This is not the case when sizeof(unsigned long) != sizeof(time_t). Write a dinky function to do the assignment instead of relying on the punning. This does slow things down a little (1 extra function call, 11 pointer or int assignments), but is much safer and machines have been fast enough since the mid 1990s that nobody will notice the difference. time_t is a 64-bits int on arm and mips. Before this change, arm was silently broken. I guess there aren't that many ARM machines running master YP domain servers. :) The client side doesn't assume this type punning, so it doesn't need to be fixed.
* As soon as they called in only same one place (ata_pcichannel_attach()),mav2009-02-1816-103/+108
| | | | | | | | join allocate() and dmainit() atapci subdriver's channel initialization methods into single ch_attach() method. As opposite to ch_attach() add new ch_detach() method to deallocate/disable channel.
* - Add a function (fill_kinfo_aggregate()) which aggregates relevantattilio2009-02-181-22/+44
| | | | | | | | | | | | | | | | | | | | | | | | | members for a kinfo entry on a process-wide system. - Use the newly introduced function in order to fix cases like KERN_PROC_PROC where aggregating stats are broken because they just consider the first thread in the pool for each process. (Note, additively, that KERN_PROC_PROC is rather inaccurate on thread-wide informations like the 'state' of the process. Such informations should maybe be invalidated and being forceably discarded by the consumers?). - Simplify the logic of sysctl_out_proc() and adjust the fill_kinfo_thread() accordingly. - Remove checks on the FIRST_THREAD_IN_PROC() being NULL but add assertives. This patch should fix aggregate statistics for KERN_PROC_PROC. This is one of the reasons why top doesn't use this option and now it can be use it safely. ps, when launched in order to display just processes, now should report correct cpu utilization percentages and times (as opposed by the old code). Reviewed by: jhb, emaste Sponsored by: Sandvine Incorporated
* Make ch->dma.free() called symmetrically to ch->dma.alloc().mav2009-02-182-3/+5
|
* Implement proper attach/detach routines for ISA driver.mav2009-02-181-5/+55
|
* Add an extra (void *) cast. The struct if_msghdr has an 8 byteimp2009-02-181-1/+1
| | | | | | | | | | | | | | alignment requirement, while rt_msghdr has a 4 byte alignment requirement. The root cause is that if_msghdr has an struct if_data which has an 8-byte alignment requirement due to a time_t that's embedded in it. On MIPS, time_t is a 64-bit number, so must be 64-bit aligned. Since we don't access ifm_data.ifi_epoch, a simple cast is all that's necessary here. It is likely the case that ifi_epoch should *NOT* be a time_t because it is an uptime (time delta) an not an absolute time since 1970. u_long is likely sufficient there since that gives an uptime of 136 years will suffice for the foreseeable future.
* o Fix year in the previous commit.maxim2009-02-181-1/+1
| | | | Submitted by: Munehiro Matsuda
* Enhance debugging mode by storing the string "BB:TT:LL" once and usesbruno2009-02-181-150/+143
| | | | | | | | | | | | it instead of overloading sbp_show_sdev_info(). replace calls to printf with calls to device_printf and cleanup debug messages Remove a bit of dead, commented out code. Reviewed by: scottl(mentor) MFC after: 2 weeks
* Remove unused variable.mav2009-02-181-2/+1
| | | | Submitted by: ganbold
* Mark these variables as __used as those are used in the asm block.rdivacky2009-02-181-4/+4
| | | | Approved by: kib (mentor)
* add myself to committers treeavg2009-02-181-0/+4
| | | | Approved by: rpaulo (mentor)
* Reindent a small bit of code that was not 8-space indented like the restjhb2009-02-181-6/+6
| | | | of the nfs_lookup() function.
* Adapt linux emulation to use cv for vfork wait.kib2009-02-182-4/+4
| | | | | Submitted by: Takahiro Kurosawa <takahiro.kurosawa gmail com> PR: kern/131506
* o DragonFly 2.2.0 added.maxim2009-02-181-1/+2
|
* Switch over to usbdevs.h generated at compile time.thompsa2009-02-1889-13584/+89
|
* Bump __FreeBSD_version to 800063 after GENERIC changed to USB2.thompsa2009-02-181-1/+1
|
* use mii instead of miibus so we don't drag in all phy supportsam2009-02-182-2/+2
| | | | | | (we only need ukphy which is brought in by mii) MFC after: 1 week
* Use outbound message register 0 instead of mailbox 7 inemaste2009-02-182-2/+6
| | | | | | | aac_{rx,rkt}_get_fwstatus, as done in Adaptec's vendor driver as well as the Linux drivers. Submitted by: jkim, from Adaptec's driver
* Remove reference to phy_delay from fwcontrol. Thanks for the catch!sbruno2009-02-171-2/+1
| | | | | Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr> MFC after: 2 weeks
* fix whitespacesam2009-02-171-1/+1
|
* Adaptively increase control command timeout when drive is spun down.mav2009-02-171-1/+8
| | | | | | | This should fix, for example, cache flush timeout error on shutdown, if some drives are not mounted. PR: kern/111023
* Fix cut/paste error in previous commit and use thegallatin2009-02-171-1/+1
| | | | | | correct value for SFP+ reserved media type. MFC after: 1 week
* Better support for recent Myricom 10GbE NICsgallatin2009-02-177-32827/+32798
| | | | | | | | | | | | | | | | | - Update to firmware 1.4.39 for dual-chip NIC (10G-PCIE2-xxx) support, and SFP+ i2c support - Identify newer "B" NICs (10G-PCIEx-8B-x) correctly, rather than mis-identifying them as "A" NICs (cosmetic only) - Identify the IFM_10G_LRM ifmedia type, where applicable. - Identify ifmedia types for SFP+ based NICs - Update copyright Sponsored by: Myricom MFC after: 1 week
* Remove useless return, that left from previous commit.mav2009-02-171-1/+0
|
* Remove obsolete prison_service declarations.jamie2009-02-171-16/+0
| | | | Approved by: bz (mentor)
* ata_interrupt() does not need to return anything. It is not it's businessmav2009-02-173-6/+8
| | | | to report request completion, expecially when it is not reliable.
* Correct the year.pjd2009-02-171-1/+1
| | | | Reported by: Florian Smeets <flo@kasimir.com>
* Document kern.geom.journal.* sysctls.pjd2009-02-171-6/+102
| | | | | | PR: docs/130548 Submitted by: Hywel Mallett <hywel@hmallett.co.uk> MFC after: 1 week
* Introduce 1394a-2000 extended PHY Self ID packets.sbruno2009-02-172-8/+29
| | | | | | | | | | Deprecate unused phy_delay Self ID field as it was removed by 1394a-2000. Attempt to parse extended Self ID PHY packets if they are detected Reviewed by: scottl (mentor) MFC after: 2 weeks
* Add kernel dumping support. Works fine with sdhci controller driver.mav2009-02-171-1/+30
|
* Add support for interruptless kernel dumping.mav2009-02-171-0/+6
|
* Add a default implementation for pre-check. It shouldmarcel2009-02-171-2/+12
| | | | | | always succeed if not implemented. Pointy hat: marcel
* Simplify some debugging messages and try to consolodate some of the moresbruno2009-02-171-65/+109
| | | | | | | | | | | interesting conditional printf's into single device_printf's Change a couple of variable names so that I don't have to trace what they acutally do anymore. Enable the display of the Self ID PHY packet if firewire_debug > 0 Reviewed by: scottl(mentor) MFC after: 2 weeks
* Don't try to auto-detect dynamic linking; it fails on mips. The Makefiledes2009-02-173-17/+26
| | | | | | part of the patch is an ugly (and hopefully temporary) hack. Discussed with: imp@
* tsec(4) cosmetics.raj2009-02-171-2/+1
|
* tsec(4): Always try to resume the receiver.raj2009-02-171-3/+10
| | | | | | This helps recover from RX stall under heavy loads. Submitted by: Piotr Ziecik kosmo ! semihalf dot com
* tsec(4): do not clear interrupt events register before use.raj2009-02-171-2/+2
| | | | | | | | | Prior to this fix, IEVENT register was always cleared before calling tsec_error_intr_locked(), which prevented error recovery actions from happening with polling enabled (and could lead to serious problems, including controller hang). Submitted by: Marcin Ligenza marcinl ! pacomp dot com dot pl
OpenPOWER on IntegriCloud