mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Dunlap, Randy" <randy.dunlap@intel.com>
To: "'jalaja devi'" <jala_74@yahoo.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Maillist <linux-kernel@vger.kernel.org>
Subject: RE: kernel2.2.x to kernel2.4.x
Date: Thu, 17 May 2001 12:19:27 -0700	[thread overview]
Message-ID: <D5E932F578EBD111AC3F00A0C96B1E6F07DBE2AB@orsmsx31.jf.intel.com> (raw)

see http://www.firstfloor.org/~andi/softnet/

~Randy


> -----Original Message-----
> From: jalaja devi [mailto:jala_74@yahoo.com]
> 
> How can I handle this from kernel2.2 to kernel2.4
> 
> Can I replace like this??
> 
> if (test_and_set_bit (0, (void *)&dev->tbusy)){ return
> EBUSY;} ========== with  netif_stop_queue (dev);
> 
> clear_bit ((void *)&dev->tbusy); ===== with
> netif_start_queue(dev);
> 
> Thanks
> Jalaja
> 
> --- Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> > > I tried porting a network driver from kernel2.2.x
> > to
> > > 2.4. When i tried loading the driver, it shows the
> > > unresolved symbols for
> > > copy_to_user_ret
> > 
> > 	if(copy_to_user(...))
> > 		return -EFAULT
> > 
> > > outs
> > 
> > 	Has not gone away, your includes are wrong
> > 
> > > __bad_udelay
> > 
> > 	You are using too large a udelay use mdelay
> > -
> > To unsubscribe from this list: send the line
> > "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at 
> > http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


             reply	other threads:[~2001-05-17 19:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-17 19:19 Dunlap, Randy [this message]
2001-06-04 19:52 ` Error Compiling Driver code: jalaja devi
2001-06-05 19:17 ` smp errors in 2.4!! jalaja devi
  -- strict thread matches above, loose matches on Subject: below --
2001-05-16  4:08 kernel2.2.x to kernel2.4.x Dunlap, Randy
2001-05-16  0:14 Is printing broke on sparc ? Mr. James W. Laferriere
2001-05-16  0:27 ` kernel2.2.x to kernel2.4.x jalaja devi
2001-05-16 20:40   ` Alan Cox
2001-05-17 18:20     ` jalaja devi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D5E932F578EBD111AC3F00A0C96B1E6F07DBE2AB@orsmsx31.jf.intel.com \
    --to=randy.dunlap@intel.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jala_74@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®