summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Resort the if_ti driver to match the PCI Network cards instead of placingremko2008-05-175-5/+8
| | | | | | | | | | | | | | | | | | it under the mii devices list. PR: kern/123147 Submitted by: gavin Approved by: imp (mentor, implicit) MFC after: 3 days
* | In order to map device memory using superpages, mmap(2) must find aalc2008-05-171-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | superpage-aligned virtual address for the mapping. Revision 1.65 implemented an overly simplistic and generally ineffectual method for finding a superpage-aligned virtual address. Specifically, it rounds the virtual address corresponding to the end of the data segment up to the next superpage-aligned virtual address. If this virtual address is unallocated, then the device will be mapped using superpages. Unfortunately, in modern times, where applications like the X server dynamically load much of their code, this virtual address is already allocated. In such cases, mmap(2) simply uses the first available virtual address, which is not necessarily superpage aligned. This revision changes mmap(2) to use a more robust method, specifically, the VMFS_ALIGNED_SPACE option that is now implemented by vm_map_find().
* | Preset a device object's alignment ("pg_color") based upon thealc2008-05-171-1/+5
| | | | | | | | | | | | physical address of the device's memory. This enables pmap_align_superpage() to propose a virtual address for mapping the device memory that permits the use of superpage mappings.
* | Add support for specifying which INDEX files to build via portsnap.conf.cperciva2008-05-173-4/+28
| | | | | | | | | | Requested by: brooks Reminded by: brooks, about halfway through his BSDCan talk
* | Add --keep-newer-files option (as in GNU tar: When in -x mode, ignorecperciva2008-05-172-0/+9
| | | | | | | | | | | | | | | | | | | | | | files if the existing file is newer than the archive entry). Currently if any files are ignored, bsdtar will exit with a non-zero exit status; this is likely to change in the future, but requires some API changes in libarchive. Discussed with: kientzle Obtained from: tarsnap
* | Remove last bits of OS adaptation code from the IPSec code.gnn2008-05-172-310/+8
| | | | | | | | Reviewed By: bz
* | The if_check() function performed three actions:brooks2008-05-171-28/+10
| | | | | | | | | | | | | | | | | | | | | | - verified that the ifp->if_snd.ifq_mtx was initalized for all attached interfaces. This was pointless because it was initalized for all interfaces in if_attach() so I've removed it. - Checked that ifp->if_snd.ifq_maxlen is initalized and set it to ifqmaxlen if unset. This makes more sense in if_attach() so I moved it there. - The first call of if_slowtimo(). Delete if_check() and call if_slowtimo() directly from the SYSINIT().
* | Add the DTrace kernel module makefiles.jb2008-05-1716-0/+345
| |
* | Add the DTrace shim layer definitions.jb2008-05-171-0/+111
| | | | | | | | | | | | | | | | All shim hooks are defined here. This is the interface between BSD code in FreeBSD and CDDL code from OpenSolaris. The hooks defined here are pre-processed out from the source files when the KDTRACE_HOOKS kernel option isn't defined.
* | Add the statically defined tracing header.jb2008-05-171-0/+179
| | | | | | | | | | | | | | | | | | Note that this implementation differs from the one in OpenSolaris, so it is BSD licensed and can be included anywhere. The kernel definitions defined here are dependent on the kernel option KDTRACE_HOOKS so that macros added to the sources are pre-processed out completely when the DTrace kernel hooks aren't compiled in.
* | Add the DTrace test makefile for the test suite distributed in OpenSolaris.jb2008-05-172-0/+456
| |
* | Fix and speedup timestamp calculations which is roughly based on the patch inmarkus2008-05-161-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the mentioned PR: - bounds check time->month as it is used as an array index - fix usage of time->month as array index (month is 1-12) - fix calculation based on time->day (day is 1-31) - fix the speedup code as it doesn't calculate correct timestamps before the year 2000 and reduce the number of calculation in the year-by-year code - speedup month calculations by replacing the array content with cumulative values - add microseconds calculation - fix an endian problem PR: kern/97786 Submitted by: Andriy Gapon <avg@topspin.kiev.ua> Reviewed by: scottl (earlier version) Approved by: emax (mentor) MFC after: 1 week
* | Retire some stale alpha references.jhb2008-05-162-7/+0
| |
* | Add support for the Nikon D300 cameraremko2008-05-162-0/+5
| | | | | | | | | | | | | | PR: usb/118741 Submitted by: Yuri <yuri at tsoft dot com> Approved by: imp (mentor, implicit) MFC after: 3 days
* | This is driver version 1.4.4 of the Intel ixgbe driver.jfv2008-05-1617-1836/+3511
| | | | | | | | | | | | | | | | | | | | | | -It has new hardware support -It uses a new method of TX cleanup called Head Write Back -It includes the provisional generic TCP LRO feature contributed by Myricom and made general purpose by me. This should move into the stack upon approval but for this driver drop its in here. -Also bug fixes and etc... MFC in a week if no serious issues arise.
* | Attempt to improve convergence of POSIX semaphore code with style(9).rwatson2008-05-161-31/+38
| | | | | | | | MFC after: 3 days
* | Teach truss about 32-bit FreeBSD and Linux binaries on amd64. Somejhb2008-05-167-43/+108
| | | | | | | | | | | | | | additional work is needed to handle ABI-specific syscall argument parsing, but this gets the basic tracing working. MFC after: 1 week
* | Fix RID calculation. The RID is really the BAR for PCI cards,marcel2008-05-161-1/+1
| | | | | | | | | | | | | | | | so the index needs to be translated into an offset. While we did add the offset (0x10), we forgot to account for the width. Tested by: Thomas Vogt MFC after: 3 days
* | Removed unused assembly offsets for structures digging.attilio2008-05-163-7/+0
| |
* | - The names of the months and the days are in lowercase according to thegabor2008-05-162-100/+100
| | | | | | | | | | | | Hungarian spelling, change them accordingly Requested by: Janos Mohacsi <mohacsi@niif.hu>
* | Remove a check that didn't allow > 12 byte CDB's to be issued tops2008-05-161-6/+0
| | | | | | | | | | | | ciss. This should allow volumes > 2TB to work. Reported by: Emil Mikulic
* | Document BOOTP_BLOCKSIZE.benno2008-05-161-0/+1
| |
* | Allow the block size used when booting over NFS to be overridden. It defaultsbenno2008-05-162-2/+8
| | | | | | | | to 8192 bytes which is the size currently used.
* | Clarify that "ante meridiem" and "post meridiem" mean the same thinggrog2008-05-161-2/+2
| | | | | | | | | | | | | | | | as the more commonly used "a.m." and "p.m.". Tripped over by: Callum Gibson. MFC after: 2 weeks
* | The beacon miss notification must run without locks held has it calls back intothompsa2008-05-162-2/+16
| | | | | | | | wpi_raw_xmit();
* | Spelling and capitalization fixes.scf2008-05-161-4/+4
| | | | | | | | MFC after: 3 days
* | LO_ENROLLPEND is no more existing so just axe it (it was left out by theattilio2008-05-161-2/+1
| | | | | | | | original commit axing it).
* | Make this c++ compatible.dfr2008-05-161-0/+4
| | | | | | | | PR: 87726
* | lockinit() can't accept LK_EXCLUSIVE as an initializaiton flag, so justattilio2008-05-151-1/+1
| | | | | | | | | | | | | | drop it. Reported by: Josh Carroll <josh dot carroll at gmail dot com> Submitted by: jhb
* | - Const'ify firmware and lookup-tables.marius2008-05-155-53/+53
| | | | | | | | | | | | | | - Obsolete redundant inst_name and unit members of struct sym_hcb. - Fix three more NULL vs. 0 confusions. - Use device_set_softc(9) to tell the bus layer that this driver allocates a instance of struct sym_hcb itself.
* | Update the kernel to count the number of mbufs and clustersgnn2008-05-156-13/+81
| | | | | | | | | | | | | | | | | | | | | | | | (all types) used per socket buffer. Add support to netstat to print out all of the socket buffer statistics. Update the netstat manual page to describe the new -x flag which gives the extended output. Reviewed by: rwatson, julian
* | - Embed the recursion counter for any locking primitive directly in theattilio2008-05-1512-82/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock_object, using an unified field called lo_data. - Replace lo_type usage with the w_name usage and at init time pass the lock "type" directly to witness_init() from the parent lock init function. Handle delayed initialization before than witness_initialize() is called through the witness_pendhelp structure. - Axe out LO_ENROLLPEND as it is not really needed. The case where the mutex init delayed wants to be destroyed can't happen because witness_destroy() checks for witness_cold and panic in case. - In enroll(), if we cannot allocate a new object from the freelist, notify that to userspace through a printf(). - Modify the depart function in order to return nothing as in the current CVS version it always returns true and adjust callers accordingly. - Fix the witness_addgraph() argument name prototype. - Remove unuseful code from itismychild(). This commit leads to a shrinked struct lock_object and so smaller locks, in particular on amd64 where 2 uintptr_t (16 bytes per-primitive) are gained. Reviewed by: jhb
* | Change a use of u_int32_t to uint32_t.brooks2008-05-151-1/+1
| | | | | | | | | | | | PR: bin/93172 Submitted by: Robert Millan <rmh at aybabtu dot com> MFC after: 1 week
* | Test the expansion of $LINENO.stefanf2008-05-152-0/+25
| |
* | Expand $LINENO to the current line number. This is required by SUSv3's "Userstefanf2008-05-153-7/+35
| | | | | | | | | | | | | | | | | | Portability Utilities" option. Often configure scripts generated by the autotools test if $LINENO works and refuse to use /bin/sh if not. Package test run by: pav
* | Add definition for OM_uint64.dfr2008-05-151-0/+1
| | | | | | | | Submitted by: tmclaugh
* | getopt.c is public domain. Add a comment to that effect.brooks2008-05-152-57/+5
| | | | | | | | | | | | | | | | | | Remove confusing README. PR: bin/98911 Submitted by: Jason McIntyre <jmc at kerhand dot co dot uk> Obtained from: OpenBSD MFC after: 3 days
* | Don't call vm_reserv_alloc_page() on device-backed objects. Otherwise, thealc2008-05-151-1/+1
| | | | | | | | | | | | | | system may panic because there is no reservation structure corresponding to the physical address of the device memory. Reported by: Giorgos Keramidas
* | Add the ability to do all read, all write, or random read/write.adrian2008-05-151-9/+44
| |
* | Add new heimdal-1.1 library.dfr2008-05-151-2/+2
| |
* | Improve the virtual scrolling mechanism to make middle clicking lessphilip2008-05-152-15/+58
| | | | | | | | | | | | | | | | | | | | | | difficult. Add a -L option (yet another option, indeed!) which changes the speed of scrolling and change -U to only affect the scroll threshold. This should make middle-clicking a much more pleasant experience. PR: bin/120186 Submitted by: Aragon Gouveia <aragon -at- phat.za.net> MFC after: 3 days
* | Add support for /conf/T/M/remount_optional.bms2008-05-151-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rc.initdiskless functionality is used by NanoBSD to allow configuration files to live on a separate configuration slice, which acts as NVRAM, whilst the system image is mounted read-only. Normally, if the remount command fails during boot, this is regarded as a fatal error. If /conf/T/M/remount_optional is present, this error is non-fatal. If the file is not present, the default behaviour is unchanged. This is very useful for people building live CD images using FreeBSD, where the NVRAM lives somewhere completely differently from the system image, and may be present on removable media which is not present during the initial boot.
* | Typobms2008-05-151-1/+1
| |
* | Make the meaning of the %A format specifier, as passed tobms2008-05-151-2/+5
| | | | | | | | LD_TRACE_LOADED_OBJECTS_FMT[12], more obvious for users like me.
* | Add an example of how to use ldd -f.bms2008-05-151-1/+8
| |
* | Add the hx509 error table.dfr2008-05-151-0/+2
| |
* | Fix a panic when it occurred during initializing the ndis driver becauseweongyo2008-05-151-0/+4
| | | | | | | | | | | | | | it try to read network address through ifnet structure which is NULL until the ndis driver's initialization is finished. Reviewed by: thompsa
* | Go back to using the process command name (p_comm) for the file name andjhb2008-05-151-2/+2
| | | | | | | | | | | | | | command line arguments stored in the note at the beginning of a core dump instead of the current thread name. Reviewed by: julian
* | Fix for a bug I introduced when I cleaned up atacontrol: Don't terminatephk2008-05-151-3/+5
| | | | | | | | | | | | if we are listing devices, a controller might legitimately not be there. Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* | Move speaker a lot closer to style(9)phk2008-05-151-343/+317
| | | | | | | | Submitted by: Martin Voros <martin_voros@yahoo.com>
OpenPOWER on IntegriCloud