History log of /freebsd-10-stable/sys/dev/aha/aha_mca.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 241611 16-Oct-2012 pluknet

Fix aha(4) build with i386 LINT (which includes 'device mca').


# 241589 15-Oct-2012 jhb

Add locking to the aha(4) driver and mark it MPSAFE.
- Remove use of explicit bus space handles and tags.

Tested by: no one


# 183678 07-Oct-2008 imp

Pass bus_get_dma_tag() into the first argument of bus_dma_create_tag()
rather than NULL.


# 166906 23-Feb-2007 piso

o break newbus api: add a new argument of type driver_filter_t to
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?)


# 165102 11-Dec-2006 mjacob

Add MODULE_DEPENDS for cam, pci, mca, eisa and isa where needed.

PR: 106543
MFC after: 3 days


# 157085 24-Mar-2006 imp

Add explicit dependency on cam. This is necessary when both aha.ko and
cam.ko are modules so that aha.ko's undefined symbols can be satisfied by
cam.ko.

Sumitted by: nork
Reviewed by: scottl


# 140467 19-Jan-2005 imp

Simplify aha resource management, and fix a few bugs in unwinding
error cases.


# 135260 15-Sep-2004 phk

#include <isa/isavar.h> instead of <i386/isa/isa_dma.h>


# 127135 17-Mar-2004 njl

Convert callers to the new bus_alloc_resource_any(9) API.

Submitted by: Mark Santcroos <marks@ripe.net>
Reviewed by: imp, dfr, bde


# 122361 09-Nov-2003 imp

Let bus space manage softc.


# 122340 08-Nov-2003 imp

Make this driver a little more style(9) compliant


# 119418 24-Aug-2003 obrien

Use __FBSDID().
Also some minor style cleanups.


# 117126 01-Jul-2003 scottl

Mega busdma API commit.

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


# 112782 29-Mar-2003 mdodd

Clean up argument comments for bus_dma_tag_create() calls.


# 104710 09-Oct-2002 peter

Change BUS_SPACE_UNRESTRICTED (~0ul) to plain ~0 when used in the
'int nsegments' argument to bus_dma_tag_create(). ~0ul does not fit in
an int on machines with 64 bit longs.


# 73280 01-Mar-2001 markm

Turn on interrupt-entropy harvesting for all/any mass storage devices
I could find. I have no doubt missed a couple.

Interrupt entropy harvesting is still conditional on the
kern.random.sys.harvest_interrupt sysctl.


# 69963 13-Dec-2000 imp

Remove unnecessary includes found by phk's script a long time ago.


# 56504 24-Jan-2000 imp

Fix plug and play support:
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.


# 51829 01-Oct-1999 mdodd

Add support for the AHA-1640 SCSI adapter.

The changes to sys/dev/aha/aha.c that allow these
cards to function properly will be here in a day
or 2.