summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use _once() to initialize the pthread key for thread-local storage to holdjhb2009-12-301-14/+14
| | | | | | the results of gmtime() instead of using a pthread mutex directly. MFC after: 1 week
* Revamp bus_space access functions:marcel2009-12-308-531/+783
| | | | | | | | | | | | | | | | | | | | | | | | | | | o Optimize for memory mapped I/O by making all I/O port acceses function calls and marking the test for the IA64_BUS_SPACE_IO tag with __predict_false(). Implement the I/O port access functions in a new file, called bus_machdep.c. o Change the bus_space_handle_t for memory mapped I/O to the virtual address rather than the physical address. This eliminates the PA->VA translation for every I/O access. The handle for I/O port access is still the port number. o Move inb(), outb(), inw(), outw(), inl(), outl(), and their string variants from cpufunc.h and define them in bus.h. On ia64 these are not CPU functions at all. In bus.h they are merely aliases for the new I/O port access functions defined in bus_machdep.h. o Handle the ACPI resource bug in nexus_set_resource(). There we can do it once so that we don't have to worry about it whenever we need to write to an I/O port that is really a memory mapped address. The upshot of this change is that the KBI is better defined and that I/O port access always involves a function call, allowing us to change the actual implementation without breaking the KBI. For memory mapped I/O the virtual address is abstracted, so that we can change the VA->PA mapping in the kernel without causing an KBI breakage. The exception at this time is for bus_space_map() and bus_space_unmap(). MFC after: 1 week.
* Call wakeup() only for the first request on the queue.mav2009-12-301-2/+8
|
* Fix memory leak when parsing backticks (``).jilles2009-12-301-13/+23
|
* Add missing `void' keywords.ed2009-12-304-10/+10
|
* sh: arith: Return only 0 and 1 from && and ||.jilles2009-12-302-2/+32
| | | | This agrees with C, POSIX and other shells.
* Remove the current directory from _PATH_STDPATH.jilles2009-12-301-1/+1
|
* Removing pre-commit review on isp(4). It's time to let people have theirmjacob2009-12-301-1/+0
| | | | | way with it, if they so choose. I've been fooling with it since 1997. Enough.
* Make sure the multicast forwarding cache entry's stall queue is properlysyrinx2009-12-301-0/+9
| | | | | | | | initialized before trying to insert an entry into it. PR: kern/142052 Reviewed by: bms MFC after: now
* Remove some test files that are no longer used.kientzle2009-12-305-27092/+0
|
* Let umount build with -Wold-style-definition.ed2009-12-302-7/+13
|
* Add undocumented 'portsnap alfred' command, which runs (fetch|cron)cperciva2009-12-301-1/+17
| | | | | | | | based on whether fd 0 is a terminal, and then runs (extract|update) based on whether ${PORTSDIR} exists. Requested by: alfred MFC after: 1 month
* Reserve constants for RPM unwrapper and XAR reader.kientzle2009-12-301-0/+2
|
* Libarchive in FreeBSD is now synced up with 2.7.901a fromkientzle2009-12-301-2/+2
| | | | libarchive.googlecode.com
* UU decoder. Now that libarchive can recursively taste input streams,kientzle2009-12-306-0/+767
| | | | you can do things like this: tar xvf archive.tar.gz.uu
* A raft of test changes and improvements from the Googlecode repository.kientzle2009-12-3073-1315/+6267
| | | | | In particular, this includes tests for the new features I've merged over the last few days.
* Merge Michihiro NAKAJIMA's significant work on the ISO9660 readerkientzle2009-12-301-323/+1659
| | | | | | | | | | from googlecode: * Support for zisofs compressed entries * Support for relocated deep directories * Direct calculation of link counts for accurate nlink values even on images that lack Rockridge extensions * Faster handling of the internal file lists. * Better detection of ISO variants
* In blkif_queue_cb(), test the return value from gnttab_claim_grant_reference()gibbs2009-12-291-1/+1
| | | | for >= 0 instead of != ENOSPC.
* Correct bug introduced while purging the -ERRNO Linuxism from thegibbs2009-12-291-1/+1
| | | | | | grant table API. Valid grant refs are in the range of positive 32bit integers. ENOSPACE, being 29, is also a positive integer. Return GNTTAB_LIST_END (-1) instead when gnttab_claim_grant_reference() fails.
* ANSIfy almost all applications that use WARNS=6.ed2009-12-2923-150/+88
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
* Add missing `void' keywords.ed2009-12-295-5/+5
|
* Add missing `void' keyword.ed2009-12-291-1/+1
|
* Add missing `void' keyword.ed2009-12-291-1/+1
|
* Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.rnoland2009-12-2936-112/+109
| | | | | | | | | | | | | This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t. Purge d_mmap2(). All driver modules will need to be rebuilt since D_VERSION is also bumped. Reviewed by: jhb@ MFC after: Not in this lifetime...
* Usually these controllers are able to automatically decode command code tomav2009-12-292-5/+27
| | | | | | get required command protocol. But they have no idea about new commands, such as DATA SET MANAGEMENT (TRIM). As soon as this info any way provided by CAM, give controller specific instructions.
* ANSIfy ldconfig and the aout bits it still uses from rtld-aout.ed2009-12-293-41/+17
| | | | (Why is aout support still there?)
* Remove a trailing reference to the obsolete vaps_<IF> variable.jhb2009-12-291-1/+1
| | | | | Reviewed by: brooks MFC after: 3 days
* Add support for configuring vlan(4) interfaces as child devices similar tojhb2009-12-293-4/+97
| | | | | | | | | | | | | | wlan(4) interfaces. vlan(4) interfaces are listed via a new 'vlans_<IF>' variable. If a vlan interface is a number, then that number is treated as the vlan tag for the interface and the interface will be named '<IF>.<tag>'. Otherwise, the vlan tag must be provided via a vlan parameter in a 'create_args_<vlan>' variable. While I'm here, fix a few nits in rc.conf(5) and mention create_args_<IF> in the description of cloned_interfaces. Reviewed by: brooks MFC after: 2 weeks
* Remove extra space introduced by the previous commit.trasz2009-12-291-1/+1
| | | | Submitted by: rwatson
* Remove examples for pppd and SLIP-related stuff.trasz2009-12-2921-285/+23
|
* Delete old firmware.rpaulo2009-12-292-0/+0
|
* Remove pppd and SLIP-related stuff.trasz2009-12-291-2/+2
|
* Remove pppd, it's gone.trasz2009-12-291-2/+1
|
* iwn(4) update. Notable changes:rpaulo2009-12-2915-10142/+25132
| | | | | | | | | | | | | | | | | | | | * new firmware * untested support for 1000 and 6000 series * bgscan support * remove unnecessary RXON changes * allow setting of country/regdomain by enforcing channel flags read from the EEPROM * suspend/resume fixes * RF kill switch fixes * LED adjustments * several bus_dma*() related fixes * addressed some LORs * many other bug fixes Submitted by: Bernhard Schmidt <bschmidt at techwires.net> Obtained from: Brandon Gooch <jamesbrandongooch at gmail dot com> (LED related changes), Benjamin Kaduk <kaduk at mit dot edu> (LOR fixes), OpenBSD
* Document _FAST and _PRECISE clocks.kib2009-12-291-10/+40
| | | | | Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 3 days
* Use reallocf() to simplify some logic.jhb2009-12-291-7/+3
| | | | MFC after: 2 weeks
* Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2).kib2009-12-292-3/+7
| | | | | Based on submission by: pluknet gmail com MFC after: 3 days
* - Remove a redundant variable and an unnecessary cast.marius2009-12-291-6/+5
| | | | - Fix whitespace.
* - Prefer i and j over i and n for temporary integer variables.marius2009-12-292-111/+120
| | | | | - Wrap/shorten too long lines. - Remove a redundant variable and an unnecessary cast in schizo(4).
* Fix autonegotiation: tell the MAC where to find the PHY.philip2009-12-291-3/+9
| | | | | | | Fix crashes in the detach path. Submitted by: Kristof Provost <kristof@sigsegv.be> MFC after: 1 month
* Change vlan interfaces to cope more usefully with the parent interface beingjhb2009-12-293-1/+17
| | | | | | | | | | | | | | renamed. Previously the vlan interfaces would lose their configuration as if the parent interface had been physically removed. Now vlan interfaces ignore rename events. - Add a new ifnet flag (IFF_RENAMING) that is set while an ifnet is being renamed. This flag can be checked in ifnet departure/arrival event handlers to treat rename events differently. - Change the ifnet departure event handler in the if_vlan(4) driver to ignore departure events due to a trunk interface being renamed. Reviewed by: brooks, rwatson MFC after: 1 week
* Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) forkib2009-12-291-4/+3
| | | | | | | | implementation of time(3). CLOCK_SECOND is much faster. No objections from: phk Submitted by: Valentin Nechayev <netch segfault kiev ua> MFC after: 1 week
* Add missing me6 rules. Now, the IPv6 rules become equivalentume2009-12-291-0/+29
| | | | | | to the IPv4 rules. Reported by: David Horn <dhorn2000__at__gmail.com>
* Make rpc.ruserd work with utmpx/libulog.ed2009-12-293-92/+35
| | | | | | | Because strings are now null-terminated, I've decided to just use an array of utmpx structures, instead of the separated strings. This means we just copy the entire utmpx structure and point to the strings within the structures directly.
* MFV of tzdata2009u, r201187edwin2009-12-291-3/+38
| | | | | | Bangladesh will change its clock back to Standard Time on Dec 31, 2009. MFC after: now
* Add forgotten `void' keyword. This function has no arguments.ed2009-12-291-1/+1
|
* Add missing `void' keyword for function without arguments.ed2009-12-291-1/+1
|
* Add missing `void' for functions without arguments.ed2009-12-291-4/+4
| | | | | While there, rename die_you_gravy_sucking_pig_dog() to something that's less moronic.
* Add missing `void' for function without arguments.ed2009-12-291-1/+1
|
* SLIP is gone; remove its mutex from witness.trasz2009-12-291-6/+0
|
OpenPOWER on IntegriCloud