Set device to first atapi drive for cd rom testing
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2331 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5494accf0a
commit
7683e96fd8
@ -147,7 +147,9 @@ int
|
||||
main()
|
||||
{
|
||||
// const char *deviceName = "/dev/disk/virtual/0/raw";
|
||||
const char *deviceName = "/dev/disk/ide/ata/0/master/0/raw";
|
||||
// const char *deviceName = "/dev/disk/ide/ata/0/master/0/raw";
|
||||
const char *deviceName = "/dev/disk/ide/atapi/1/master/0/raw";
|
||||
|
||||
int device = open(deviceName, 0);
|
||||
if (device >= 0) {
|
||||
printf("device: `%s'\n", deviceName);
|
||||
|
Loading…
Reference in New Issue
Block a user