patch-2.3.16 linux/drivers/net/irda/toshoboe.c
Next file: linux/drivers/net/irda/uircc.c
Previous file: linux/drivers/net/irda/tekram.c
Back to the patch index
Back to the overall index
- Lines: 41
- Date:
Mon Aug 30 10:23:14 1999
- Orig file:
v2.3.15/linux/drivers/net/irda/toshoboe.c
- Orig date:
Wed Aug 18 11:38:51 1999
diff -u --recursive --new-file v2.3.15/linux/drivers/net/irda/toshoboe.c linux/drivers/net/irda/toshoboe.c
@@ -460,7 +460,7 @@
/* Change the baud rate */
static void
-toshoboe_change_speed (struct irda_device *idev, int speed)
+toshoboe_change_speed (struct irda_device *idev, __u32 speed)
{
struct toshoboe_cb *self;
DEBUG (4, __FUNCTION__ "()\n");
@@ -582,10 +582,7 @@
sti ();
-
- dev->tbusy = 0;
- dev->interrupt = 0;
- dev->start = 1;
+ irda_device_net_open(dev);
MOD_INC_USE_COUNT;
@@ -607,9 +604,7 @@
ASSERT (idev != NULL, return 0;);
ASSERT (idev->magic == IRDA_DEVICE_MAGIC, return 0;);
- dev->tbusy = 1;
- dev->start = 0;
-
+ irda_device_net_close(dev);
self = idev->priv;
@@ -849,7 +844,7 @@
PCI_DEVICE_ID_FIR701, pci_dev);
if (pci_dev)
{
- printk (KERN_WARNING "ToshOboe: Found 701 chip at 0x%0lx irq %d\n",
+ printk (KERN_WARNING "ToshOboe: Found 701 chip at 0x%0lx irq %ld\n",
pci_dev->resource[0],
pci_dev->irq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)