Re: Exposing ROM's though sysfs

From: Martin Mares (mj_at_ucw.cz)
Date: 07/30/04

  • Next message: Vojtech Pavlik: "Re: Exposing ROM's though sysfs"
    Date:	Fri, 30 Jul 2004 21:46:34 +0200
    To: Jon Smirl <jonsmirl@yahoo.com>
    
    

    Hello!

    > The caching is only going to happen for cards with minimal address
    > decoder implementations. As far as I know there is only one card that
    > does this.

    Yes, but ...

    (1) it doesn't change the fact that the caching is in the vast majority
    of cases just wasting of RAM, even if it will happen only with a couple
    of cards.

    (2) not all drivers dwell in the kernel.

    I would prefer keeping sysfs access the ROM directly, with a little
    work-around disabling the sysfs file for the devices known for sharing
    decoders and to offer a boot-time parameter for forcing the copy in case
    you really need such feature for that particular device.

                                    Have a nice fortnight

    -- 
    Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
    Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
    return(EIEIO); /* Here-a-bug, There-a-bug... */
    -
    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: Vojtech Pavlik: "Re: Exposing ROM's though sysfs"

    Relevant Pages

    • Re: HARDWARE: Open-Source-Friendly Graphics Cards -- Viable?
      ... If it has any chance of being on-par or a little ... I wouldn't buy a card that wouldn't have the three aforementioned features. ... a blurry fast one. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.11 vs DVB cx88 stuffs
      ... >> be a good idea to build the cx88 stuff in the DVB section ... the card is working in ntsc just fine. ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Small PCI core patch
      ... the binary drivers make absolutely no verification of the ... > command streams passed from userland, you can make the card do whatever ... The resulting bad PR should fix their security holes quick ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: aditional parallel port problems
      ... > solve my problem with the help of Dino Klein, ... your card seems to be 'moded' through ... > module options the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-rc1-bk11+ and 2.6.9-rc1-mm3,4 r8169: freeze during boot (FIX included)
      ... the crash is not immediate. ... possibly in>32-bit addresses but the card hasn't been told to support ... Turning off high DMA fixes it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)