summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* After cleaning up rt_tables from vnet.h and cleaning up opt_route.hbz2009-06-2327-27/+3
| | | | | a lot of files no longer need route.h either. Garbage collect them. While here remove now unneeded vnet.h #includes as well.
* Fix build with ACPI_DEBUG.rpaulo2009-06-231-1/+1
| | | | MFC after: 2 weeks
* Fix double path issue and other nits.rpaulo2009-06-232-376/+1
| | | | MFC after: 2 weeks
* In r194702 I meant to remove vnet.h which is no longer needed, not route.h.bz2009-06-231-1/+1
|
* Whitespace fix.jamie2009-06-231-1/+1
| | | | Approved by: bz (mentor)
* Remove obsolete comment describing how the command line isjamie2009-06-231-5/+0
| | | | | | no longer parsed. Approved by: bz (mentor)
* Remove unnecessary/redundant includes.jamie2009-06-232-2/+0
| | | | Approved by: bz (mentor)
* Code cleanup by moving some repetitive code into an ndis_get_bssid_listcokane2009-06-231-37/+39
| | | | | | helper function. Also, add ieee80211_announce() call for bootverbose case. Submitted by: Paul B. Mahol <onemda@gmail.com>
* Fix a typo in the same comment, one line below.ed2009-06-231-1/+1
| | | | Submitted by: bf1783 googlemail com
* Remove unneeded stdlib directories.ed2009-06-234-12/+0
| | | | | | | It's not necessary to add stdlib directories for each architecture, even if the architecture doesn't implement any files of its own. Submitted by: Christoph Mallon
* Simplify. We can just use .sinclude here.ed2009-06-231-3/+1
| | | | Submitted by: Christoph Mallon
* in6_rtqdrain() has been unused. Cleanup.bz2009-06-231-23/+0
| | | | As this was the only consumer of net/route.h left remove that as well.
* * Driver for ACPI WMI (Windows Management Instrumentation)rpaulo2009-06-2314-3/+3109
| | | | | | | | | * Driver for ACPI HP extra functionations, which required ACPI WMI driver. Submitted by: Michael <freebsdusb at bindone.de> Approved by: re MFC after: 2 weeks
* Remove duplicate #include <net/route.h> from the middle of the file.bz2009-06-231-1/+0
|
* Mark ng_ether node hooks as HI_STACK. It is usually the last point whenmav2009-06-231-1/+1
| | | | | netgraph may unroll the call stack, and I have found that in some cases 2K guarantied there for i386 may be not enough for NIC driver and BPF.
* vn_open_cred() needs a non NULL ucred pointerpho2009-06-231-1/+1
| | | | Reviewed by: kib
* Fix typo in comment.ed2009-06-231-1/+1
| | | | Submitted by: Christoph Mallon
* Remove hand-written labs/abs implementations. GCC is smart enough.ed2009-06-233-95/+1
| | | | | | | It turns out GCC generates code that's a couple of bytes big bigger, but performs no branching whatsoever. Submitted by: Christoph Mallon
* Fix what seems to be an obvious typo preventing the body of therdivacky2009-06-231-1/+1
| | | | | | if statement to ever be executed. Approved by: ed (mentor)
* o Fix usage() prototype [1] and correct its call.maxim2009-06-231-2/+2
| | | | Submitted by: ed [1]
* - Add a new cpuset macro, CPU_FILL(), for setting the set to all 1s.jeff2009-06-231-0/+6
|
* time_t does not always fit into long, for instance on arm. So rather castjhay2009-06-231-3/+3
| | | | it intmax_t and use %j in printf.
* Connect ng_pipe to the default build.zec2009-06-235-0/+10
| | | | Approved by: julian (mentor)
* Fix a typeo in the frame len function to unbreak the build, make it shorterthompsa2009-06-237-10/+10
| | | | while I am here.
* o style(9) usage() definition: it doesn't need an argument.maxim2009-06-231-3/+2
|
* o Remove unneeded argument in fprintf(3) call in usage().maxim2009-06-231-1/+1
| | | | Submitted by: Pawel Worach
* Add cpufreq support on the PowerPC G5, along with a skeleton SMU drivernwhitehorn2009-06-235-4/+629
| | | | | in order to slew CPU voltage during frequency changes. The OpenBSD SMU driver was an extremely helpful reference for this.
* Fix copy/paste typo in last revision. PMC0 control should be shifted 8nwhitehorn2009-06-231-1/+1
| | | | bits, not 6, on the PPC 970.
* - Make struct usb_xfer opaque so that drivers can not access the internalsthompsa2009-06-23124-3345/+4892
| | | | - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
* Add files missed in r194674.thompsa2009-06-235-0/+2861
| | | | | | | | | | | | | | | Add libusb 1.0 support which is compatible with the latest revision on Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky
* Describe the new algorithm for handling __FreeBSD_version, specificallykensmith2009-06-231-2/+3
| | | | | the 'R' value now being allowed to take on more values than 0 or 1 and permitting more than 100 version bumps in pre-release branches.
* Add libusb 1.0 support which is compatible with the latest revision onthompsa2009-06-235-799/+1227
| | | | | | | | | | | | | | Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky
* kill left over cruftsam2009-06-221-2/+0
|
* Add soreceive_stream(), an optimized version of soreceive() forandre2009-06-223-0/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stream (TCP) sockets. It is functionally identical to generic soreceive() but has a number stream specific optimizations: o does only one sockbuf unlock/lock per receive independent of the length of data to be moved into the uio compared to soreceive() which unlocks/locks per *mbuf*. o uses m_mbuftouio() instead of its own copy(out) variant. o much more compact code flow as a large number of special cases is removed. o much improved reability. It offers significantly reduced CPU usage and lock contention when receiving fast TCP streams. Additional gains are obtained when the receiving application is using SO_RCVLOWAT to batch up some data before a read (and wakeup) is done. This function was written by "reverse engineering" and is not just a stripped down variant of soreceive(). It is not yet enabled by default on TCP sockets. Instead it is commented out in the protocol initialization in tcp_usrreq.c until more widespread testing has been done. Testers, especially with 10GigE gear, are welcome. MFP4: r164817 //depot/user/andre/soreceive_stream/
* enable optional GPS+RS485 uartssam2009-06-221-0/+14
|
* o add a bus space tag that forces a 2usec delay between r/w ops; this issam2009-06-224-11/+120
| | | | | | | | | | used for the optional GPS+RS485 uarts on the Gateworks Cambria boards which otherwise are unreliable o setup the hack bus space tag for the GPS+RS485 uarts o program the gpio interrupts for the uarts to be edge-rising o force timing on the expansion bus for the uarts to be "slow" Thanks to Chris Lang of Gateworks for these tips.
* fix typosam2009-06-221-1/+1
|
* o remove hack to write UUE+RTOIE in the uart's IER; force them with hintssam2009-06-223-21/+10
| | | | o honor hints for the rclk
* Add m_mbuftouio() helper function to copy(out) an arbitraryandre2009-06-222-0/+29
| | | | | | | | | long mbuf chain into an arbitrary large uio in a single step. It is a functional mirror image of m_uiotombuf(). This function is supposed to be used instead of hand rolled code with the same purpose and to concentrate it into one place for potential further optimization or hardware assistance.
* done method is supposed to return int.delphij2009-06-221-1/+1
|
* Start documenting some of the new sound stuff. More is on the way.joel2009-06-221-2/+116
| | | | | | Probably also needs some more mdoc love. Reviewed by: ariff
* free(3) won't mess with errno so return it as-is.delphij2009-06-221-5/+1
| | | | Submitted by: Jaakko Heinonen <jh saunalahti fi>
* In sbappendstream_locked() demote all incoming packet mbufs (andandre2009-06-221-0/+3
| | | | | | | | | | | | | | | | | | | | | chains) to pure data mbufs using m_demote(). This removes the packet header and all m_tag information as they are not meaningful anymore on a stream socket where mbufs are linked through m->m_next. Strictly speaking a packet header can be only ever valid on the first mbuf in an m_next chain. sbcompress() was doing this already when the mbuf chain layout lent itself to it (e.g. header splitting or merge-append), just not consistently. This frees resources at socket buffer append time instead of at sbdrop_internal() time after data has been read from the socket. For MAC the per packet information has done its duty and during socket buffer appending the policy of the socket itself takes over. With the append the packet boundaries disappear naturally and with it any context that was based on it. None of the residual information from mbuf headers in the socket buffer on stream sockets was looked at.
* Fix cxgb's ifmedia ioctl handling. Also fixed a comment.np2009-06-221-7/+3
| | | | | Reviewed by: kmacy Approved by: gnn (mentor)
* V_irtualize flowtable state.zec2009-06-226-109/+243
| | | | | | | | | | | | This change should make options VIMAGE kernel builds usable again, to some extent at least. Note that the size of struct vnet_inet has changed, though in accordance with one-bump-per-day policy we didn't update the __FreeBSD_version number, given that it has already been touched by r194640 a few hours ago. Reviewed by: bz Approved by: julian (mentor)
* Fix length check for ugen control transfer.thompsa2009-06-221-1/+1
| | | | Submitted by: Sylvestre Gallon, HPS
* hook arm_post_filter to ACK GPIO interrupts; this fixes the interruptsam2009-06-221-0/+8
| | | | | | storm observed on the GPS+RS485 uarts on Gateworks Cambria boards Reviewed by: cognet
* always define Cambria GPS+RS485 mappings as they are no longer conditionalsam2009-06-221-4/+0
|
* map the optional GPS and RS485 uart's on the Gateworks Cambria boardsam2009-06-222-21/+32
| | | | (may want to make these conditional)
* add ixp425_set_gpio to program the gpio interrupt typesam2009-06-223-10/+22
|
OpenPOWER on IntegriCloud