Changeset 250717cc in mainline for pci/libpci/pci.h


Ignore:
Timestamp:
2006-05-16T09:30:42Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ec153a0
Parents:
51d6f80
Message:

Add services.h to codify service numbers.
Assign codes for PCI, keyboard and frame buffer services.

Rename ipc_answer() to ipc_answer_fast() and add the basic
slower variant and call it ipc_answer(). Add some doxygen comments.

Remove unused bits from the libpci library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pci/libpci/pci.h

    r51d6f80 r250717cc  
    5050        struct id_entry **id_hash;      /* names.c */
    5151        struct id_bucket *current_id_bucket;
    52         int fd;                 /* proc: fd */
    53         int fd_rw;              /* proc: fd opened read-write */
    54         struct pci_dev *cached_dev;     /* proc: device the fd is for */
    55         int fd_pos;             /* proc: current position */
    5652};
    5753
     
    117113
    118114/*
    119  *      Filters
    120  */
    121 
    122 struct pci_filter {
    123         int domain, bus, slot, func;    /* -1 = ANY */
    124         int vendor, device;
    125 };
    126 
    127 void pci_filter_init(struct pci_access *, struct pci_filter *);
    128 char *pci_filter_parse_slot(struct pci_filter *, char *);
    129 char *pci_filter_parse_id(struct pci_filter *, char *);
    130 int pci_filter_match(struct pci_filter *, struct pci_dev *);
    131 
    132 /*
    133115 *      Conversion of PCI ID's to names (according to the pci.ids file)
    134116 *
Note: See TracChangeset for help on using the changeset viewer.