Linux-kernel mailing list archive 2000-15,: Re: sgiserial.c / rs_init invoke ?

# Re: sgiserial.c / rs_init invoke ?

Geert Uytterhoeven (geert@linux-m68k.org)
Fri, 14 Apr 2000 14:48:42 +0200 (CEST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: sara@procsys.com: "Re: is (rscsi_disks[i].sector_size != 512) ok ?"
- Previous message: Marc Duponcheel: "kmem_cache_grow OOPS (2.3.99-pre5)"

On Wed, 12 Apr 2000, Florian Lohoff wrote:
> i am currently digging deeper into sgiserial.c and friends.
> My problem right now is that i dont understand when and how the
> rs_init should and will be called - Currently i have an
> __initcall(rs_init) in arch/mips/sgi/kernel/setup.c which is definitly
> wrong - But should this be invoked - I cant find how i386 does this
> (Could somebody enlighten me what module_init(rs_init) in
> drivers/char/serial.c does ?)

module_init(rs_init) == __initcall(rs_init)

Both add rs_init() to the list (read: array) of functions to be called during
initialization.

Gr{oetje,eeting}s,

Geert

    --
    Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    							    -- Linus Torvalds

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: sara@procsys.com: "Re: is (rscsi_disks[i].sector_size != 512) ok ?"
- Previous message: Marc Duponcheel: "kmem_cache_grow OOPS (2.3.99-pre5)"