summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Merge ACPICA 20100806.jkim2010-08-062-7/+1
|
* Put the early setting of the MAC type back, itsjfv2010-08-061-0/+3
| | | | removal resulted in broken code in MSIX setup.
* Figure which is the IO and MEM bars- do not assume that they are inmjacob2010-08-061-4/+17
| | | | | | | | a fixed order. PR: 149220 Obtained from: John Baldwin MFC after: 1 month
* Disable sync cache for the Transcend Jetflash V90. It is more specifickib2010-08-061-0/+2
| | | | | | | quirk over the general one for transcend sticks. Submitted by: Mykola Dzham <i levsha me> MFC after: 1 week
* Mark /dev/zero and /dev/null as eternal.kib2010-08-061-4/+4
| | | | | In collaboration with: pho MFC after: 1 month
* Reduce Tx interrupt moderation timer from 50ms to 1ms. The defaultyongari2010-08-061-2/+2
| | | | | | | value resulted in poor performance for UDP packets. With this change, UDP bulk transfer performance is more than 940Mbps. While I'm here fix a wrong register definition.
* - Retire acpi_pcib_resume(). It is has just been an alias forjhb2010-08-055-46/+6
| | | | | | | | | bus_generic_resume() since the pci_link(4) driver was added. - Change the ACPI PCI-PCI bridge driver to inherit most of its methods from the generic PCI-PCI bridge driver. In particular, this will now restore PCI config registers for ACPI PCI-PCI bridges. Tested by: Oleg Sharoyko osharoiko of gmail
* Do not free sc if attach failed, as it was allocated by the busgavin2010-08-041-1/+0
| | | | | | | | | | infrastructure, not us. This appears to be a leftover from an older version of the driver. Submitted by: avg Tested by: Anton Shterenlikht <mexas bristol.ac.uk> MFC after: 1 week X-MFC-Note: To stable/8 and stable/7 only
* Catch known CPUs before using IA32_TEMPERATURE_TARGET.delphij2010-08-041-28/+40
| | | | | | | | | This way we would have an opportunity to hide the Tj(target) value doesn't seem right stuff if we know it's not working there. Add temperature value for Core2 Duo Extreme Mobile that I have access to.
* Add support for ATI Radeon HD 4250.olli2010-08-031-0/+1
| | | | | | | | PR: kern/149041 Submitted by: olli Reviewed by: rnoland Approved by: des (mentor) MFC after: 1 week
* Change copyright holder to author. We prefer using a real legaldelphij2010-07-303-3/+3
| | | | | | | entity for copyright holders. Approved by: sephe MFC after: 3 days
* Consistently check header type after reading PCIR_HDRTYPE register.yongari2010-07-291-18/+23
| | | | | | | While I'm here use defined macro instead of using magic numbers for header type. Reviewed by: jhb
* Improve cputemp(4) driver wrt newer Intel processors, especiallydelphij2010-07-291-13/+47
| | | | | | | | | | | | | | | Xeon 5500/5600 series: - Utilize IA32_TEMPERATURE_TARGET, a.k.a. Tj(target) in place of Tj(max) when a sane value is available, as documented in Intel whitepaper "CPU Monitoring With DTS/PECI"; (By sane value we mean 70C - 100C for now); - Print the probe results when booting verbose; - Replace cpu_mask with cpu_stepping; - Use CPUID_* macros instead of rolling our own. Approved by: rpaulo MFC after: 1 month
* Make sure that we clear the correct bits when we turn offgnn2010-07-292-21/+34
| | | | | | | | | | | a PMC. It was possible that we could have turned a bit on but never cleared it. Extend the calls to rdmsr() to all necessary functions, not just those which previously caused a panic. Pointed out by: jhb@ MFC after: 1 week
* Fix test for double-nul characters that terminate the string table atjhb2010-07-291-1/+1
| | | | | | | the end of each SMBIOS/DMI structure. Submitted by: Dmitrij Tejblum @ yandex.ru MFC after: 3 days
* Fix 'pciconf -a' by providing an implementation of PCIOCATTACHED.neel2010-07-291-0/+10
| | | | | | | Reviewed by: imp MFC after: 1 week Pointed out by: Heymian Wong (heymian at mit.alum.edu) Sponsored by: NetApp
* Add quirk for Apacer HT202 USB 2.0 Flash Drive.tijl2010-07-282-0/+5
| | | | | | PR: usb/107243 Approved by: kib (mentor) MFC after: 1 week
* Provide descriptions for three vendors and four devices in usbdevs. Usegavin2010-07-281-0/+13
| | | | | | | | the official vendor listed for 0x076b, rather than Omnikey, as in the PR. PR: usb/123351 Submitted by: Marcin Cieslak <saper SYSTEM.PL> MFC after: 1 week
* Add support for the Corega CG-USBRS232R to uplcom(4)gavin2010-07-282-0/+3
| | | | | | PR: usb/129173 Submitted by: SHIMAOKA Shunsuke <shimaoka.shunsuke gmail.com> MFC after: 1 week
* Fix clang warning on empty statement.mdf2010-07-281-2/+2
| | | | | Reviewed by: rdivacky, zml Approved by: zml (mentor)
* Fix clang warning on empty statement.mdf2010-07-281-5/+5
| | | | | Reviewed by: rdivacky, zml Approved by: zml (mentor)
* Support the Pyramid KBS USB LCD under uftdi(4)gavin2010-07-282-0/+2
| | | | | | PR: usb/129758 Submitted by: joao lima <jlima visionware.pt> MFC after: 1 week
* Fix the entry for the Option ICON452 where an underscore was used instead ofthompsa2010-07-271-1/+1
| | | | | | whitespace. Submitted by: Lucius Windschuh
* Prevent uhid(4) from attaching to the Liebert PowerSure Personal XT UPS.gavin2010-07-272-0/+5
| | | | | | PR: usb/129251 Submitted by: Andrew D Wiles <adw+gnats avatastic.co.uk> MFC after: 1 week
* Add support for the Longcheer WM66 USB HSDPA Modem to u3g(4)gavin2010-07-272-0/+5
| | | | | | | | | This patch is different to that provided in the PR, due to the changes in this driver since 7.x. PR: usb/129945 Submitted by: Antonio Hilario <avahilario gmail.com> MFC after: 1 week
* - Support two devices made by West Mountain Radio in uslcom(4) [1]gavin2010-07-272-5/+38
| | | | | | | | | | | | - Bring in several other devices from OpenBSD while here. Use the official manufacturer name over the OpenBSD name in the case of GEMALTO. Reorder list slightly to aid future syncing. - Remove duplicate SILABS CP2102 define from usbdevs PR: usb/131912 [1] Submitted by: Jack Twilley <mathuin gmail.com> [1] MFC after: 1 week
* Fix an apparent typo.jkim2010-07-261-1/+1
| | | | | Found by: clang Reviewed by: davidch, yongari
* Prevent uhid(4) from attaching to the Gembird Silver Shield remote powergavin2010-07-262-0/+2
| | | | | | | | | | plug. Note that the Vendor ID 0x04b4 is officially assigned to Cypress, so use that instead of adding a second vendor with an identical ID, in the same way other similar cases are treated in usb/usbdevs. PR: usb/132785 Submitted by: Dirk-Willem van Gulik <dirkx webweaving.org> MFC after: 1 week
* Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrumgavin2010-07-262-1/+4
| | | | | | | | Analyzer is attached. PR: usb/134631 Submitted by: Jesse Kempf <jkempf davisvision.com> MFC after: 1 week
* - Change the warning about PCI-e links narrower than x8 to only apply tojhb2010-07-261-13/+11
| | | | | | | | | 10G cards. 1G cards are x4 only. - Use constants from pcireg.h for reading the current link width. - Use pci_set_max_read_req() rather than implementing it by hand. Reviewed by: np MFC after: 1 week
* - Remove some extra white space.jh2010-07-261-9/+7
| | | | - Wrap g_md_dumpconf() prototype to 80 columns.
* Remove the acpi_aiboost driver. It has been replaced by aibs(4).rpaulo2010-07-251-353/+0
|
* Export PCI IDs of ATA/SATA controllers through CAM and ata(4) layers tomav2010-07-255-6/+46
| | | | | GEOM. This information needed for proper soft-RAID's on-disk metadata reading and writing.
* Give a name to the HTC Wizard Smartphonegavin2010-07-252-2/+3
| | | | | PR: usb/135575 Submitted by: lioux
* ichwd: correct range check for timeout valueavg2010-07-241-2/+2
| | | | | | | | This is similar to a fix in r189305 but for earlier ICH versions (<= 5). Reported by: someone via attilio Discussed with: des, attilio MFC after: 1 week
* style(9) fixgnn2010-07-241-4/+8
| | | | MFC after: 1 week
* Fix a bug in the statistics code for tracking the head andgnn2010-07-231-10/+82
| | | | | | | | tail pointers of the tx and rx queues. We needed a SYSCTL_PROC to correctly get the values at run time. Submitted by: Andrew Boyer aboyer at averesystems.com MFC after: 1 week
* Fixes a mistake to calculate CALC_COEFF2() value that tmp[3] isweongyo2010-07-221-2/+2
| | | | | | | | used even if it's unreachable. PR: kern/144505 Submitted by: Henning Petersen <henning.petersen at t-online dot de> MFC after: 1 week
* Convert md(4) to use alloc_unr(9) and alloc_unr_specific(9) for unitjh2010-07-221-12/+20
| | | | | | | number allocation. The old approach had some problems such as it allowed an overflow to occur in the unit number calculation. PR: kern/122288
* Apply vendor version 1.20.00.17.delphij2010-07-212-407/+1339
| | | | | | | | | | | | | | This version adds support for ARC1880; additionally this version fixed an issue where all devices on a SAS port gets offlined when any device failed on the port [1]. Many thanks to Areca for continuing to support FreeBSD. PR: kern/148502 [1] Submitted by: Ching-Lung Huang <ching2048 areca com tw> Obtained from: Areca Tested by: Rich Ercolani <rercola acm jhu edu> [1] MFC after: 2 weeks
* KTR_CTx are long time aliased by existing classes so they can't serveattilio2010-07-213-3/+3
| | | | | | | | their purpose anymore. Axe them out. Sponsored by: Sandvine Incorporated Discussed with: jhb, emaste Possible MFC: TBD
* Fix several un-/signedness bugs of r210290 and r210293. Add one more check.mav2010-07-201-3/+3
|
* Extend timer driver API to report also minimal and maximal supported periodmav2010-07-201-5/+11
| | | | | | lengths. Make MI wrapper code to validate periods in request. Make kernel clock management code to honor these hardware limitations while choosing hz, stathz and profhz values.
* - Support for Globetrotter iCON 452.thompsa2010-07-202-22/+115
| | | | | | | | | | | | | | - Fixed the interface probe routine to only attach to USB interfaces the driver actually supports. This allows other drivers to attach to things like MicroSD slots etc. - Fixed network interface enumeration to be globally sequential instead of relying on the USB interface numbers. This make sure the first network interface always is at uhso0 and the second at usho1 and so on. - Added a radio kill switch; exposed through sysctl. - Updated the manual page to be verbose about the number of serial ports and include iCON 452 in the set of tested hardware. Submitted by: Fredrik Lindberg
* Specify BCE_RX_BUF_ALIGN alignment for RX buffers. All bce(4)yongari2010-07-192-1/+2
| | | | | | controllers require RX buffers aligned on BCE_RX_BUF_ALIGN bytes. Reviewed by: davidch
* Specify BUS_DMA_ZERO flag to bus_dmamem_alloc(9) and remove bzero()yongari2010-07-191-19/+14
| | | | | | | | calls. Also add BUS_DMA_COHERENT flag to bus_dmamem_alloc(9) to take advantage of efficient synchronization for architectures that support that feature. Reviewed by: davidch
* Use bus_get_dma_tag() to get parent tag. Also useyongari2010-07-191-3/+3
| | | | | | | BUS_SPACE_MAXSIZE_32BIT to specify sum of all segment lengths. Previously it used MAXBSIZE which was wrong. Reviewed by: davidch
* Add KASSERT to check number of returned DMA segments.yongari2010-07-191-0/+2
| | | | Reviewed by: davidch
* Fix naming to be consistent.adrian2010-07-191-2/+2
|
* Extend the mx25l erase function to support different erase commands.adrian2010-07-191-3/+3
|
OpenPOWER on IntegriCloud