Re: [PARPORT] plip


Dave Smith (dpilot63@harborside.com)
Sun, 16 Jan 2000 17:37:40 -0800


Philip----Could you explain what the code that you put on the
net is and what it is for I'm a newby and am trying to learn
any and everything that there is to learn about it, we have
Redhat Mandrake 6.5, and are having a terrible time of getting
the dialer to work properly. It connects and then disconnects
and will not hang onto the connection. We have no trouble
with the printer on this 6.5, but we had Redhat 6.1 and had no
trouble with the modem and the web of any kind , but could not
get the printer to work on it. We have a HPDJ 832c, and on
the Mandrake it works fine and I didn't have to lift a finger
to get it that way. If you have any suggestions I would sure
appreciate it. Thank you for your time.

Dave Smith

From: Philip Blundell <Philip.Blundell@pobox.com>
To: <tim@cyberelk.demon.co.uk>
Cc: <linux-parport@torque.net>
Sent: Sunday, January 16, 2000 1:42 PM
Subject: [PARPORT] plip

> Changing PLIP's irq using ifconfig was marked as deprecated
in 2.2, by the
> looks of things. I think it's time to get rid of it.
>
> p.
>
> Index: plip.c
>
==============================================================
=====
> RCS file: /cvsroot/pub/kernel/armlinux/drivers/net/plip.c,v
> retrieving revision 1.3
> diff -u -r1.3 plip.c
> --- plip.c 1999/09/17 13:39:31 1.3
> +++ plip.c 2000/01/16 21:41:35
> @@ -318,7 +318,6 @@
> dev->open = plip_open;
> dev->stop = plip_close;
> dev->get_stats = plip_get_stats;
> - dev->set_config = plip_config;
> dev->do_ioctl = plip_ioctl;
> dev->header_cache_update = NULL;
> dev->tx_queue_len = 10;
> @@ -1226,27 +1225,6 @@
> struct net_device_stats *r = &nl->enet_stats;
>
> return r;
> -}
> -
> -static int
> -plip_config(struct net_device *dev, struct ifmap *map)
> -{
> - struct net_local *nl = (struct net_local *) dev->priv;
> - struct pardevice *pardev = nl->pardev;
> -
> - if (dev->flags & IFF_UP)
> - return -EBUSY;
> -
> - printk(KERN_WARNING "plip: Warning, changing irq with
ifconfig will be obsoleted.\n");
> - printk(KERN_WARNING "plip: Next time, please set with
/proc/parport/*/irq instead.\n");
> -
> - if (map->irq != (unsigned char)-1) {
> - pardev->port->irq = dev->irq = map->irq;
> - /* Dummy request */
> - request_irq(dev->irq, plip_interrupt, SA_INTERRUPT,
> - pardev->name, NULL);
> - }
> - return 0;
> }
>
> static int
>
>
>
> -- To unsubscribe, send mail to:
linux-parport-request@torque.net --
> -- with the single word "unsubscribe" in the body of the
message. --
>

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Sun 16 Jan 2000 - 20:41:51 EST