Changeset 83a2f43 in mainline for uspace/drv/pciintel/pci.c


Ignore:
Timestamp:
2011-02-15T19:43:50Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af6b5157
Parents:
34588a80
Message:

Rename bunch of stuff so that it starts with 'ddf_'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/pciintel/pci.c

    r34588a80 r83a2f43  
    7272#define PCI_BUS_FROM_FUN(fun) ((fun)->busptr)
    7373
    74 static hw_resource_list_t *pciintel_get_resources(function_t *fnode)
     74static hw_resource_list_t *pciintel_get_resources(ddf_fun_t *fnode)
    7575{
    7676        pci_fun_t *fun = PCI_FUN(fnode);
     
    8181}
    8282
    83 static bool pciintel_enable_interrupt(function_t *fnode)
     83static bool pciintel_enable_interrupt(ddf_fun_t *fnode)
    8484{
    8585        /* TODO */
     
    9393};
    9494
    95 static device_ops_t pci_fun_ops;
    96 
    97 static int pci_add_device(device_t *);
     95static ddf_dev_ops_t pci_fun_ops;
     96
     97static int pci_add_device(ddf_dev_t *);
    9898
    9999/** PCI bus driver standard operations */
     
    367367void pci_bus_scan(pci_bus_t *bus, int bus_num)
    368368{
    369         function_t *fnode;
     369        ddf_fun_t *fnode;
    370370        pci_fun_t *fun;
    371371       
     
    459459}
    460460
    461 static int pci_add_device(device_t *dnode)
     461static int pci_add_device(ddf_dev_t *dnode)
    462462{
    463463        pci_bus_t *bus = NULL;
    464         function_t *ctl = NULL;
     464        ddf_fun_t *ctl = NULL;
    465465        bool got_res = false;
    466466        int rc;
     
    633633        printf(NAME ": HelenOS pci bus driver (intel method 1).\n");
    634634        pciintel_init();
    635         return driver_main(&pci_driver);
     635        return ddf_driver_main(&pci_driver);
    636636}
    637637
Note: See TracChangeset for help on using the changeset viewer.