public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Atwood <mra@pobox.com>
To: Linux Kernel Development <linux-kernel@vger.kernel.org>
Subject: Module read a file?
Date: 11 Oct 2001 13:48:18 -0700	[thread overview]
Message-ID: <m38zehucml.fsf@flash.localdomain> (raw)
In-Reply-To: Dan Hollis's message of "Thu, 11 Oct 2001 13:16:51 -0700 (PDT)"

I'm modifying a PCMCIA driver module so that it can load new firmware
into the card when it's inserted.

Rather than including the firmware inside the module's binary, I would
much rather be able to read it out of the filesystem.

Are their any good examples of kernel code or kernel modules reading a
file out of the filesystem that I could copy or at least look to for
inspiration?

-- 
Mark Atwood   | I'm wearing black only until I find something darker.
mra@pobox.com | http://www.pobox.com/~mra

             reply	other threads:[~2001-10-11 20:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 20:48 Mark Atwood [this message]
2001-10-11 21:19 ` Module read a file? Christopher Friesen
2001-10-11 21:25   ` Mark Atwood
2001-10-11 21:39     ` Christopher Friesen
2001-10-11 21:46     ` Greg KH
2001-10-12  8:12       ` Ian Stirling
2001-10-11 21:57     ` John Adams
2001-10-11 22:18     ` Alan Cox
2001-10-11 22:29       ` Mark Atwood
2001-10-12  4:43 ` T. A.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38zehucml.fsf@flash.localdomain \
    --to=mra@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox