Check for machine class, not for PSCBase as initial check in mc_obio_match().
This commit is contained in:
parent
443efc08d3
commit
9daaf978aa
|
@ -80,7 +80,7 @@ mc_obio_match(parent, cf, aux)
|
|||
bus_space_handle_t bsh;
|
||||
int found = 0;
|
||||
|
||||
if (PSCBase == NULL)
|
||||
if (current_mac_model->class != MACH_CLASSAV)
|
||||
return 0;
|
||||
|
||||
if (bus_space_map(oa->oa_tag, MACE_REG_BASE, MC_REGSIZE, 0, &bsh))
|
||||
|
|
|
@ -80,7 +80,7 @@ mc_obio_match(parent, cf, aux)
|
|||
bus_space_handle_t bsh;
|
||||
int found = 0;
|
||||
|
||||
if (PSCBase == NULL)
|
||||
if (current_mac_model->class != MACH_CLASSAV)
|
||||
return 0;
|
||||
|
||||
if (bus_space_map(oa->oa_tag, MACE_REG_BASE, MC_REGSIZE, 0, &bsh))
|
||||
|
|
Loading…
Reference in New Issue