summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2009-03-25Add support for the watchdog timer.Michael Knudsen
``just have the balls and commit it'' deraadt
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2009-01-26Unify error message.Mark Kettenis
ok grange@, oga@, todd@
2009-01-24use more appropriate sensor_task_register(9) paradigm; ok mkConstantine A. Murenin
2009-01-24* eliminate redundant initialisations of .desc and .valueConstantine A. Murenin
* .status should never stay at OK permanently * use .flags more sparingly ok mk
2009-01-23Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providingMichael Knudsen
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
No functional changes. ok krw@ miod@
2009-01-16add IT8720F supportOleg Safiullin
thanks to Vit Skibinskiy <bucker(ik)skibinski.pp.ru>
2009-01-11Actual final round of timeout_add(to, n * hz) -> timeout_add_sec(to, n)Bret Lambert
conversions. ok kettenis@ ok krw@ (possibly for the second time :)
2008-11-28Eliminate the redundant bits of code for MTU and multicast handlingBrad Smith
from the individual drivers now that ether_ioctl() handles this. Shrinks the i386 kernels by.. RAMDISK - 2176 bytes RAMDISKB - 1504 bytes RAMDISKC - 736 bytes Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users. Build tested on almost all archs by todd@/brad@ ok naddy@
2008-11-27Needs explicit <sys/malloc.h> include; Georg SchwarzMiod Vallat
2008-11-25Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started.Kenneth R Westerback
"looks sane to me" marco@
2008-11-22cast pointer to correct type before passing it to bus space. Noticed whileOwain Ainsworth
de-inlining i386 bus_space. ok weingart@
2008-11-22com, not pccomTheo de Raadt
2008-11-21Remove the following extern declarations because they are onlyRobert Nagy
used in gus.c and this change also makes gcc4 happy extern const int gus_max_frequency[]; extern const ushort gus_log_volumes[]; extern struct audio_hw_if gusmax_hw_if; ok deraadt@
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.