---
name: "pci_bus_max_busnr"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_bus_max_busnr"
---

# pci\_bus\_max\_busnr(9)

returns maximum PCI bus number of given bus' children

## NAME

pci\_bus\_max\_busnr - returns maximum PCI bus number of given bus' children

## SYNOPSIS

**unsigned char pci\_bus\_max\_busnr(struct pci\_bus \*** *bus***);**

## ARGUMENTS

*bus*

pointer to PCI bus structure to search

## DESCRIPTION

Given a PCI bus, returns the highest PCI bus number present in the set including the given PCI bus and its list of child PCI buses.

## COPYRIGHT
