summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2008-10-25audio(9) says low level drivers are allowed to change the requestedJacob Meuser
values of the audio_params structure during AUDIO_SETINFO if the hardware cannot be set to exactly the requested mode. some drivers do this sometimes. others always return EINVAL if there isn't an exact match. be more consistent. only return EINVAL if an absurd parameter was requested, otherwise return a supported set of parameters, as close as possible to what was requested. with/ok ratchov@
2008-10-23Round up to the nearest minute 16-bit timeout values for older IT8712 chips.Oleg Safiullin
2008-10-22o add FAN4 and FAN5 sensors for IT8716/8718/8726Oleg Safiullin
o always use 16-bit FAN counters for IT8716/8718/8726 o do not try to poll sensors disabled by BIOS o sync VIN5 & VIN6 sensors description w/ ITE docs tested by naddy@ weerd@
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-10-11Fix various printf constructs either missing arguments or format specifiers.Miod Vallat
2008-10-08better commentsOleg Safiullin
2008-10-08Older IT8712F chips have 8-bit watchdog timeout counter.Oleg Safiullin
Use minutes for 16-bit values.
2008-10-08o chip revision is 4-bit valueOleg Safiullin
o some #define's instead of digits
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-12SCSI_DATA_UIO is never used. Code which checks for it is either dead orMiod Vallat
commented out, remove it. Unifdef TFS while there. ok marco@ krw@
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-06-27Access the embedded controller according to the documentation referencedCan Erkin Acar
from the hdaps linux driver, and update model detection. Now works on newer thinkpad models. Suggestions from jsg@, tested by many.
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
RAW_PART will always be 0 -> disksize, so the bounds check will always pass for i/o's to valid addresses. Now the i/o will be properly truncated if it goes past the end of the device. This prevents various adverse impacts of issuing i/o's for data past the end of the device. Repeatedly requested by todd@. ok weingart@ deraadt@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-05-22More timeout(9) usage cleaned up.Michael Knudsen
ok claudio
2008-05-21regenMiod Vallat
2008-05-21More pccom referencesMiod Vallat
2008-05-21Switch i386 from pccom to com. Welcomed by many.Mark Kettenis
ok dlg@, jsing@, deraadt@
2008-04-27Make sure we actually use thesa pnp probe functions.Mark Kettenis
2008-04-27Don't mix up parent and child.Mark Kettenis
ok dlg@
2008-04-27our attach functions dont return anything.David Gwynne
2008-04-27missing argument names in a function means it wont compile.David Gwynne
2008-04-23Remove driver for pre 802.11 RangeLAN2 wireless devices.Jonathan Gray
It doesn't compile, was never finished, is now irrelevant, and miod has taken it apon himself to scare good boys and girls by suggesting they read the code. ok dlg@
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-08Fix dmesg printing in the case that no device attaches.Mark Kettenis
ok miod@, deraadt@
2008-04-07Hardware monitor address should be 8-byte aligned.Mark Kettenis
ok deraadt@
2008-04-07snprintf "%s" -> strlcpyOleg Safiullin
2008-04-07fix snprintf usageOleg Safiullin
2008-04-07more cosmetic changesOleg Safiullin
2008-04-07some cosmetic changesOleg Safiullin
2008-04-05fix comment for it(4)Oleg Safiullin
2008-04-03Switch it(4) back to PnP config mode. Avoid possibleOleg Safiullin
conflicts with SMSC or similar chips.
2008-03-31if iobase is 0, lm child is not configured by the bios; ok kettenisTheo de Raadt
2008-03-22Add support for DIOCRLDINFO, DIOCGPDINFO, DIOCGPART to the fdKenneth R Westerback
driver(s). Adapted from sd driver. ok marco@
2008-03-21Fix typo/pasto in commented out debug printf(). sc_dv -> sc_dev.Kenneth R Westerback
2008-03-20Bring isa/fd.c into line with sparc/sparc64 fd code and prepare allKenneth R Westerback
for the addition of missing disklabel related ioctl's. ok deraadt@
2008-03-19Driver for Fintek F71805F LPC sensor based on lm78 driver code;Theo de Raadt
written by Geoff Steckel
2008-02-18'like\nlike' -> 'like' in a couple of comments.Kenneth R Westerback
From Giovanni Bechis.
2008-02-17Enter wbsio(4), a driver for the Winbond LPC Super I/O chips.Mark Kettenis
ok henning@
2008-01-14return earlier if the device index is negativeJacob Meuser
ok ratchov
2007-12-24alwais unmap i/o space in it_matchOleg Safiullin
2007-12-23Look for environment controller first, and access ITE SuperIO address/dataOleg Safiullin
ports only if we found one. Fixes possible issues with some notebook chipsets. ok deraadt@ tested by me, jcs@ and Rodolfo Gouveia
2007-12-20add original copyrightOleg Safiullin
bad me
2007-12-18New it(4) driver.Oleg Safiullin
Supports ITE IT8705/8712/8716/8718/8726 and SiS SiS950 hardware monitors and ITE IT8712F/8716F/8718F/8726F watchdog timer.
2007-11-05More scsi_done() at SPLBIO.Kenneth R Westerback
2007-11-05More scsi_done() at SPLBIO. If you poll by manually calling theKenneth R Westerback
interrupt function, wrap the call in splbio/splx!
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