1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

Minor coding style cleanup.

This commit is contained in:
Wolfgang Denk
2007-05-15 23:38:05 +02:00
parent 66d9dbec1c
commit 3162eb8369
4 changed files with 54 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
/* /*
* Copyright (C) Procsys. All rights reserved. * Copyright (C) Procsys. All rights reserved.
* Author: Mushtaq Khan <mushtaq_k@procsys.com> * Author: Mushtaq Khan <mushtaq_k@procsys.com>
<mushtaqk_921@yahoo.co.in> * <mushtaqk_921@yahoo.co.in>
* *
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
@@ -23,7 +23,9 @@
* *
*/ */
/*File contains SATA read-write and other utility functions.*/ /*
* File contains SATA read-write and other utility functions.
*/
#include <common.h> #include <common.h>
#include <asm/io.h> #include <asm/io.h>
#include <pci.h> #include <pci.h>

View File

@@ -1,7 +1,7 @@
/* /*
* Copyright (C) Procsys. All rights reserved. * Copyright (C) Procsys. All rights reserved.
* Author: Mushtaq Khan <mushtaq_k@procsys.com> * Author: Mushtaq Khan <mushtaq_k@procsys.com>
<mushtaqk_921@yahoo.co.in> * <mushtaqk_921@yahoo.co.in>
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
@@ -22,7 +22,7 @@
*/ */
/* /*
This file contains SATA controller and SATA drive initialization functions * This file contains SATA controller and SATA drive initialization functions
*/ */
#include <common.h> #include <common.h>

View File

@@ -24,11 +24,11 @@ struct sata_ioports {
}; };
struct sata_port { struct sata_port {
unsigned char port_no; /*primary-0, secondary=1 */ unsigned char port_no; /* primary=0, secondary=1 */
struct sata_ioports ioaddr; /* ATA cmd/ctl/dma reg blks */ struct sata_ioports ioaddr; /* ATA cmd/ctl/dma reg blks */
unsigned char ctl_reg; unsigned char ctl_reg;
unsigned char last_ctl; unsigned char last_ctl;
unsigned char port_state; /*1-port is present and unsigned char port_state; /* 1-port is present and */
0-port is not available */ 0-port is not available */
unsigned char dev_mask; unsigned char dev_mask;
}; };