From 36c2d3062ecc6ab85f8e237180eb134464c48418 Mon Sep 17 00:00:00 2001 From: "Steven A. Falco" Date: Fri, 15 Aug 2008 15:34:10 -0400 Subject: Add a hook to allow board-specific PIO mode setting. This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific routine is: int inline ide_set_piomode(int pio_mode) ide_set_piomode should be prepared to configure hardware for a pio_mode between 0 and 6, inclusive. It should return 0 on success or 1 on failure. Signed-off-by: Steven A. Falco --- include/ata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/ata.h') diff --git a/include/ata.h b/include/ata.h index b669423bb..239676958 100644 --- a/include/ata.h +++ b/include/ata.h @@ -236,7 +236,9 @@ typedef struct hd_driveid { unsigned short words130_155[26];/* reserved vendor words 130-155 */ unsigned short word156; unsigned short words157_159[3];/* reserved vendor words 157-159 */ - unsigned short words160_255[95];/* reserved words 160-255 */ + unsigned short words160_162[3];/* reserved words 160-162 */ + unsigned short cf_advanced_caps; + unsigned short words164_255[92];/* reserved words 164-255 */ } hd_driveid_t; -- cgit v1.2.3