Changeset 162 for trunk/src/os2ahci/os2ahci.h
- Timestamp:
- Jun 2, 2013, 5:10:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/os2ahci.h
r161 r162 333 333 } IORB_QUEUE; 334 334 335 typedef struct { 336 USHORT Cylinders; 337 USHORT HeadsPerCylinder; 338 USHORT SectorsPerTrack; 339 ULONG TotalSectors; 340 char *Method; 341 } DEV_INFO; 342 335 343 /* port information structure */ 336 344 typedef struct { 337 345 IORB_QUEUE iorb_queue; /* IORB queue for this port */ 338 unsigned dev_max : 4; /* maximum device number on this port (0 -15) */346 unsigned dev_max : 4; /* maximum device number on this port (0..AHCI_MAX_DEVS-1) */ 339 347 unsigned cmd_slot : 5; /* current command slot index (using round- 340 348 * robin indexes to prevent starvation) */ … … 353 361 unsigned ncq_max : 5; /* maximum tag number for queued commands */ 354 362 UNITINFO _far *unit_info; /* pointer to modified unit info */ 355 } devs[15]; 363 DEV_INFO dev_info; 364 } devs[AHCI_MAX_DEVS]; 356 365 } P_INFO; 357 366 … … 360 369 PCI_ID *pci; /* pointer to corresponding PCI ID */ 361 370 362 unsigned port_max : 5; /* maximum port number (0 -31) */371 unsigned port_max : 5; /* maximum port number (0..AHCI_MAX_PORTS-1) */ 363 372 unsigned cmd_max : 5; /* maximum cmd slot number (0-31) */ 364 373 unsigned port_scan_done : 1; /* if != 0, port scan already done */
Note:
See TracChangeset
for help on using the changeset viewer.