summaryrefslogtreecommitdiffstats
path: root/sys/dev/aha/aha_mca.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix aha(4) build with i386 LINT (which includes 'device mca').pluknet2012-10-161-1/+2
|
* Add locking to the aha(4) driver and mark it MPSAFE.jhb2012-10-151-8/+6
| | | | | | - Remove use of explicit bus space handles and tags. Tested by: no one
* Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()imp2008-10-071-1/+1
| | | | rather than NULL.
* o break newbus api: add a new argument of type driver_filter_t topiso2007-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?)
* Add MODULE_DEPENDS for cam, pci, mca, eisa and isa where needed.mjacob2006-12-111-1/+1
| | | | | PR: 106543 MFC after: 3 days
* Add explicit dependency on cam. This is necessary when both aha.ko andimp2006-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
* Simplify aha resource management, and fix a few bugs in unwindingimp2005-01-191-31/+24
| | | | error cases.
* #include <isa/isavar.h> instead of <i386/isa/isa_dma.h>phk2004-09-151-1/+1
|
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-6/+3
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Let bus space manage softc.imp2003-11-091-10/+2
|
* Make this driver a little more style(9) compliantimp2003-11-091-7/+7
|
* Use __FBSDID().obrien2003-08-241-2/+3
| | | | Also some minor style cleanups.
* Mega busdma API commit.scottl2003-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
* Clean up argument comments for bus_dma_tag_create() calls.mdodd2003-03-291-12/+13
|
* Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in thepeter2002-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.
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-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.
* Remove unnecessary includes found by phk's script a long time ago.imp2000-12-131-1/+0
|
* Fix plug and play support:imp2000-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.
* Add support for the AHA-1640 SCSI adapter.mdodd1999-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.
OpenPOWER on IntegriCloud