I've bought ST-Lab USB-IrDA adapter, based on STIR4210. I downloaded Linux drivers from sigmatel.com; correct paths in Makefile and tried to compile them, but:
/usr/src/linux-2.6.5-7.145/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
/usr/src/linux-2.6.5-7.145/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux-2.6.5-7.145/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
irda-usb.c: In function `irda_usb_change_speed_xbofs':
The paths are set correctly, current kernel is downloaded from Suse Yast Online Update - so I didn't any changes in it. Somebody know how to compile this driver?