---
name: "pci_disable_rom"
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_rom"
---

# pci\_disable\_rom(9)

disable ROM decoding for a PCI device

## NAME

pci\_disable\_rom - disable ROM decoding for a PCI device

## SYNOPSIS

**void pci\_disable\_rom(struct pci\_dev \*** *pdev***);**

## ARGUMENTS

*pdev*

PCI device to disable

## DESCRIPTION

Disable ROM decoding on a PCI device by turning off the last bit in the ROM BAR.

## COPYRIGHT
