Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
ide-pio-blacklist.c File Reference
#include <linux/string.h>

Go to the source code of this file.

Data Structures

struct  ide_pio_info


int ide_scan_pio_blacklist (char *model)

Function Documentation

int ide_scan_pio_blacklist ( char model)

ide_scan_pio_blacklist - check for a blacklisted drive : Drive model string

This routine searches the ide_pio_blacklist for an entry matching the start/whole of the supplied model name.

Returns -1 if no match found. Otherwise returns the recommended PIO mode from ide_pio_blacklist[].

Definition at line 85 of file ide-pio-blacklist.c.