summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix the gap between mute and lowest possible volume. The es1370 mixerjoel2010-04-011-2/+2
| | | | | | | | | | | volumes were incorrectly calculated. I've tested this with one of my es1370 cards and I can confirm that it works. PR: 98167 Submitted by: Joseph Terner <jtsn@gmx.de> Approved by: kib
* Remove alignment constraints.mav2010-04-011-8/+11
|
* Add a couple missing basic mode page codes.mjacob2010-04-011-0/+2
| | | | MFC after: 1 week
* The ALQ should not be considered drained until it has been made inactive.lstewart2010-04-011-1/+1
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* According to SLEEP(9), msleep() is deprecated in favour of mtx_sleep().lstewart2010-04-011-3/+3
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* - Factor code to destroy an ALQ out of alq_close() into a private alq_destroy().lstewart2010-04-011-17/+20
| | | | | | | | | - Use the new alq_destroy() to properly handle a failure case in alq_open(). Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson (as part of a larger patch) Approved by: kmacy (mentor) MFC after: 1 month
* The POLL code was missed in the queue conversion,jfv2010-03-311-8/+9
| | | | | | | change the argument type to igb_rxeof() to the correct type. Note, any users of POLLING must be sure and set the number of queues to 1 for things to work correctly.
* Add definition of IPv6 mobility header's protocol number, as assigned bydelphij2010-03-311-0/+1
| | | | | | IANA and defined in RFC 3775. Obtained from: KAME
* Remove some more alignment constraints.mav2010-03-312-7/+8
|
* Use device_get_nameunit(9) rather than device_get_name(9) so one canmarius2010-03-312-5/+5
| | | | identify the reporting bridge in machines with multiple PCI domains.
* Don't re-implement device_get_nameunit(9).marius2010-03-311-14/+10
|
* - Take advantage of the INTCLR_* macros.marius2010-03-314-23/+23
| | | | - Right-justify the backslashes as per style(9).
* Make ng_ksocket fulfill lower protocol stack layers alignment requirementsmav2010-03-311-1/+13
| | | | | | | on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410
* Make ng_l2tp irrelevant to data alignment.mav2010-03-311-15/+31
|
* Update to 1.2.4.1 (beta).delphij2010-03-3114-66/+78
|
* Hook the identification LEDs of igb(4), lem(4) and em(4) devices up withmarius2010-03-316-3/+85
| | | | | | | | led(4) so they can be lit or f.e. made blink via `echo f2 > /dev/led/em0` for localization purposes. Approved by: jfv MFC afer: 1 week (after r205869)
* Make ng_ppp fulfill upper protocol stack layers alignment requirementsmav2010-03-311-0/+14
| | | | | | | on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410
* ng_gif depends on gif.mav2010-03-311-3/+3
|
* If there is multiple PMCs for the same interrupt ignore new post.fabient2010-03-311-3/+5
| | | | | | | This will indirectly fix a bug where the thread will be pinned forever if the assert is not compiled. MFC after: 3days
* Add prototype for libc internal interfaces.delphij2010-03-312-0/+4
|
* Add prototypes for libc private interfaces.delphij2010-03-311-5/+9
| | | | | | While I'm there, apply __unused whenever appropriate. Reviewed by: md5(1)
* Sync fortunes with other *BSDsuqs2010-03-317-1342/+1311
| | | | | | | | | | | | | | | | | | | | | | | - Spelling errors - Typographical fixes - Consistent attributions - Use Jr. more consistently - Capitalization of dictionary-like entries - Sorting using tools/do_sort - Remove duplicate fortunes - Style according to the Notes file - Reflect correct default fortune name in Notes - Remove some no longer needed spelling hints - Drop latin1 characters (sorry MÃ¥rten) This is a partial sync against the DragonflyBSD sources, where a lot of fixes from Free, Net and OpenBSD were merged previously. Only about 50% of the changes originate from there, the rest was done by dougb and yours truly. Partial review by: wilko (earlier version), ed (dito) In collaboration with: dougb Approved by: ed (co-mentor)
* Two fixes:imp2010-03-311-15/+2
| | | | | | | | | | (1) We don't need a custom install_kernel. We can install without symbols by adding INSTALL_NODEBUG (which likely should be WITHOUT_KERNEL_SYMBOLS_FILE, or something shorter) to CONF_INSTALL (2) for make buildenv stage, use NANO_MAKE_CONF_BUILD rather than the non-existant NANO_MAKE_CONF. MFC after: 7 days
* For unhandled actions in xpt_action_default, remember to callmjacob2010-03-311-2/+5
| | | | | | | | | | xpt_done for queued requests. This solves the problem of indefinite hangs for unspecified transports when XPT_SCAN_BUS is called. A few minor cosmetics elsewhere. MFC after: 1 week
* Make -r mean exactly the same thing as -E for increased compatibilityimp2010-03-312-3/+8
| | | | | | with GNU sed. MFC after: 7 days
* indent(1): add a new option, -ta, to treat all *_t identifiers as typesavg2010-03-314-0/+19
| | | | | | Submitted by: Hans Petter Selasky Discussed with: bde MFC after: 10 days
* indent(1): correctly handle case/label at the very start of a functionavg2010-03-311-1/+1
| | | | | Obtained from: NetBSD (rev. 1.11 of indent.c) MFC after: 1 week
* Fix poll handler declaration.jfv2010-03-311-1/+1
|
* Constify vap argument of ieee80211_{note,discard}* functions.rpaulo2010-03-312-13/+14
| | | | MFC after: 1 week
* Stop hard coding i386 as the arch for the build. Instead, default to theimp2010-03-311-1/+6
| | | | | | | | | | | processor we're running on. Also, supply amd64 version of create_diskimage that's the same as i386's. # didn't fix the confusion between using the processor for this and using # the machine (which would be more appropriate). NANO_ARCH smashes the two # together right now. MFC after: 7 days
* Document DEBUG_FLAGS in a more visible place, in the build(7) manpagekeramida2010-03-311-1/+15
| | | | | | Noticed by: Alexander Best <alexbestms.at.wwu.de> Reviewed by: jhb MFC after: 1 week
* Include opt_ata.h, as some structures here depending on ATA_CAM option.mav2010-03-311-0/+2
| | | | This fixes ATA_CAM with atamvsata and probably some other drivers.
* Add support for ALQ(9) to be compiled and loaded as a kernel module.lstewart2010-03-313-1/+93
| | | | | | | Sponsored by: FreeBSD Foundation Reviewed by: dwmalone, jeff, rpaulo, rwatson Approved by: kmacy (mentor) MFC after: 1 month
* fix bug in previous commit related to rule deletionluigi2010-03-311-15/+20
| | | | (stable/8 just fixed moments ago)
* Be like stdlib.h and bring in a wchar_t definition and use it to prototypejmallett2010-03-311-4/+11
| | | | | | | | | | | wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is necessary to use these functions in C++ where wchar_t is different to __wchar_t and is a built-in type. It may be better to use __wchar_t here and to simply define __wchar_t as being wchar_t in C++ mode rather than to bring in wchar_t, but this is less invasive and follows our existing practice, and restores wchar_t usage in this file to what it was before r1.8.
* Multiple fixes related to queue set sizing and resources:np2010-03-315-54/+58
| | | | | | | | | | | | | | | | - Only the tunnelq (TXQ_ETH) requires a buf_ring, an ifq, and the watchdog/timer callouts. Do not allocate these for the other tx queues. - Use 16k jumbo clusters only on offload capable cards by default. - Do not allocate a full tx ring for the offload queue if the card is not offload capable. - Slightly better freelist size calculation. - Fix nmbjumbo4 typo, remove unneeded global variables. MFC after: 3 days
* Fix signed/unsigned mix-up that allowed txq->in_use to grow beyond txq->size.np2010-03-311-7/+6
|
* Fix tx drop statistics.np2010-03-313-28/+13
| | | | MFC after: 3 days
* Fix build with "nooptions INET"np2010-03-311-2/+13
| | | | | Requested by: bz MFC after: 3 days
* Do not attempt to retrieve interrupt information before it is available.np2010-03-311-1/+3
| | | | MFC after: 3 days
* Improved PHY EDC settings.np2010-03-311-371/+422
| | | | MFC after: 3 days
* Refresh the firmware version immediately after it is upgraded (or downgraded).np2010-03-311-4/+12
| | | | MFC after: 3 days
* Merge OpenBSD revisions 1.4 through 1.9, mostly style cleanups.delphij2010-03-301-8/+9
| | | | | Obtained from: OpenBSD MFC after: 3 month
* This patch should fix handling of byte range locks locallyrmacklem2010-03-306-279/+525
| | | | | | | | | | | on the server for the experimental nfs server. When enabled by setting vfs.newnfs.locallocks_enable to non-zero, the experimental nfs server will now acquire byte range locks on the file on behalf of NFSv4 clients, such that lock conflicts between the NFSv4 clients and processes running locally on the server, will be recognized and handled correctly. MFC after: 2 weeks
* Remove unused files.delphij2010-03-303-617/+0
|
* Sync with OpenBSD:delphij2010-03-302-6/+5
| | | | | | | | | - avoid coredump when there's only one token on a line; - Use calloc(); - Remove a line inherited from example mdoc. Obtained from: OpenBSD MFC after: 1 month
* For where possible, make the dates of the Tasmanian holidays properlyedwin2010-03-301-8/+22
| | | | | variable. The leftover ones are the Thursday before the Fourth Saturday of October (Oct/SatFourth-2) which is not possible yet.
* nit: xpt_bus_deregister has to be called with the sim lock held.mjacob2010-03-301-0/+4
| | | | MFC after: 1 month
* fix my clobber of the copyright date :)jfv2010-03-301-1/+1
|
* Use CACHE_LINE_SIZE alignment for 'struct pcpu' rather than hardcoding 128.jhb2010-03-301-1/+1
| | | | Reviewed by: jeff
OpenPOWER on IntegriCloud