return err;
}
-\f
/*---------- network device ---------- */
static int cosa_net_attach(struct net_device *dev, unsigned short encoding,
return 1;
}
-
static ssize_t cosa_write(struct file *file,
const char __user *buf, size_t count, loff_t *ppos)
{
}
#endif
-\f
/* ---------- Ioctls ---------- */
/*
if (d.len < 0 || d.len > COSA_MAX_FIRMWARE_SIZE)
return -EINVAL;
-
/* If something fails, force the user to reset the card */
cosa->firmware_status &= ~(COSA_FW_RESET|COSA_FW_DOWNLOAD);
return ret;
}
-\f
/*---------- HW layer interface ---------- */
/*
return 1;
}
-\f
/* ---------- The SRP/COSA ROM monitor functions ---------- */
/*
return 0;
}
-
/*
* Starting microcode is done via the "g" command of the SRP monitor.
* The chat should be the following: "g" "g=" "<addr><CR>"
return id;
}
-\f
/* ---------- Auxiliary routines for COSA/SRP monitor ---------- */
/*
return 0;
}
-\f
/* ---------- Interrupt routines ---------- */
/*
return IRQ_HANDLED;
}
-\f
/* ---------- I/O debugging routines ---------- */
/*
* These routines can be used to monitor COSA/SRP I/O and to printk()