summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* XLR/XLS network driver (nlge) updates:jchandra2010-10-062-35/+167
| | | | | | | | | | - nlge_ioctl handles IFF_UP and IFF_PROMISC flags - Translate table code, to enable flow based CPU assignment added disabled by default (can be enabled by a tunable). - Changed signature of nlge_port_disable to make it consistent with nlge_port_enable - Removed TXCSUM and VLAN_HW_TAGGING from i/f capabilities. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com)
* Fix n64 compile.jchandra2010-10-061-1/+1
|
* Add some missing files to optionally delete.netchild2010-10-061-0/+27
| | | | Submitted by: Paul B Mahol <onemda@gmail.com>
* Fix a comparision of an uninitialised pointer.netchild2010-10-061-1/+1
| | | | | | Submitted by: arundel Found by: clang analysis (automatic service by uqs@) Reviewed by: rdivacky
* If LANG/LC_CTYPE/LC_ALL is set and the localized man page contains a pagegordon2010-10-061-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | also in the base set, the man utility when invoked with -a would display pages for each locale in the same tree: $ LANG=en_GB.ISO8859-15 man -wa man /usr/share/man/en.ISO8859-15/man1/man.1.gz /usr/share/man/man1/man.1.gz /usr/share/man/en.ISO8859-15/man7/man.7.gz /usr/share/man/man7/man.7.gz Use continue to break out of the loop for the current locale. This results in behavior more closely matching the old GNU man implementation: $ LANG=en_GB.ISO8859-15 man -wa man /usr/share/man/en.ISO8859-15/man1/man.1.gz /usr/share/man/en.ISO8859-15/man7/man.7.gz This will still search for a copy of the file in other manual path locations. If there was a /usr/local/man/man1/man.1.gz file, it would still be displayed. This is also consistent with the GNU man implementation. Submitted by: arundel Approved by: wes (mentor implicit)
* Recognize both ! and ^ as markers for negated character classes.kientzle2010-10-061-2/+2
| | | | Submitted by: Mykola Dzham
* Fix bge(4) build breakage when BGE_REGISTER_DEBUG is defined.yongari2010-10-061-1/+1
|
* Rearrange code a bit to correctly set PHY flags. This change makeyongari2010-10-051-5/+7
| | | | | | it easy to add more newer ASICs. Obtained from: OpenBSD
* Separate common flags into controller specific and PHY relatedyongari2010-10-053-36/+37
| | | | | | | flags. There should be no functional changes. This change will make it easy to add more quirk/flags in future. Reviewed by: davidch
* - Add WITH_GPIO entry to src.conf(5) man pagegonzo2010-10-051-0/+2
|
* - Introduce WITH_GPIO knob and disable building gpioctlgonzo2010-10-052-1/+5
| | | | by default. Most systems do not need it.
* Use the printf-like capability from kproc_create().thompsa2010-10-051-8/+3
| | | | Submitted by: Paul B Mahol
* SEE ALSO should sorted by manpage section first.brueffer2010-10-051-2/+2
|
* Revert the unrelated patch crept in the previous commit.jkim2010-10-051-5/+5
|
* Prefer pmap_unmapbios() over pmap_unmapdev(). The binary does not changejkim2010-10-052-6/+6
| | | | after this because pmap_unmapbios() is a macro for pmap_unmapdev() on amd64.
* Handle vector assist traps without a kernel panic, by setting denormalizednwhitehorn2010-10-055-7/+23
| | | | | | | | values to zero. A correct solution would involve emulating vector operations on denormalized values, but this has little effect on accuracy and is much less complicated for now. MFC after: 2 weeks
* Initialize KPTmap in locore so that vm86.c can call vtophys() (or reallyalc2010-10-053-15/+50
| | | | | | | | | | | | pmap_kextract()) before pmap_bootstrap() is called. Document the set of pmap functions that may be called before pmap_bootstrap() is called. Tested by: bde@ Reviewed by: kib@ Discussed with: jhb@ MFC after: 6 weeks
* Add reference to intro(1) in SEE ALSO section.gordon2010-10-051-0/+1
| | | | | PR: docs/151216 Approved by: wes (mentor, implicit)
* When no protocol entry is found, getproto*_r(3) shouldume2010-10-053-3/+3
| | | | | | | return zero. Spotted by: Kostik Belousov <kostikbel__at__gmail.com> MFC after: 2 weeks
* Display PCID capability of CPU and add CPUID define for it.kib2010-10-054-2/+4
| | | | MFC after: 1 week
* Handle null return from XML_ParserCreate and fix a few memory leaks onemaste2010-10-051-4/+10
| | | | | | | error conditions. Submitted by: Mark Johnston <mjohnston at sandvine dot com> MFC after: 2 weeks
* Network driver support for more XLR/XLS chip versions.jchandra2010-10-051-18/+129
| | | | Obtained from: Sriram Gorti (srgorti at netlogicmicro dot com)
* Clear any pending interrupts after disabling FMN interrupts. Add debuggingjchandra2010-10-052-20/+63
| | | | | | | | sysctl and counters for message ring threads (intial version). Update watermark values, and and decrease the maximum threads to 3 (this will leave a few CPUs for other processes) Minor comment fix in nlge.
* Revise markup, mainly.ru2010-10-051-8/+10
|
* Fix asm for XKPHYS read for o32, constriants needed for input registersjchandra2010-10-051-13/+14
| | | | that are clobbered. Fixes a crash when compiled without DEBUG
* Show hostcache statistics.ru2010-10-051-0/+3
| | | | Submitted by: Maxim Dounin
* Print out correct USB connection speed for USB 3.0 mass storage devices.hselasky2010-10-041-6/+15
| | | | Approved by: thompsa (mentor)
* RX buffer allocation failure is not an input error. Controlleryongari2010-10-041-1/+1
| | | | | | successfully received a frame but we failed to pass it to upper stack due to lack of resources. So update if_iqdrops counter instead of updating if_ierrors counter.
* Link the XHCI (USB 3.0 hardware driver) into the default kernel build.hselasky2010-10-043-1/+41
| | | | Approved by: thompsa (mentor)
* Don't count input error twice. uether_rxbuf() already updated thatyongari2010-10-041-4/+3
| | | | counter.
* This commit adds full support for USB 3.0 devices in host and devicehselasky2010-10-0413-203/+845
| | | | | | | | | | | | | | | | mode in the USB core. The patch mostly consists of updating the USB HUB code to support USB 3.0 HUBs. This patch also add some more USB controller methods to support more active-alike USB controllers like the XHCI which needs to be informed about various device state events. USB 3.0 HUBs are not tested yet, due to lack of hardware, but are believed to work. After this update the initial device descriptor is only read twice when we know that the bMaxPacketSize is too small for a single packet transfer of this descriptor. Approved by: thompsa (mentor)
* Add missing #if'shselasky2010-10-041-0/+2
| | | | Approved by: thompsa (mentor)
* Add more strict USB string filtering.hselasky2010-10-041-6/+13
| | | | Approved by: thompsa (mentor)
* Serialise USB re-enumeration with the USB explore thread.hselasky2010-10-044-32/+76
| | | | | | | This patch can solve problems when multiple USB devices are re-enumerated at the same time on the same bus. Approved by: thompsa (mentor)
* Correct IOCTL return code.hselasky2010-10-041-1/+5
| | | | Approved by: thompsa (mentor)
* Decrease report interval to 5 seconds, as this also means we will check forpjd2010-10-041-1/+1
| | | | | | signals every 5 seconds and not every 10 seconds as before. MFC after: 3 days
* hook_check() is now only used to report about long-running hooks, so thepjd2010-10-043-13/+3
| | | | | | argument is redundant, remove it. MFC after: 3 days
* We can't mask ignored signal, so install dummy signal hander for SIGCHLD beforepjd2010-10-041-0/+11
| | | | | | | | | | masking it. This fixes bogus reports about hooks running for too long and other problems related to garbage-collecting child processes. Reported by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Add missing USB 3.0 definitions. Correct some wrong ones.hselasky2010-10-041-6/+28
| | | | Approved by: thompsa (mentor)
* Add missing DRIVER_MODULE() entry for the musbotg driver.hselasky2010-10-041-0/+4
| | | | | | Add some more comments. Approved by: thompsa (mentor)
* The root mount hold reference was not released on USB controllerhselasky2010-10-041-8/+14
| | | | | | attach failures during boot. Fix this. Approved by: thompsa (mentor)
* Make upper stack know driver's output status. This change increasedyongari2010-10-041-3/+8
| | | | TX performance from 221kpps to 231kpps.
* Move updating TX packet counter to the inside of send loop. axe(4)yongari2010-10-041-1/+11
| | | | | | | | | | | | controllers combine multiple TX requests into single one if there is room in TX buffer of controller. Updating TX packet counter at the end of TX completion resulted in incorrect TX packet counter as axe(4) thought it sent 1 packet. There is no easy way to know how many combined TX were completed in the callback. Because this change updates TX packet counter before actual transmission, it may not be ideal one. But I believe it's better than showing fake 8kpps under high TX load. With this change, TX shows 221kpps on Linksus USB200M.
* Change libvgl's set4pixels() and set2lines() functions from plaindim2010-10-041-4/+4
| | | | | | | | | | | | 'inline' to 'static inline'. Otherwise, a C99 compiler (such as clang) will output an undefined symbol for those functions in the resulting object file. (Even gcc will do this, when you use "-std=c99".) This should fix the "undefined reference to `set4pixels'" errors that some people were seeing during ports building, when their world was compiled with clang. Approved by: rpaulo (mentor)
* Enable fix for read DMA FIFO overruns on controllers that have thisyongari2010-10-042-0/+17
| | | | | | | fix. Note, we still need workaround for controllers that lacks this fix and it needs more work in RX BD updating. Submitted by: davidch
* Consistently use ifHCOutOctets/ifHCInOctets instead of Octets asyongari2010-10-041-9/+9
| | | | | | | | these names are used in data sheet. Also use UnicastPkts, MulticastPkts and BroadcastPkts instead of UcastPkts, McastPkts and BcastPkts to clarify its meaning. Suggested by: bde
* Fix two aliases that had the same name but were pointing to differentgnn2010-10-041-2/+2
| | | | | | events. These are now disamiguated. MFC after: 1 week
* If vm_map_find() is asked to allocate a superpage-aligned region of virtualalc2010-10-041-14/+8
| | | | | | | | | | | | | | | | | | | | addresses that is greater than a superpage in size but not a multiple of the superpage size, then vm_map_find() is not always expanding the kernel pmap to support the last few small pages being allocated. These failures are not commonplace, so this was first noticed by someone porting FreeBSD to a new architecture. Previously, we grew the kernel page table in vm_map_findspace() when we found the first available virtual address. This works most of the time because we always grow the kernel pmap or page table by an amount that is a multiple of the superpage size. Now, instead, we defer the call to pmap_growkernel() until we are committed to a range of virtual addresses in vm_map_insert(). In general, there is another reason to prefer calling pmap_growkernel() in vm_map_insert(). It makes it possible for someone to do the equivalent of an mmap(MAP_FIXED) on the kernel map. Reported by: Svatopluk Kraus Reviewed by: kib@ MFC after: 3 weeks
* Follow exactly the steps in architecture manual for correctly invalidatingnwhitehorn2010-10-042-4/+4
| | | | TLB entries instead of trying to cut corners.
* Fix two subtle problems in PPC32 RTLD. The first is a concurrency issuenwhitehorn2010-10-041-2/+5
| | | | | | | | | where long PLT calls in multi-threaded environments could end up with incorrect jmptab values. The second is that, after the addition of extended PLT support, I forgot to update the PLT icache synchronization code to cover the extended PLT instead of just the basic PLT. MFC after: 10 days
OpenPOWER on IntegriCloud