]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] sil24: add more comments for constants
authorTejun Heo <htejun@gmail.com>
Wed, 17 Aug 2005 04:09:18 +0000 (13:09 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 17 Aug 2005 04:51:50 +0000 (00:51 -0400)
08_sil24_add-comments-for-constants.patch

Add more comments to constants.

Signed-off-by: Edward Falk
 sata_sil24.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/sata_sil24.c

index 7a3d50dcd93854dbdcf8e33e03aa6744d4e06300..cb91894471f21e8d89555c2e81db5bb538988c24 100644 (file)
@@ -107,14 +107,14 @@ enum {
 
        PORT_PM                 = 0x0f80, /* 8 bytes PM * 16 (128 bytes) */
                /* 32 bit regs */
-       PORT_CTRL_STAT          = 0x1000, /* write:ctrl, read:stat */
-       PORT_CTRL_CLR           = 0x1004,
-       PORT_IRQ_STAT           = 0x1008,
-       PORT_IRQ_ENABLE_SET     = 0x1010,
-       PORT_IRQ_ENABLE_CLR     = 0x1014,
+       PORT_CTRL_STAT          = 0x1000, /* write: ctrl-set, read: stat */
+       PORT_CTRL_CLR           = 0x1004, /* write: ctrl-clear */
+       PORT_IRQ_STAT           = 0x1008, /* high: status, low: interrupt */
+       PORT_IRQ_ENABLE_SET     = 0x1010, /* write: enable-set */
+       PORT_IRQ_ENABLE_CLR     = 0x1014, /* write: enable-clear */
        PORT_ACTIVATE_UPPER_ADDR= 0x101c,
-       PORT_EXEC_FIFO          = 0x1020,
-       PORT_CMD_ERR            = 0x1024,
+       PORT_EXEC_FIFO          = 0x1020, /* command execution fifo */
+       PORT_CMD_ERR            = 0x1024, /* command error number */
        PORT_FIS_CFG            = 0x1028,
        PORT_FIFO_THRES         = 0x102c,
                /* 16 bit regs */
@@ -187,7 +187,7 @@ enum {
        PORT_CERR_XFR_TGTABRT   = 33, /* PSD ecode 01 - target abort */
        PORT_CERR_XFR_MSGABRT   = 34, /* PSD ecode 10 - master abort */
        PORT_CERR_XFR_PCIPERR   = 35, /* PSD ecode 11 - PCI prity err during transfer */
-       PORT_CERR_SENDSERVICE   = 36, /* FIS received whiel sending service */
+       PORT_CERR_SENDSERVICE   = 36, /* FIS received while sending service */
 
        /*
         * Other constants