X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lspci.h;h=160c65a2a968ddde2c1721e8ca7ecd407a06504e;hb=23b1ee0cef6856d540916e05cc80fab99eaefaa0;hp=6e0bb2492fd532d11b4235a93982229b7c3ef5e1;hpb=fb570ee3b622125ec1eebd87cd5f8253fd76ef43;p=pciutils.git diff --git a/lspci.h b/lspci.h index 6e0bb24..160c65a 100644 --- a/lspci.h +++ b/lspci.h @@ -39,6 +39,7 @@ struct device { struct bus *parent_bus; struct bridge *bridge; /* Cache */ + int no_config_access; unsigned int config_cached, config_bufsize; byte *config; /* Cached configuration space data */ byte *present; /* Maps which configuration bytes are present */ @@ -87,7 +88,7 @@ void show_kernel_cleanup(void); struct bridge { struct bridge *chain; /* Single-linked list of bridges */ - struct bridge *next, *child; /* Tree of bridges */ + struct bridge *next, *prev, *child; /* Tree of bridges */ struct bus *first_bus, *last_bus; /* List of buses connected to this bridge */ unsigned int domain; unsigned int primary, secondary, subordinate; /* Bus numbers */