From: Christoph Hellwig <hch@caldera.de>
To: davem@redhat.com ("David S. Miller")
Cc: willy@meta-x.org, linux-kernel@vger.kernel.org, wtarreau@yahoo.fr
Subject: Re: sunhme.c patch for new PCI interface (UNTESTED)
Date: Thu, 16 Nov 2000 13:13:37 +0100 [thread overview]
Message-ID: <200011161213.NAA27334@ns.caldera.de> (raw)
In-Reply-To: <200011160845.AAA10212@pizda.ninka.net>
In article <200011160845.AAA10212@pizda.ninka.net> you wrote:
> I never ported it to the new PCI interfaces strictly because when
> combined with SBUS it makes the driver initialization look really
> sloppy.
BTW, what do you think of a new PCI style probing for SBUS?
When I hacked on a small sbus driver, I thought it might be a good idea
to have tables like the new PCI interface for all busses.
The interface for SBUS would be:
struct sbus_device_id {
char * promname;
unsigned long driver_data;
};
struct sbus_driver {
struct list_head node;
char * name;
struct sbus_device_id * id_table;
int (* probe)(struct sbus_dev * dev, const struct sbus_device_id * id);
void (* remove)(struct sbus_dev * dev);
};
Would you accept such a change for 2.5?
Christoph
--
Always remember that you are unique. Just like everyone else.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2000-11-16 12:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-16 8:33 sunhme.c patch for new PCI interface (UNTESTED) Adam J. Richter
2000-11-16 8:45 ` David S. Miller
2000-11-16 12:13 ` Christoph Hellwig [this message]
2000-11-16 12:22 ` David S. Miller
2000-11-17 6:51 ` Zach Brown
2000-11-17 21:42 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2000-11-16 11:10 Adam J. Richter
2000-11-16 11:07 ` David S. Miller
2000-11-17 22:15 Adam J. Richter
2000-11-17 22:40 ` Jeff Garzik
2000-11-19 6:50 ` Albert D. Cahalan
2000-11-18 1:44 Adam J. Richter
2000-11-18 2:14 Adam J. Richter
2000-11-19 7:54 Adam J. Richter
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=200011161213.NAA27334@ns.caldera.de \
--to=hch@caldera.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=willy@meta-x.org \
--cc=wtarreau@yahoo.fr \
/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