Check for machine class, not for PSCBase as initial check in mc_obio_match().

This commit is contained in:
briggs 1997-11-05 01:56:27 +00:00
parent 443efc08d3
commit 9daaf978aa
2 changed files with 2 additions and 2 deletions

View File

@ -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))

View File

@ -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))