summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2001-02-03no machine/pio.h is needed, space policeMichael Shalayeff
2001-02-03new timeouts, space controlMichael Shalayeff
2001-02-03make it compile, new timeouts, space controlMichael Shalayeff
2001-02-03no timeouts is new timeoutsMichael Shalayeff
2001-02-02$OpenBSD$Aaron Campbell
2001-01-31OpenBSD does have paddr_t, I can't explain why I thought it didn't; art@Aaron Campbell
2001-01-31Some int -> u_long (I incorrectly converted paddr_t to int when porting this).Aaron Campbell
2001-01-30Support for the wscons machine-independent console driver on the i386. ToAaron Campbell
become default in a few moments once deraadt commits new kernel config files. IMPORTANT NOTE: A few important pieces are still required to be worked out over the next few days. Users (and developers) relying on X should probably stay away from -current until further notice. This should not take long, but here is your first heads up. If you decide to upgrade your kernel anyway, be sure to update your /etc/ttys file to use vt100 instead of vt220. The rest of the fallout from this should be minor.
2001-01-29new timeoutsMichael Shalayeff
2001-01-29new timeoutsMichael Shalayeff
2001-01-29new timeoutsMichael Shalayeff
2001-01-29new timeoutsMichael Shalayeff
2001-01-29new timeoutsMichael Shalayeff
2001-01-29new timeouts; spacesMichael Shalayeff
2001-01-29regenMichael Shalayeff
2001-01-29even shorterMichael Shalayeff
2001-01-29fix isadma-less compile, new pnpdevs, space controlMichael Shalayeff
2001-01-29regenMichael Shalayeff
2001-01-29size reducage and constifyMichael Shalayeff
2001-01-29new timeouts; some constifying; space controlMichael Shalayeff
2001-01-29Add wdc_print_current_modes to print current transfer modes set on theConstantine Sapuntzakis
devices. Print after attach in wdc_isa, wdc_isapnp, wdc_pcmcia. pciide_print_modes rewritten to use wdc_print_current_modes. Disable wdc_print_caps since it's not as useful. Inspired by NetBSD. Thanks to Dale and Theo for pointing out this improvement.
2001-01-25spellingTodd T. Fries
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
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