* RE: kernel2.2.x to kernel2.4.x
@ 2001-05-17 19:19 Dunlap, Randy
2001-06-04 19:52 ` Error Compiling Driver code: jalaja devi
2001-06-05 19:17 ` smp errors in 2.4!! jalaja devi
0 siblings, 2 replies; 4+ messages in thread
From: Dunlap, Randy @ 2001-05-17 19:19 UTC (permalink / raw)
To: 'jalaja devi', Alan Cox; +Cc: Linux Kernel Maillist
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/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Error Compiling Driver code:
2001-05-17 19:19 kernel2.2.x to kernel2.4.x Dunlap, Randy
@ 2001-06-04 19:52 ` jalaja devi
2001-06-05 19:17 ` smp errors in 2.4!! jalaja devi
1 sibling, 0 replies; 4+ messages in thread
From: jalaja devi @ 2001-06-04 19:52 UTC (permalink / raw)
To: Linux Kernel Maillist
Hi ,
I am trying to compile a driver code in Red Hat 6.2
which is already a working code, but I get the
following errors when i compile.
/usr/src/linux/include/asm/smp.h:206: arguments given
to macro `hard_smp_processor_id'
Any clue or hint will be helpful.
Thanks
jalaja
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* smp errors in 2.4!!
2001-05-17 19:19 kernel2.2.x to kernel2.4.x Dunlap, Randy
2001-06-04 19:52 ` Error Compiling Driver code: jalaja devi
@ 2001-06-05 19:17 ` jalaja devi
1 sibling, 0 replies; 4+ messages in thread
From: jalaja devi @ 2001-06-05 19:17 UTC (permalink / raw)
To: linux-kernel
I encounter this compilation error:
/usr/x.c:2112: struct has no member named
"event_Rsmp_7b16c344"
The structure has that field and I don't have the
conflicting structure name anywhere in my code and in
the system files too.
The makefile uses sed and *.d files.
Could anyone help me out as how to fix this.
Thanks
Jalaja
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Error Compiling Driver code:
@ 2001-06-04 19:58 Khachaturov, Vassilii
0 siblings, 0 replies; 4+ messages in thread
From: Khachaturov, Vassilii @ 2001-06-04 19:58 UTC (permalink / raw)
To: 'jalaja devi'; +Cc: Linux Kernel Maillist
1) Check the FAQ - http://www.tux.org/lkml/#s8
2) RH6.2 as it is doesn't come with all the newest tools versions needed for
the 2.4.x kernels. See Documentation/versions.
HTH,
Vassilii
> -----Original Message-----
> Hi ,
> I am trying to compile a driver code in Red Hat 6.2
> which is already a working code, but I get the
> following errors when i compile.
>
> /usr/src/linux/include/asm/smp.h:206: arguments given
> to macro `hard_smp_processor_id'
>
[snip]
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-05 19:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-17 19:19 kernel2.2.x to kernel2.4.x Dunlap, Randy
2001-06-04 19:52 ` Error Compiling Driver code: jalaja devi
2001-06-05 19:17 ` smp errors in 2.4!! jalaja devi
2001-06-04 19:58 Error Compiling Driver code: Khachaturov, Vassilii
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®