#include <linux/kernel.h>
#include <linux/zorro.h>
#include <linux/stat.h>
#include <linux/string.h>
#include "zorro.h"
Go to the source code of this file.
|
| zorro_config_attr (id, id,"0x%08x\n") |
|
| zorro_config_attr (type, rom.er_Type,"0x%02x\n") |
|
| zorro_config_attr (serial, rom.er_SerialNumber,"0x%08x\n") |
|
| zorro_config_attr (slotaddr, slotaddr,"0x%04x\n") |
|
| zorro_config_attr (slotsize, slotsize,"0x%04x\n") |
|
int | zorro_create_sysfs_dev_files (struct zorro_dev *z) |
|
#define zorro_config_attr |
( |
|
name, |
|
|
|
field, |
|
|
|
format_string |
|
) |
| |
zorro_config_attr |
( |
id |
, |
|
|
id |
, |
|
|
"0x%08x\n" |
|
|
) |
| |
zorro_config_attr |
( |
type |
, |
|
|
rom. |
er_Type, |
|
|
"0x%02x\n" |
|
|
) |
| |
zorro_config_attr |
( |
serial |
, |
|
|
rom. |
er_SerialNumber, |
|
|
"0x%08x\n" |
|
|
) |
| |
zorro_config_attr |
( |
slotaddr |
, |
|
|
slotaddr |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
zorro_config_attr |
( |
slotsize |
, |
|
|
slotsize |
, |
|
|
"0x%04x\n" |
|
|
) |
| |
int zorro_create_sysfs_dev_files |
( |
struct zorro_dev * |
z | ) |
|