aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mca
Commit message (Collapse)AuthorAgeFilesLines
* Use __FBSDID().David E. O'Brien2003-08-241-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Deprecate machine/limits.h in favor of new sys/limits.h.Alexander Kabaev2003-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> Notes: svn path=/head/; revision=114216
* Argh, isa(4), eisa(4) and mca(4) now attach to legacy(4) instead ofJohn Baldwin2002-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 Notes: svn path=/head/; revision=104015
* - Remove an unused write_ivars function that didn't do anything anyway.John Baldwin2001-01-191-7/+1
| | | | | | | | - Return NULL from mca_alloc_resource() instead of ENOENT if we are passed in an empty resource list. Notes: svn path=/head/; revision=71239
* Reduce code duplication by using the GET_RESOURCE_LIST bus method and relatedMatthew N. Dodd2000-11-281-52/+18
| | | | | | | | | | | generic resource_list management functions. I'll deal with the EISA bits later. Not objected to by: new-bus Notes: svn path=/head/; revision=69295
* Set the RF_SHAREABLE flage when we allocate an IRQ.Matthew N. Dodd2000-03-131-0/+4
| | | | Notes: svn path=/head/; revision=57980
* Implement BUS_{GET,SET,DELETE}_RESOURCE methods.Matthew N. Dodd2000-01-131-2/+44
| | | | Notes: svn path=/head/; revision=55890
* Remove the 'ivars' arguement to device_add_child() andMatthew N. Dodd1999-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 Notes: svn path=/head/; revision=54073
* resource_list_{alloc,release}() takes a struct resource_list * as itsMatthew N. Dodd1999-11-061-3/+4
| | | | | | | | | first arg. Reminded by: Andy Farkas <andyf@speednet.com.au> Notes: svn path=/head/; revision=52915
* - Restore correct operation of bt_mca.Matthew N. Dodd1999-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. Notes: svn path=/head/; revision=52050
* device_get_ivars() called twice. Remove second call and assignment.Matthew N. Dodd1999-09-261-1/+0
| | | | | | | Noticed by: Peter Notes: svn path=/head/; revision=51678
* Rip out the nastiness I cribbed from the EISA bus code and actuallyMatthew N. Dodd1999-09-262-319/+75
| | | | | | | | | | implement the resource management code correctly, using approved interfaces. While I'm here, clean up a few things. Notes: svn path=/head/; revision=51674
* This is the rest of the MCA support; new_bus code to be exact.Matthew N. Dodd1999-09-033-0/+931
Should we ever find ourselves on an RS/6000 this code should work with few changes. Notes: svn path=/head/; revision=50825