Re: Exposing ROM's though sysfs

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

  • Next message: Andi Kleen: "Re: [PATCH] Improve pci_alloc_consistent wrapper on preemptive kernels"
    Date:	Fri, 30 Jul 2004 20:20:54 +0200
    To: Jesse Barnes <jbarnes@engr.sgi.com>
    
    

    Hello!

    > That might be a good solution, actually. Then it would be cached for devices
    > that don't want you to look at it after they've been POSTed too.

    There already exists a "pci=rom" switch which tells the PCI core to assign
    addresses to the ROM BAR's as well. Either we can offer the files in the sysfs
    only if this switch is enabled, or we can create another switch for making
    copies of the ROM's during system boot.

    Anyway, the devices sharing ROM decoder with another BAR seem to be pretty
    rare.

                                    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
    Anti-trust laws should be approached with exactly that attitude.
    -
    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: Andi Kleen: "Re: [PATCH] Improve pci_alloc_consistent wrapper on preemptive kernels"

    Relevant Pages

    • Re: [RFC] ethtool semantics
      ... I find the c) feature very convenient. ... the configuration of the switch, something which is usually (pick your ... Command line parameters of the bcm5700 driver do implement c) (among ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [linux-pm] [RFC] Add some hooks to generic suspend code
      ... > switch to other console before suspend, so X has to give up ... I'd rather not break an existing and relied upon userland interface now, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6.8
      ... - cannot ping the test system from another system (don't get the "no route ... - Alt-SysRq keys still work ... - eventually the mouse would not switch displays ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: pci-irq VIA82C586 problem on IBM 4694-205 kernel version 2.4.29
      ... I try to switch back to the function from version 2.4.18 and it is ... Best regards, Frank ... >>But if I run ifconfig the system fries. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [ACPI] Re: Video memory corruption during suspend
      ... swsusp1 also triggers that. ... A plain windowmaker dekstop takes much shorter to switch. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)