porting network driver from 2.2.x to 2.4.x

From: Roman Mashak (mrv_at_tusur.ru)
Date: 02/25/04

  • Next message: Happyslayer: "Re: Kernel 2.4.24 to 2.6.3, doesn't modules_install"
    Date: Wed, 25 Feb 2004 08:47:32 +0900
    
    

    Hello, All!

    There are some sources of pseudo network interface driver develkoped for
    2.2.x kernel. I have to port it onto 2.4.x kernel.
    I have explored the structure 'net_device' from linux/net/netdevice.h, there
    are few major changes. The main problem for now is - how to check that
    interface is ready to transmit data (in 2.2.x 'tbusy' field was used fot
    this and function 'test_and_set_busy' checking the 'tbusy' state). But thus
    field was removed from 2.4.x kernel, and now you should use the function
    'netif_start_queue' or 'netif_stop_queue'.

    How can I check in 2.4.x that device is not busy and ready to to transmit
    data?

    Thanks in advance.

    With best regards, Roman Mashak. E-mail: mrv@tusur.ru


  • Next message: Happyslayer: "Re: Kernel 2.4.24 to 2.6.3, doesn't modules_install"

    Relevant Pages

    • porting network driver from 2.2.x to 2.4.x
      ... There are some sources of pseudo network interface driver develkoped for ... I have to port it onto 2.4.x kernel. ... interface is ready to transmit data (in 2.2.x 'tbusy' field was used fot ... this and function 'test_and_set_busy' checking the 'tbusy' state). ...
      (comp.os.linux.development.apps)
    • porting network driver from 2.2.x to 2.4.x
      ... There are some sources of pseudo network interface driver develkoped for ... I have to port it onto 2.4.x kernel. ... interface is ready to transmit data (in 2.2.x 'tbusy' field was used fot ... this and function 'test_and_set_busy' checking the 'tbusy' state). ...
      (comp.os.linux.development.system)