mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "T. A." <tkhoadfdsaf@hotmail.com>
To: "Linux Kernel Development" <linux-kernel@vger.kernel.org>,
	"Mark Atwood" <mra@pobox.com>
Subject: Re: Module read a file?
Date: Fri, 12 Oct 2001 00:43:44 -0400	[thread overview]
Message-ID: <OE51xcbz37cfJiY9ZNM0000e151@hotmail.com> (raw)
In-Reply-To: <m38zehucml.fsf@flash.localdomain>

Check the PSS sound driver code.  In either 2.2.x or 2.4.x.  It allows you
to load a firmware from a selected file.

----- Original Message -----
From: "Mark Atwood" <mra@pobox.com>
To: "Linux Kernel Development" <linux-kernel@vger.kernel.org>
Sent: Thursday, October 11, 2001 4:48 PM
Subject: Module read a file?


> 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
> -
> 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/
>

      parent reply	other threads:[~2001-10-12  4:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-11 20:48 Mark Atwood
2001-10-11 21:19 ` 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. [this message]

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=OE51xcbz37cfJiY9ZNM0000e151@hotmail.com \
    --to=tkhoadfdsaf@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mra@pobox.com \
    /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

all inboxes | Powered by JetHome®