|
@@ -63,6 +63,7 @@ int find_eisa_device ( struct eisa_device *eisa, struct eisa_driver *driver ) {
|
63
|
63
|
/* Iterate through all possible EISA slots, starting where we
|
64
|
64
|
* left off.
|
65
|
65
|
*/
|
|
66
|
+ DBG ( "EISA searching for device matching driver %s\n", driver->name );
|
66
|
67
|
for ( ; eisa->slot <= EISA_MAX_SLOT ; eisa->slot++ ) {
|
67
|
68
|
/* If we've already used this device, skip it */
|
68
|
69
|
if ( eisa->already_tried ) {
|
|
@@ -82,10 +83,12 @@ int find_eisa_device ( struct eisa_device *eisa, struct eisa_driver *driver ) {
|
82
|
83
|
if ( ( eisa->mfg_id == id->mfg_id ) &&
|
83
|
84
|
( ISA_PROD_ID ( eisa->prod_id ) ==
|
84
|
85
|
ISA_PROD_ID ( id->prod_id ) ) ) {
|
85
|
|
- DBG ( "Device %s (driver %s) matches ID %s\n",
|
86
|
|
- id->name, driver->name,
|
|
86
|
+ DBG ( "EISA found ID %hx:%hx (\"%s\") "
|
|
87
|
+ "(device %s) matching driver %s\n",
|
|
88
|
+ eisa->mfg_id, eisa->prod_id,
|
87
|
89
|
isa_id_string ( eisa->mfg_id,
|
88
|
|
- eisa->prod_id ) );
|
|
90
|
+ eisa->prod_id ),
|
|
91
|
+ id->name, driver->name );
|
89
|
92
|
eisa->name = id->name;
|
90
|
93
|
eisa->already_tried = 1;
|
91
|
94
|
return 1;
|
|
@@ -94,6 +97,7 @@ int find_eisa_device ( struct eisa_device *eisa, struct eisa_driver *driver ) {
|
94
|
97
|
}
|
95
|
98
|
|
96
|
99
|
/* No device found */
|
|
100
|
+ DBG ( "EISA found no device matching driver %s\n", driver->name );
|
97
|
101
|
eisa->slot = EISA_MIN_SLOT;
|
98
|
102
|
return 0;
|
99
|
103
|
}
|