All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jon Mason <jon.mason@intel.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-pci@vger.kernel.org, Dave Jiang <dave.jiang@intel.com>
Subject: Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support
Date: Wed, 1 Aug 2012 18:49:11 -0700	[thread overview]
Message-ID: <20120802014911.GC17548@jonmason-lab> (raw)
In-Reply-To: <20120731222555.GB19134@kroah.com>

On Tue, Jul 31, 2012 at 03:25:55PM -0700, Greg KH wrote:
> On Sun, Jul 29, 2012 at 05:26:33PM -0700, Jon Mason wrote:
> > +struct ntb_transport_qp;
> > +
> > +struct ntb_client {
> > +	char *name;
> > +	int (*probe) (struct pci_dev *pdev);
> > +	void (*remove) (struct pci_dev *pdev);
> > +};
> 
> Why isn't this tied into the driver model?  That looks like you really
> want to use a 'struct device' here, right?
> 
> Then you have drivers that bind to them, and your devices show up in
> sysfs, which is probably a requirement you have, right?

I was trying to do something more light-weight than that and avoid the
complexity, but this is probably the direction it needs to go.

Thanks,
Jon

> 
> greg k-h

  reply	other threads:[~2012-08-02  1:49 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-30  0:26 [RFC v2 0/2] PCI-Express Non-Transparent Bridge Support Jon Mason
2012-07-30  0:26 ` [RFC v2 1/2] " Jon Mason
2012-07-30 16:50   ` Bjorn Helgaas
2012-07-30 18:15     ` Jon Mason
2012-07-31  3:35       ` Jianbin Kang
2012-07-31 16:33         ` Jon Mason
2012-08-01  2:10           ` Jianbin Kang
2012-08-01  2:18             ` Jiang, Dave
2012-07-31 13:45       ` Bjorn Helgaas
2012-07-31 16:02         ` chetan loke
2012-07-31 17:03           ` Bjorn Helgaas
2012-07-31 17:27           ` Jon Mason
2012-07-31 18:02             ` chetan loke
2012-08-02  1:43               ` Jon Mason
2012-07-31 17:10         ` Jon Mason
2012-07-31 16:14   ` chetan loke
2012-07-31 22:23   ` Greg KH
2012-07-31 22:51     ` Jon Mason
2012-07-31 23:14       ` Greg KH
2012-07-31 22:25   ` Greg KH
2012-08-02  1:49     ` Jon Mason [this message]
2012-07-30  0:26 ` [RFC v2 2/2] net: Add support for NTB virtual ethernet device Jon Mason
2012-07-30 14:02   ` Jiri Pirko
2012-07-30 18:19     ` Jon Mason
2012-07-30 20:09       ` Jiri Pirko
2012-07-31 22:28   ` Greg KH

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=20120802014911.GC17548@jonmason-lab \
    --to=jon.mason@intel.com \
    --cc=dave.jiang@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=netdev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.