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

@@ -47,11 +47,12 @@ struct bios_disk_driver {
* Define a BIOS disk driver
*
*/
#define BIOS_DISK_DRIVER( _fill_drive_name, _min_drive, _max_drive ) { \
.fill_drive_name = _fill_drive_name, \
.min_drive = _min_drive, \
.max_drive = _max_drive, \
}
#define BIOS_DISK_DRIVER( _name, _fill_drive_name, _min_drive, _max_drive ) \
static struct bios_disk_driver _name = { \
.fill_drive_name = _fill_drive_name, \
.min_drive = _min_drive, \
.max_drive = _max_drive, \
}
/*
* Functions in bios_disks.c