BEST PCIe driver
 All Data Structures Files Functions Variables Macros Pages
BEST_mailbox_device.h File Reference

Char driver for mailbox comm. More...

Go to the source code of this file.

Data Structures

struct  mailbox_dev_struct
 

Functions

int mailbox_dev_create (struct mailbox_dev_struct *dev, struct class *best_class)
 Creates new Mailbox char device. More...
 
void mailbox_dev_remove (struct mailbox_dev_struct *dev, struct class *best_class)
 Removes Mailbox char device. More...
 

Detailed Description

Char driver for mailbox comm.

Author
Jan Marjanovic (j.mar.nosp@m.jano.nosp@m.vic@c.nosp@m.aene.nosp@m.ls.co.nosp@m.m)
Date
June 2014

Function Documentation

int mailbox_dev_create ( struct mailbox_dev_struct dev,
struct class *  best_class 
)

Creates new Mailbox char device.

Parameters
devStructure with Mailbox info
best_classClass which this device will be part of
void mailbox_dev_remove ( struct mailbox_dev_struct dev,
struct class *  best_class 
)

Removes Mailbox char device.

Parameters
devStructure with Mailbox info
best_classClass which this device will be part of