All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: edmudama@gmail.com
Cc: linux-ide@vger.kernel.org
Subject: Re: [PATCH 1/1] libata: rearrange dmesg info to add full ATA revision
Date: Tue, 06 Feb 2007 19:42:20 -0500	[thread overview]
Message-ID: <45C9206C.10202@garzik.org> (raw)
In-Reply-To: <20070131060040.GA3361@bounceswoosh.org>

Eric D. Mudama wrote:
> Per Jeff's suggestion, this patch rearranges the info printed for ATA
> drives into dmesg to add the full ATA firmware revision and model
> information, while keeping the output to 2 lines.
> 
> Signed-off-by: Eric D. Mudama <edmudama@gmail.com>

> diff --git a/include/linux/ata.h b/include/linux/ata.h
> index 1df9416..aa9c1fd 100644
> --- a/include/linux/ata.h
> +++ b/include/linux/ata.h
> @@ -60,6 +60,8 @@ enum {
>  
>  	ATA_PCI_CTL_OFS		= 2,
>  	ATA_SERNO_LEN		= 20,
> +	ATA_ID_PROD_LEN         = 40,
> +	ATA_ID_FW_REV_LEN       = 16,
>  	ATA_UDMA0		= (1 << 0),
>  	ATA_UDMA1		= ATA_UDMA0 | (1 << 1),
>  	ATA_UDMA2		= ATA_UDMA1 | (1 << 2),

applied to netdev#upstream, sans the above part.  I'm not sure where you 
got 16 there?  It's 8 ASCII chars in the spec.

	Jeff



  parent reply	other threads:[~2007-02-07  0:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31  2:10 [PATCH 1/1] libata: rearrange dmesg info to add full ATA revision Eric D. Mudama
2007-01-31  3:57 ` Tejun Heo
2007-01-31  4:54   ` Tejun Heo
2007-01-31  9:16     ` Jeff Garzik
2007-01-31  6:00 ` Eric D. Mudama
2007-01-31 15:23   ` Jeff Garzik
2007-02-07  0:42   ` Jeff Garzik [this message]
2007-02-07  2:31     ` Eric D. Mudama

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=45C9206C.10202@garzik.org \
    --to=jeff@garzik.org \
    --cc=edmudama@gmail.com \
    --cc=linux-ide@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.