[PATCH] drivers: staging: dgap: fixed all the block comments styling issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Panos Vlachos <panosvlchs@xxxxxxxxx>
---
 drivers/staging/dgap/dgap.c | 84 ++++++++++++++++++++++++++++-----------------
 1 file changed, 52 insertions(+), 32 deletions(-)

diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c
index 9112dd2..1cacd18 100644
--- a/drivers/staging/dgap/dgap.c
+++ b/drivers/staging/dgap/dgap.c
@@ -91,23 +91,23 @@ static uint dgap_poll_stop;		/* Used to tell poller to stop */
 static struct timer_list dgap_poll_timer;
 
 /*
-     SUPPORTED PRODUCTS
-
-     Card Model               Number of Ports      Interface
-     ----------------------------------------------------------------
-     Acceleport Xem           4 - 64              (EIA232 & EIA422)
-     Acceleport Xr            4 & 8               (EIA232)
-     Acceleport Xr 920        4 & 8               (EIA232)
-     Acceleport C/X           8 - 128             (EIA232)
-     Acceleport EPC/X         8 - 224             (EIA232)
-     Acceleport Xr/422        4 & 8               (EIA422)
-     Acceleport 2r/920        2                   (EIA232)
-     Acceleport 4r/920        4                   (EIA232)
-     Acceleport 8r/920        8                   (EIA232)
-
-     IBM 8-Port Asynchronous PCI Adapter          (EIA232)
-     IBM 128-Port Asynchronous PCI Adapter        (EIA232 & EIA422)
-*/
+ * SUPPORTED PRODUCTS
+ *
+ * Card Model               Number of Ports      Interface
+ * ----------------------------------------------------------------
+ * Acceleport Xem           4 - 64              (EIA232 & EIA422)
+ * Acceleport Xr            4 & 8               (EIA232)
+ * Acceleport Xr 920        4 & 8               (EIA232)
+ * Acceleport C/X           8 - 128             (EIA232)
+ * Acceleport EPC/X         8 - 224             (EIA232)
+ * Acceleport Xr/422        4 & 8               (EIA422)
+ * Acceleport 2r/920        2                   (EIA232)
+ * Acceleport 4r/920        4                   (EIA232)
+ * Acceleport 8r/920        8                   (EIA232)
+ *
+ * IBM 8-Port Asynchronous PCI Adapter          (EIA232)
+ * IBM 128-Port Asynchronous PCI Adapter        (EIA232 & EIA422)
+ */
 
 static struct pci_device_id dgap_pci_tbl[] = {
 	{ DIGI_VID, PCI_DEV_XEM_DID,      PCI_ANY_ID, PCI_ANY_ID, 0, 0,  0 },
@@ -1494,13 +1494,15 @@ static void dgap_parity_scan(struct channel_t *ch, unsigned char *cbuf,
 	*len = count;
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_input - Process received data.
  *
  *              ch      - Pointer to channel structure.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
 
 static void dgap_input(struct channel_t *ch)
 {
@@ -1843,13 +1845,16 @@ static void dgap_carrier(struct channel_t *ch)
 		ch->ch_flags &= ~CH_CD;
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_event - FEP to host event processing routine.
  *
  *              bd     - Board of current event.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static int dgap_event(struct board_t *bd)
 {
 	struct channel_t *ch;
@@ -2375,7 +2380,8 @@ schedule_poller:
 		add_timer(&dgap_poll_timer);
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_cmdb - Sends a 2 byte command to the FEP.
  *
@@ -2386,7 +2392,9 @@ schedule_poller:
  *              ncmds   - Wait until ncmds or fewer cmds are left
  *                        in the cmd buffer before returning.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static void dgap_cmdb(struct channel_t *ch, u8 cmd, u8 byte1,
 			u8 byte2, uint ncmds)
 {
@@ -2462,7 +2470,8 @@ static void dgap_cmdb(struct channel_t *ch, u8 cmd, u8 byte1,
 	}
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_cmdw - Sends a 1 word command to the FEP.
  *
@@ -2472,7 +2481,9 @@ static void dgap_cmdb(struct channel_t *ch, u8 cmd, u8 byte1,
  *              ncmds   - Wait until ncmds or fewer cmds are left
  *                        in the cmd buffer before returning.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static void dgap_cmdw(struct channel_t *ch, u8 cmd, u16 word, uint ncmds)
 {
 	char __iomem *vaddr;
@@ -2545,7 +2556,8 @@ static void dgap_cmdw(struct channel_t *ch, u8 cmd, u16 word, uint ncmds)
 	}
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_cmdw_ext - Sends a extended word command to the FEP.
  *
@@ -2555,7 +2567,9 @@ static void dgap_cmdw(struct channel_t *ch, u8 cmd, u16 word, uint ncmds)
  *              ncmds   - Wait until ncmds or fewer cmds are left
  *                        in the cmd buffer before returning.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static void dgap_cmdw_ext(struct channel_t *ch, u16 cmd, u16 word, uint ncmds)
 {
 	char __iomem *vaddr;
@@ -2640,7 +2654,8 @@ static void dgap_cmdw_ext(struct channel_t *ch, u16 cmd, u16 word, uint ncmds)
 	}
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_wmove - Write data to FEP buffer.
  *
@@ -2648,7 +2663,9 @@ static void dgap_cmdw_ext(struct channel_t *ch, u16 cmd, u16 word, uint ncmds)
  *              buf     - Pointer to characters to be moved.
  *              cnt     - Number of characters to move.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static void dgap_wmove(struct channel_t *ch, char *buf, uint cnt)
 {
 	int n;
@@ -2724,13 +2741,16 @@ static void dgap_firmware_reset_port(struct channel_t *ch)
 	ch->ch_hflow = 0;
 }
 
-/*=======================================================================
+/*
+ * =======================================================================
  *
  *      dgap_param - Set Digi parameters.
  *
  *              struct tty_struct *     - TTY for port.
  *
- *=======================================================================*/
+ * =======================================================================
+ */
+
 static int dgap_param(struct channel_t *ch, struct board_t *bd, u32 un_type)
 {
 	u16 head;
@@ -4885,7 +4905,7 @@ static int dgap_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
 
 	case TCSBRKP:
 		/* support for POSIX tcsendbreak()
-
+		 *
 		 * According to POSIX.1 spec (7.2.2.1.2) breaks should be
 		 * between 0.25 and 0.5 seconds so we'll ask for something
 		 * in the middle: 0.375 seconds.
-- 
1.9.1

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux