version 1.28.6.1, 2006/04/22 11:37:33 |
version 1.29, 2006/02/19 14:59:22 |
Line 337 ahc_isa_probe(struct device *parent, str |
|
Line 337 ahc_isa_probe(struct device *parent, str |
|
*/ |
*/ |
for (as = ahc_isa_all_slots.lh_first; as != NULL; |
for (as = ahc_isa_all_slots.lh_first; as != NULL; |
as = as->link.le_next) |
as = as->link.le_next) |
if (as->bus == device_unit(parent)) |
if (as->bus == parent->dv_unit) |
goto found_slot_marker; |
goto found_slot_marker; |
|
|
/* |
/* |
Line 348 ahc_isa_probe(struct device *parent, str |
|
Line 348 ahc_isa_probe(struct device *parent, str |
|
if (as == NULL) |
if (as == NULL) |
panic("ahc_isa_probe: can't allocate slot marker"); |
panic("ahc_isa_probe: can't allocate slot marker"); |
|
|
as->bus = device_unit(parent); |
as->bus = parent->dv_unit; |
as->slot = AHC_ISA_MIN_SLOT; |
as->slot = AHC_ISA_MIN_SLOT; |
LIST_INSERT_HEAD(&ahc_isa_all_slots, as, link); |
LIST_INSERT_HEAD(&ahc_isa_all_slots, as, link); |
|
|