Changeset 2480e19 in mainline for uspace/srv/drivers/pciintel/pci.c


Ignore:
Timestamp:
2010-04-08T14:04:48Z (15 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d1fc8f0
Parents:
89ce401a
Message:

fixed some bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/drivers/pciintel/pci.c

    r89ce401a r2480e19  
    156156        match_id = create_match_id();
    157157        if (NULL != match_id) {
    158                 asprintf(&match_id->id, "pci/ven=%04x,dev=%04x", dev_data->vendor_id, dev_data->device_id);
     158                asprintf(&match_id->id, "pci/ven=%04x&dev=%04x", dev_data->vendor_id, dev_data->device_id);
    159159                match_id->score = 90;
    160160                add_match_id(&dev->match_ids, match_id);
     
    198198                       
    199199                        create_pci_dev_name(dev);
    200                         printf(NAME ": adding new device name %s.\n", dev->name);
     200                        printf(NAME ": adding new child device %s.\n", dev->name);
    201201                       
    202202                        create_pci_match_ids(dev);
     
    208208                                continue;
    209209                        }
     210                       
     211                        //printf(NAME ": new device %s was successfully registered by device manager.\n", dev->name);
    210212                       
    211213                        if (header_type == PCI_HEADER_TYPE_BRIDGE || header_type == PCI_HEADER_TYPE_CARDBUS ) {
Note: See TracChangeset for help on using the changeset viewer.