login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
24
Re: [patch 1/2] Enable link power management for ata drivers
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Kristen Carlson Accardi <kristen.c.accardi@...>
To: roel <12o3l@...>
Cc: <jgarzik@...>, <linux-ide@...>, <linux-kernel@...>, <axboe@...>, <akpm@...>
Subject:
Re: [patch 1/2] Enable link power management for ata drivers
Date: Monday, September 24, 2007 - 7:41 pm
On Tue, 25 Sep 2007 01:12:32 +0200 roel <12o3l@tiscali.nl> wrote:
quoted text
> > #define ata_id_cdb_intr(id) (((id)[0] & 0x60) == 0x20) > > +#define ata_id_has_hipm(id) \ > > + ( (((id)[76] != 0x0000) && ((id)[76] != 0xffff)) && \ > > + ((id)[76] & (1 << 9)) ) > ^ > | > are you sure this > should be 76?
Yes.
quoted text
> > we can also change the first statement a bit: > (!(((id)[76] == 0x0000) || ((id)[76] == 0xffff)) && \ > > > > +#define ata_id_has_dipm(id) \ > > + ( (((id)[76] != 0x0000) && ((id)[76] != 0xffff)) && \ > > and: > (!(((id)[76] == 0x0000) || ((id)[76] == 0xffff)) && \
I feel this is equivalent functionality and not as readable. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 1/2] Enable link power management for ata drivers
, Kristen Carlson Accardi
, (Mon Sep 24, 6:13 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, Jeff Garzik
, (Thu Oct 25, 1:21 am)
Re: [patch 1/2] Enable link power management for ata drivers
, roel
, (Mon Sep 24, 7:12 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, Kristen Carlson Accardi
, (Mon Sep 24, 7:41 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, Jeff Garzik
, (Mon Sep 24, 7:59 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, Alan Cox
, (Tue Sep 25, 5:50 am)
Re: [patch 1/2] Enable link power management for ata drivers
, Jeff Garzik
, (Tue Sep 25, 10:45 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, Davide Libenzi
, (Mon Sep 24, 7:28 pm)
Re: [patch 1/2] Enable link power management for ata drivers
, roel
, (Mon Sep 24, 8:00 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
Stephen Rothwell
Re: Announce: Linux-next (Or Andrew's dream :-))
Arjan van de Ven
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon access scanning
linux-netdev
:
Patrick McHardy
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Eric W. Biederman
Re: namespace support requires network modules to say "GPL"
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
476 guests
online.
Syndicate