summaryrefslogtreecommitdiffstats
path: root/sys/isa/isa_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow device hints to wire the unit numbers of devices.jhb2008-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | - An "at" hint now reserves a device name. - A new BUS_HINT_DEVICE_UNIT method is added to the bus interface. When determining the unit number of a device, this method is invoked to let the bus driver specify the unit of a device given a specific devclass. This is the only way a device can be given a name reserved via an "at" hint. - Implement BUS_HINT_DEVICE_UNIT() for the acpi(4) and isa(4) bus drivers. Both of these busses implement this by comparing the resources for a given hint device with the resources enumerated by ACPI/PnPBIOS and wire a unit if the hint resources are a subset of the "real" resources. - Use bus_hinted_children() for adding hinted devices on isa(4) busses now instead of doing it by hand. - Remove the unit kludging from sio(4) as it is no longer necessary. Prodding from: peter, imp OK'd by: marcel MFC after: 1 month
* MFp4:imp2008-11-021-0/+3
| | | | | | Make the ISA bus keep track of more PNP details. Plus a minor style fix while I'm here. More could be done here, but except for some SBCs that don't have ACPI, there's limited value to anybody in doing so.
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-1/+2
| | | | | | | | | | | | | 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 Reviewed by: many Approved by: re@
* Remove various bits of conditional Alpha code and fixup a few comments.jhb2006-05-121-3/+0
|
* Get rid of #ifdef for legacy system. Move that into the MD code.imp2004-12-241-0/+2
| | | | Export minimal symbols to allow this to happen.
* A few style(9) changes before more extensive changes:imp2004-12-241-14/+10
| | | | | | | o u_intXX_t -> uintXX_t o use 8 character tabs o proper wrapping o return (value);
* No need to declare M_ISADEV here.phk2002-10-161-2/+0
| | | | Spotted by: FlexeLint.
* Use the new resource_list_print_type() function.tmm2001-12-211-1/+1
| | | | | Pass the bus device to isa_init() (this is needed for the sparc64 version).
* Rework the ISA PnP driver pnp and the PnP resource parser to fixyokota2001-09-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | the following bugs. - When constructing a resource configuration, respect the order in which resource descriptors are read, in order to establish the correct mapping between the descriptors and configuration registers. "Plug and Play ISA Specification, Version 1.0a", Sec 4.6.1, May 5, 1994. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1, Dec. 10, 1994. - Do not ignore null (empty) descriptors; they are valid descriptors acting as filler. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1. - Correctly set up logical device configuration registers for null resources. "Clarifications to the Plug and Play ISA Specification, Version 1.0a" - Handle null resources properly in the resource allocator for the ISA bus.
* Add a new field, id_config_attr to the struct isa_device.yokota2001-09-031-0/+3
| | | | | It will be later used to store some flags to control PnP device configurations.
* Back out the previous change to the queue(3) interface.jake2000-05-261-2/+2
| | | | | | It was not discussed and should probably not happen. Requested by: msmith and others
* Change the way that the queue(3) structures are declared; don't assume thatjake2000-05-231-2/+2
| | | | | | | | the type argument to *_HEAD and *_ENTRY is a struct. Suggested by: phk Reviewed by: phk Approved by: mdodd
* Change isa_get/set_flags() to device_get/set_flags().dfr1999-09-071-1/+0
|
* This represents essentially a complete rewrite of the ISA PnP code. Thedfr1999-09-011-0/+13
| | | | | | | | new system is integrated with the ISA bus code more cleanly and allows the future addition of more enumerators such as PnPBIOS and ACPI. This commit also enables the new pcm driver since it is somewhat tied to the new PnP code.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* * Add ivars for ISA pnp.dfr1999-05-301-1/+5
| | | | | | * Move isa_dma* declarations to isavar.h. * Add a method ISA_DELETE_RESOURCE() to the ISA interface. * Tidy up include protection defines.
* * Factor out the common code between the isa bus drivers for i386 and alpha.dfr1999-05-221-0/+68
* Re-work the resource allocation code to use helper functions in subr_bus.c. * Add simple isa interface for manipulating the resource ranges which can be allocated and remove the code from isa_write_ivar() which was previously used for this purpose.
OpenPOWER on IntegriCloud