summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Plug an mbuf leak in the new NFS client that occurred when armacklem2011-06-221-0/+2
| | | | | | | | server replied NFS3ERR_JUKEBOX/NFS4ERR_DELAY to an rpc. This affected both NFSv3 and NFSv4. Found during testing at the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h tojhb2011-06-229-545/+105
| | | | | the x86 tree. The $PIR code is still only enabled on i386 and not amd64. While here, make the qpi(4) driver on conditional on 'device pci'.
* Export AddLink() function from libalias. It can be used when customae2011-06-224-39/+127
| | | | | | | | | | | alias address needs to be specified. Add inbound handler to the alias_ftp module. It helps handle active FTP transfer mode for the case with external clients and FTP server behind NAT. Fix passive FTP transfer case for server behind NAT using redirect with external IP address different from NAT ip address. PR: kern/157957 Submitted by: Alexander V. Chernikov
* Fix the new NFSv4 client so that it uses the same uid asrmacklem2011-06-221-0/+14
| | | | | | | | | was used for doing a mount when performing system operations on AUTH_SYS mounts. This resolved an issue when mounting a Linux server. Found during testing at the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Add LOGIN_SETCPUMASK and LOGIN_SETLOGINCLASS to the setusercontext(3)trasz2011-06-221-6/+5
| | | | calls in ftpd(8).
* Oops, missed these in 223424.jhb2011-06-222-0/+2
| | | | Reported by: jkim
* Advertise growfs(8) a little better.trasz2011-06-222-2/+4
|
* Cosmetic fixes; mostly s/file system/filesystem/g and removing weird indenttrasz2011-06-222-46/+46
| | | | from messages.
* Use uintXX_t instead of u_intXX_t.jhb2011-06-222-8/+8
|
* Set negative quality to TSC timecounter when C3 state is enabled for Inteljkim2011-06-224-0/+17
| | | | | | | | | | | | | | | processors unless the invariant TSC bit of CPUID is set. Intel processors may stop incrementing TSC when DPSLP# pin is asserted, according to Intel processor manuals, i. e., TSC timecounter is useless if the processor can enter deep sleep state (C3/C4). This problem was accidentally uncovered by r222869, which increased timecounter quality of P-state invariant TSC, e.g., for Core2 Duo T5870 (Family 6, Model f) and Atom N270 (Family 6, Model 1c). Reported by: Fabian Keil (freebsd-listen at fabiankeil dot de) Ian FREISLICH (ianf at clue dot co dot za) Tested by: Fabian Keil (freebsd-listen at fabiankeil dot de) - Core2 Duo T5870 (C3 state available/enabled) jkim - Xeon X5150 (C3 state unavailable)
* Add a helper routine to conditionally modify the start address of ajhb2011-06-223-66/+68
| | | | | | | | | | | | | | | | resource allocation from an x86 Host-PCI bridge driver so that it can be reused by the ACPI Host-PCI bridge driver (and eventually the MPTable Host-PCI bridge driver) instead of duplicating the same logic. Note that this means that hw.acpi.host_mem_start is now replaced with the hw.pci.host_mem_start tunable that was already used in the non-ACPI case. This also removes hw.acpi.host_mem_start on ia64 where it was not applicable (the implementation was very x86-specific). While here, adjust the logic to apply the new start address on any "wildcard" allocation even if that allocation comes from a subset of the allowable address range. Reviewed by: imp (1)
* Document PKT_ALIAS_SKIP_GLOBAL option.ae2011-06-221-1/+11
| | | | Submitted by: Alexander V. Chernikov
* One more braino from me.glebius2011-06-221-3/+6
| | | | | Pointy hat to: glebius Submitted by: Alexander V. Chernikov <melifaro ipfw.ru>
* I knew there was something funny about this linedougb2011-06-221-1/+2
|
* This is more complicated than I expected. Storage devices need the IOMMUnwhitehorn2011-06-221-2/+11
| | | | set up, but must not use it.
* Remove link state change callback handler. There is no need toyongari2011-06-222-28/+20
| | | | | | | | | | | | | | register both status change and link state change callbacks. Implement checking valid link in state change callback and poll active link state in vr_tick(). This allows immediate detection of lost link as well as protecting driver from frequent link flips during link renegotiation. taskq implementation was removed because driver now needs to poll link state in vr_tick(). While I'm here do not report current link state if interface is not running. Tested by: n_hibma MFC after: 1 week
* The IOMMU is not involved for the storage bus.nwhitehorn2011-06-221-2/+1
|
* Minor cleanup:imp2011-06-211-5/+16
| | | | | | | | o Consider No CIS a normal event and stop whining about it so much (too many cards are like this, espeically usb/firewire cards). o Add comments to the cis reading code. o Made the read from config space a smidge easier to read and eliminate a loop that can be done mathematically.
* Really spell suppress the right wayimp2011-06-211-1/+1
|
* My broken 'u' key scks!imp2011-06-211-1/+1
|
* Fix build with ACPI_DEBUG defined.jhb2011-06-211-8/+9
| | | | | Submitted by: jkim Pointy hat to: jhb
* Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload thermacklem2011-06-211-4/+25
| | | | | | | | | | | | uid<->username mapping cache with an entry when another entry for that uid is already loaded. This fixes a case where the mapping of "toor" would replace "root" when the daemon was started, resulting in no mapping for "root" until the cache entry for "toor" timed out. The algorithm is inefficient, but since it is only done once when the daemon is started up, I don't think that's an issue. MFC after: 2 weeks
* Supress command completion failure warning when the card isn'timp2011-06-211-1/+1
| | | | | | present. Only call the bus to check if we actually do timeout so we don't affect the normal case (since this case needn't be optimized and this guards against all races).
* Supress warning that command didn't complete when the parent busimp2011-06-211-2/+2
| | | | thinks the card is gone.
* Fix whitespacemarius2011-06-211-5/+5
|
* On machines where we don't need to lock the kernel TSB into the dTLB andmarius2011-06-212-2/+2
| | | | | thus may basically use the entire 64-bit kernel address space reduce VM_KMEM_SIZE_SCALE to 1 allowing kernel to use more memory.
* On machines where we don't need to lock the kernel TSB into the dTLB andmarius2011-06-211-3/+6
| | | | | thus may basically use the entire 64-bit kernel address space increase the kernel virtual memory to not be limited by VM_KMEM_SIZE_MAX.
* Eliminate unneeded headers.delphij2011-06-212-3/+0
|
* Remove unneeded headers.delphij2011-06-212-6/+0
| | | | MFC after: 2 weeks
* Staticify cleanup() which is not referenced in other places.delphij2011-06-211-1/+1
| | | | MFC after: 2 weeks
* Fix the new NFSv4 server so that it checks for VREAD_ACL whenrmacklem2011-06-211-6/+16
| | | | | | | a client does a Getattr for an ACL and not VREAD_ATTRIBUTES. This was found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Make ``realpath'' behave like ``realpath .''.ru2011-06-212-11/+15
|
* Minor whitespace and style fixes.jhb2011-06-211-3/+4
|
* Use AcpiWalkResources() to parse the resource list from _CRS rather thanjhb2011-06-212-336/+282
| | | | | | | using a home-rolled loop. While here, add support for 64-bit address range resources. Silence on: acpi@ (older version)
* Change sparc64 to use the initial exec TLS model, too. This avoids randommarius2011-06-211-1/+1
| | | | assertion failures in _malloc_thread_cleanup().
* Minor cleanups to ulog-helper:ed2011-06-212-16/+12
| | | | | | | | | | | | - Remove unneeded linking against libmd. libulog depends on this library, but the ulog-helper tool itself does not. - Change the comment at the top to mention utmpx instead of utmp, wtmp and lastlog. - Simply use user_from_uid() to translate to a username string. - Put variable declarations together.
* Use a non-standard page size that is supported.alc2011-06-211-1/+1
|
* When user specifies the bootcode with size smaller than VTOC_BOOTCODE,ae2011-06-211-1/+4
| | | | | | | | gpart_write_partcode_vtoc8 does access out of range of allocated memory. Check size of bootcode before writing it. Pointed out by: ru MFC after: 1 week
* Garbage collect never used global, sysctl, externs.bz2011-06-212-8/+0
| | | | MFC after: 1 week
* Do not use SET_HOST_IPLEN() macro for IPv6 packets.ae2011-06-212-3/+3
| | | | | PR: kern/157239 MFC after: 2 weeks
* Mod the offset padding by alignment. Without this change we maydelphij2011-06-211-2/+2
| | | | | | pad too much when underlying GEOM object have a zero stripesize. MFC after: 1 month
* The "size" param needs no adjusting to stripeoffset.ae2011-06-211-2/+2
| | | | Reported by: Kris Moore
* When we see an interrupt status of 0xffffffff, check to see if theimp2011-06-211-2/+3
| | | | | | child is still present. If not, return 'handled' and don't print anything (this is expected behavior). We expect an interrupt on eject, power-down and/or shutdown.
* Mark the card as bad on shutdown. This means that bus_child_presentimp2011-06-211-0/+6
| | | | | will return false on shutdown and massive spewage from usb disappears for usb cardbus adapters.
* Eliminate some global tuneables in favor of adapter-specific,jfv2011-06-202-63/+125
| | | | | | | | | | | | particular flow control and dma coalesce. Also improve the sysctl operation on those too. Add IPv6 detection in the ioctl code, this was done for ixgbe first, carrying that over. Add resource ability to disable particular adapter. Add HW TSO capability so vlans can make use of TSO
* Fix the new NFSv4 server so that it only allows Lookup ofrmacklem2011-06-201-2/+10
| | | | | | | | directories and symbolic links when traversing non-exported file systems. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* Fix the new NFSv4 server so that it allows Access and Readlinkrmacklem2011-06-201-0/+2
| | | | | | | | operations while traversing non-exported file systems. This is required for some non-FreeBSD clients to do NFSv4 mounts. Found during the recent NFSv4 interoperability Bakeathon. MFC after: 2 weeks
* As astopgap minimize the sched_lock coverage in pmap_activate() in ordermarius2011-06-201-4/+4
| | | | to reduce lock contention.
* - Remove MD usage of pc_cpumask and pc_other_cpus. [1]marius2011-06-203-16/+15
| | | | | | - Remove CTASSERTs which no longer need to hold since r222813. Submitted by: attilio [1]
* Add global -d and -e options to either print device numbersbz2011-06-207-39/+161
| | | | | | | | | | (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Reviewed by: jhb Sponsored by: Sandvine Incorporated MFC after: 1 week
OpenPOWER on IntegriCloud