#
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 |
#
241592 |
|
15-Oct-2012 |
jhb |
Add locking to the bt(4) driver and mark it MPSAFE. - Use device_printf() and device_get_unit() instead of storing the unit number in the softc. - Remove use of explicit bus space handles and tags. - Return an errno value from bt_eisa_attach() if an error occurs rather than -1. - Use BUS_PROBE_DEFAULT rather than 0.
Tested by: no one
|
#
165102 |
|
11-Dec-2006 |
mjacob |
Add MODULE_DEPENDS for cam, pci, mca, eisa and isa where needed.
PR: 106543 MFC after: 3 days
|
#
146734 |
|
29-May-2005 |
nyan |
Remove bus_{mem,p}io.h and related code for a micro-optimization on i386 and amd64. The optimization is a trivial on recent machines.
Reviewed by: -arch (imp, marcel, dfr)
|
#
139749 |
|
05-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
#
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
|
#
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.
|
#
52174 |
|
12-Oct-1999 |
dfr |
* Add struct resource_list* argument to resource_list_alloc and 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.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49860 |
|
15-Aug-1999 |
gibbs |
Properly set the alignment argument to bus_dma_tag_create(). If we don't care about the alignment, set it to 1, meaning single byte alignment.
|
#
48307 |
|
28-Jun-1999 |
peter |
Don't #include i386/isa/isa_dma.h - it's in isa/isavar.h now. This driver is probably not far from being MI now anyway.
|
#
47717 |
|
03-Jun-1999 |
peter |
Quieten the bt_isa_probe() messages since they get a bit much when the isa probe has gone hunting for a card on it's own.
|
#
47617 |
|
30-May-1999 |
dfr |
No support for pnp devices yet.
|
#
47399 |
|
22-May-1999 |
dfr |
Don't use BUS_WRITE_IVAR to manipulate resources.
|
#
46743 |
|
08-May-1999 |
dfr |
Move the declaration of the interrupt type from the driver structure to the BUS_SETUP_INTR call.
|
#
45986 |
|
24-Apr-1999 |
peter |
Revert part of 1.9; we don't need to reset the port after release now that the isa bus doesn't clear the hints at that point.
|
#
45796 |
|
18-Apr-1999 |
peter |
Make the bt isa driver work.. - fix cut/paste problem. :-) - don't forget to call isa_dmacascade() - reset the port after we release resources.
That last one is a trap to watch out for.. The isa bus driver uses the same port/irq/mem/etc variables for the initial probe hints as it does for allocation/deallocation tracking. Releasing a resource clears the variable and then you loose the hint during attach.. (ouch!)
|
#
45791 |
|
18-Apr-1999 |
peter |
Implement an EISA new-bus framework. The old driver probe mechanism had a quirk that made a shim rather hard to implement properly and it was just easier to convert the drivers in one go. The changes to the buslogic driver go beyond just this - the whole driver was new-bus'ed including pci and isa. I have only tested the EISA part of this so far.
Submitted by: Doug Rabson <dfr@nlsystems.com>
|
#
45390 |
|
06-Apr-1999 |
phk |
failled spell-check
|
#
44579 |
|
08-Mar-1999 |
gibbs |
Pull 'ISA style' probe where interrupt information is determined through commands sent to card, into the base driver module. It is now used for EISA board probes too.
|
#
41048 |
|
10-Nov-1998 |
gibbs |
Fix probes when a port address is specified.
|
#
40265 |
|
12-Oct-1998 |
imp |
Fix breakage introduced by last patch. bde has added CC_QUIET flag to hasseen_isadev so this will be less noisy when conflicts do exist. Also eliminate redundant warnings about conflicts.
Requested by: bde Reviewed by: gibbs
|
#
40160 |
|
09-Oct-1998 |
imp |
Fix conficts in probe: o For bt and aha only probe the one I/O range if a specific I/O is specified in the config file. o Don't even try to probe I/O ranges that have been seen already. o If we conflict with an IRQ or DRQ, then fail the probe.
Requested by: bde, gibbs Approved by: jkh
|
#
39616 |
|
24-Sep-1998 |
bde |
Removed unused include of "ioconf.h" again. The CAM changes made ioconf.h empty but regressed to including it here.
|
#
39223 |
|
15-Sep-1998 |
gibbs |
Mylex/Buslogic MultiMaster SCSI-Host Adapter Driver for CAM.
|