From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Jeff Garzik <jgarzik@pobox.com>,
Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6 IrDA] irtty cleanup
Date: Fri, 5 Sep 2003 14:42:45 -0700 [thread overview]
Message-ID: <20030905214245.GD14233@bougret.hpl.hp.com> (raw)
ir2604_irtty_cleanup-2.diff :
~~~~~~~~~~~~~~~~~~~~~~~~~~~
o [FEATURE] Finish removing traces of old irtty driver
diff -u -p linux/net/irda/timer.d2.c linux/net/irda/timer.c
--- linux/net/irda/timer.d2.c Thu Sep 4 15:48:59 2003
+++ linux/net/irda/timer.c Thu Sep 4 15:50:04 2003
@@ -30,7 +30,7 @@
#include <net/irda/timer.h>
#include <net/irda/irda.h>
-#include <net/irda/irtty.h>
+#include <net/irda/irda_device.h>
#include <net/irda/irlap.h>
#include <net/irda/irlmp.h>
diff -u -p linux/net/irda/wrapper.d2.c linux/net/irda/wrapper.c
--- linux/net/irda/wrapper.d2.c Thu Sep 4 15:50:30 2003
+++ linux/net/irda/wrapper.c Thu Sep 4 15:50:47 2003
@@ -32,7 +32,6 @@
#include <net/irda/irda.h>
#include <net/irda/wrapper.h>
-#include <net/irda/irtty.h>
#include <net/irda/crc.h>
#include <net/irda/irlap.h>
#include <net/irda/irlap_frame.h>
diff -u -p linux/drivers/net/irda/act200l.d2.c linux/drivers/net/irda/act200l.c
--- linux/drivers/net/irda/act200l.d2.c Thu Sep 4 15:42:24 2003
+++ linux/drivers/net/irda/act200l.c Thu Sep 4 15:42:55 2003
@@ -25,7 +25,6 @@
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
-#include <net/irda/irtty.h>
static int act200l_reset(struct irda_task *task);
static void act200l_open(dongle_t *self, struct qos_info *qos);
diff -u -p linux/drivers/net/irda/girbil.d2.c linux/drivers/net/irda/girbil.c
--- linux/drivers/net/irda/girbil.d2.c Thu Sep 4 15:41:36 2003
+++ linux/drivers/net/irda/girbil.c Thu Sep 4 15:41:47 2003
@@ -29,7 +29,6 @@
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
-#include <net/irda/irtty.h>
static int girbil_reset(struct irda_task *task);
static void girbil_open(dongle_t *self, struct qos_info *qos);
diff -u -p linux/drivers/net/irda/ma600.d2.c linux/drivers/net/irda/ma600.c
--- linux/drivers/net/irda/ma600.d2.c Thu Sep 4 15:42:32 2003
+++ linux/drivers/net/irda/ma600.c Thu Sep 4 15:42:44 2003
@@ -41,7 +41,6 @@
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
-#include <net/irda/irtty.h>
#ifndef NDEBUG
#undef IRDA_DEBUG
diff -u -p linux/drivers/net/irda/mcp2120.d2.c linux/drivers/net/irda/mcp2120.c
--- linux/drivers/net/irda/mcp2120.d2.c Thu Sep 4 15:42:17 2003
+++ linux/drivers/net/irda/mcp2120.c Thu Sep 4 15:43:08 2003
@@ -25,7 +25,6 @@
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
-#include <net/irda/irtty.h>
static int mcp2120_reset(struct irda_task *task);
static void mcp2120_open(dongle_t *self, struct qos_info *qos);
diff -u -p linux/drivers/net/irda/tekram.d2.c linux/drivers/net/irda/tekram.c
--- linux/drivers/net/irda/tekram.d2.c Thu Sep 4 15:40:55 2003
+++ linux/drivers/net/irda/tekram.c Thu Sep 4 15:41:05 2003
@@ -29,7 +29,6 @@
#include <net/irda/irda.h>
#include <net/irda/irda_device.h>
-#include <net/irda/irtty.h>
static void tekram_open(dongle_t *self, struct qos_info *qos);
static void tekram_close(dongle_t *self);
diff -u -p --new-file linux/include/net/irda.d2/irtty.h linux/include/net/irda/irtty.h
--- linux/include/net/irda.d2/irtty.h Tue Sep 2 19:01:23 2003
+++ linux/include/net/irda/irtty.h Wed Dec 31 16:00:00 1969
@@ -1,80 +0,0 @@
-/*********************************************************************
- *
- * Filename: irtty.h
- * Version: 1.0
- * Description:
- * Status: Experimental.
- * Author: Dag Brattli <dagb@cs.uit.no>
- * Created at: Tue Dec 9 21:13:12 1997
- * Modified at: Tue Jan 25 09:10:18 2000
- * Modified by: Dag Brattli <dagb@cs.uit.no>
- *
- * Copyright (c) 1997, 1999-2000 Dag Brattli, All Rights Reserved.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * Neither Dag Brattli nor University of Tromsø admit liability nor
- * provide warranty for any of this software. This material is
- * provided "AS-IS" and at no charge.
- *
- ********************************************************************/
-
-#ifndef IRTTY_H
-#define IRTTY_H
-
-#include <linux/if.h>
-#include <linux/skbuff.h>
-#include <linux/termios.h>
-#include <linux/netdevice.h>
-
-#include <net/irda/irda.h>
-#include <net/irda/irda_device.h>
-
-/* Used by ioctl */
-struct irtty_info {
- char name[6];
-};
-
-#define IRTTY_IOC_MAGIC 'e'
-#define IRTTY_IOCTDONGLE _IO(IRTTY_IOC_MAGIC, 1)
-#define IRTTY_IOCGET _IOR(IRTTY_IOC_MAGIC, 2, struct irtty_info)
-#define IRTTY_IOC_MAXNR 2
-
-struct irtty_cb {
- magic_t magic;
-
- struct net_device *netdev; /* Yes! we are some kind of netdevice */
- struct irda_task *task;
- struct net_device_stats stats;
-
- struct tty_struct *tty;
- struct irlap_cb *irlap; /* The link layer we are binded to */
-
- chipio_t io; /* IrDA controller information */
- iobuff_t tx_buff; /* Transmit buffer */
- iobuff_t rx_buff; /* Receive buffer */
-
- struct qos_info qos; /* QoS capabilities for this device */
- dongle_t *dongle; /* Dongle driver */
-
-
- spinlock_t lock; /* For serializing operations */
-
- __u32 new_speed;
- __u32 flags; /* Interface flags */
-
- INFRARED_MODE mode;
-};
-
-int irtty_register_dongle(struct dongle_reg *dongle);
-void irtty_unregister_dongle(struct dongle_reg *dongle);
-
-#endif
-
-
-
-
-
reply other threads:[~2003-09-05 21:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030905214245.GD14233@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=jgarzik@pobox.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®