Re: Exposing ROM's though sysfs

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

  • Next message: Giuliano Pochini: "Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c"
    Date:	Fri, 30 Jul 2004 22:41:21 +0200
    To: Jon Smirl <jonsmirl@yahoo.com>
    
    

    Hello!

    > Reasons for ROMs in sysfs:

    Good ones, although I believe than re-initializing cards after resume
    should better be in the kernel.

    > The only time the ROM will get cached is when you load a kernel device
    > driver for a card that implements minimalistic PCI decoding (very few
    > cards) and the driver asks for it. The driver would ask for caching
    > since it knows that the decoder lines aren't complete.

    And, even with your list of reasons, it is still very unlikely that anybody
    will ever need the cached copy :-) I still do not see a device which
    would have shared decoders AND needed such initialization in userspace.

    (Also, while we are speaking about video hardware -- they either have no
    kernel driver, so nobody can ask for the copy, or they have one, but in
    that case the BIOS mode switching calls and similar things can be accomplished
    by the kernel driver with no need of messing with the ROM in the userspace.)

                                    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
    How an engineer writes a program: Start by debugging an empty file...
    -
    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: Giuliano Pochini: "Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c"

    Relevant Pages

    • Alpha problem with networking support with sk98lin -> oops on bringing up interfaces
      ... I have a alpha box which I can't get nerworking working with my sk98lin ... I had other weird problems with trying a few other network cards ... 512328k/523672k available (2007k kernel code, 8920k reserved, ... RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize ...
      (Linux-Kernel)
    • [PATCH 18-rc2] Fix typos in /Documentation : N-P
      ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
      (Linux-Kernel)
    • two scary syslog kernel messages
      ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
      (Debian-User)
    • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
      ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
      (Linux-Kernel)
    • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
      ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
      (Linux-Kernel)