summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Make these files compilable on user land.jkim2008-08-184-19/+112
| | | | - Update copyrights and fix style(9).
* sc->sc_ibuf should be malloc'ed after quirks applied, askaiw2008-08-181-6/+7
| | | | | | sc->sc_isize might have changed. MFC after: 3 days
* Fix a typo: According to the hid spec, Global item #3kaiw2008-08-181-1/+1
| | | | | | is Physical Minimum. MFC after: 3 days
* Add a missing include which was erroneusly left out from the previousattilio2008-08-181-0/+2
| | | | | | commit. Sponsored by: Nokia
* In the hid parser, if a INPUT/OUTPUT/FEATURE item is skipped, itskaiw2008-08-181-3/+12
| | | | | | | | | | | | | | | | | | | | | | | corresponding USAGE should be skipped as well. For example, below is a report desc fragment of some mouse: COLLECTION ... USAGE TWHEEL FEATURE ... ... USAGE WHEEL INPUT ... ... END COLLECTION "USAGE TWHEEL" should be consumed after the FEATURE item is skipped, otherwise, the INPUT item will be assigned to "USAGE TWHEEL" later, other than "USAGE WHEEL". Tested by: Grzegorz Blach PR: usb/125941
* Bufferize the output for DDB printouts.attilio2008-08-182-15/+88
| | | | | | | | | In order to CATER this, DDB buffered output can be choosen at compile time through the option DDB_BUFR_SIZE=nbytes where nbytes choose the size of the buffer (suggested size is 128 bytes), which should be manually specified in any interested config file. Sponsored by: Nokia
* Re-add Microsoft Intellimouse 2.0 TWHEEL quirk.kaiw2008-08-181-0/+3
| | | | | | | Tested by: Merritt Draney, Brian Cox PR: kern/123224 PR: kern/123510 MFC after: 3 days
* As part of step 1.5 of the vimage framework resolve conflicts withbz2008-08-182-19/+22
| | | | | | | file local static globals which would be folded onto the same name with the V_ macros. Reviewed by: kris, brooks, simon
* Rename the static M_RPC defined here to M_RPCCLNT, since a global M_RPCkris2008-08-181-6/+6
| | | | | | | now optionally exists. Reviewed by: dfr MFC after: 3 days
* Make it easy to comment out the part that use current tty layer directly.takawata2008-08-181-9/+32
| | | | | | (Handsfree interface) I'll port the part to new tty layer after it has committed and if I have spare time.
* Fix compilekris2008-08-181-2/+2
|
* Fix ARP in bridging scenarios where the bridge shares itsphilip2008-08-181-1/+24
| | | | | | | | MAC address with one of its members (see my r180140). Pointy hat to: philip Submitted by: Eygene Ryabinkin <rea-fbsd@codelabs.ru> MFC after: 3 days
* The doreti_iret_fault code is always called with gs base MSR containingkib2008-08-181-6/+3
| | | | | | | | | | | | | | kernel gs base, because %rip is adjusted only on kernel-mode trap caused by iretq execution. On the other hand, the stack contains (hardware part of) trap frame from the usermode. As a consequence, checking for frame mode and doing swapgs causes the kernel to enter trap() with usermode gs base. Remove the check for mode and conditional swapgs, we already have right gs base in the MSR. Submitted by: Nate Eldredge <neldredge math ucsd edu> MFC after: 3 days
* Add isochronous transfer support for USB 2.0kevlo2008-08-184-49/+834
| | | | Obtained from: NetBSD
* disable "legacy" device on xen domUkmacy2008-08-171-1/+1
| | | | MFC after: 1 month
* Work around differences in page allocation for initial page tables on xenkmacy2008-08-171-0/+4
| | | | MFC after: 1 month
* Ensure that machine / physical addresses are treated as vm_paddr_tkmacy2008-08-172-5/+5
| | | | MFC after: 1 month
* remove code in XEN version of init386 causing initialization failurekmacy2008-08-171-37/+16
| | | | MFC after: 1 month
* translate machine addresses to physical addresses in new code in pmap_initkmacy2008-08-171-3/+2
| | | | MFC after: 1 month
* bypass call to trap when handling hypervisor_upcallkmacy2008-08-171-13/+34
| | | | MFC after: 1 month
* clean up initvalues to work correctly on PAEkmacy2008-08-171-56/+31
| | | | MFC after: 1 month
* Make sure that machine addresses are vm_paddr_tkmacy2008-08-171-6/+7
| | | | MFC after: 1 month
* Make sure we don't lose the most significant bits of the frame number on PAE ↵kmacy2008-08-171-1/+1
| | | | | | or 64-bit MFC after: 1 month
* Commit step 1 of the vimage project, (network stack)bz2008-08-17139-2370/+2859
| | | | | | | | | | | | | | | | | | | | | | | | virtualization work done by Marko Zec (zec@). This is the first in a series of commits over the course of the next few weeks. Mark all uses of global variables to be virtualized with a V_ prefix. Use macros to map them back to their global names for now, so this is a NOP change only. We hope to have caught at least 85-90% of what is needed so we do not invalidate a lot of outstanding patches again. Obtained from: //depot/projects/vimage-commit2/... Reviewed by: brooks, des, ed, mav, julian, jamie, kris, rwatson, zec, ... (various people I forgot, different versions) md5 (with a bit of help) Sponsored by: NLnet Foundation, The FreeBSD Foundation X-MFC after: never V_Commit_Message_Reviewed_By: more people than the patch
* Update a comment about not numbering pci busses. This may soon beimp2008-08-171-7/+9
| | | | OBE, but was sitting around in one of my trees for a while...
* LRO combined packets can actually be bridged as long as all the interfaces alsothompsa2008-08-161-5/+6
| | | | | | support TSO, this can always be disabled manually if undesirable. Pointed out by: gallatin
* Remove useless #if 1.imp2008-08-161-2/+0
|
* Prevent crashes due to unlocked access to hash buckets in two sysctls.alfred2008-08-161-0/+4
| | | | | | | | | Use CACHE_LOCK to prevent crashes. Sysctls fixed: debug.hashstat.nchash and debug.hashstat.rawnchash. Obtained from: Juniper Networks MFC After: 1 week
* Call in to xen for privileged aspects of context switchingkmacy2008-08-161-6/+18
| | | | MFC after: 1 month
* SCSI_DELAY is specified in milliseconds, not seconds.ken2008-08-161-1/+1
| | | | | Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> MFC after: 1 week
* Add some sysctl reporting for most pci_pci bridges. We now reportimp2008-08-162-3/+21
| | | | | | | | | | | | | domain, pribus (the primary bus, eg the bus that this chip is on), secbus (the secondary bus, eg the bus immediately behind this chip) and subbus (the number of the highest bus behind this chip). Normally, this information is reported via bootverbose parameters, but that's hard to use for debugging in some cases. This adds reading of pribus to make this happen. In addition, change the narrow types to u_int to allow for easier reporting via sysctl for domain, secbus and subbus. This should have no effect, but if it does, please let me know.
* Fix a regression introduced in r179289 splitting up ip6_savecontrol()bz2008-08-163-8/+17
| | | | | | | | | | | | into v4-only vs. v6-only inp_flags processing. When ip6_savecontrol_v4() is called from ip6_savecontrol() we were not passing back the **mp thus the information will be missing in userland. Istead of going with a *** as suggested in the PR we are returning **mp now and passing in the v4only flag as a pointer argument. PR: kern/126349 Reviewed by: rwatson, dwmalone
* disable PREEMPTION pending bug fixes to i386/xen/pmap.ckmacy2008-08-151-2/+4
| | | | MFC after: 1 month
* Call in to xen for fpu handling when XEN is setkmacy2008-08-151-1/+10
| | | | MFC after: 1 month
* Import check for xen features.kmacy2008-08-151-0/+24
| | | | MFC after: 1 month
* Add flag to indicate to xen support code that threads are running (and thus ↵kmacy2008-08-151-0/+3
| | | | | | we can block). MFC after: 1 month
* Integrate configuration bits for compling xen.kmacy2008-08-155-9/+186
| | | | MFC after: 1 month
* Integrate support for xen in to i386 common code.kmacy2008-08-1516-17/+687
| | | | MFC after: 1 month
* Improve the glimpse target: don't index .svn and compile directories.philip2008-08-151-0/+4
| | | | Suggested by: brooks
* Convert the snp(4) driver to use cdevpriv.ed2008-08-151-66/+46
| | | | | | | | | | | | | Now we have a single /dev/snp device node, which can be opened by watch(8) multiple times. Even though snp(4) will be dead as of next week, it's nice having this in SVN, because: - We may want to MFC it to RELENG_7. - By the time we fix snp(4) again, it's already there, existing watch(8) binaries should already work. Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary compatible.
* Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting to 1.philip2008-08-153-1/+13
| | | | | | | | | This can be used to disable the 80pin cable check on systems which forget to set the bit -- such as certain laptops and Soekris boards. PR: kern/114605 (somewhat reworked) Submitted by: marck MFC after: 1 week
* Add strcspn to libkern for use by xenbus routines. Will add to buildkmacy2008-08-152-0/+73
| | | | in separate commit.
* Compile fixes for xen build.kmacy2008-08-1515-166/+223
| | | | MFC after: 1 month.
* Move wb driver from sys/pci to sys/dev/wb.imp2008-08-144-3/+3
|
* Move pcn driver from sys/pci to sys/dev/pcn.imp2008-08-144-3/+3
|
* Move the ste driver from sys/pci to sys/dev/ste.imp2008-08-144-3/+3
|
* Move the tl driver form sys/pci to sys/dev/tl.imp2008-08-144-3/+3
|
* Fix a typo: jme -> agekevlo2008-08-141-1/+1
|
* cosmetic changes and style fixesmarius2008-08-1319-252/+255
|
* Use int32_t/int16_t instead of int/short as sys/net/bpf_filter.c does.jkim2008-08-132-8/+8
|
OpenPOWER on IntegriCloud