/* Read doesn't do much either. (pppd poll us, but ultimately reads through /dev/ppp)  */
static ssize_t dev_irnet_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
/* Read doesn't do much either. (pppd poll us, but ultimately reads through /dev/ppp)  */
static ssize_t dev_irnet_read(struct file *file, char __user *buf, size_t count, loff_t *ppos)
{
  irnet_socket *	ap = (struct irnet_socket *) file->private_data;
  DPASS(FS_TRACE, "(file=0x%p, ap=0x%p, count=%Zd)\n",
	file, ap, count);
  DABORT(ap == NULL, -ENXIO, FS_ERROR, "ap is NULL !!!\n");
  if(ap->ppp_open)
    return -EAGAIN;
  else
    return irnet_ctrl_read(ap, file, buf, count);
}