summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove end of line whitespace.joel2012-07-091-1/+1
|
* Restore error handling lost in r191603emaste2012-07-091-1/+1
| | | | | | This was missed in the change from IFQ_ENQUEUE to if_transmit. Sponsored by: ADARA Networks
* Fix a bug introduced in r237715.tuexen2012-07-091-0/+1
| | | | MFC after:i 3 days.
* Support Netlogic XLP 8xx B1 revisions in xlpge.jchandra2012-07-092-20/+36
| | | | | Updates to the MDIO access code for the new revision of the XLP chip.
* Identify Netlogic XLP 8xx B1 chip revisionsjchandra2012-07-092-0/+25
| | | | | Add functions to check for 8xx B0 and 3xx Ax revisions which will be used in network block initialization.
* Fix PCIe hardware swap configuration for Netlogic XLPjchandra2012-07-091-2/+2
| | | | | | The last 12 bits of the limit registers have to be set to 1. These bits are not significant in bridge BARs and are 0 on read, but the bits are valid in the swap limit register and needs to be set.
* Add range and table revision checking to avoid abend.takawata2012-07-091-1/+9
| | | | | | PR:bin/169707 Submitted by:Dan Lukes <dan@obluda.cz> MFC after:3 days.
* If you have pressed CTRL+Z and a process is suspended, then you use gdbdavidxu2012-07-091-4/+4
| | | | | | | | | | | | to attach to the process, it is surprising that the process is resumed without inputting any gdb commands, however ptrace manual said: The tracing process will see the newly-traced process stop and may then control it as if it had been traced all along. But the current code does not work in this way, unless traced process received a signal later, it will continue to run as a background task. To fix this problem, just send signal SIGSTOP to the traced process after we resumed it, this works like that you are attaching to a running process, it is not perfect but better than nothing.
* Further preparations for the RX EDMA support.adrian2012-07-095-20/+88
| | | | | Break out the DMA descriptor setup/teardown code into a method. The EDMA RX code doesn't allocate descriptors, just ath_buf entries.
* - Add IFT_L2VLAN (vlan(4)) support.hrs2012-07-094-19/+81
| | | | | | - Add -P option to support PID file. When -a is specified /var/run/rarpd.pid is used, and when an interface is specified /var/run/rarpd.<ifname>.pid is used by default.
* We don't need to check the result of sending signal when -R option isae2012-07-091-1/+2
| | | | | | | specified. Submitted by: Ilya A. Arkhipov MFC after: 1 week
* Introduce the EDMA related HAL capabilities.adrian2012-07-093-3/+60
| | | | | | Whilst here, fix a typo in a previous commit. Obtained from: Qualcomm Atheros
* Make usbusN logging pseudo-interface used by usbdump(8) clonable. One ishrs2012-07-092-27/+181
| | | | | | | | now created/destroyed automatically by usbdump(8). Note that "hw.usb.no_pf" loader tunable is now obsolete. Reviewed by: hselasky
* Extend the RX HAL API to include the RX queue identifier.adrian2012-07-099-21/+33
| | | | | | | | | | The AR93xx and later chips support two RX FIFO queues - a high and low priority queue. For legacy chips, just assume the queues are high priority. This is inspired by the reference driver but is a reimplementation of the API and code.
* Make ipfw0 logging pseudo-interface clonable. It can be created automaticallyhrs2012-07-095-30/+143
| | | | | | | by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8) after a boot. Discussed on: freebsd-ipfw@
* Extend the debugging flags to include some AR9300 HAL related options.adrian2012-07-091-0/+5
| | | | Obtained from: Qualcomm Atheros
* Extend the RX descriptor completion debugging to log the largeradrian2012-07-091-0/+10
| | | | | | | | AR93xx receive descriptors. This isn't entirely complete - the AR93xx and later descriptors don't have a link/buffer pointer; the descriptor contents just start.
* - Add support of the following USB devices to run(4):hrs2012-07-093-2/+10
| | | | | | | * Logitec LAN-W150N/U2 * Buffalo WLI-UC-GNM2 - Add device id of Planex GW-USValue-EZ.
* Remove "prefer_source" address selection option. FreeBSD has had anhrs2012-07-095-27/+3
| | | | | implementation of RFC 3484 for this purpose for a long time and "prefer_source" was never implemented actually. ND6_IFF_PREFER_SOURCE macro is left intact.
* Follow-up commit to r238220:mjg2012-07-091-8/+24
| | | | | | | | | | | | | Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for !FWRITE anyway and may as well know about FREAD. Make _fget code a bit more readable by converting permission checking from if() to switch(). Assert that correct permission flags are passed. In collaboration with: kib Approved by: trasz (mentor) MFC after: 6 days X-MFC: with r238220
* Add a debug category for RX EDMA.adrian2012-07-091-0/+2
|
* Finally fix lookup (account remaining '\0') and deletionmelifaro2012-07-081-3/+6
| | | | | | | | | | (provide valid key length for radix lookup). Submitted by: Ihor Kaharlichenko<madkinder at gmail.com> (prev version) Approved by: kib(mentor) MFC after: 3 days Sponsored by: Shtorm ISP
* Avoid vm page queues lock leak after r238212.kib2012-07-081-4/+2
| | | | | | | Reported and tested by: Michael Butler <imb protected-networks net> Reviewed by: alc Pointy hat to: kib MFC after: 20 days
* Move PCPU initialization to a new function called cpu_pcpu_setup().marcel2012-07-083-4/+13
| | | | | This makes it easier to add additional CPU or platform information to the per-CPU structure without duplicated code.
* Unleash the APs at SI_SUB_KICK_SCHEDULER so that we have them allmarcel2012-07-081-2/+1
| | | | | | | | up and running to service interrupts. This is especially important when the firmware has bound interrupts to CPUs, like for the SGI Altix 350. We wake up APs at SI_SUB_CPU time and they sit and spin until we unleash them, so there's nothing fundamentally different from a MD perspective.
* After the binutils 2.17.50 import, the assembler supports AS_REL16nwhitehorn2012-07-081-1/+1
| | | | relocations.
* Implement handling of "atomic fragements" as outlined inbz2012-07-081-0/+13
| | | | | | | draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. MFC after: 5 days
* acpi_cpu: we are able to handle _CST change notifications...avg2012-07-081-2/+0
| | | | | | | so un-ifdef code that is supposed to tell ACPI platform about that Tested by: Taku YAMAMOTO <taku@tackymt.homeip.net> MFC after: 2 weeks
* As mentioned in the commit message of r237571 (copied from a prototypebz2012-07-081-1/+3
| | | | | | | patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. MFC after: 5 days
* Fix always 0 tautologly revealed by gcc46eadler2012-07-081-1/+1
| | | | | Approved by: cperciva MFC after: 1 week
* Unbreak handling of descriptors opened with O_EXEC by fexecve(2).mjg2012-07-083-4/+15
| | | | | | | | | | | While here return EBADF for descriptors opened for writing (previously it was ETXTBSY). Add fgetvp_exec function which performs appropriate checks. PR: kern/169651 In collaboration with: kib Approved by: trasz (mentor) MFC after: 1 week
* Add trivial resize handling to gnop(8).trasz2012-07-072-0/+29
| | | | | Reviewed by: mav Sponsored by: FreeBSD Foundation
* Add trivial resize handling to gmountver(8).trasz2012-07-071-0/+14
| | | | | Reviewed by: mav Sponsored by: FreeBSD Foundation
* Make the da(4) driver notify GEOM about LUN size change.trasz2012-07-071-0/+2
| | | | | Reviewed by: mav Sponsored by: FreeBSD Foundation
* Add disk_resize(), to make it possible for the disk drivers such as da(4)trasz2012-07-072-0/+43
| | | | | | | to notify GEOM about LUN size change. Reviewed by: mav (earlier version) Sponsored by: FreeBSD Foundation
* Make it possible to resize md(4) devices.trasz2012-07-074-17/+118
| | | | | Reviewed by: kib Sponsored by: FreeBSD Foundation
* Change the interface to the Energy Efficient Ethernet (EEE)jfv2012-07-072-8/+57
| | | | | | | | | | | setting in the igb and em driver. This was necessitated by a shared code change that I was given late in the game, a data type changed from bool to int, in the last update I dealt with it by a cast, but it was pointed out (thanks jhb) that there was a potential problem with this. John suggested this safer approach, and it is fine with me... MFC after:2 days (to catch the 9.1 update)
* Add a new GEOM method, resize(), which is called after provider size changes.trasz2012-07-072-5/+80
| | | | | | | | Add a new routine, g_resize_provider(), to use to notify GEOM about provider change. Reviewed by: mav Sponsored by: FreeBSD Foundation
* Drop page queues mutex on each iteration of vm_pageout_scan over thekib2012-07-072-24/+39
| | | | | | | | | | | | | inactive queue, unless busy page is found. Dropping the mutex often should allow the other lock acquires to proceed without waiting for whole inactive scan to finish. On machines with lot of physical memory scan often need to iterate a lot before it finishes or finds a page which requires laundring, causing high latency for other lock waiters. Suggested and reviewed by: alc MFC after: 3 weeks
* Add missing sleep stat increaseeadler2012-07-071-0/+1
| | | | | | | | PR: kern/168211 Submitted by: linimon Reviewed by: alc Approved by: cperciva MFC after: 3 days
* Add a description of the Spanish Dvorak keymap added in r235251eadler2012-07-071-0/+2
| | | | | | | PR: conf/160235 Submitted by: gavin Approved by: cperciva MFC after: 3 days
* Remove unneeded variable reported by gcc46 which stopped being used ineadler2012-07-071-3/+0
| | | | | | | r234178. Approved by: cperciva MFC after: 3 days
* Remove variables which are initialized but never used thereaftereadler2012-07-071-4/+0
| | | | | | | reported by gcc46 warning Approved by: cperciva MFC after: 1 week
* Remove ancient vnconfig symlinkeadler2012-07-072-1/+2
| | | | | | Submitted by: ak Approved by: cperciva MFC after: 1 week
* Remove variables which are initialized but never used thereaftereadler2012-07-071-3/+0
| | | | | | | reported by gcc46 warning Approved by: cperciva MFC after: 1 week
* Remove variables which are initialized but never used thereaftereadler2012-07-072-8/+2
| | | | | | | | reported by gcc46 warning Reviewed by: scottl Approved by: cperciva MFC after: 1 week
* Remove variables which are initialized but never used thereaftereadler2012-07-071-3/+1
| | | | | | | reported by gcc46 warning Approved by: cperciva MFC after: 1 week
* Fix orphan() methods of several GEOM classes to not assume that theretrasz2012-07-075-17/+5
| | | | | | | | | is an error set on the provider. With GEOM resizing, class can become orphaned when it doesn't implement resize() method and the provider size decreases. Reviewed by: mav Sponsored by: FreeBSD Foundation
* Fix spellingeadler2012-07-072-2/+2
| | | | | | PR: bin/167480 Submitted by: zeising Approved by: cperciva
* acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here tooavg2012-07-071-0/+2
| | | | | | | although by default only C1 is enabled (cx_lowest=0) and enabling deeper states goes through acpi_cpu_set_cx_lowest which re-evaluates cpu_non_c3 MFC after: 2 weeks
OpenPOWER on IntegriCloud