summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-15 23:38:05 +0200
committerWolfgang Denk <wd@denx.de>2007-05-15 23:38:05 +0200
commit3162eb836903c8b247fdc7470dd39bfa6996f495 (patch)
tree7fafd0ae1409cfc7f84e46daa271c611d8fb7cfa /include
parent66d9dbec1cc27d6398ee6cf84639dbe14971251e (diff)
downloadblackbird-obmc-uboot-3162eb836903c8b247fdc7470dd39bfa6996f495.tar.gz
blackbird-obmc-uboot-3162eb836903c8b247fdc7470dd39bfa6996f495.zip
Minor coding style cleanup.
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