Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/slab.h>
#include <asm/prom.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
Go to the source code of this file.
Data Structures | |
struct | uflash_dev |
Macros | |
#define | UFLASH_OBPNAME "flashprom" |
#define | DRIVER_NAME "sun_uflash" |
#define | PFX DRIVER_NAME ": " |
#define | UFLASH_WINDOW_SIZE 0x200000 |
#define | UFLASH_BUSWIDTH 1 /* EBus is 8-bit */ |
Functions | |
MODULE_AUTHOR ("Eric Brower <[email protected]>") | |
MODULE_DESCRIPTION ("User-programmable flash device on Sun Microsystems boardsets") | |
MODULE_SUPPORTED_DEVICE (DRIVER_NAME) | |
MODULE_LICENSE ("GPL") | |
MODULE_VERSION ("2.1") | |
int | uflash_devinit (struct platform_device *op, struct device_node *dp) |
MODULE_DEVICE_TABLE (of, uflash_match) | |
module_platform_driver (uflash_driver) | |
Variables | |
struct map_info | uflash_map_templ |
#define DRIVER_NAME "sun_uflash" |
Definition at line 27 of file sun_uflash.c.
#define PFX DRIVER_NAME ": " |
Definition at line 28 of file sun_uflash.c.
Definition at line 31 of file sun_uflash.c.
#define UFLASH_OBPNAME "flashprom" |
Definition at line 26 of file sun_uflash.c.
#define UFLASH_WINDOW_SIZE 0x200000 |
Definition at line 30 of file sun_uflash.c.
MODULE_AUTHOR | ( | "Eric Brower <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
uflash_match | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | uflash_driver | ) |
MODULE_SUPPORTED_DEVICE | ( | DRIVER_NAME | ) |
MODULE_VERSION | ( | "2.1" | ) |
int uflash_devinit | ( | struct platform_device * | op, |
struct device_node * | dp | ||
) |
Definition at line 51 of file sun_uflash.c.
Definition at line 45 of file sun_uflash.c.