---
name: "pci_disable_device"
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_disable_device"
---

# pci\_disable\_device(9)

Disable PCI device after use

## NAME

pci\_disable\_device - Disable PCI device after use

## SYNOPSIS

**void pci\_disable\_device(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

PCI device to be disabled

## DESCRIPTION

Signal to the system that the PCI device is not in use by the system anymore. This only involves disabling PCI bus-mastering, if active.

Note we don't actually disable the device until all callers of **pci\_enable\_device** have called **pci\_disable\_device**.

## COPYRIGHT
