summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
2011-04-07Iopoolification of another once common bus/device.Kenneth R Westerback
2011-04-05- use nitems() no binary change on amd64Jasper Lievisse Adriaanse
"reads OK" claudio@
2011-04-04Hit this code with a big hammer. It now works on the X201/T510 seriesTheo de Raadt
machines after warm boot or resume. Some of the checks being made were nonsense. Also tested by claudio and guenther. ok jsg
2011-04-03Iopoolification of some less common scsi drivers.Kenneth R Westerback
ok dlg@ ("miod will not object" dlg@)
2011-01-20add IT8721 supportOleg Safiullin
2011-01-05remove debug codeTheo de Raadt
2011-01-04Support machdep.lidsuspend support in apm(4) land, at least on thinkpadsTheo de Raadt
which have aps(4). You can now turn off the BIOS option for lid suspends, and control it with sysctl.
2010-11-18Do not #include <sys/dkstat.h> if you don't need anything from it.Miod Vallat
ok krw@ deraadt@
2010-09-23Introduce a DKF_NOLABELREAD flag, which is used by a device to preventJoel Sing
automatic reading of disklabel on attach. ok deraadt@ miod@ krw@
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
no point in keeping it around. "i like this" thib@ (a while back); ok krw@ and oga@; reminder to update the man page and tweaks jmc@
2010-09-08Store a struct device pointer within struct disk and populate this whenJoel Sing
disk_attach() is called by the device driver. We will be building on this shortly. ok deraadt@ krw@
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
traversal code to suspend/resume ok oga kettenis blambert
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod. (missed file)
2010-08-31activate function should return result of config_activate_childrenTheo de Raadt
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
ok miod@; "please go ahead" jsing@
2010-08-28ansify function definitions, and constify a few arrays while there.Miod Vallat
no functional change.
2010-08-28Remove dead code, ansify, and clean the match routine; adapted from a diffMiod Vallat
by Alexandr Shadchin (firstname dot lastname at gmail) on tech@
2010-08-27Mutilate the powerhook function into an activate function, then createTheo de Raadt
a stub powerhook function to call it.
2010-08-20fix an annoying indentation glitchTheo de Raadt
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback
Bogus chunks pointed out by matthew@ and miod@. No cookies for marco@ and jasper@. ok deraadt@ miod@ matthew@ jasper@ macro@
2010-08-06com@isa suspend and resume; logic cloned from ../puc/com_puc.cTheo de Raadt
ok kettenis
2010-07-31Factorization of the bluetooth and usb hid input driver logic, to reduce codeMiod Vallat
duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
2010-07-31add SA3_XXX macros removed by mistake with opl, but used by ym mixerAlexandre Ratchov
from mk@
2010-07-31unbreak ym.c, opl3sa3reg.h doesn't exist any longerAlexandre Ratchov
noticed by mk@
2010-07-31remove the ``midisyn'' framework and anything using it, i.e., the oplAlexandre Ratchov
device and the midi interface to pcppi.
2010-07-31fix typo preventing compilation with AUDIO_DEBUGAlexandre Ratchov
2010-07-24missed a couple indents in previousJacob Meuser
2010-07-23ANSI/style(9), no binary changeJacob Meuser
2010-07-22Reset the keyboard controller on resume, and also alert the childrenTheo de Raadt
(pckbd and pms) to do their part started by mlarkin, cleaned up by me ok miod
2010-07-21Disable the heuristics for legacy free systems if pckbc flags are set to 1Miod Vallat
in UKC; found the hard way by jakemsr@ on an old Tecra laptop.
2010-07-18Add support for Winbond/Nuvoton W83627DHG-P.Mark Kettenis
From Mitja Muzenic.
2010-07-15add two new members to structs audio_encoding and audio_prinfo.Jacob Meuser
for both structs, the new members are 'bps' and 'msb', which describe the number of bytes per sample and data alignment in the sample, respectively. drivers must properly set these fields in the 'query_encoding', 'set_parameters' and 'get_default_params' hardware interface methods. discussed with ratchov, deraadt
2010-07-08use config_activate_children to activate children that might need itTheo de Raadt
2010-07-02timeout_add -> timeout_add_msecBret Lambert
2010-07-02some very obvious uninit bugs found when I turned off -Wno-uninitializedTed Unangst
ok deraadt
2010-06-30timeout_add -> timeout_add_msecBret Lambert
ok jakemsr@, who promises to deal with any fallout, because he's a stand-up guy
2010-06-30* use audio(9)'s DMA trigger methods instead of the init/startJacob Meuser
methods. the AD1848 DMA engine runs continuously and doesn't need to be started/stopped or otherwise manipulated for each block. makes the driver a bit more efficient. * allow "Mode 2" capable chips such as the CS4231 to work in "Mode 1" when there is only one DMA channel, instead of forcing it into "Mode 2", which expects two DMA channels. allows recording to work for "Mode 2" capable devices when there is only one DMA channel. * service both playback and recording interrupts in full-duplex mode, instead of only playback interrupts. allows "Mode 2" capable chips to work in full-duplex mode. * fix checks for sample rate/format recalibration completion. gets rid of busy loops that briefly "hang" the kernel when the device is opened and/or reconfigured.
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback
step in elminating 'struct scsi_device' entirely. Spotted and initial diff from matthew@. ok matthew@ dlg@ deraadt@ marco@ miod@
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
it defines. In some cases, this means pulling in uvm.h or pcb.h instead, but most of the inclusions were just noise. Tested on alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax, mostly by krw and naddy. ok krw@
2010-06-24- remove ISAPNP_FREE and ISAPNP_MALLOC macro's and just use them inline.Jasper Lievisse Adriaanse
ok thib@ deraadt@
2010-06-03take care of some half-baked CPU temperature readings seen in wildTheo de Raadt
from Mikko Tolmunen
2010-05-23move hp300 to -D__hp300__; ok miodTheo de Raadt
2010-05-20New scsi code seems to be stable. Pluck previously identifiedKenneth R Westerback
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
gets rid of #include <sys/dkio.h> in sys/ioctl.h and adds #include <sys/dkio.h> to the places that actually want and use the disk ioctls. this became an issue when krw@'s X build failed when he was testing a change to dkio.h. tested by krw@ help from and ok miod@
2010-04-28s/i386/__i386__/, no binary change.Mark Kettenis
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
identifier, allowing the disk to be identified without relying on the device name. ok deraadt@ krw@ beck@ marco@ todd@
2010-04-20for some systems we need to try harder; from Mikko TolmunenTheo de Raadt
2010-04-03instead of returning EINVAL if an unsupported sample rate wasJacob Meuser
requested, just use a supported sample rate. makes paramter negotiation much easier. problem noted and patch tested on several sb(4) devices by J.C Roberts, thanks.
2010-03-28put the iosize next to the register definitionsTheo de Raadt