summaryrefslogtreecommitdiff
path: root/include/part.h
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-04-18 17:39:38 +0000
committerwdenk <wdenk>2004-04-18 17:39:38 +0000
commit6e5923851ec5c11a36136abc77160d834537c4dd (patch)
tree1d324917e695bf3aadc0041d220304d07d09027a /include/part.h
parentc26e454dfc6650428854fa2db3b1ed7f19e0ba0e (diff)
* Cleanup, minor fixes
* Patch by Rune Torgersen, 16 Apr 2004: LBA48 fixes * Patches by Pantelis Antoniou, 16 Apr 2004: - Fix some compile problems; add "once" functionality for the netretry variable
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/part.h b/include/part.h
index 5282c85217c..318aa3cb3ff 100644
--- a/include/part.h
+++ b/include/part.h
@@ -22,7 +22,7 @@
*/
#ifndef _PART_H
#define _PART_H
-
+#include <ide.h>
typedef struct block_dev_desc {
int if_type; /* type of the interface */
@@ -35,14 +35,14 @@ typedef struct block_dev_desc {
#ifdef CONFIG_LBA48
unsigned char lba48; /* device can use 48bit addr (ATA/ATAPI v7) */
#endif
- unsigned long lba; /* number of blocks */
+ lbaint_t lba; /* number of blocks */
unsigned long blksz; /* block size */
unsigned char vendor [40+1]; /* IDE model, SCSI Vendor */
unsigned char product[20+1]; /* IDE Serial no, SCSI product */
unsigned char revision[8+1]; /* firmware revision */
unsigned long (*block_read)(int dev,
unsigned long start,
- unsigned long blkcnt,
+ lbaint_t blkcnt,
unsigned long *buffer);
}block_dev_desc_t;