summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ata.h2
-rw-r--r--include/sata.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ata.h b/include/ata.h
index d36bdf6cd1..aa6e90d470 100644
--- a/include/ata.h
+++ b/include/ata.h
@@ -91,7 +91,7 @@ enum {
/* bits in ATA command block registers */
ATA_HOB = (1 << 7), /* LBA48 selector */
ATA_NIEN = (1 << 1), /* disable-irq flag */
- /*ATA_LBA = (1 << 6), *//* LBA28 selector */
+ /*ATA_LBA = (1 << 6), */ /* LBA28 selector */
ATA_DEV1 = (1 << 4), /* Select Device 1 (slave) */
ATA_DEVICE_OBS = (1 << 7) | (1 << 5), /* obs bits in dev reg */
ATA_DEVCTL_OBS = (1 << 3), /* obsolete bit in devctl reg */
diff --git a/include/sata.h b/include/sata.h
index c6fa2ab5bc..a8713f817e 100644
--- a/include/sata.h
+++ b/include/sata.h
@@ -24,12 +24,12 @@ struct sata_ioports {
};
struct sata_port {
- unsigned char port_no; /*primary-0, secondary=1 */
- struct sata_ioports ioaddr; /*ATA cmd/ctl/dma reg blks */
+ unsigned char port_no; /* primary=0, secondary=1 */
+ struct sata_ioports ioaddr; /* ATA cmd/ctl/dma reg blks */
unsigned char ctl_reg;
unsigned char last_ctl;
- unsigned char port_state; /*1-port is present and
- 0-port is not available */
+ unsigned char port_state; /* 1-port is present and */
+ 0-port is not available */
unsigned char dev_mask;
};
OpenPOWER on IntegriCloud