netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • [parent not found: <20040303145738.293f987d.rddunlap@osdl.org>]
  • * Re: [janitor] use netdev_priv() in synclink (char. driver)
    @ 2004-03-04 21:20 Randy.Dunlap
      0 siblings, 0 replies; 4+ messages in thread
    From: Randy.Dunlap @ 2004-03-04 21:20 UTC (permalink / raw)
      To: netdev
    
    
    
    | 
    | From: Carlo Perassi <carlo@linux.it>
    | and Randy.Dunlap <rddunlap@osdl.org>
    
    
    Jeff, can you add this patch and the fusion/mptlan driver
    patch as well?
    
    --
    ~Randy
    
    
    
    
     linux-264-302-priv-rddunlap/drivers/char/synclink.c |   12 ++++++------
     1 files changed, 6 insertions(+), 6 deletions(-)
    
    diff -puN drivers/char/synclink.c~synclink_casts drivers/char/synclink.c
    --- linux-264-302-priv/drivers/char/synclink.c~synclink_casts	2004-03-02 12:56:23.000000000 -0800
    +++ linux-264-302-priv-rddunlap/drivers/char/synclink.c	2004-03-02 13:01:39.000000000 -0800
    @@ -7878,7 +7878,7 @@ void mgsl_sppp_delete(struct mgsl_struct
     
     int mgsl_sppp_open(struct net_device *d)
     {
    -	struct mgsl_struct *info = d->priv;
    +	struct mgsl_struct *info = netdev_priv(d);
     	int err;
     	unsigned long flags;
     
    @@ -7920,7 +7920,7 @@ open_fail:
     
     void mgsl_sppp_tx_timeout(struct net_device *dev)
     {
    -	struct mgsl_struct *info = dev->priv;
    +	struct mgsl_struct *info = netdev_priv(dev);
     	unsigned long flags;
     
     	if (debug_level >= DEBUG_LEVEL_INFO)
    @@ -7938,7 +7938,7 @@ void mgsl_sppp_tx_timeout(struct net_dev
     
     int mgsl_sppp_tx(struct sk_buff *skb, struct net_device *dev)
     {
    -	struct mgsl_struct *info = dev->priv;
    +	struct mgsl_struct *info = netdev_priv(dev);
     	unsigned long flags;
     
     	if (debug_level >= DEBUG_LEVEL_INFO)
    @@ -7964,7 +7964,7 @@ int mgsl_sppp_tx(struct sk_buff *skb, st
     
     int mgsl_sppp_close(struct net_device *d)
     {
    -	struct mgsl_struct *info = d->priv;
    +	struct mgsl_struct *info = netdev_priv(d);
     	unsigned long flags;
     
     	if (debug_level >= DEBUG_LEVEL_INFO)
    @@ -8014,7 +8014,7 @@ void mgsl_sppp_tx_done(struct mgsl_struc
     
     struct net_device_stats *mgsl_net_stats(struct net_device *dev)
     {
    -	struct mgsl_struct *info = dev->priv;
    +	struct mgsl_struct *info = netdev_priv(dev);
     	if (debug_level >= DEBUG_LEVEL_INFO)
     		printk("mgsl_net_stats(%s)\n",info->netname);	
     	return &info->netstats;
    @@ -8022,7 +8022,7 @@ struct net_device_stats *mgsl_net_stats(
     
     int mgsl_sppp_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
     {
    -	struct mgsl_struct *info = (struct mgsl_struct *)dev->priv;
    +	struct mgsl_struct *info = netdev_priv(dev);
     	if (debug_level >= DEBUG_LEVEL_INFO)
     		printk("%s(%d):mgsl_ioctl %s cmd=%08X\n", __FILE__,__LINE__,
     			info->netname, cmd );
    
    _
    
    
    --
    ~Randy
    
    ^ permalink raw reply	[flat|nested] 4+ messages in thread

    end of thread, other threads:[~2004-03-12 18:37 UTC | newest]
    
    Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20040303142907.09d0f7bd.rddunlap@osdl.org>
         [not found] ` <20040303150105.7ff770b0.rddunlap@osdl.org>
    2004-03-05 15:15   ` [janitor] use netdev_priv() in synclink (char. driver) Paul Fulghum
    2004-03-07  4:16     ` Randy.Dunlap
         [not found] ` <20040303145738.293f987d.rddunlap@osdl.org>
    2004-03-12 18:37   ` [janitor] use netdev_priv() in drivers/net/ (others) Jeff Garzik
    2004-03-04 21:20 [janitor] use netdev_priv() in synclink (char. driver) Randy.Dunlap
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).