From: Rene Herman <rene.herman@keyaccess.nl>
To: Simon White <s_a_white@email.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Driver model ISA bus
Date: Sun, 30 Jul 2006 11:55:31 +0200 [thread overview]
Message-ID: <44CC8213.6020201@keyaccess.nl> (raw)
In-Reply-To: <20060730081824.2763A478088@ws1-5.us4.outblaze.com>
Simon White wrote:
> Would it be better to have a name variable directly in isa_device and
> then copy that to driver in isa_register_device (like
> pci_register_device does)?
No, that wouldn't be useful. The point of this code is largely that the
devices belong to the driver; do not have a life of their own. As such,
naming them after the driver is the correct thibng to do.
> I was trying to look for use examples of this code in 2.6.18-rc2 but
> didn't see any.
Yes, apologies. I was converting ALSA ISA drivers to use it but had (and
have) to deal with a few other matters first all of a sudden. I'll get
to it shortly. There is a usage example I posted on the kernelnewbies
list a while ago:
http://www.spinics.net/lists/newbies/msg21845.html
> Is the intent of name to be the cards address, and ndev to be the
> function on a specific card?
No, the name is just an identifier under which the driver (and devices)
show up in sysfs and ndev the number of devices we want to the driver
code to call our methods with -- given that ISA devices do not announce
themselves we have to tell the driver core this.
By the way, please CC people on LKML. I'm still being busy and had to
pick this out of the trash where it caught my eye by chance...
Rene.
next prev parent reply other threads:[~2006-07-30 9:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-30 8:18 Driver model ISA bus Simon White
2006-07-30 9:55 ` Rene Herman [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-07-30 12:24 Simon White
2006-07-30 13:13 ` Rene Herman
2006-07-30 13:21 ` Rene Herman
2006-06-06 21:54 Rene Herman
2006-06-16 23:42 ` Greg KH
2006-06-18 18:51 ` Rene Herman
2006-05-04 22:07 Rene Herman
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=44CC8213.6020201@keyaccess.nl \
--to=rene.herman@keyaccess.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=s_a_white@email.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