patch-2.1.77 linux/drivers/net/hamradio/baycom_par.c
Next file: linux/drivers/scsi/Makefile
Previous file: linux/drivers/net/eepro100.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Wed Dec 31 11:55:54 1997
- Orig file:
v2.1.76/linux/drivers/net/hamradio/baycom_par.c
- Orig date:
Sun Dec 21 22:36:13 1997
diff -u --recursive --new-file v2.1.76/linux/drivers/net/hamradio/baycom_par.c linux/drivers/net/hamradio/baycom_par.c
@@ -392,18 +392,18 @@
return -ENXIO;
}
if (pp->irq < 0) {
- printk(KERN_ERR "baycom_par: parport at 0x%x has no irq\n", pp->base);
+ printk(KERN_ERR "baycom_par: parport at 0x%lx has no irq\n", pp->base);
return -ENXIO;
}
memset(&bc->modem, 0, sizeof(bc->modem));
bc->hdrv.par.bitrate = 9600;
if (!(bc->pdev = parport_register_device(pp, dev->name, par96_preempt, par96_wakeup,
par96_interrupt, PARPORT_DEV_LURK, dev))) {
- printk(KERN_ERR "baycom_par: cannot register parport at 0x%x\n", pp->base);
+ printk(KERN_ERR "baycom_par: cannot register parport at 0x%lx\n", pp->base);
return -ENXIO;
}
if (parport_claim(bc->pdev)) {
- printk(KERN_ERR "baycom_par: parport at 0x%x busy\n", pp->base);
+ printk(KERN_ERR "baycom_par: parport at 0x%lx busy\n", pp->base);
parport_unregister_device(bc->pdev);
return -EBUSY;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov