Subversion Repositories HelenOS

Rev

Rev 4537 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4537 Rev 4667
Line 1... Line 1...
1
#ifndef PCI_H
1
#ifndef PCI_H
2
#define PCI_H
2
#define PCI_H
3
 
3
 
4
//#include <arch/types.h>
-
 
5
#include <adt/list.h>
4
#include <adt/list.h>
6
#include <stdio.h>
5
#include <stdio.h>
7
#include <stdlib.h>
6
#include <stdlib.h>
8
#include <string.h>
7
#include <string.h>
9
 
8
 
Line 16... Line 15...
16
typedef struct pci_dev pci_dev_t;
15
typedef struct pci_dev pci_dev_t;
17
typedef struct pci_bus pci_bus_t;
16
typedef struct pci_bus pci_bus_t;
18
typedef struct pci_drv_ops pci_drv_ops_t;
17
typedef struct pci_drv_ops pci_drv_ops_t;
19
 
18
 
20
struct pci_drv {
19
struct pci_drv {
-
 
20
    const char *name;
21
    link_t link;
21
    link_t link;
22
    int vendor_id;
22
    int vendor_id;
23
    int device_id; 
23
    int device_id; 
24
    pci_drv_ops_t *ops;
24
    pci_drv_ops_t *ops;
25
};
25
};