PDCSPATH_HWPATH_WRITE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

pdcspath_hwpath_write - This function handles hardware path modifying.  

SYNOPSIS

"SYNOPSIS"

ssize_t pdcspath_hwpath_write (struct pdcspath_entry * entry, const char * buf, size_t count);  

ARGUMENTS

entry
An allocated and populated pdscpath_entry struct.
buf
The input buffer to read from.
count
The number of bytes to be read.
 

DESCRIPTION

We will call this function to change the current hardware path. Hardware paths are to be given '/'-delimited, without brackets. We take care to make sure that the provided path actually maps to an existing device, BUT nothing would prevent some foolish user to set the path to some PCI bridge or even a CPU... A better work around would be to make sure we are at the end of a device tree for instance, but it would be IMHO beyond the simple scope of that driver. The aim is to provide a facility. Data correctness is left to userland.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:38 GMT, October 09, 2005