summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2015-01-02Identify NCT5104D variant in dmesg. (No lm here, these are used for com andChris Cappuccio
gpio pins on SuperMicro and PC Engines.) ok kettenis@
2015-01-02there's no need to defer the removal of the iic sensors to a task, we canDavid Gwynne
just remove them directly. tested by krw@
2014-12-22unifdef INETTed Unangst
2014-12-19Use taskq rather than workq to remove unwanted alias.Kenneth R Westerback
ok mikeb kettenis (for earlier version)
2014-12-17Prefer MADV_* over POSIX_MADV_* in kernel for consistency: the latterPhilip Guenther
doesn't have all the values and therefore can't be used everywhere. ok deraadt@ kettenis@
2014-12-15Use MAP_INHERIT_* for the 'inh' argument to the UMV_MAPFLAG() macro,Philip Guenther
eliminating the must-be-kept-in-sync UVM_INH_* macros ok deraadt@ tedu@
2014-12-11Do not blindly dereference hw_vendor and hw_prod without checking them forMiod Vallat
NULL first, for they are not guaranteed to be allocated. Found the hard way by Tobias Stoeckmann; ok deraadt@
2014-12-10Convert watchdog(4) devices to use autoconf(9) framework.Mike Belopuhov
ok deraadt, tests on glxpcib and ok mpi
2014-12-10Add skgpio(4) a driver for the Soekris net6501 GPIO and LEDsJonathan Gray
from Matt Dainty.
2014-12-04as promised 18 years ago, consolidate isa floppy disks in files.isaTed Unangst
ok deraadt
2014-12-03More duplicate #include cleanout.Kenneth R Westerback
ok deraadt@ tedu@
2014-11-24use the correct capitalization for Realtek.Brad Smith
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
2014-10-18oops, too greedyMiod Vallat
2014-10-18Remove even more unnecessary `needs-flag' attributes from config machinery,Miod Vallat
as well as useless include of the generated flag files.
2014-10-12Remove unnecessary `needs-flag' attributes.Miod Vallat
2014-10-12Remove unnecessary `needs-flag' attributes.Miod Vallat
2014-09-21Directly include sys/timeout.h so we don't depend onJonathan Gray
indirectly including it via dev/ic/pckbcvar.h Fixes kernel builds without ukbd(4) and pckbd(4). From Atticus on tech@
2014-09-14remove uneeded proc.h includesJonathan Gray
ok mpi@ kspillner@
2014-08-11Fewer <netinet/in_systm.h>Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-07-10remove most of the boolean_t infection outside uvm/ddb/pmap; ok jsgTheo de Raadt
2014-06-15Fix a few format string bugs with -DDEBUGStefan Fritsch
2014-04-28Move an opening brace so a loop that delays while waitingJonathan Gray
for hardware to set a ready bit actually delays. ok krw@ deraadt@ 'sounds correct' miod@
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
<uvm/uvm.h> if possible and remove double inclusions. ok beck@, mlarkin@, deraadt@
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2013-12-28Attempt to approximate what should happen on a suspend/resume cycle.Theo de Raadt
If the driver was doing some IO, we remove the timeouts, and force the fdc state machine into IOTIMEDOUT state with the final timeout count before a clean retry. In theory upon resume it should freak out quietly, and try the operation again. Noone has stepped forward to test this yet.
2013-12-09use new com.c bus-independent suspend/resume code, rather than trying toTheo de Raadt
craft broken local code here ok kettenis
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
kernel resumes normal (non-cold, able to run processes, etc) operation. Previously we were relying on specific DVACT_RESUME op's in drivers creating callback/threads themselves, but that has become too common, indicating the need for a built-in mechanism. ok dlg kettenis, tested by a sufficient amount of people
2013-11-29Change the sc_model field type from unsigned to signed since the model can beBrad Smith
set to SB_UNK which has a value of -1. sb.c:307:8: error: comparison of 0 <= unsigned expression is always true [-Werror,-Wtautological-compare] ok deraadt@
2013-11-26Instead of comparing the lower and higher addresses of all the multicastMartin Pieuchot
entries to decide if the IFF_ALLMULTI flag should be set, check if there is at least one real range between them. This should not change the behavior of any driver but if you encounter any problem, feel free to revert the offending chunk and ping me about it. ok naddy@, dlg@
2013-11-21remove the #define b_cylinder b_resid from bufs. i hated theDavid Gwynne
overloading of that thing. the only hardware that seems to care about cylinders in our tree are floppy drives, and the drivers for those calculate their own cylinders from logical block addresses and ignore whatever the rest of the kernel thought b_cylinders should be. most of this diff is moving the floppy drivers to using b_resid as a resid and using that as part of the calculation for real cylinder values. the rest of the diff is getting rid of the useless assignments to b_cylinder that dont get used by anything (now that disksort is gone). ok miod@
2013-11-15ansify some function definitions.Brad Smith
no functional change. ok sthen@
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
variables. Some random whitespace/knf repairs encountered on the way. ok miod@ on inspection, feedback & more suggestions from millert@
2013-11-01move fd(4) from directly using disksort to using bufqs.David Gwynne
tested by me and rapha@
2013-10-20Use C99 named initializers for struct wsdisplay_accessops fields.Miod Vallat
No functional change.
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.
2013-08-07Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Just remove these include lines. Compiled on amd64 i386 sparc64; OK henning@ mikeb@
2013-07-14The "probe" interrupt handler is mpsafe; mark it as such.Mark Kettenis
ok matthew@
2013-06-26Remove some lies in comments.Mark Kettenis
2013-06-12Add suspend/resume support to lpt. Basically, ensure that DACT_SUSPENDTheo de Raadt
stops the timeouts, and that DVACT_RESUME unwedges the soft state and bring the hardware state back to normal operation. Tested by rpe, thanks a lot!
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-24Since audio code is mp safe, establish isa and pci audio interruptsAlexandre Ratchov
with the IPL_MPSAFE flag. In certain circumstances, this prevents interrupt handlers from waiting the global kernel_lock possibly (hold by slower code) to be released. ok kettenis
2013-05-23Revert Active PS/2 support for now, until we find a solution suitableTobias Stoeckmann
for chipsets which stopped working. ok mpi
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-04-20Enable active PS/2 multiplexing if available.Tobias Stoeckmann
Supported for i386 and amd64 except SMALL_KERNEL. Based on Miod's former work on this subject. ok mpi
2013-04-10Fix various glitches in queue macro usage.Philip Guenther
ok millert@
2013-04-05unfinished opti device code is never called or usedTed Unangst
2013-03-21Attach on ITE 8728.Bryan Steele
it0 at isa0 port 0x2e/2: IT8728F rev 1, EC port 0x228 ok deraadt@