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: Sat Jun 26 16:57:03 1999 10 * Modified by: Dag Brattli <dagb@cs.uit.no> 12 * Copyright (c) 1997, 1998-1999 Dag Brattli <dagb@cs.uit.no> 13 * All Rights Reserved. 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. 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. 24 ********************************************************************/ 29 #include <linux/netdevice.h> 30 #include <linux/skbuff.h> 31 #include <linux/types.h> 33 #include <net/irda/irda_device.h> 35 #define SPEED_DEFAULT 9600 36 #define SPEED_MAX 115200 39 * These are the supported serial types. 41 #define PORT_UNKNOWN 0 50 #define FRAME_MAX_SIZE 2048 52 voidirport_start(struct irda_device
*idev
,int iobase
); 53 voidirport_stop(struct irda_device
*idev
,int iobase
); 54 intirport_probe(int iobase
); 56 voidirport_change_speed(struct irda_device
*idev
, __u32 speed
); 57 voidirport_interrupt(int irq
,void*dev_id
,struct pt_regs
*regs
); 59 intirport_hard_xmit(struct sk_buff
*skb
,struct net_device
*dev
); 60 voidirport_wait_until_sent(struct irda_device
*idev
);