Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 109399
b: refs/heads/master
c: ab1b67a
h: refs/heads/master
i:
  109397: aaa9525
  109395: 1304bb1
  109391: bd0b0a2
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Sep 2, 2008
1 parent 4f0c110 commit 0ee4c30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bfc2f01fc83f982344f09f491f7c18a6b9a16aa8
refs/heads/master: ab1b67a6230648cf65b0342d9887fee890160ca8
14 changes: 0 additions & 14 deletions trunk/drivers/ide/ide-disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,20 +445,6 @@ static void idedisk_check_hpa(ide_drive_t *drive)
}
}

/*
* Compute drive->capacity, the full capacity of the drive
* Called with drive->id != NULL.
*
* To compute capacity, this uses either of
*
* 1. CHS value set by user (whatever user sets will be trusted)
* 2. LBA value from target drive (require new ATA feature)
* 3. LBA value from system BIOS (new one is OK, old one may break)
* 4. CHS value from system BIOS (traditional style)
*
* in above order (i.e., if value of higher priority is available,
* reset will be ignored).
*/
static void init_idedisk_capacity(ide_drive_t *drive)
{
struct hd_driveid *id = drive->id;
Expand Down

0 comments on commit 0ee4c30

Please sign in to comment.