/* Register the IDEDevice API */
dev.registerAPI(IDEDeviceAPI.class,
new IDEDeviceBlockAlignmentSupport<IBMPartitionTableEntry>(this, SECTOR_SIZE));
/* Get basic configuration */
final IDEDriveDescriptor descr = dev.getDescriptor();
//lba = descr.supportsLBA();
//dma = descr.supportsDMA();
is48bit = descr.supports48bitAddressing();
maxSector = descr.getSectorsAddressable();
// Look for partitions
try {
// Find the devicemanager
DeviceManager devMan = InitialNaming.lookup(DeviceManager.NAME);