From: salvador <salvador@inti.gov.ar>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org
Subject: Re: [PATCH][RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry
Date: Wed, 09 Jan 2002 14:40:35 -0300 [thread overview]
Message-ID: <3C3C8093.7213A219@inti.gov.ar> (raw)
In-Reply-To: <E16OLS9-0001aF-00@the-village.bc.nu>
Alan Cox wrote:
> > + if (proc_mkdir (proc_str, 0)) {
> > + sprintf(proc_str, "driver/%s/%s", name,
> > card->pci_dev->slot_name);
> > + if (proc_mkdir (proc_str, 0)) {
> > + sprintf(proc_str, "driver/%s/%s/ac97", name,
> > card->pci_dev->slot_name);
> > + create_proc_read_entry (proc_str, 0, 0,
> > ac97_read_proc, codec);
> > + }
> > + }
>
> Where do you remove it.
I don't remove it, sorry I'll add it in the next iteration of the patch
BTW: I think the entry goes away when the module is removed. Is the kernel doing
a cleanup?
> Also a card can have multiple ac97 codecs
You are right, will also take care about it. Do you think
/proc/driver/{vendor}/{dev_pci}/{num_ac97}/ac97 will be ok?
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set@computer.org set@ieee.org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
next prev parent reply other threads:[~2002-01-09 17:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-09 15:51 [PATCH][RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry for trident driver salvador
2002-01-09 16:19 ` [PATCH][RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry Alan Cox
2002-01-09 17:40 ` salvador [this message]
2002-01-10 2:23 ` [PATCH][RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 Alan Cox
2002-01-11 15:25 ` salvador
-- strict thread matches above, loose matches on Subject: below --
2002-01-10 15:35 [PATCH][RFCA] Sound: adding /proc/driver/{vendor}/{dev_pci}/ac97 entry William Robison
2002-01-10 17:32 ` salvador
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=3C3C8093.7213A219@inti.gov.ar \
--to=salvador@inti.gov.ar \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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