JosephChan@xxxxxxxxxx wrote: >> for (config = via_isa_bridges; config->id != >> PCI_DEVICE_ID_VIA_ANON; config++) >> >> That way, you won't need any special handling and just use "UNKNOWN" >> as the name of the wildcard entry. >> > > How about this? :) > I also found that if I modified to the following line. > for (config = via_isa_bridges; config->id != PCI_DEVICE_ID_VIA_ANON; config++) > I need to move the PCI_DEVICE_ID_VIA_ANON to the end of via_isa_bridges. > Or the for loop will exit at 1st check. Looks good to me. :-) Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html