summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2000-11-15Add EGA display driver files; from NetBSD. This should be the last of the MIAaron Campbell
parts needed for wscons on i386 and alpha.
2000-11-15This driver supports PC display adapter hardware within the wscons(4)Aaron Campbell
console framework. It doesn't provide direct device driver entry points but makes its functions available via the internal wsdisplay(4) interface. The pcdisplay driver is indended as a minimal ``catch-all'' driver for the different kinds of MDA or CGA compatible adapters. It doesn't support multiple screens, nor colors or font loading. From NetBSD. Contains routines used by the vga(4) and ega(4) drivers, etc. This is more MI stuff in prepartion for wscons on i386 and alpha.
2000-11-15Updated VGA driver; from NetBSD. Needed for wscons on i386 and alpha. TheseAaron Campbell
files could probably be updated even a bit further (they are from mid-summer). In addition, I've added support for console scrollback, somewhat inspired by Linux's vgacon driver. Basically, instead of allocating our own buffer and doing lots of copies, we take advantage of Video RAM and just modify the VGA display origin register as appropriate. This approach has a few advantages: simple to implement, no wasted KVM, it's fast, and after a boot you can now scroll back all the way to the BIOS messages (assuming your msgbuf is of a typical length :). Disadvantages are that the VRAM buffer is relatively small (only 32k) and we do not support raster devices through this method. (thanks to mickey@ for pointing this out). The code for this is fairly unobtrusive, so should we come up with a better approach to console scrollback at a later time (i.e., even more platform independent) it should be easy to revert this. We're one step further in porting nice features of PCVT over to wscons.
2000-11-13Machine-independent PC-like keyboard driver; from NetBSD. XXX - Not usedAaron Campbell
anywhere quite yet, but useful to have these files in the tree while we work towards wscons for i386 and alpha.
2000-11-13make compile with !UVMNiklas Hallqvist
2000-11-12new timeoutsMichael Shalayeff
2000-11-11new timeouts; compilesMichael Shalayeff
2000-11-11new timeouts; jason@ okMichael Shalayeff
2000-10-16Use mii_attach() directly instead of mii_phy_probe().Aaron Campbell
2000-09-29Oops, time to learn how to countMiod Vallat
2000-09-29Check N command operand value to prevent a panic with large values.Miod Vallat
Problem found by Thomas Coffy <karma@bsdfr.org>
2000-08-19MALLOC/FREE -> malloc/free ok art@Nathan Binkert
2000-07-21convert to new timeoutsMichael Shalayeff
2000-07-20chp->wdc can be NULL on probe.Constantine Sapuntzakis
Propagate verbose flag from cf_data to channel
2000-07-18be a bit more silent during fdc timeoutsTheo de Raadt
2000-07-03Carefully reset pcic register; ok @aaronNiklas Hallqvist
2000-07-03From NetBSD:Aaron Campbell
- Fix an incorrect interrupt sharing type. - Always clear PCIC_INTR_ENABLE; it doesn't do what one might think. - Eliminate stray interrupts during the IRQ probe.
2000-06-30New timeout API.Artur Grabowski
2000-06-28Make suspend -> eject card -> resume work.Aaron Campbell
On suspend, the apm code calls each function in its powerhook list. This list contains pointers to functions that are to be executed on PWR_SUSPEND and PWR_RESUME. One of these functions is pcmcia_power() which calls xxx_activate() for each PC Card that is connected with the action DVACT_ACTIVATE (where xxx is the name of the driver for the PC Card). On resume, the same thing happens, except the action is DVACT_ACTIVATE. Clearly, if a card is gone when we resume, trying to activate it is a bad idea. This commit adds a pcic_power() function that runs before pcmcia_power(). On resume, it uses pcic_intr_socket() to detect any events that occurred while we were suspended. (I had to split pcic_event_thread() into a threaded part and a non-threaded part, since the thread will not run when we are in interrupt context, but I need the events to be processed before pcmcia_power() runs.) So, by the time pcic_power() is through, all events that occurred during suspend have been processed, and pcmcia_power() will not try to activate cards that are not there since they have already been completely and properly detached. Note that event handling for card removals first calls the deactivate functions on the card then the detach functions. When we suspend, apm does the deactivate for us. So on resume, if we detect a card has been removed, we skip the deactivation step and just detach. We use the DVF_ACTIVE bit to determine whether or not deactivation has already occurred. Deactivating a device that has already been deactivated causes a panic.
2000-06-23Implement PCMCIA event polling. This will either complement interrupt-drivenAaron Campbell
event notification from the pcic (if an interrupt is available) or allow the insertion and removal of PCMCIA devices even if there is no IRQ for the pcic. Each socket is checked for status change every 0.5 seconds using art's timeout code. Insertion and removal events should no longer ever go unnoticed.
2000-06-20Avoid using I/O port 0x370 since this is used by onboard audio onTodd C. Miller
some laptops. Only seems to cause problems with some card, notably wavelan and aironet.
2000-06-07indentAaron Campbell
2000-06-05Untested busification of this driver done years ago.Niklas Hallqvist
Noone ever answered my call for testers so here it goes.. helps ne problems as ne at 0x300 gets a bit whacked by eg's probe
2000-05-29Support for 3c574 and 3CCFEM556BI PCMCIA Ethernet; from NetBSD.Aaron Campbell
2000-05-26add missing 'break'Jason Wright
2000-05-15driver for the databook isa/pcmcia bridge (commented out in GENERIC for now);Jason Wright
from NetBSD.
2000-04-19Force mailbox to be under 16MB so the controller can see itNiklas Hallqvist
2000-04-14fix compilation with -DAUDIO_DEBUG; vonminde@cs.colorado.eduTodd C. Miller
2000-04-08Initial check-in for support of 32-bit CardBus PC Cards; from NetBSD. On manyAaron Campbell
machines, this code needs the new PCIBIOS* options enabled in the kernel config file to work, but your mileage may vary. Included is a working 3c575 driver for 3Com 10/100 CardBus PC Card NICs (tested only with the 'C' revision). The 3c575 is the pccard version of the PCI EtherLink XL cards, and thus the xl driver has been split into /sys/dev/ic.
2000-04-03change overriding messageTheo de Raadt
2000-03-28Allow wss to configure @irq 5, which is the default irq for quite a fewMarc Espie
laptops.
2000-03-02protect more reads and rights^Wwrites w/ spl; avoid inline which blows the ↵Michael Shalayeff
code in twice
1999-12-27Token ring driver for Tropic based boards; from NetBSD.Federico G. Schwindt
This is as is in NetBSD. I've some mods in my tree ready to be merged. For the records: * This driver needs massive work to be ready for production (people is invited to help, don't be shy). Rewrite part/whole is my list. * IP isn't working at the moment. ARP handling needs several changes. (remember this guys? maybe this time...) * This only handle SNAP frames. IPX using IPX frames doesn't work (you could receive but not transmit to be exact). In order to do that, dsap needs to be changed. I don't know how to setup multiple dsap's at the moment (don't worry about it now, our IPX code is going to be replaced soon since the current implementation is buggy). * Source routing is missing. * tcpdump needs some hacking too (in my tree too). * More things I'm probably forgetting now (haven't worked on this for a while). Our networking code needs some cleanup and rearrangement (specially the headers). net/if_ether.h is an example; arp is not ether specific.
1999-12-27Add tr driver; from NetBSD.Federico G. Schwindt
1999-12-27Polynomial for 3com token link 619; from NetBSD.Federico G. Schwindt
1999-12-11Remove old IDE driverConstantine Sapuntzakis
1999-12-08syncTheo de Raadt
1999-12-08@@@0001 is not a sbTheo de Raadt
1999-12-02add proper media handling and use dev/miiJason Wright
1999-11-30Remove duplicate #include's.Aaron Campbell
1999-11-28Driver for Hostess 4-channel serial mux, from Denis A. DoroshenkoJason Downs
<cyxob@isl.vtu.lt>.
1999-11-13syncTheo de Raadt
1999-11-13add another modemTheo de Raadt
1999-10-09wdc layer work:Constantine Sapuntzakis
Separate wdc_probe_caps into wdc_probe_caps and wdc_print_caps for more flexibility in printing capability information. Get rid of wdc_final_attach. Include name of device (e.g. cd0), if possible, on errors. atapiscsi layer work: Put a pointer to the SCSI device into ata_drive_datas' drv_softc field Simplify, simplify, simplify. Got rid of a bunch of fields in atapiscsi_softc Delay printing capabilities until we know the real device name (e.g. st0)
1999-10-07Add a delay() before turning the motor off; some controllers don't see itJason Downs
otherwise. Also move the motor off up so that it always gets performed, even if the probe is overridden via config flags.
1999-10-06Add support for bass, treble, surround and mode under equalization class.Federico G. Schwindt
Modify some code for simplicity and remove unused one; from NetBSD.
1999-09-30Sync w/NetBSD. Add support for ES18[67][89] - Nonaka Kimihiro + muting ↵kstailey
control fix
1999-09-27syncTheo de Raadt
1999-09-27another ne2000; marco@tecnogi.comTheo de Raadt
1999-09-02syncDavid Leonard