version 1.26.16.1, 2006/10/22 06:05:32 |
version 1.26.16.2, 2006/12/10 07:16:57 |
|
|
#include <dev/ata/ataconf.h> |
#include <dev/ata/ataconf.h> |
|
|
/* Convert a 32-bit command to a 48-bit command. */ |
/* Convert a 32-bit command to a 48-bit command. */ |
static __inline int __unused |
static __inline int |
atacmd_to48(int cmd32) |
atacmd_to48(int cmd32) |
{ |
{ |
switch (cmd32) { |
switch (cmd32) { |
Line 178 atacmd_to48(int cmd32) |
|
Line 178 atacmd_to48(int cmd32) |
|
|
|
#ifdef _KERNEL |
#ifdef _KERNEL |
/* Convert a 32-bit command to a Native SATA Queued command. */ |
/* Convert a 32-bit command to a Native SATA Queued command. */ |
static __inline int __unused |
static __inline int |
atacmd_tostatq(int cmd32) |
atacmd_tostatq(int cmd32) |
{ |
{ |
switch (cmd32) { |
switch (cmd32) { |