patch-2.3.14 linux/drivers/net/irda/pc87108.c
Next file: linux/drivers/net/irda/smc-ircc.c
Previous file: linux/drivers/net/irda/irtty.c
Back to the patch index
Back to the overall index
- Lines: 58
- Date:
Wed Aug 18 11:38:51 1999
- Orig file:
v2.3.13/linux/drivers/net/irda/pc87108.c
- Orig date:
Thu Jul 8 15:42:20 1999
diff -u --recursive --new-file v2.3.13/linux/drivers/net/irda/pc87108.c linux/drivers/net/irda/pc87108.c
@@ -107,7 +107,7 @@
static void pc87108_pio_receive(struct irda_device *idev);
static int pc87108_dma_receive(struct irda_device *idev);
static int pc87108_dma_receive_complete(struct irda_device *idev, int iobase);
-static int pc87108_hard_xmit(struct sk_buff *skb, struct device *dev);
+static int pc87108_hard_xmit(struct sk_buff *skb, struct net_device *dev);
static int pc87108_pio_write(int iobase, __u8 *buf, int len, int fifo_size);
static void pc87108_dma_write(struct irda_device *idev, int iobase);
static void pc87108_change_speed(struct irda_device *idev, int baud);
@@ -117,9 +117,9 @@
static int pc87108_read_dongle_id (int iobase);
static void pc87108_init_dongle_interface (int iobase, int dongle_id);
-static int pc87108_net_init(struct device *dev);
-static int pc87108_net_open(struct device *dev);
-static int pc87108_net_close(struct device *dev);
+static int pc87108_net_init(struct net_device *dev);
+static int pc87108_net_open(struct net_device *dev);
+static int pc87108_net_close(struct net_device *dev);
/*
* Function pc87108_init ()
@@ -712,7 +712,7 @@
* Transmit the frame!
*
*/
-static int pc87108_hard_xmit( struct sk_buff *skb, struct device *dev)
+static int pc87108_hard_xmit( struct sk_buff *skb, struct net_device *dev)
{
struct irda_device *idev;
int iobase;
@@ -1344,7 +1344,7 @@
* Initialize network device
*
*/
-static int pc87108_net_init( struct device *dev)
+static int pc87108_net_init( struct net_device *dev)
{
DEBUG( 4, __FUNCTION__ "()\n");
@@ -1363,7 +1363,7 @@
* Start the device
*
*/
-static int pc87108_net_open( struct device *dev)
+static int pc87108_net_open( struct net_device *dev)
{
struct irda_device *idev;
int iobase;
@@ -1418,7 +1418,7 @@
* Stop the device
*
*/
-static int pc87108_net_close(struct device *dev)
+static int pc87108_net_close(struct net_device *dev)
{
struct irda_device *idev;
int iobase;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)