aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/aha/aha_mca.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove Micro Channel Architecture support. Of the commonly availableWarner Losh2017-02-151-231/+0
| | | | | | | | | | | | | | machines, only a few 486 machines that used it, and those haven't had enough memory to run FreeBSD for quite some time (often limited to 16MB). Not to be confused with the Machine Check Architecture, which is still very much alive and used (and untouched by this commit). No Objection From: arch@ Notes: svn path=/head/; revision=313783
* Fix aha(4) build with i386 LINT (which includes 'device mca').Sergey Kandaurov2012-10-161-1/+2
| | | | Notes: svn path=/head/; revision=241611
* Add locking to the aha(4) driver and mark it MPSAFE.John Baldwin2012-10-151-8/+6
| | | | | | | | | - Remove use of explicit bus space handles and tags. Tested by: no one Notes: svn path=/head/; revision=241589
* Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()Warner Losh2008-10-071-1/+1
| | | | | | | rather than NULL. Notes: svn path=/head/; revision=183678
* o break newbus api: add a new argument of type driver_filter_t toPaolo Pisati2007-02-231-1/+1
| | | | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Approved by: re (implicit?) Notes: svn path=/head/; revision=166906
* Add MODULE_DEPENDS for cam, pci, mca, eisa and isa where needed.Matt Jacob2006-12-111-1/+1
| | | | | | | | PR: 106543 MFC after: 3 days Notes: svn path=/head/; revision=165102
* Add explicit dependency on cam. This is necessary when both aha.ko andWarner Losh2006-03-241-0/+1
| | | | | | | | | | | cam.ko are modules so that aha.ko's undefined symbols can be satisfied by cam.ko. Sumitted by: nork Reviewed by: scottl Notes: svn path=/head/; revision=157085
* Simplify aha resource management, and fix a few bugs in unwindingWarner Losh2005-01-191-31/+24
| | | | | | | error cases. Notes: svn path=/head/; revision=140467
* #include <isa/isavar.h> instead of <i386/isa/isa_dma.h>Poul-Henning Kamp2004-09-151-1/+1
| | | | Notes: svn path=/head/; revision=135260
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-6/+3
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Let bus space manage softc.Warner Losh2003-11-091-10/+2
| | | | Notes: svn path=/head/; revision=122361
* Make this driver a little more style(9) compliantWarner Losh2003-11-091-7/+7
| | | | Notes: svn path=/head/; revision=122340
* Use __FBSDID().David E. O'Brien2003-08-241-2/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Mega busdma API commit.Scott Long2003-07-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma. At the moment, this is used for the asynchronous busdma_swi and callback mechanism. Two lockfunc implementations are provided: busdma_lock_mutex() performs standard mutex operations on the mutex that is specified from lockfuncarg. dftl_lock() is a panic implementation and is defaulted to when NULL, NULL are passed to bus_dma_tag_create(). The only time that NULL, NULL should ever be used is when the driver ensures that bus_dmamap_load() will not be deferred. Drivers that do not provide their own locking can pass busdma_lock_mutex,&Giant args in order to preserve the former behaviour. sparc64 and powerpc do not provide real busdma_swi functions, so this is largely a noop on those platforms. The busdma_swi on is64 is not properly locked yet, so warnings will be emitted on this platform when busdma callback deferrals happen. If anyone gets panics or warnings from dflt_lock() being called, please let me know right away. Reviewed by: tmm, gibbs Notes: svn path=/head/; revision=117126
* Clean up argument comments for bus_dma_tag_create() calls.Matthew N. Dodd2003-03-291-12/+13
| | | | Notes: svn path=/head/; revision=112782
* Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in thePeter Wemm2002-10-091-1/+1
| | | | | | | | 'int nsegments' argument to bus_dma_tag_create(). ~0ul does not fit in an int on machines with 64 bit longs. Notes: svn path=/head/; revision=104710
* Turn on interrupt-entropy harvesting for all/any mass storage devicesMark Murray2001-03-011-1/+1
| | | | | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl. Notes: svn path=/head/; revision=73280
* Remove unnecessary includes found by phk's script a long time ago.Warner Losh2000-12-131-1/+0
| | | | Notes: svn path=/head/; revision=69963
* Fix plug and play support:Warner Losh2000-01-241-3/+0
| | | | | | | | | | | | | | o Cut out the probed stuff. We no longer need it since newbus implicitly checks for this (likely bt can be changed as well in this way). o Add preliminary support for unload. Untested because aha doesn't yet support identify and there are some interactions with PnP that I've not yet worked out. With this I can boot the AHA-1542CP FW F.0. All the aha resources appear to be picked up via pnp now. Notes: svn path=/head/; revision=56504
* Add support for the AHA-1640 SCSI adapter.Matthew N. Dodd1999-10-011-0/+247
The changes to sys/dev/aha/aha.c that allow these cards to function properly will be here in a day or 2. Notes: svn path=/head/; revision=51829