Monday, September 05, 2005

hostap_cs with 2.6.13

There is a new function in linux-2.6.13/drivers/pcmcia/ds.c

static void pcmcia_check_driver(struct pcmcia_driver *p_drv)
{
struct pcmcia_device_id *did = p_drv->id_table;
unsigned int i;
u32 hash;

if (!p_drv->attach || !p_drv->event || !p_drv->detach)
printk(KERN_DEBUG "pcmcia: %s lacks a requisite callback "
"function\n", p_drv->drv.name);


And now, hostap_cs can't be started:
file:///var/log/syslog
Sep 5 20:03:08 valiho cardmgr[3055]: socket 0: INTERSIL
Sep 5 20:03:08 valiho cardmgr[3055]: executing: 'modprobe hostap_crypt_wep'
Sep 5 20:03:08 valiho kernel: hostap_crypt: registered algorithm 'NULL'
Sep 5 20:03:08 valiho kernel: hostap_crypt: registered algorithm 'WEP'
Sep 5 20:03:08 valiho cardmgr[3055]: executing: 'modprobe hostap'
Sep 5 20:03:08 valiho cardmgr[3055]: executing: 'modprobe hostap_cs'
Sep 5 20:03:08 valiho kernel: hostap_cs: 0.3.9 - 2005-06-10 (Jouni Malinen )
Sep 5 20:03:08 valiho kernel: pcmcia: hostap_cs lacks a requisite callback function
Sep 5 20:03:08 valiho cardmgr[3055]: get dev info on socket 0 failed: No such device
Sep 5 20:03:08 valiho kernel: hostap_cs: setting Vcc=33 (constant)

driver for Y-E Floppy Drive

Tested with 2.4.26 on Libretto and Vaio
Problems with 2.6 kernels.