mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
[libata] Trim trailing whitespace.
This commit is contained in:
parent
b01e86fee6
commit
9bec2e3852
4 changed files with 5 additions and 5 deletions
|
@ -1075,7 +1075,7 @@ static void ahci_host_intr(struct ata_port *ap)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* ignore interim PIO setup fis interrupts */
|
/* ignore interim PIO setup fis interrupts */
|
||||||
if (ata_tag_valid(ap->active_tag) && (status & PORT_IRQ_PIOS_FIS))
|
if (ata_tag_valid(ap->active_tag) && (status & PORT_IRQ_PIOS_FIS))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (ata_ratelimit())
|
if (ata_ratelimit())
|
||||||
|
|
|
@ -497,7 +497,7 @@ static inline unsigned int adma_intr_mmio(struct ata_host *host)
|
||||||
continue;
|
continue;
|
||||||
DPRINTK("ata%u: protocol %d (dev_stat 0x%X)\n",
|
DPRINTK("ata%u: protocol %d (dev_stat 0x%X)\n",
|
||||||
ap->id, qc->tf.protocol, status);
|
ap->id, qc->tf.protocol, status);
|
||||||
|
|
||||||
/* complete taskfile transaction */
|
/* complete taskfile transaction */
|
||||||
pp->state = adma_state_idle;
|
pp->state = adma_state_idle;
|
||||||
qc->err_mask |= ac_err_mask(status);
|
qc->err_mask |= ac_err_mask(status);
|
||||||
|
|
|
@ -320,8 +320,8 @@ static inline unsigned int ata_id_major_version(const u16 *id)
|
||||||
|
|
||||||
static inline int ata_id_current_chs_valid(const u16 *id)
|
static inline int ata_id_current_chs_valid(const u16 *id)
|
||||||
{
|
{
|
||||||
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
|
/* For ATA-1 devices, if the INITIALIZE DEVICE PARAMETERS command
|
||||||
has not been issued to the device then the values of
|
has not been issued to the device then the values of
|
||||||
id[54] to id[56] are vendor specific. */
|
id[54] to id[56] are vendor specific. */
|
||||||
return (id[53] & 0x01) && /* Current translation valid */
|
return (id[53] & 0x01) && /* Current translation valid */
|
||||||
id[54] && /* cylinders in current translation */
|
id[54] && /* cylinders in current translation */
|
||||||
|
|
|
@ -198,7 +198,7 @@ enum {
|
||||||
|
|
||||||
/* host set flags */
|
/* host set flags */
|
||||||
ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */
|
ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */
|
||||||
|
|
||||||
/* various lengths of time */
|
/* various lengths of time */
|
||||||
ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */
|
ATA_TMOUT_BOOT = 30 * HZ, /* heuristic */
|
||||||
ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */
|
ATA_TMOUT_BOOT_QUICK = 7 * HZ, /* heuristic */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue