Scroll to navigation

MCA_FIND_UNUSED_ADAP(9) Public Functions Provided MCA_FIND_UNUSED_ADAP(9)

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

May 2024 Kernel Hackers Manual 2.6.