summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Strip leading "./" or ".//" from patterns and filenameskientzle2008-08-181-3/+39
| | | | | | | | | so that "./foo" matches "foo" (and vice versa). This is related to PR bin/119141. PR: bin/119141 MFC after: 4 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
* Don't strip a leading '/' from a pattern to be matched.kientzle2008-08-171-2/+0
| | | | | | | | This aligns the pattern-matching behavior with GNU tar and restores the behavior of bsdtar prior to FreeBSD 6.3. PR: bin/117909 MFC after: 3 days
* 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 ECN sysctls and ECN RFC.rpaulo2008-08-161-1/+16
|
* 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.
* Add limited support for units that are related by affine ratherdwmalone2008-08-162-22/+63
| | | | | | | | | | | | | than linear relations. We can now convert degC to degF. 586 units, 56 prefixes You have: 24 degC You want: degF 75.2 You have: degC You want: K (-> x*1 +273.15) (<- y*1 -273.15)
* Use arc4random_uniform() to avoid "modulo bias"ache2008-08-161-55/+2
| | | | | | Remove pw_getrand() unneded now: arc4random_uniform() is stronger then pw_getrand()'s MD5 tricks (inactive) and its active version, mixing arc4random() bytes in one, not make things better at all.
* 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
* atomic_fetchadd_int works on unsigned quantities - changekmacy2008-08-151-1/+1
| | | | | | sigev_generation to be unsigned 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
* Allow the network addresses and interface names for the "client" andjhb2008-08-152-6/+24
| | | | | | | | | | | | "workstation" firewall types to be set from rc.conf so that rc.firewall no longer needs local patching to be usable for those types. For now I've set the variables in /etc/defaults/rc.conf to the previous defaults in /etc/rc.firewall. PR: bin/65258 Submitted by: Valentin Nechayev netch of netch.kiev.ua Silence from: net MFC after: 2 weeks
* For the "client" and "simple" network types, collapse the separate "net"jhb2008-08-151-14/+11
| | | | | | | | and "mask" variables into a single "net" variable that contains a full network address (including either a netmask or prefix length at the user's choice). Update the example settings to match. MFC after: 2 weeks
* Use 'me' rather than explicit IP addresses for the "simple" and "client"jhb2008-08-151-12/+9
| | | | | | | | firewall configurations. PR: bin/65258 Silence on: net@ MFC after: 1 week
* For the firewall_* variables that are specific to the "workstation"jhb2008-08-151-7/+9
| | | | | | firewall type, note that property in their description. MFC after: 1 week
* 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-153-84/+55
| | | | | | | | | | | | | 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
* Accept tty[ud]0 for console devicephk2008-08-151-1/+1
|
* Test updates: Handling of patterns on command line, error messages.kientzle2008-08-156-1/+40
|
* 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.
* Import the uuid_enc_le(), uuid_dec_le(), uuid_enc_be() andemax2008-08-143-2/+148
| | | | | | | | | uuid_dec_be() functions. These routines are not part of the DCE RPC API. They are provided for convenience. Reviewed by: marcel Obtained from: NetBSD MFC after: 1 week
* 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
|
* Move CPU_SPINWAIT into the innermost spin loop, in order to allow fasterjasone2008-08-141-2/+3
| | | | | | preemption while busy-waiting. Submitted by: Mike Schuster <schuster@adobe.com>
OpenPOWER on IntegriCloud