ISA bus driver updated to report devices as present only if a driver

thinks they are.
Other bus drivers modified for consistency.
This commit is contained in:
Michael Brown
2005-04-26 12:30:14 +00:00
parent 3a7967a38a
commit 3dbdeb588f
10 changed files with 86 additions and 62 deletions

View File

@@ -66,10 +66,11 @@ struct eisa_driver {
* Define an EISA driver
*
*/
#define EISA_DRIVER( _ids ) { \
.ids = _ids, \
.id_count = sizeof ( _ids ) / sizeof ( _ids[0] ), \
}
#define EISA_DRIVER( _name, _ids ) \
static struct eisa_driver _name = { \
.ids = _ids, \
.id_count = sizeof ( _ids ) / sizeof ( _ids[0] ), \
}
/*
* Functions in eisa.c