summaryrefslogtreecommitdiffstats
path: root/sys/dev/mca
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().obrien2003-08-241-1/+3
| | | | Also some minor style cleanups.
* Deprecate machine/limits.h in favor of new sys/limits.h.kan2003-04-291-1/+1
| | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead ofjhb2002-09-261-1/+1
| | | | | | | nexus(4) in the case of machines w/o equivalent bridges on a PCI bus. Reported by: winter Pointy hat to: jhb
* - Remove an unused write_ivars function that didn't do anything anyway.jhb2001-01-191-7/+1
| | | | | - Return NULL from mca_alloc_resource() instead of ENOENT if we are passed in an empty resource list.
* Reduce code duplication by using the GET_RESOURCE_LIST bus method and relatedmdodd2000-11-281-52/+18
| | | | | | | | generic resource_list management functions. I'll deal with the EISA bits later. Not objected to by: new-bus
* Set the RF_SHAREABLE flage when we allocate an IRQ.mdodd2000-03-131-0/+4
|
* Implement BUS_{GET,SET,DELETE}_RESOURCE methods.mdodd2000-01-131-2/+44
|
* Remove the 'ivars' arguement to device_add_child() andmdodd1999-12-031-1/+3
| | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr
* resource_list_{alloc,release}() takes a struct resource_list * as itsmdodd1999-11-061-3/+4
| | | | | | first arg. Reminded by: Andy Farkas <andyf@speednet.com.au>
* - Restore correct operation of bt_mca.mdodd1999-10-091-2/+2
| | | | | | | | - Work around a problem not yet solved in the tree (but solved in mine.) device_get_ivars() should never be cast to a struct resource_list * The solution, under review, involves the creation of a device_get_resource_list() function. More later.
* device_get_ivars() called twice. Remove second call and assignment.mdodd1999-09-261-1/+0
| | | | Noticed by: Peter
* Rip out the nastiness I cribbed from the EISA bus code and actuallymdodd1999-09-262-321/+77
| | | | | | | implement the resource management code correctly, using approved interfaces. While I'm here, clean up a few things.
* This is the rest of the MCA support; new_bus code to be exact.mdodd1999-09-033-0/+931
Should we ever find ourselves on an RS/6000 this code should work with few changes.
OpenPOWER on IntegriCloud