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

Go to the source code of this file.

Functions

charide_media_string (ide_drive_t *drive)
 
int ide_sysfs_register_port (ide_hwif_t *hwif)
 

Variables

struct device_attribute ide_dev_attrs []
 

Function Documentation

char* ide_media_string ( ide_drive_t drive)

Definition at line 4 of file ide-sysfs.c.

int ide_sysfs_register_port ( ide_hwif_t hwif)

Definition at line 114 of file ide-sysfs.c.

Variable Documentation

struct device_attribute ide_dev_attrs[]
Initial value:
= {
__ATTR_RO(media),
__ATTR_RO(drivename),
__ATTR_RO(modalias),
__ATTR_RO(model),
__ATTR(serial, 0400, serial_show, NULL),
__ATTR(unload_heads, 0644, ide_park_show, ide_park_store),
}

Definition at line 64 of file ide-sysfs.c.