#include <linux/bug.h>
#include <linux/ctype.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/firewire.h>
#include <linux/firewire-constants.h>
#include <linux/idr.h>
#include <linux/jiffies.h>
#include <linux/kobject.h>
#include <linux/list.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/random.h>
#include <linux/rwsem.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/workqueue.h>
#include <linux/atomic.h>
#include <asm/byteorder.h>
#include "core.h"
Go to the source code of this file.
|
#define | IMMEDIATE_ATTR(name, key) { __ATTR(name, S_IRUGO, show_immediate, NULL), key } |
|
#define | TEXT_LEAF_ATTR(name, key) { __ATTR(name, S_IRUGO, show_text_leaf, NULL), key } |
|
#define | MAX_CONFIG_ROM_SIZE 256 |
|
#define | MAX_RETRIES 10 |
|
#define | RETRY_DELAY (3 * HZ) |
|
#define | INITIAL_DELAY (HZ / 2) |
|
#define | SHUTDOWN_DELAY (2 * HZ) |
|
#define INITIAL_DELAY (HZ / 2) |
#define MAX_CONFIG_ROM_SIZE 256 |
#define RETRY_DELAY (3 * HZ) |
#define SHUTDOWN_DELAY (2 * HZ) |
- Enumerator:
BC_UNKNOWN |
|
BC_UNIMPLEMENTED |
|
BC_IMPLEMENTED |
|
Definition at line 915 of file core-device.c.
fw_csr_string() - reads a string from the configuration ROM : e.g. root directory or unit directory : the key of the preceding directory entry : where to put the string : size of , in bytes
The string is taken from a minimal ASCII text descriptor leaf after the immediate entry with . The string is zero-terminated. Returns strlen(buf) or a negative error code.
Definition at line 120 of file core-device.c.
Initial value:= {
.name = "firewire",
.match = fw_unit_match,
}
Definition at line 213 of file core-device.c.