|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dioscuri.module.ata.ATAChannel
public class ATAChannel
Class representing a single ATA channel
Field Summary | |
---|---|
static int |
IDE_MASTER_INDEX
|
static int |
IDE_SLAVE_INDEX
|
Constructor Summary | |
---|---|
ATAChannel(ATA parent,
int defaultIoAddr1,
int defaultIoAddr2)
Class constructor. |
Method Summary | |
---|---|
ATADrive[] |
getDrives()
Get the drives. |
int |
getIoAddress1()
Get the IO address 1. |
int |
getIoAddress2()
Get the IO address 2 |
int |
getIrqNumber()
|
ATADriveController |
getSelectedController()
Get cur selected IDE Driver Controller |
ATADrive |
getSelectedDrive()
|
int |
getSelectedDriveIndex()
|
boolean |
isAnyDrivePresent()
|
boolean |
isMasterDrivePresent()
|
boolean |
isMasterSelected()
|
boolean |
isSelectedDrivePresent()
|
boolean |
isSlaveDrivePresent()
|
boolean |
isSlaveSelected()
|
boolean |
reset()
Reset the channel. |
void |
setDisk(ATADrive drive)
Set a disk including disk image. |
void |
setSelectedDriveIndex(int theSelectedDriveIndex)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int IDE_MASTER_INDEX
public static final int IDE_SLAVE_INDEX
Constructor Detail |
---|
public ATAChannel(ATA parent, int defaultIoAddr1, int defaultIoAddr2)
parent
- the parent IDE objectdefaultIoAddr1
- defaultIoAddr2
- Method Detail |
---|
public ATADriveController getSelectedController()
public boolean reset()
public boolean isSelectedDrivePresent()
public void setDisk(ATADrive drive)
drive
- the drive object to setpublic ATADrive[] getDrives()
public int getIoAddress1()
public int getIoAddress2()
public int getIrqNumber()
public ATADrive getSelectedDrive()
public int getSelectedDriveIndex()
public void setSelectedDriveIndex(int theSelectedDriveIndex)
theSelectedDriveIndex
- public boolean isMasterDrivePresent()
public boolean isSlaveDrivePresent()
public boolean isAnyDrivePresent()
public boolean isSlaveSelected()
public boolean isMasterSelected()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |