* Fixed wrong indentation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36430 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
6c7bc7cd22
commit
11a40e6d46
@ -73,9 +73,8 @@ public:
|
||||
status_t ScanBus();
|
||||
|
||||
void PathInquiry(scsi_path_inquiry *info);
|
||||
void GetRestrictions(uint8 targetID,
|
||||
bool *isATAPI, bool *noAutoSense,
|
||||
uint32 *maxBlocks);
|
||||
void GetRestrictions(uint8 targetID, bool *isATAPI,
|
||||
bool *noAutoSense, uint32 *maxBlocks);
|
||||
status_t ExecuteIO(scsi_ccb *ccb);
|
||||
|
||||
// ATA stuff
|
||||
@ -97,10 +96,9 @@ public:
|
||||
status_t RecoverLostInterrupt();
|
||||
|
||||
// request handling
|
||||
status_t SendRequest(ATARequest *request,
|
||||
uint32 flags);
|
||||
status_t FinishRequest(ATARequest *request,
|
||||
uint32 flags, uint8 errorMask);
|
||||
status_t SendRequest(ATARequest *request, uint32 flags);
|
||||
status_t FinishRequest(ATARequest *request, uint32 flags,
|
||||
uint8 errorMask);
|
||||
|
||||
// data transfers
|
||||
status_t PrepareDMA(ATARequest *request);
|
||||
@ -144,6 +142,7 @@ private:
|
||||
|
||||
const char * _DebugContext() { return fDebugContext; }
|
||||
|
||||
private:
|
||||
device_node * fNode;
|
||||
uint32 fChannelID;
|
||||
ata_controller_interface *fController;
|
||||
@ -167,8 +166,7 @@ private:
|
||||
|
||||
class ATADevice {
|
||||
public:
|
||||
ATADevice(ATAChannel *channel,
|
||||
uint8 index);
|
||||
ATADevice(ATAChannel *channel, uint8 index);
|
||||
virtual ~ATADevice();
|
||||
|
||||
// SCSI stuff
|
||||
@ -193,8 +191,7 @@ virtual bool IsATAPI() const { return false; }
|
||||
status_t Select();
|
||||
|
||||
ata_task_file * TaskFile() { return &fTaskFile; }
|
||||
ata_reg_mask RegisterMask() const
|
||||
{ return fRegisterMask; }
|
||||
ata_reg_mask RegisterMask() const { return fRegisterMask; }
|
||||
|
||||
status_t SetFeature(int feature);
|
||||
status_t DisableCommandQueueing();
|
||||
@ -235,8 +232,7 @@ private:
|
||||
|
||||
class ATAPIDevice : public ATADevice {
|
||||
public:
|
||||
ATAPIDevice(ATAChannel *channel,
|
||||
uint8 index);
|
||||
ATAPIDevice(ATAChannel *channel, uint8 index);
|
||||
virtual ~ATAPIDevice();
|
||||
|
||||
status_t SendPacket(ATARequest *request);
|
||||
@ -251,6 +247,7 @@ private:
|
||||
status_t _FinishRequest(ATARequest *request,
|
||||
uint32 flags);
|
||||
|
||||
private:
|
||||
uint8 fPacket[12];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user