summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-11-05recognise (and use) ahci 1.2 controllers.David Gwynne
diff from Henrik Gustafsson
2007-11-05Use the acpi_{acquire,release}_global_lock() to implement the globalTobias Weingartner
functionality for ACPI. Has not shown any regressions, and may solve some EC race conditions. Ok gwk@, canacar@, ckuethe@
2007-11-05scsi_done() must be called at SPLBIO.Kenneth R Westerback
2007-11-05wait for the marvell firmware to become ok.David Gwynne
2007-11-05Take a bit more care to ensure that SCSI_POLL commands always returnKenneth R Westerback
COMPLETE and never SUCCESSFULLY_QUEUED.
2007-11-05audio encoding conversion cleanupJacob Meuser
- the endianness of the conversions don't depend on the endianness of machine the conversions are built on, but the endianness of the audio data itself. choose encoding conversions explicitly, instead of relying on #defines based on the endianness of the machine. - replace home-grown conversions with comparable conversions in auconv.c and mulaw.c - use the proper conversion for ulinear_be:16 -> slinear_le:16 in auixp(4) thanks ajacoutot@ and sthen@ for !x86 testing
2007-11-04Check for non-zero address if mapping to the extended addresses.Mike Belopuhov
Patch from Oleg Safiullin (a.k.a form@) ok kettenis canacar weingart
2007-11-04replace even more ctob/btoc with ptoa/atopMartin Reindl
2007-11-04Add support for the Meinberg PCI509 5V DCF77 time signal station receiver.Marc Balmer
With feedback from kettenis
2007-11-04regen.Marc Balmer
2007-11-04Add the Meinberg PCI509 card, a 5V DCF77 radio clock.Marc Balmer
2007-11-04start providing function pointers to differentiate between the intel andDavid Gwynne
marvell boards.
2007-11-04very initial foundation for splitting things up to support both theDavid Gwynne
traditional intel iop and the new marvell one used on the ARC-1200 rev B.
2007-11-04the 1200 and 1202 shoudl work fine too.David Gwynne
2007-11-04improve/repair locator printing; ok jsgTheo de Raadt
2007-11-04when the ati ahci stuff is in the ide compat mode, it can sometimes causeDavid Gwynne
a wdc(4) controller to appear. this code disables the compat mode using some magic niklas gleaned from the linux driver.
2007-11-03Notebook from ckuethe@ that notifies AC with 0x01, so add that in.Can Erkin Acar
cool ckuethe@
2007-11-03Fix LKM support for amd64.Mike Belopuhov
ok deraadt weingart
2007-11-03ACPI allows the OS to identify itself in a couple of ways and may behaveChris Kuethe
differently based on what OS is running. This diff causes us to run the RedmondOS code path in hopes that it is "better" AML, or has better settings for machine that do not support _OSI. This is the same method used by other non-Redmond operating sytems. suggestions/ok deraadt, agonized whimpers from the others.
2007-11-03Add acpi_acquire_global_lock(), and acpi_release_global_lock toGordon Willem Klok
amd64 the not ghetto architecture. ok toby@
2007-11-03Remove a useless printf, hit if acpicpu is disabled.Gordon Willem Klok
ok beck@
2007-11-03Added support for displaying wakeup devicesJordan Hargrave
ok beck@,weingart@,gwk@
2007-11-03quiet a noisy printf, requested by deraadtDeanna Phillips
2007-11-03Add missing else so that Concatanation of two buffers work.Can Erkin Acar
Noticed by robert@ while diagnosing a problem report by Johan Lindman. ok weingart@
2007-11-03Fix setting values to buffers by obeying the conversion rules.Can Erkin Acar
The values are truncated or zero extended as required. The spec is somewhat ambigious on strings and integers requiring truncation "before copy" so we try to be safe and zero terminate the buffer in case the source is string. Reported by ckuethe@, diagnosis, initial diff and feedback by kettenis@ ok kettenis@, beck@, weingart@, robert@, gwk@, ckuethe@
2007-11-03less colonsTheo de Raadt
2007-11-03Remove those words...Chris Kuethe
2007-11-03repair attach messages; ok gwk canacarTheo de Raadt
2007-11-03ACPI allows the OS to identify itself in a couple of ways and may behaveChris Kuethe
differently based on what OS is running. This diff causes us to run the WinNT code path in hopes that it is "better" AML, or has better settings for machine that do not support _OSI. This is the same method used by other non-windows operating sytems. ok gwk, beck, jordan
2007-11-03Changed aml_parselength to use incremental length calcJordan Hargrave
ok canacar@
2007-11-03Revert last commit which added ieee80211_rate2plcp() andMarcus Glocker
ieee80211_plcp2rate() because I've got a late feedback from Damien that he dislike the implementation method a lot.
2007-11-03two fixes from FreeBSD:Damien Bergamini
- fix an incorrect setting of `retry times' in case of zd1211b - increase max rx size so there's room for multi-frame transactions (slightly modified version) from the Linux zd1211rw driver: - patch registers CR47 and CR157 on devices that require it - fix power calibration setting on ZD1211B
2007-11-03fix ENETRESET handling in {wpi,iwn}_ioctl() so that the firmware won'tDamien Bergamini
panic when resetting the device - requested by many fix ifconfig -M (the interface still has to be down though ie it won't work while the interface is up). fix AMPDU window for 4965AGN (has no effect since 802.11n is not supported yet).
2007-11-03use DEVICE_IS_VGA_PCI in vga_pci_match()Martin Reindl
ok brad@ fgsch@ also tested by oga@
2007-11-03don't spam dmesg with huge, whitespace padded bios strings.Chris Kuethe
ok beck, gwk
2007-11-03change what happens when acpi is enabled to include "relatively safe"Bob Beck
stuff and have acpi actually do something. note acpi is still disabled by default, but now will do more stuff when enabled with config -e/boot -c ok gwk@, weingart@, canacar@, deraadt@
2007-11-03APM switchto cleanup diff. This uses the switchto functionality toTobias Weingartner
significantly clean up the APM idle loop things. I actually can make sense of what the APM idle loop is supposed to do. Ok gwk@, beck@, and theo says ramdisks compile.
2007-11-03Add acpi_acquire_global_lock() and acpi_release_global_lock() in MD locore.sTobias Weingartner
because it is easier to write these here in asm than it is to put them inline with gcc's __asm() construct. Also, chances are amd64's versions will need to be written in a different manner. Basically yanked from ACPI spec V3, section 5.2.10.1. Ok canacar@, beck@, gwk@
2007-11-02crank maxfiles; OK deraadt@Todd C. Miller
2007-11-02regenMike Belopuhov
2007-11-02Add a couple of PCI IDs for VMWare.Mike Belopuhov
From Oleg Safiullin.
2007-11-02replace ctob/btoc with ptoa/atop (plus the usual round_page() where needed)Martin Reindl
2007-11-02Label widgets based on default device or type rather than color+nodeDeanna Phillips
id. This lets the generic mixer init create more readable items. You may need to update your mixerctl.conf. Tested jmc@, ok ratchov@, jakemsr@ jdixon@
2007-11-02another SIIG Cyber 8S PCI 16C850 variantHenning Brauer
From: Kurt Mosiejczuk <kurt-openbsd-tech@se.rit.edu>
2007-11-02syncHenning Brauer
2007-11-02SIIG 2082Henning Brauer
2007-11-02Use the same cache cleaning address computation as done in cpufunc_asm_xscale,Miod Vallat
for there be dragons in xscale cache and it would not be cleaned correctly, leading to wrong pcb data being restored on resume and eventually causing panics.
2007-11-02Fix ram size output botched in my last change; reported byFederico G. Schwindt
Pablo Méndez Hernández.
2007-11-01Remove curproc definition. It is supposed to be in proc.h only.Mike Belopuhov
ok kettenis
2007-11-01Add ieee80211_rate2plcp() and ieee80211_plcp2rate() functions.Marcus Glocker
Help and OK reyk@