summaryrefslogtreecommitdiffstats
path: root/sys/alpha/isa
Commit message (Collapse)AuthorAgeFilesLines
* Use the MI ithread helper functions in the alpha hardware interrupt code.jhb2001-02-091-2/+1
|
* Add a prototype for isa_irq_mask() to quiet a warning.jhb2001-01-241-0/+1
|
* Alter isa interrupt behaviour on alpha. Rather than send a non-specificgallatin2000-12-011-4/+38
| | | | | | | | | | | | | EOI after the ithread runs, send the EOI when we get the interrupt and disable the source. After the ithread is run, the source is renabled. Also, add isa_handle_fast_intr() which handles fast interrupts by sending an EOI after the handler is run. This fixes the chronic missing interrupt problems under heavy NFS load on my UP1000 and should result in greater stability for alphas which route all irqs through an isa pic. Discussed with: jhb, bde (sending non-specific EOIs early was bde's idea)
* Pass in the new-bus flags to alpha_setup_intr().jhb2000-11-011-1/+1
|
* - Heavyweight interrupt threads on the alpha for device I/O interrupts.jhb2000-10-051-3/+8
| | | | | | | | | | | - Make softinterrupts (SWI's) almost completely MI, and divorce them completely from the x86 hardware interrupt code. - The ihandlers array is now gone. Instead, there is a MI shandlers array that just contains SWI handlers. - Most of the former machine/ipl.h files have moved to a new sys/ipl.h. - Stub out all the spl*() functions on all architectures. Submitted by: dfr
* remove breakage that snuck in with my last commitgallatin2000-06-291-1/+0
| | | | pointed out by: peter
* Support bounce buffers for ISA DMA on the alpha. This is required for thegallatin2000-06-191-3/+28
| | | | | | | irongate chipset (used in the UP1000) which does not support scatter/gather DMA. We'll still use scatter gather if the core logic chipset supports it. Reviewed by: dfr
* Allow platform specific isa interrupt setup & teardown routines ingallatin2000-05-281-1/+11
| | | | preparation for sable/lynx support
* Use bus_space_handle_t instead of bus_space_tag_t to hold the resultdfr2000-05-271-2/+2
| | | | from rman_get_bushandle().
* Handle PCI devices that actually use an ISA IRQ for the cia and tsunamijhb2000-05-102-0/+9
| | | | | | | | chipsets. An example of this is the USB controller on these chipsets. With this, I can now use USB devices on the test Alpha I am borrowing at the moment. Reviewed by: dfr, obrien
* Stop isadma from abusing the B_READ, B_RAW and B_WRITE flags.phk2000-03-131-10/+9
| | | | | Define ISADMA_{READ,WRITE,RAW} macros with the same numeric values as the B_{READ,WRITE,RAW} and use them instead throughout.
* * Add struct resource_list* argument to resource_list_alloc anddfr1999-10-121-14/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | resource_list_release. This removes the dependancy on the layout of ivars. * Move set_resource, get_resource and delete_resource from isa_if.m to bus_if.m. * Simplify driver code by providing wrappers to those methods: bus_set_resource(dev, type, rid, start, count); bus_get_resource(dev, type, rid, startp, countp); bus_get_resource_start(dev, type, rid); bus_get_resource_count(dev, type, rid); bus_delete_resource(dev, type, rid); * Delete isa_get_rsrc and use bus_get_resource_start instead. * Fix a stupid typo in isa_alloc_resource reported by Takahashi Yoshihiro <nyan@FreeBSD.org>. * Print a diagnostic message if we can't assign resources to a PnP device. * Change device_print_prettyname() so that it doesn't print "(no driver assigned)-1" for anonymous devices.
* $Id$ -> $FreeBSD$peter1999-08-284-4/+4
|
* * Implement ISA dma (only for CIA now but more chipsets to follow).dfr1999-06-052-9/+514
| | | | * Port the fd driver to alpha.
* Use resource allocation apis to get ports.dfr1999-05-301-9/+34
|
* * Factor out the common code between the isa bus drivers for i386 and alpha.dfr1999-05-221-421/+73
| | | | | | | * Re-work the resource allocation code to use helper functions in subr_bus.c. * Add simple isa interface for manipulating the resource ranges which can be allocated and remove the code from isa_write_ivar() which was previously used for this purpose.
* Calibrate the processor cycle counter instead of believing what thedfr1999-05-181-1/+2
| | | | firmware says.
* Another minor fix from i386 to remember when the port is set to -1.dfr1999-05-181-2/+2
|
* Update isa_print_child to match i386.dfr1999-05-181-10/+10
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* * Define a new static method DEVICE_IDENTIFY which is called to add devicedfr1999-05-141-139/+63
| | | | | | | | | | instances to a parent bus. * Define a new method BUS_ADD_CHILD which can be called from DEVICE_IDENTIFY to add new instances. * Add a generic implementation of DEVICE_PROBE which calls DEVICE_IDENTIFY for each driver attached to the parent's devclass. * Move the hint-based isa probe from the isa driver to a new isahint driver which can be shared between i386 and alpha.
* Move the declaration of the interrupt type from the driver structuredfr1999-05-083-7/+6
| | | | to the BUS_SETUP_INTR call.
* Stage 1 of a cleanup of the i386 interrupt registration mechanism.peter1999-04-211-3/+3
| | | | | | | Interrupts under the new scheme are managed by the i386 nexus with the awareness of the resource manager. There is further room for optimizing the interfaces still. All the users of register_intr()/intr_create() should be gone, with the exception of pcic and i386/isa/clock.c.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-162-30/+98
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Update the alpha port to use the new syscons.dfr1999-01-231-4/+21
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
* Add support for 'vmstat -i'.dfr1998-11-281-2/+4
| | | | | Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Obtained from: NetBSD
* Fix things so that pci interrupts can be registered correctly on apecsdfr1998-11-181-6/+15
| | | | | | and lca machines (which route PCI interrupts through the ISA PIC). Reviewed by: dima
* * Add hooks to allow the X server to access I/O ports and memory.dfr1998-11-151-59/+395
| | | | | | | | | * Update drivers to the latest version of the bus interface. The ISA drivers' use of the new resource api is minimal. Garrett has some much cleaner drivers which should be more easily shared between i386 and alpha. This has only been tested on cia based machines. It should work on lca and apecs but I might have broken something.
* Fix the interrupt mask generated for enabling/disabling interrupts 8 to 15.paul1998-10-251-3/+3
|
* Disable unwanted isa interrupts.dfr1998-09-161-1/+8
|
* Lots of changes, including:dfr1998-08-101-5/+11
| | | | | | | | | | * Support for AlphaStation 200, 250, 255, 400 * Untested support for UDB, Multia, AXPpci33 (Noname) * Support for Personal Workstation 433a/433au, 500a/500au, 600a/600au (Miata) * Some minor fixes and improvements to interrupt handling. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> (AS200, Miata) Obtained from: NetBSD (some code for AS200, Miata, Noname)
* Cosmetic change to driver registration.dfr1998-07-311-2/+2
|
* Support the disabled keyword for isa devices.dfr1998-07-271-2/+8
|
* Move the mcclock from root to isa.dfr1998-07-221-7/+10
|
* Add a simple ISA bus. No support for memory mapped devices or DMA as yet.dfr1998-07-221-0/+318
|
* An mc146818a clock attached to an isa bus.dfr1998-07-151-0/+105
OpenPOWER on IntegriCloud