patch-2.4.10 linux/drivers/net/irda/vlsi_ir.c
Next file: linux/drivers/net/irda/w83977af_ir.c
Previous file: linux/drivers/net/irda/toshoboe.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Sep 14 14:39:59 2001
- Orig file:
v2.4.9/linux/drivers/net/irda/vlsi_ir.c
- Orig date:
Mon Aug 27 12:41:42 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/net/irda/vlsi_ir.c linux/drivers/net/irda/vlsi_ir.c
@@ -728,7 +728,7 @@
u8 irintr;
int boguscount = 20;
int no_speed_check = 0;
- unsigned flags;
+ unsigned long flags;
iobase = ndev->base_addr;
@@ -776,6 +776,7 @@
{
vlsi_irda_dev_t *idev = ndev->priv;
struct pci_dev *pdev = idev->pdev;
+ char hwname[32];
int err;
MOD_INC_USE_COUNT; /* still needed? - we have SET_MODULE_OWNER! */
@@ -824,7 +825,8 @@
(idev->mode==IFF_SIR)?"SIR":((idev->mode==IFF_MIR)?"MIR":"FIR"),
(sirpulse)?"3/16 bittime":"short");
- idev->irlap = irlap_open(ndev,&idev->qos);
+ sprintf(hwname, "VLSI-FIR");
+ idev->irlap = irlap_open(ndev,&idev->qos,hwname);
netif_start_queue(ndev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)