Now I know why I didn't put it in, it's not finished. Anyone who wanna help, see linux' hdparm (identify) for the struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9987 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -32,6 +32,7 @@ int main(int argc, char **argv)
|
|||||||
int f;
|
int f;
|
||||||
f = open("/tmp/ideinfo.dump", O_WRONLY|O_CREAT, 0666);
|
f = open("/tmp/ideinfo.dump", O_WRONLY|O_CREAT, 0666);
|
||||||
write(f, buffer, IDE_INFO_LEN*sizeof(uint16));
|
write(f, buffer, IDE_INFO_LEN*sizeof(uint16));
|
||||||
|
printf("IMPLEMENT ME\n"); /* see hdparm for the data */
|
||||||
}
|
}
|
||||||
close(fd);
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user