summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit casting in few places.pjd2009-02-231-12/+12
| | | | | | | | | It is only really necessary for open(2)'s third argument, which is optional and obtained through stdarg(3). open(2)'s third argument is 32bit and we pass 64 bits. On little endian it works, because we take lower 32 bits, but on big endian platforms we take upper 32 bits, so we end up with 0. Reported by: Milan Čermák <Milan.Cermak@Sun.COM>
* Optimize free_pv_entry(); specifically, avoid repeated TAILQ_REMOVE()s.alc2009-02-232-6/+6
| | | | MFC after: 1 week
* Use uiomove_fromphys() instead of the combination of sf_buf and uiomove().alc2009-02-221-34/+11
| | | | | | | This is not only shorter; it also eliminates unnecessary thread pinning on architectures that implement a direct map. MFC after: 3 weeks
* change tdma slave behaviour: if the channel is locked don't do bmiss handlingsam2009-02-221-3/+6
| | | | | | (so no scanning/roaming) Reviewed by: Chris Anderson
* display min/max dwell times in msecs in debug msgssam2009-02-221-3/+4
|
* Explicitly disable generation of Altivec instructions in the kernel on PowerPC,nwhitehorn2009-02-222-1/+4
| | | | and add support to allow users to set their CPUTYPE in make.conf.
* Add SATA and USB modes for completeness. USB modes principally can't be set,mav2009-02-222-7/+12
| | | | | | SATA mode setting is not implementes at this time. Submitted by: Christoph Mallon
* Simplify the unwiring and activation of pages.alc2009-02-221-4/+2
| | | | MFC after: 1 week
* - Punctuation fixes.pjd2009-02-221-9/+18
| | | | | | | | - New sentence - new line. Reported by: Ben Kaduk <minimarmot@gmail.com> - No more than 80 chars per line.
* Tune AHCI verbose messages to make log more readable.mav2009-02-221-12/+23
|
* Mention disk_gone() in disk(9).trasz2009-02-222-1/+10
| | | | Approved by: rwatson (mentor)
* Fix a typo and add manpage links to geom(4).trasz2009-02-221-1/+13
| | | | Approved by: rwatson (mentor)
* Fix typo.rpaulo2009-02-221-1/+1
|
* Remove one more place of master/slave terms usage.mav2009-02-221-2/+1
|
* Remove unnecessary page queues locking around vm_page_wakeup(). (Thisalc2009-02-221-7/+1
| | | | | | change is applicable to RELENG_7 but not RELENG_6.) MFC after: 1 week
* Use root_mount_hold and root_mount_rel to allow the USB bus to be exploredthompsa2009-02-222-0/+13
| | | | | before trying to mount root. Unlike USB1 the busses are not explored at attach but rather after threads are running.
* Use only higher half of device signature to identify device type. Somemav2009-02-214-15/+15
| | | | | devices return incorrect values in lower part confusing detection, while higher part itself gives enough information for proper detetion.
* Increase initial busy waiting time. If drive was hot-plugged, it may needmav2009-02-211-4/+4
| | | | much time to spin-up.
* - Resolve an issue where we may clear an idt while an interrupt on ajeff2009-02-212-0/+16
| | | | | | | | | | | different cpu is still assigned to that vector by never clearing idt entries. This was only provided as a debugging feature and the bugs are caught by other means. - Drop the sched lock when rebinding to reassign an interrupt vector to a new cpu so that pending interrupts have a chance to be delivered before removing the old vector. Discussed with: tegge, jhb
* Improve ata_reinit():mav2009-02-215-89/+48
| | | | | | | | | | | | | | - protect againtst recursions, - add new devices detection using ata_identify(). Improve ata_identify(): - do not add duplicate device if device already exist. Rework SATA hot-plug events handling. Instead of unsafe duplicate implementation use common ata_reinit() to handle all state changes. All together this gives quite stable and robust cold- and hot-plug operation, invariant to false, lost and duplicate events.
* Reduce the scope of the page queues lock in vm_object_page_remove().alc2009-02-211-1/+1
| | | | MFC after: 1 week
* o When creating the EBR scheme, set the number of entriesmarcel2009-02-211-0/+2
| | | | | | | | | | | | properly. Otherwise the minimum of 1 is used and you can only insert a single partition/slice and only at sector 0 (index 1). o When adding a partition/slice, recalculate the index after the start and size of the partition/slice are adjusted to make them a multiple of the track size. Since the precheck method sets the index based on the start of the partition as provided by the user, we know that we're off by at most 1 and adjusting the index is safe.
* Teach device drivers' ata_reinit() methods, that there can be more then twomav2009-02-214-14/+13
| | | | devices per channel.
* Sync with the official Adaptec vendor driver:attilio2009-02-215-119/+189
| | | | | | | | | | | | | | | | | | | | | [1] Add the support for the NARK controller which seems a variant of the i960Rx. [2] Split up memory regions and other resources in 2 different parts as long as NARK uses them separately (it is not clear to me why though as long as there are no more informations available on this controller). Please note that in all the other cases, the regions overlaps leaving the default behaviour for all the other controllers. [3] Implement a clock daemon responsible for maintain updated the wall clock time of the controller (run any 30 minutes)*. Submitted by: Adaptec (driver build 15317 [1, 2] and 15727 [3]) Reviewed by: emaste Tested by: emaste Sponsored by: Sandvine Incorporated * Please note that originally, in the Adaptec driver, the clock daemon is not implemented with callouts as in our in-tree driver.
* Fix build when WITH_SSP is set explicitly.ru2009-02-2117-30/+29
| | | | Submitted by: Jeremie Le Hen
* Add support for methods to the OSD subsystem. Each object type has ajamie2009-02-212-71/+180
| | | | | | | | | | | | | predefined set of methods, which are set in osd_register() and called via osd_call(). Currently, no methods are defined, though prison objects will have some in the future. Expand the locking from a single per-type mutex to three different kinds of locks (four if you include the requirement that the container (e.g. prison) be locked when getting/setting data). This clears up one existing issue, as well as others added by the method support. Approved by: bz (mentor)
* Add bootcode handling.marcel2009-02-211-13/+46
|
* Remove unnecessary opt* definations.delphij2009-02-211-3/+0
|
* Define extern **environ in global scope instead of in function.delphij2009-02-211-2/+2
|
* Utilize calloc() instead of bzero'ing manually.delphij2009-02-211-8/+4
|
* Initialize 'sz' as 0.delphij2009-02-211-2/+2
|
* Utilize strlcpy().delphij2009-02-211-6/+3
|
* Revert r188878 for the moment, this breaks kdump.thompsa2009-02-211-24/+0
|
* Include altivec.c, missed on previous commit r188860. This should unbreak thenwhitehorn2009-02-211-0/+1
| | | | build.
* Provide compat typedefs for usb1.thompsa2009-02-211-0/+24
|
* Disable port hardware on detach. First switch it to slumber mode tomav2009-02-201-0/+16
| | | | | power-down peer transmitter, then disable completely. Side effect of this is saving about 0.5W of power per detached device.
* mark nodes created by way of neighbor discovery need to be marked as ERPsam2009-02-201-0/+4
| | | | so they get the correct tx parameters setup by node_settxparms
* Don't read the TOC for DIOCGPROVIDERALIAS. This causes themarcel2009-02-201-1/+4
| | | | | acd code to create new provider (?), but not from an expected context, which results in a panic (GEOM topology not held).
* Fix typo: s/SLUMPER/SLUMBER/mav2009-02-201-1/+1
|
* correct SIFS setting; there is a 2usec adjustment between the calculatedsam2009-02-201-2/+2
| | | | | | value and what the hardware requires (based on inspection of INI values) Submitted by: Jiri Fojtasek <jiri.fojtasek@hlohovec.net>
* don't adjust core clk conversions for 1/2 and 1/4 rate channels; thesam2009-02-201-8/+0
| | | | | | mac runs at full speed so doing this breaks conversion for ifs parameters Submitted by: Felix Fietkau <nbd@openwrt.org>
* o reset aggressive mode flag; it was being left set after marking ansam2009-02-201-1/+2
| | | | | interface down o only allow the first vap to initialize shared wme parameters
* misc cleanup of wme parameter settingsam2009-02-201-63/+46
|
* Reduce soft-reset assertion time from 5ms to 50us.mav2009-02-201-1/+1
| | | | | | ATA specification declares minimal reset time of 5us. SATA keeps it, but requires devices to handle commands transmitted even one by one without any gap.
* Disable port interrupts before doing PHY reset.mav2009-02-201-0/+3
| | | | PHY reset causes drive connect/disconnect events, unwanted at this moment.
* Add Altivec support for supported CPUs. This is derived from the FPU supportnwhitehorn2009-02-209-54/+329
| | | | | | | | code, and also reducing the size of trapcode to fit inside a 32 byte handler slot. Reviewed by: grehan MFC after: 2 weeks
* Eliminate stale comments.alc2009-02-201-4/+0
|
* Add the add-stream capability. Still needs morerrs2009-02-2010-36/+281
| | | | | | testing.. MFC after: 1 month
* Delete files which serve no purpose in this environment.mr2009-02-205-237/+0
| | | | Inspired by: simon@
* Fix a bug. The sending was being restricted improperly byrrs2009-02-201-2/+2
| | | | | | | | the max_burst. It should only be gated by cwnd in the lower level send. Obtained from: Michael Tuexen MFC after: 1 week.
OpenPOWER on IntegriCloud