public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Divy Le Ray <divy@chelsio.com>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Divy Le Ray <None@chelsio.com>,
	jeff@garzik.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, swise@opengridcomputing.com
Subject: Re: [PATCH 2/10] cxgb3 - main source file
Date: Thu, 21 Dec 2006 23:17:59 -0800	[thread overview]
Message-ID: <458B86A7.6030402@chelsio.com> (raw)
In-Reply-To: <1166688978.3365.1472.camel@laptopd505.fenrus.org>

Arjan van de Ven wrote:
>> They are used to parameter the HW:
>> register access,
>
> ethtool supports that, so shouldn't be an ioctl for sure
>
>>  configuration of queue sets, on board memory 
>> configuration,
>
> I'm sure ethtool can do that too
>
>> firmware load, etc ...
>
> and for this we have request_firmware() interface. 
>
> adding device specific ioctl that duplicate functionality that exists or
> should exist in a generic way isn't really acceptable for 2.6 kernels
> anymore....
>
Arjan,

The driver implements all the ethtool operations that apply to it.
The GETREG ioctl is left for debug purposes:
get_regs doesn't return clear-on-read registers while GETREG does.

Using request_firmware assumes that the driver knows the FW file name
and the driver initiates the load. That's not our model where we work
with different FWs, don't know what the names are, and the user 
initiates the load.

Cheers,
Divy

  reply	other threads:[~2006-12-22  7:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 12:41 [PATCH 2/10] cxgb3 - main source file Divy Le Ray
2006-12-20 14:02 ` Arjan van de Ven
2006-12-20 23:43   ` Divy Le Ray
2006-12-21  8:16     ` Arjan van de Ven
2006-12-22  7:17       ` Divy Le Ray [this message]
2006-12-22 11:26         ` Arjan van de Ven
  -- strict thread matches above, loose matches on Subject: below --
2006-12-22  7:20 Divy Le Ray
2006-12-14  5:41 Divy Le Ray
2006-12-08  3:27 Divy Le Ray
2006-12-04 19:44 Divy Le Ray
2006-12-04 21:09 ` Stephen Hemminger
2006-12-05  8:29   ` Divy Le Ray
2006-11-17 20:23 Divy Le Ray <divy@chelsio.com>

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=458B86A7.6030402@chelsio.com \
    --to=divy@chelsio.com \
    --cc=None@chelsio.com \
    --cc=arjan@infradead.org \
    --cc=jeff@garzik.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=swise@opengridcomputing.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