---
name: "pci_restore_bars"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_restore_bars"
---

# pci\_restore\_bars(9)

restore a devices BAR values (e.g. after wake-up)

## NAME

pci\_restore\_bars - restore a devices BAR values (e.g. after wake-up)

## SYNOPSIS

**void pci\_restore\_bars(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

PCI device to have its BARs restored

## DESCRIPTION

Restore the BAR values for a given device, so as to make it accessible by its driver.

## COPYRIGHT
