---
title: getDeviceType
framework: kernel
role: pseudoSymbol
path: kernel/ioatadevice/1813897-getdevicetype
---

# getDeviceType

Find out what kind of device this nub is (ata or atapi)

## Declaration

```occ
virtual ataDeviceType getDeviceType(
 void ); 
```

## Return Value

Return Value ataDeviceType as defined in IOATATypes.h

## See Also

### Miscellaneous

- [allocCommand](kernel/ioatadevice/1813891-alloccommand.md)
- [executeCommand](kernel/ioatadevice/1813893-executecommand.md)
- [freeCommand](kernel/ioatadevice/1813895-freecommand.md)
- [getUnitID](kernel/ioatadevice/1813899-getunitid.md)
- [matchLocation](kernel/ioatadevice/1813901-matchlocation.md)
- [matchPropertyTable(OSDictionary *)](kernel/ioatadevice/1813903-matchpropertytable.md)
- [matchPropertyTable(OSDictionary *, SInt32 *)](kernel/ioatadevice/1813905-matchpropertytable.md)
- [notifyEvent](kernel/ioatadevice/1813907-notifyevent.md)
- [provideBusInfo](kernel/ioatadevice/1813909-providebusinfo.md)
- [provideConfig](kernel/ioatadevice/1813911-provideconfig.md)
- [selectConfig](kernel/ioatadevice/1813913-selectconfig.md)
