]> mj.ucw.cz Git - pciutils.git/blobdiff - lspci.h
lspci: Decode PCIe 6.0 Slot Power Limit values
[pciutils.git] / lspci.h
diff --git a/lspci.h b/lspci.h
index 9c12eb8e85c25d17f4407a5225709ab1a1449d78..6e0bb2492fd532d11b4235a93982229b7c3ef5e1 100644 (file)
--- a/lspci.h
+++ b/lspci.h
@@ -55,8 +55,6 @@ u32 get_conf_long(struct device *d, unsigned int pos);
 word get_conf_word(struct device *d, unsigned int pos);
 byte get_conf_byte(struct device *d, unsigned int pos);
 
-void get_subid(struct device *d, word *subvp, word *subdp);
-
 /* Useful macros for decoding of bits and bit fields */
 
 #define FLAG(x,y) ((x & y) ? '+' : '-')
@@ -90,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 bus *first_bus;               /* List of buses connected to this bridge */
+  struct bus *first_bus, *last_bus;    /* List of buses connected to this bridge */
   unsigned int domain;
   unsigned int primary, secondary, subordinate;        /* Bus numbers */
   struct device *br_dev;
@@ -107,7 +105,7 @@ struct bus {
 extern struct bridge host_bridge;
 
 void grow_tree(void);
-void show_forest(void);
+void show_forest(struct pci_filter *filter);
 
 /* ls-map.c */