Main Page | Class List | File List | Class Members | File Members | Related Pages

src/drivers/llc_serial.c File Reference

User space interface for software data link devices on a serial port. More...

#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
#include <otto/otto.h>
#include <otto/packet.h>
#include <otto/device.h>
#include <otto/control.h>
#include "llc.h"

Classes

struct  llc_serial_priv
 Private driver data. More...


Functions

const char _ID_[] __attribute__ ((unused))="$Id: llc_serial.c,v 1.5 2004/07/07 22:07:11 alpha Exp $"
otto_devicellc_serial_open (const char *fname)
int llc_serial_close (struct otto_device *dev)
int llc_serial_write (struct otto_device *dev, int bus, union otto_packet *pkt)
int llc_serial_read (struct otto_device *dev, int bus, union otto_packet *pkt)
int llc_serial_control (struct otto_device *dev, int bus, void *data, int cmd)
void __attribute ((constructor))

Variables

otto_driver llc_serial_drv


Detailed Description

User space interface for software data link devices on a serial port.

Todo:

Function Documentation

void __attribute (constructor)   )  [static]
 

const char _ID_ [] __attribute__ (unused)   )  [static]
 

int llc_serial_close struct otto_device dev  )  [static]
 

int llc_serial_control struct otto_device dev,
int  bus,
void *  data,
int  cmd
[static]
 

struct otto_device* llc_serial_open const char *  fname  )  [static]
 

int llc_serial_read struct otto_device dev,
int  bus,
union otto_packet pkt
[static]
 

int llc_serial_write struct otto_device dev,
int  bus,
union otto_packet pkt
[static]
 


Variable Documentation

struct otto_driver llc_serial_drv [static]
 

Initial value:

{ .name = "llc_serial", .desc = "Device driver for SAE VPW and PWM buses over a serial port", .author = "Darius Rad <alpha@area49.net>", .license = "GPL", .open = llc_serial_open, .close = llc_serial_close, .write = llc_serial_write, .read = llc_serial_read, .control = llc_serial_control, }


Generated on Thu Jul 8 19:26:06 2004 for OpenOtto by doxygen 1.3.7