All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk@arm.linux.org.uk>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org, marcelo@conectiva.com
Subject: Re: PATCH: make pcmcica devices report pcmcia bus info in gdrvinfo
Date: Mon, 14 Jul 2003 14:14:25 +0100	[thread overview]
Message-ID: <20030714141425.C18177@flint.arm.linux.org.uk> (raw)
In-Reply-To: <200307141221.h6ECLLDM030866@hraefn.swansea.linux.org.uk>; from alan@lxorguk.ukuu.org.uk on Mon, Jul 14, 2003 at 01:21:21PM +0100

On Mon, Jul 14, 2003 at 01:21:21PM +0100, Alan Cox wrote:
> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/net/pcmcia/3c574_cs.c linux.22-pre5-ac1/drivers/net/pcmcia/3c574_cs.c
> --- linux.22-pre5/drivers/net/pcmcia/3c574_cs.c	2003-07-14 12:26:42.000000000 +0100
> +++ linux.22-pre5-ac1/drivers/net/pcmcia/3c574_cs.c	2003-06-29 16:09:55.000000000 +0100
> @@ -1202,6 +1202,7 @@
>  	case ETHTOOL_GDRVINFO: {
>  		struct ethtool_drvinfo info = {ETHTOOL_GDRVINFO};
>  		strncpy(info.driver, "3c574_cs", sizeof(info.driver)-1);
> +		sprintf(info.bus_info, "PCMCIA 0x%lx", dev->base_addr);
>  		if (copy_to_user(useraddr, &info, sizeof(info)))
>  			return -EFAULT;
>  		return 0;

We should probably ensure that the bus info is compatible with the bus
info which Dominik's going to be using in 2.6.x

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

  reply	other threads:[~2003-07-14 13:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-14 12:21 PATCH: make pcmcica devices report pcmcia bus info in gdrvinfo Alan Cox
2003-07-14 13:14 ` Russell King [this message]
2003-07-14 15:15   ` Alan Cox
2003-07-14 16:47     ` Marcelo Tosatti

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=20030714141425.C18177@flint.arm.linux.org.uk \
    --to=rmk@arm.linux.org.uk \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.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 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.