my $hardware = trb_register_read(0xffff,0x42);
my $inclHigh = trb_register_read(0xffff,0x43);
my $hubbusy = trb_register_read(0xfffe,0x81);
+ my $portactive = trb_register_read(0xfffe,0x84);
my $hubbusy1 = trb_register_read_mem(0xfffe,0x4030,0,16);
my $gbebusy1 = trb_register_read(0xff7f,0x83e2);
else {
$parent = $path[-1][-1]->{address};
$port = $path[-1][-1]->{port};
+ while ($activeports->{$parent} & (1<<$port) == 0 && scalar @path > 1) {
+ pop(@path);
+ $parent = $path[-1][-1]->{address};
+ $port = $path[-1][-1]->{port};
+ }
}
$tree->{$parent}->[$port]->{addr} = $addr;
}