summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: drop redundant .Pp and .LP callsuqs2010-10-08183-260/+1
| | | | They have no effect when coming in pairs, or before .Bl/.Bd
* mdoc: fix manlint warnings by unbreaking mdoc syntaxuqs2010-10-082-2/+3
|
* Ensure that a make from sys/boot does not pick up include files frompho2010-10-081-0/+1
| | | | | | /usr/include. Discussed with: kib
* Import ee 1.5.2 into HEAD.ed2010-10-082-23/+22
| | | | | PR: bin/145921 MFC after: 2 weeks
* Regen.kib2010-10-083-4/+4
|
* Fix typo.kib2010-10-081-1/+1
| | | | | Submitted by: arundel MFC after: 3 days
* Add a comment describing the reason for calling cache_purge(fvp).kib2010-10-081-0/+7
| | | | | Requested by: danfe MFC after: 6 days
* Oops, don't remove -fexceptions flag.davidxu2010-10-081-0/+1
|
* unwind.h was imported, gcc directory is no longer needed.davidxu2010-10-081-1/+0
|
* In r207768 I silenced a console warning from rum(4). There was legitimateemaste2010-10-081-1/+5
| | | | | | | | opposition to the change, since really we need to implement missing functionality in drivers or the 802.3 layer. For now, restore a reminder message for a missing rum_update_mcast, but print it only once.
* Make a thread's address available via the kern proc sysctl, just like theemaste2010-10-084-1/+7
| | | | | | | | process address. Add "tdaddr" keyword to ps(1) to display this thread address. Distilled from Sandvine's patch set by Mark Johnston.
* Turn on serialization of task management commands going down to theken2010-10-074-54/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | controller, but make it optional. After a problem report from Andrew Boyer, it looks like the LSI chip may have issues (the watchdog timer fired) if too many aborts are sent down to the chip at the same time. We know that task management commands are serialized, and although the manual doesn't say it, it may be a good idea to just send one at a time. But, since I'm not certain that this is necessary, add a tunable and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control the driver's behavior. mps.c: Add support for the sysctl and tunable, and add a comment about the possible return values to mps_map_command(). mps_sas.c: Run all task management commands through two new routines, mpssas_issue_tm_request() and mpssas_complete_tm_request(). This allows us to optionally serialize task management commands. Also, change things so that the response to a task management command always comes back through the callback. (Before it could come via the callback or the return value.) mpsvar.h: Add softc variables for the list of active task management commands, the number of active commands, and whether we should allow multiple active task management commands. Add an active command flag. mps.4: Describe the new sysctl/loader tunable variable. Sponsored by: Spectra Logic Corporation
* Upgrade Clang and LLVM to the 2.8 release. See here for release notes:dim2010-10-079-28/+38
| | | | | | http://llvm.org/releases/2.8/docs/ReleaseNotes.html Approved by: rpaulo (mentor)
* Clear ggate structures before using them. We don't initialize all the fieldpjd2010-10-071-1/+4
| | | | | | and there can be some garbage from the stack. MFC after: 1 week
* Add myself (jonathan@) to committers-src.dotjonathan2010-10-071-0/+2
| | | | Reviewed by: rwatson
* Log error message when we fail to destroy ggate provider.pjd2010-10-071-1/+2
| | | | MFC after: 3 days
* Start the guard thread first, so we can handle signals from the very begining.pjd2010-10-071-3/+7
| | | | | Reported by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 1 week
* Don't close local component on exit as we can hang waiting on g_waitidle.pjd2010-10-071-6/+0
| | | | | | | | | I'm unable to reproduce the race described in comment anymore and also the comment is incorrect - localfd represents local component from configuration file, eg. /dev/da0 and not HAST provider. Reported by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 1 week
* opensolaris_kmem kmem_size(): report lesser of vm_kmem_size and availableavg2010-10-071-2/+14
| | | | | | | | | physical memory This is needed to correctly autotune ZFS ARC size when vm_kmem_size is set to value larger than available physical memory. MFC after: 2 weeks
* vm.kmem_map_size: a sysctl to query current kmem_map->sizeavg2010-10-071-0/+14
| | | | | | | Based on a patch from Sandvine Incorporated via emaste. Reviewed by: emaste MFC after: 1 week
* Check the device name validity on device registration.jh2010-10-073-39/+109
| | | | | | | | | | | | | | | | A new function prep_devname() sanitizes a device name by removing leading and redundant sequential slashes. The function returns an error for names which already exist or are considered invalid. A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9) indicates that the caller is prepared to handle an error related to the device name. An invalid name triggers a panic if the flag is not specified. Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page. Idea from: kib Reviewed by: kib
* Add a note on the removal of copyright strings from login(1) and sshd(8).emaste2010-10-071-0/+5
|
* Fix a long standing bug which regarded some revisions of controlleryongari2010-10-071-8/+6
| | | | | | | | | | as 5788. This caused BGE_MISC_LOCAL_CTL register is used to generate link state change interrupt for non-5788 controllers. The interrupt handler may or may not detect link state attention as status block wouldn't be updated when an interrupt was generated with BGE_MISC_LOCAL_CTL register. All controllers except 5700 and 5788 should use host coalescing mode register to trigger an interrupt.
* Cosmetic change:pluknet2010-10-071-2/+8
| | | | | | | | | Wrap lines for SiS and Promise entries to 80 columns. This doesn't change appearance in page rendered with troff or man.cgi. PR: docs/146195 Approved by: kib (mentor) MFC after: 1 week
* Add options I missed in the additionnal AT91 support commits.cognet2010-10-071-0/+3
| | | | Submitted by: Greg Ansley
* Add ID for Vodafone (ZTE) Mobile Broadband K3565-Z modem.mav2010-10-072-0/+2
| | | | Reviewed by: hselasky
* The msdosfs lookup is case insensitive. Several aliases may be inserted forkib2010-10-071-0/+1
| | | | | | | | | | | a single directory entry. As a consequnce, name cache purge done by lookup for fvp when DELETE op for namei is specified, might be not enough to expunge all namecache entries that were installed for this direntry. Explicitely call cache_purge(fvp) when msdosfs_rename() succeeded. PR: kern/93634 MFC after: 1 week
* Add the ability to display specific manual pages if passed on thegordon2010-10-072-0/+21
| | | | | | | | | commandline. This mirrors the old (undocumented) GNU man functionality. Also document this feature in the implementation notes section of the manpage. Submitted by: arundel Approved by: wes (mentor implicit)
* Add the QILA9G20 config files.cognet2010-10-062-0/+162
| | | | Submitted by: Greg Ansley
* Add support for the AT91SAM9260cognet2010-10-0614-65/+826
| | | | Submitted by: Greg Ansley
* Add the AT91SAM9G20EK config files.cognet2010-10-062-0/+163
| | | | Submitted by: Greg Ansley
* if_ate.c:cognet2010-10-0640-2519/+3091
| | | | | | | | | | | | | | | | | | | | | | | * Support for sam9 "EMAC" controller. * Support for rmii interface to phy. at91.c & at91sam9.c: * Eliminate separate at91sam9.c file. * Add new devices to at91sam9_devs table. at91_machdep.c & at at91sam9_machdep.c: * Automatic chip type determination. * Remove compile time chip dependencies. * Eliminate separate at91sam9_machdep.c file. at91_pmc.c: * Corrected support for all of the sam926? and sam9g20 chips. * Remove compile time chip dependencies. My apologies to Greg for taking so long to take care of it.
* Add more comments to rings supported by the controller. Differentyongari2010-10-061-37/+103
| | | | | | | | | | | | | | | | | | | | | versions of controller support different number of ring control blocks such that adjust code a bit to access known number of send/receive ring control blocks. Previously bge(4) blindly accessed 16 send/receive RCBs. Also move initializing standard receive producer ring producer index, jumbo receive producer ring producer index and mini receive producer ring producer index to the end of each receive producer ring initialization. Do not assume mini receive producer ring is available only when controller has jumbo frame capability, instead explicitly check ASIC version BCM5700 to disable mini receive producer ring. Additionally always enable send ring 0 regardless of controller versions. Previously bge(4) didn't enable send ring 0 if controller is BGE_IS_5705_PLUS. Becase bge(4) need 1 send ring to send frames at least, I have no idea how it would have worked so far. Submitted by: davidch
* Remove hack needed by 6.x machines and older machines to run newerimp2010-10-061-22/+1
| | | | | | makes on FreeBSD/pc98. The need for this hack has passed. If you are one of the rare people that may need this, then you should setenv MACHINE=pc98 as a workaround.
* Use more portable errx instead of errc. The latter doesn't buy usimp2010-10-061-4/+2
| | | | | anyting anyway, since the error EAGAIN's error message doesn't add anything to the error strings that are there now.
* Apply r207674 from the clangbsd project branch:dim2010-10-061-1/+1
| | | | | | | | | Make "clang -print-multi-os-directory" return "." on amd64, matching gcc's behaviour. This is needed because some ports use the option to determine the installation directory for their libraries. Requested by: kwm Approved by: rpaulo (mentor)
* Simplify timeout check in futex_wait() using itimerfix() and return errorjkim2010-10-061-22/+10
| | | | | if the given timeout is invalid. Consistently use int type for timeout and correct a format string in futex_sleep().
* Add the capability to read the complete contents of the NVRAM via sysctlambrisko2010-10-063-0/+69
| | | | | | | | | | | | | | | dev.bce.<unit>.nvram_dump Add the capability to write the complete contents of the NVRAM via sysctl dev.bce.<unit>.nvram_write These are only available if the kernel option BCE_DEBUG is enabled. The nvram_write sysctl also requires the kernel option BCE_NVRAM_WRITE_SUPPORT to be enabled. These are to be used at your own caution. Since the MAC addresses are stored in the NVRAM, if you dump one NIC and restore it on another NIC the destination NIC's MAC addresses will not be preserved. A tool can be made using these sysctl's to manage the on-chip firmware. Reviewed by: davidch, yongari
* Use a defined FreeBSD version.delphij2010-10-061-2/+2
| | | | MFC after: 3 days
* Add definition for FreeBSD 7.4, which will be used in a manual page change.delphij2010-10-061-0/+1
| | | | | Reviewed by: ru MFC after: 3 days
* Remove bge_tx_buf_ratio, unused member of softc.yongari2010-10-061-1/+0
|
* Overhaul MII register access routine and remove unnecessaryyongari2010-10-062-39/+94
| | | | | | | | | | | | | | | | | | | | | | | | | BGE_MI_MODE register accesses. Previously bge(4) used to read BGE_MI_MODE register to detect whether it needs to disable autopolling feature or not. Because we don't touch autopolling in other part of driver there is no reason to read BGE_MI_MODE register given that we know default value in advance. In order to achieve the goal, check whether the controller has CPMU(Central Power Mangement Unit) capability. If controller has CPMU feature, use 500KHz MII management interface(mdio/mdc) frequency regardless core clock frequency. Otherwise use default MII clock. While I'm here, add CPMU register definition. In bge_miibus_readreg(), rearrange code a bit and remove goto statement. In bge_miibus_writereg(), make sure to restore autopolling even if MII write failed. The delay time inserted after accessing BGE_MI_MODE register increased from 40us to 80us. The default PHY address is now stored in softc. All PHYs supported by bge(4) currently uses PHY address 1 but it will be changed when we add newer controllers. This change will make it easier to change default PHY address depending on PHY models. Submitted by: davidch
* PCI fix for XLR C revision chips, limit DMA address to the first 2GBjchandra2010-10-062-2/+53
| | | | | | | physical address. Adds a dma tag to the XLR/XLS pci bus with the lowaddr if the CPU happens to be a XLR C rev. Submitted by: Sreekanth M. S. (kanthms at netlogicmicro dot com))
* Fix wrong slashes in a previous commit.pluknet2010-10-061-1/+1
| | | | Approved by: avg (mentor)
* Add myself to calendar.freebsd and committers-src.dot.pluknet2010-10-062-0/+5
| | | | Approved by: avg (mentor)
* Remove extra assignment.glebius2010-10-061-1/+0
|
* Add support to Alcatel/TCTMobile X080S USB 3G modem. The device needsglebius2010-10-064-0/+14
| | | | | | | | | | | | special eject command to reappear as modem. It also requires DIR_IN flag in the command message, so we supply some dummy data along with the command. Feedback from X080S owners appreciated. I have not a pure Alcatel/TCTMobile device, but another one under "Svyaznoy" (Связной) brand, and I didn't yet managed to get it working. It is successfully recognized, it responds to AT commands, but it shuts up right after successfull CONNECT response. Reviewed by: hps
* Fix regex for some socket- and acl-related syscall values.netchild2010-10-061-2/+2
| | | | | | Submitted by: Mikhail <hidden.node@gmail.com> PR: 149295 MFC-after: 2 weeks
* Missed space.kib2010-10-061-1/+1
| | | | | Submitted by: brueffer MFC after: 1 week
* Add cross-references to lrand48(3) and arc4random(3) from rand(3)kib2010-10-062-1/+11
| | | | | | | and random(3). Submitted by: Valentin Nechayev <netch netch kiev ua> MFC after: 1 week
OpenPOWER on IntegriCloud