~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/net/irda/irport.h

Version: ~ [ 2.2.5 ] ~ [ 2.4.1 ] ~ [ 2.4.9 ] ~ [ 2.6.17.10 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*********************************************************************
  2  *                
  3  * Filename:      irport.h
  4  * Version:       0.1
  5  * Description:   Serial driver for IrDA
  6  * Status:        Experimental.
  7  * Author:        Dag Brattli <dagb@cs.uit.no>
  8  * Created at:    Sun Aug  3 13:49:59 1997
  9  * Modified at:   Thu Jan  7 14:17:31 1999
 10  * Modified by:   Dag Brattli <dagb@cs.uit.no>
 11  * 
 12  *     Copyright (c) 1997, 1998 Dag Brattli <dagb@cs.uit.no>
 13  *     All Rights Reserved.
 14  *     
 15  *     This program is free software; you can redistribute it and/or 
 16  *     modify it under the terms of the GNU General Public License as 
 17  *     published by the Free Software Foundation; either version 2 of 
 18  *     the License, or (at your option) any later version.
 19  *
 20  *     Neither Dag Brattli nor University of Tromsų admit liability nor
 21  *     provide warranty for any of this software. This material is 
 22  *     provided "AS-IS" and at no charge.
 23  *
 24  ********************************************************************/
 25 
 26 #ifndef IRPORT_H
 27 #define IRPORT_H
 28 
 29 #include <linux/netdevice.h>
 30 #include <linux/skbuff.h>
 31 #include <linux/types.h>
 32 
 33 #include <net/irda/irda_device.h>
 34 
 35 #define SPEED_DEFAULT 9600
 36 #define SPEED_MAX     115200
 37 
 38 /*
 39  * These are the supported serial types.
 40  */
 41 #define PORT_UNKNOWN    0
 42 #define PORT_8250       1
 43 #define PORT_16450      2
 44 #define PORT_16550      3
 45 #define PORT_16550A     4
 46 #define PORT_CIRRUS     5
 47 #define PORT_16650      6
 48 #define PORT_MAX        6  
 49 
 50 #define FRAME_MAX_SIZE 2048
 51 
 52 void irport_close( int iobase);
 53 int  irport_open( int iobase);
 54 int  irport_detect(struct irda_device *idev);
 55 
 56 void irport_change_speed( int iobase, int speed);
 57 void irport_interrupt(int irq, void *dev_id, struct pt_regs *regs);
 58 
 59 int  irport_hard_xmit( struct sk_buff *skb, struct device *dev);
 60 
 61 #endif
 62 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.