summaryrefslogtreecommitdiffstats
path: root/sys/alpha/mcbus/mcpcia.c
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing Alpha kernel support.jhb2006-05-111-805/+0
|
* Replace __RMAN_RESOURCE_VISIBLE with calls to public entry pointsphk2005-09-251-3/+2
| | | | in rman module.
* Relocate direct map specs into struct alpha_chipset.ticso2005-09-191-15/+28
| | | | | Prepare for PCI Scatter-Gather map. Panic if driver tries alpha_XXX_dmamap() out of range.
* Begin all license/copyright comments with /*- or #-imp2005-01-051-1/+1
|
* Catch up with __RMAN_RESOURCE_VISIBLE enough to get GENERIC to buildgallatin2004-07-011-0/+1
|
* Widen the enable/disable helper function's argument in line with thepeter2003-11-171-8/+8
| | | | ithread_create() changes etc. This should be mostly a NOP.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-2/+2
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* enable interrupt routing for mcpcia based systemsticso2003-06-281-53/+44
| | | | Reviewed by: mjacob, gallatin
* Use __FBSDID().obrien2003-06-101-2/+3
|
* Change the console interface to pass a "struct consdev *" instead of aphk2003-02-201-0/+1
| | | | | | | | | dev_t to the method functions. The dev_t can still be found at struct consdev *->cn_dev. Add a void *cn_arg element to struct consdev which the drivers can use for retrieving their softc.
* Initialise the AS4100 console at the same time as most of the otherdfr2002-03-261-4/+34
| | | | | platform types instead of deferring it until the mcpcia devices are probed. This allows the use of e.g. kgdb before the busses are probed.
* Fix mcpcia.c so it compiles again.mjacob2002-03-011-1/+2
|
* Introduce a standard name for the lock protecting an interrupt controllerjhb2001-12-201-2/+14
| | | | | | | | and it's associated state variables: icu_lock with the name "icu". This renames the imen_mtx for x86 SMP, but also uses the lock to protect access to the 8259 PIC on x86 UP. This also adds an appropriate lock to the various Alpha chipsets which fixes problems with Alpha SMP machines dropping interrupts with an SMP kernel.
* The DEC kn300 has special code for console handling hardcoded here, so addjlemon2001-11-221-0/+1
| | | | | | a call to promcndetach() to explicitly turn off the prom console. Tested by: Jeff Roberson
* Fix misspelling in comment.mjacob2001-10-311-1/+1
|
* Remove unneeded sys/mutex.h includes.jhb2001-10-191-1/+0
|
* fix alpha-MD compile errors after the vm_mtx commitgallatin2001-05-201-0/+1
|
* Doug found that doing a W1C on MCPCIA_INT_REQ just around the time youmjacob2001-02-131-12/+27
| | | | | | | | clear MCPCIA_INT_MASK0 helps things substantially. So, why not indeed? Rearrange irq and cookie calculation to use shifts/masks instead of division. Fix things to correctly remember the intpin for that one in a million non-INTA PCI device.
* Use the MI ithread helper functions in the alpha hardware interrupt code.jhb2001-02-091-3/+2
|
* Fix ypo in essage about isabling EISA nterrupt ectormjacob2000-12-151-1/+1
| | | | (tip 'o the tired cap to Bernd Walter <ticso@cicely5.cicely.de>)
* Add route interrupt method.mjacob2000-12-131-0/+2
|
* Comment out debug printfs about enable/disable ints.mjacob2000-12-041-2/+2
| | | | Current now appears to work at least fitfully on one Rawhide.
* Clean this is up a bit for multiple MIDs... We can figure out which MIDmjacob2000-11-081-40/+59
| | | | | | | | for an interrupt to enable/disable from the vector (and GID too, if we had multiple GIDs)- so, stupidly for now, search for the right mcpcia's softc so we have the right base address for the bridge CSR to apply IRQ bit-twiddle's to. Alas- this doesn't yet allow us to run, but it's the right direction.
* 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/+70
| | | | | | | | | | | - 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
* * Completely rewrite the alpha busspace to hide the implementation fromdfr2000-08-281-376/+219
| | | | | | | | | | | | the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one.
* Handle (for now) trivial one level bridge case so we can get themjacob2000-07-131-0/+8
| | | | | slot that the bridge happens to be in so we get interrupts working on bridged cards.
* Coordinate with change to mcpcia_pci.c- major primary busses on eachmjacob2000-07-101-28/+30
| | | | | | | | hose are 16 PCI instances apart. This allows us to recognize secondary PCI busses (at least to a first level) until the pci infrastructure is fixed. Turn on support for secondary cycles, too. Redo debug printouts.
* Enable EISA interrupts if the mcpcia has an attached EISA bus.dfr2000-05-131-5/+9
|
* Change references/comments about 'secondary' to reflect that while we'dmjacob2000-05-091-17/+20
| | | | | | | | like to see the true SRM bus number be passed to us, instead, we get FreeBSD's PCI bus instance number (Brzzt! Wrong Answer!). Also, once we've seen the MCPCIA that has the EISA bus on it, call dec_kn300_cons_init just before configuring devices on this bus.
* Pass the vector on thru instead of checking EISA/ISA ints. It turnsmjacob2000-05-071-10/+0
| | | | | out the FreeBSD code did the right thing by starting EISA/ISA vectors at 0x800.
* EISA/ISA memory space is any pa < 8MB.mjacob2000-05-071-2/+24
|
* Add in a first pass at Alpha 4100 (Rawhide) support. It doesn't quitemjacob2000-05-071-0/+781
boot all the way yet, but it's darn close (blows up somewhere probing the PS/2 mouse on the EISA bus).
OpenPOWER on IntegriCloud