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


Ignore:
Timestamp:
2010-05-21T07:50:04Z (16 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d51ee2b
Parents:
cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes (rev. 451)

File:
1 edited

Legend:

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

    rcf8cc36 rc47e1a8  
    4141#include <bool.h>
    4242#include <fibril_synch.h>
    43 #include <string.h>
     43#include <str.h>
    4444#include <ctype.h>
    4545#include <macros.h>
     
    221221        pci_dev_data_t *dev_data = (pci_dev_data_t *)dev->driver_data;
    222222        match_id_t *match_id = NULL;   
     223        char *match_id_str;     
    223224        match_id = create_match_id();
    224225        if (NULL != match_id) {
    225                 asprintf(&match_id->id, "pci/ven=%04x&dev=%04x", dev_data->vendor_id, dev_data->device_id);
     226                asprintf(&match_id_str, "pci/ven=%04x&dev=%04x", dev_data->vendor_id, dev_data->device_id);
     227                match_id->id = match_id_str;
    226228                match_id->score = 90;
    227229                add_match_id(&dev->match_ids, match_id);
Note: See TracChangeset for help on using the changeset viewer.