Improved debugging output

This commit is contained in:
Michael Brown
2005-04-16 10:19:13 +00:00
parent ed7b9109be
commit e1a9798af4
3 changed files with 27 additions and 7 deletions

View File

@@ -44,6 +44,7 @@ int find_isa_device ( struct isa_device *isa, struct isa_driver *driver ) {
/* Iterate through any ISA probe addresses specified by
* config.c, starting where we left off.
*/
DBG ( "ISA searching for device matching driver %s\n", driver->name );
for ( i = isa->probe_idx ; i < isa_extra_probe_addr_count ; i++ ) {
/* If we've already used this device, skip it */
if ( isa->already_tried ) {
@@ -96,6 +97,7 @@ int find_isa_device ( struct isa_device *isa, struct isa_driver *driver ) {
notfound:
/* No device found */
DBG ( "ISA found no device matching driver %s\n", driver->name );
isa->probe_idx = 0;
return 0;