lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Nokia c110 driver
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1



    Sam Ravnborg wrote:
    |
    | The above files are normal .o files, that should be linked in.
    | So what you do is to rename the above files to:
    | dhw.o_shipped
    | dap.o_shipped
    | dmgr.o_shipped
    | dcfg.o_shipped
    |
    | And then in your makefile specify:
    |
    | obj-m := cs110.o
    | cs110-y := dhw.o dap.o dmgr.o dcfg.o
    | cs110-y += <additional .o files compield from .c files>
    |

    It compiled, finally. I have not been able to convince it to create a
    device though, but the driver at least loads. Has anything changed in
    the handling of netdevices between 2.4 and 2.6 that could cause this
    behavior? That is, the pcmcia tools notice the card and load the module,
    but then nothing else happens (module usecount 0, no netdevice present)

    Is there some kbuild howto somewhere? If not, one is definitely
    necessary I think. I had never heard about the _shipped thing (and I did
    look around a bit and read and reread the driver porting guide chapter
    on kbuild).

    Now, is there anyone else that is in possession of this card and can
    test the modified driver? I will try and make a patch tomorrow...a lot
    of changes were needed and I think it's pretty messy (I am not an
    experienced c person) but at least it compiles and loads now.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFATkAFrPQTyNB9u9YRAiNYAJ0XUOMwXrsdfUSwyXARUD0om7B4hQCfQO6N
    a+0rrABQO8+/Sp1RWEfUIY4=
    =vziv
    -----END PGP SIGNATURE-----
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:01    [W:0.021 / U:119.996 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site