From: Wolfgang Denk Date: Fri, 15 Aug 2008 20:12:30 +0200 Subject: [U-Boot] [RFC] setting pio modes for IDE devices In-Reply-To: <48A5C296.1060801@harris.com> References: <48A35533.1010901@harris.com> <20080813232020.1BCC6248CD@gemini.denx.de> <48A44235.2010606@harris.com> <20080814164225.GD23097@game.jcrosoft.org> <48A59F6C.3080907@harris.com> <48A5C296.1060801@harris.com> Message-ID: <20080815181230.89BDB248CD@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear "Steven A. Falco", In message <48A5C296.1060801@harris.com> you wrote: > I realized that I should be checking to see if word 163 is applicable to > the ATA device in question. To do that, I need to call ata_id_is_cfa() from > libata.h. However, libata.h conflicts with ata.h because of duplicate > enum values. > > Therefore, this respin of the proposed patch deletes the duplicate enums > from ata.h and instead includes libata.h to supply the enums. Then, I > can call ata_id_is_cfa() and more accurately detect PIO 5 and 6. > > I believe cleaning up ata.h is a good thing, because duplicating the enums in > both places invites them to get out of sync. It is, but can you please split this into two independent patches? Thanks in advance. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A father doesn't destroy his children. -- Lt. Carolyn Palamas, "Who Mourns for Adonais?", stardate 3468.1.