SPARC64: Modular floppy?

From: Horst von Brand (vonbrand_at_inf.utfsm.cl)
Date: 02/28/05

  • Next message: soporte_at_becas.com: "QConstestaci=F3n?= a su consulta en Becas.com"
    To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
    Date:	Mon, 28 Feb 2005 17:07:43 -0300
    
    

    As things stand today, floppy can't be modular (even though the
    configuration allows it!) because drivers/block/floppy.c references stuff
    in arch/sparc64/kernel/entry.S which isn't included if the floppy
    isn't. But that same code references symbols in floppy.c, so it doesn't
    help making it depend on floppy (modular or not).

    So, either the dependencies have to get fixed so floppy can't be modular
    for this architecture, or the relevant functions have to move from entry.S
    to the module. Last looks like a mess, splattering .S for sparc64 into
    drivers, or moving it to arch. Or is there some way of building a module
    from pieces in different directories under architecture control?

    Or this can be declared an endearing quirk of Linux on SPARC ;-)

    -- 
    Dr. Horst H. von Brand                   User #22616 counter.li.org
    Departamento de Informatica                     Fono: +56 32 654431
    Universidad Tecnica Federico Santa Maria              +56 32 654239
    Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
    -
    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/
    

  • Next message: soporte_at_becas.com: "QConstestaci=F3n?= a su consulta en Becas.com"

    Relevant Pages

    • Re: udev sysfs docs Re: State of devfs in 2.6?
      ... floppy is always present in the system, but I access it like once a month ... driver non-stop in unswappable kernel memory is wastefull. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PROBLEM: floppy motor spins when floppy module not installed
      ... >> in the BIOS settings so the hard disk is tried before floppy. ... >> ever need to boot from a floppy, ... This seems like the correct solution to me. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Odd floppy disk error
      ... Sep 27 22:44:04 minjami kernel: Buffer I/O error on device fd0, ... You sure have made a fast floppy driver, ... GNU/Linux" is a mixed Debian 3.0r1 stable/testing/unstable system. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: floppy regression from "[PATCH] fix floppy.c to store correct ..."
      ... > causes an annoying side-effect. ... Upon first write attempt to a floppy I get ... On later opens, we have done, so ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • floppy regression from "[PATCH] fix floppy.c to store correct ..."
      ... causes an annoying side-effect. ... Upon first write attempt to a floppy I get ... dd: writing `/dev/fd0': Operation not permitted ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)