Changeset 8 for trunk/src/os2ahci.h
- Timestamp:
- Sep 10, 2010, 11:30:39 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci.h
r4 r8 317 317 /* ADD workspace in IORB (must not exceed 16 bytes) */ 318 318 typedef struct { 319 IORBH _far *next; /* link to next IORB in our own queues */320 319 void (*ppfunc)(IORBH _far *iorb); /* post-processing function */ 321 320 void *buf; /* response buffer (e.g. for identify cmds) */ 322 321 ULONG timer; /* timer for timeout procesing */ 322 USHORT blocks; /* number of blocks to be transferred */ 323 323 unsigned processing : 1; /* IORB is being processd */ 324 324 unsigned idempotent : 1; /* IORB is idempotent (can be retried) */ 325 325 unsigned queued_hw : 1; /* IORB has been queued to hardware */ 326 unsigned no_ncq : 1; /* don't use native command queuing */ 326 unsigned no_ncq : 1; /* must not use native command queuing */ 327 unsigned is_ncq : 1; /* should use native command queueing */ 328 unsigned complete : 1; /* IORB has completed processing */ 327 329 unsigned cmd_slot : 4; /* AHCI command slot for this IORB */ 328 330 } ADD_WORKSPACE; … … 357 359 extern void iorb_seterr (IORBH _far *iorb, USHORT error_code); 358 360 extern void iorb_done (IORBH _far *iorb); 361 extern void iorb_requeue (IORBH _far *iorb); 359 362 360 363 /* ahci.c */ … … 380 383 int (*func)(IORBH _far *, int), 381 384 ULONG timeout); 385 extern int ahci_exec_polled_cmd (AD_INFO *ai, int p, int d, 386 int timeout, int cmd, ...); 382 387 383 388 extern int ahci_intr (u16 irq);
Note:
See TracChangeset
for help on using the changeset viewer.