Populate drop down fields according to other fields in Drupal 7
May be hierarchical select is what you are looking for.

Use one taxonomy field with hierarchy to store brands and models. hierarchical_select module will create nice widget for choosing them.