]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Minor coding style cleanup.
authorWolfgang Denk <wd@denx.de>
Tue, 15 May 2007 21:38:05 +0000 (23:38 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 15 May 2007 21:38:05 +0000 (23:38 +0200)
common/cmd_sata.c
drivers/ata_piix.c
include/ata.h
include/sata.h

index 1c71b6471d923d89506c4c089dbe66ed566799ec..2e601a7d809cef0806ab515124cdc296a1d3abdb 100644 (file)
@@ -1,29 +1,31 @@
 /*
-  * Copyright (C) Procsys. All rights reserved.
-  * Author: Mushtaq Khan <mushtaq_k@procsys.com>
-                        <mushtaqk_921@yahoo.co.in>
-  *
-  *
-  * This program is free software; you can redistribute it and/or
-  * modify it under the terms of the GNU General Public License as
-  * published by the Free Software Foundation; either version 2 of
-  * the License, or (at your option) any later version.
-  *
-  * This program is distributed in the hope that it will be useful,
-  * but WITHOUT ANY WARRANTY; without even the implied warranty of
-  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-  * GNU General Public License for more details.
-  *
-  * You should have received a copy of the GNU General Public License
-  * along with this program; if not, write to the Free Software
-  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-  * MA 02111-1307 USA
-  *
-  * with the reference to libata in kernel 2.4.32
-  *
-*/
-
-/*File contains SATA read-write and other utility functions.*/
+ * Copyright (C) Procsys. All rights reserved.
+ * Author: Mushtaq Khan <mushtaq_k@procsys.com>
+ *                     <mushtaqk_921@yahoo.co.in>
+ *
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ * with the reference to libata in kernel 2.4.32
+ *
+ */
+
+/*
+ * File contains SATA read-write and other utility functions.
+ */
 #include <common.h>
 #include <asm/io.h>
 #include <pci.h>
index 7e611633bee93212b27262c6b38e210e1756bf78..42456d7be334dab74d67df839d3c1c040cc1cee2 100644 (file)
@@ -1,29 +1,29 @@
 /*
 * Copyright (C) Procsys. All rights reserved.
 * Author: Mushtaq Khan <mushtaq_k@procsys.com>
                       <mushtaqk_921@yahoo.co.in>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 * MA 02111-1307 USA
 *
 * with the reference to ata_piix driver in kernel 2.4.32
-*/
+ * Copyright (C) Procsys. All rights reserved.
+ * Author: Mushtaq Khan <mushtaq_k@procsys.com>
*                     <mushtaqk_921@yahoo.co.in>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ * with the reference to ata_piix driver in kernel 2.4.32
+ */
 
 /*
-This file contains SATA controller and SATA drive initialization functions
-*/
+ * This file contains SATA controller and SATA drive initialization functions
+ */
 
 #include <common.h>
 #include <pci.h>
index d36bdf6cd1c53f41ab4f2ec7d2919f432f859a11..aa6e90d4702e710a0ed8a0d45092bcb30ac8f0ea 100644 (file)
@@ -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 */
index c6fa2ab5bcdf5a9cd15ca33ec56ecdcf76eb5582..a8713f817e975bc98c618c59d902ac52538db01e 100644 (file)
@@ -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;
 };