---
name: "mca_find_unused_adapter"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/mca_find_unused_adapter"
---

# mca\_find\_unused\_adapter(9)

scan for unused adapters

## NAME

mca\_find\_unused\_adapter - scan for unused adapters

## SYNOPSIS

**int mca\_find\_unused\_adapter(int** *id***, int** *start***);**

## ARGUMENTS

*id*

MCA identification to search for

*start*

starting slot

## DESCRIPTION

Search the MCA configuration for adapters matching the 16bit ID given. The first time it should be called with start as zero and then further calls made passing the return value of the previous call until **MCA\_NOTFOUND** is returned.

Adapters that have been claimed by drivers and those that are disabled are not reported. This function thus allows a driver to scan for further cards when some may already be driven.

## AUTHORS

**Alan Cox** \<alan@lxorguk.ukuu.org.uk\>

Author.

**David Weinehall**

Author.

**Chris Beauregard**

Author.

## COPYRIGHT
