diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-17 13:33:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 16:21:47 -0400 |
commit | e4582b6a4c8e5549f2e8ffe176f08c8b1fd6beff (patch) | |
tree | a7d6ef7468bab54a7835522f3d117e788be0d58d /drivers | |
parent | 932d22c95504979d0ad927ed9a4cd02dd6af7071 (diff) |
USB: kobil_sct.h: checkpatch cleanups
Minor whitespace cleanups to make checkpatch happy.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/kobil_sct.h | 75 |
1 files changed, 46 insertions, 29 deletions
diff --git a/drivers/usb/serial/kobil_sct.h b/drivers/usb/serial/kobil_sct.h index a51fbb5ae45c..be207f7156fe 100644 --- a/drivers/usb/serial/kobil_sct.h +++ b/drivers/usb/serial/kobil_sct.h | |||
@@ -23,38 +23,55 @@ | |||
23 | #define SUSBCR_SSL_SETDTR 0x0004 | 23 | #define SUSBCR_SSL_SETDTR 0x0004 |
24 | #define SUSBCR_SSL_CLRDTR 0x0010 | 24 | #define SUSBCR_SSL_CLRDTR 0x0010 |
25 | 25 | ||
26 | #define SUSBCR_SSL_PURGE_TXABORT 0x0100 // Kill the pending/current writes to the comm port. | 26 | /* Kill the pending/current writes to the comm port. */ |
27 | #define SUSBCR_SSL_PURGE_RXABORT 0x0200 // Kill the pending/current reads to the comm port. | 27 | #define SUSBCR_SSL_PURGE_TXABORT 0x0100 |
28 | #define SUSBCR_SSL_PURGE_TXCLEAR 0x0400 // Kill the transmit queue if there. | 28 | /* Kill the pending/current reads to the comm port. */ |
29 | #define SUSBCR_SSL_PURGE_RXCLEAR 0x0800 // Kill the typeahead buffer if there. | 29 | #define SUSBCR_SSL_PURGE_RXABORT 0x0200 |
30 | /* Kill the transmit queue if there. */ | ||
31 | #define SUSBCR_SSL_PURGE_TXCLEAR 0x0400 | ||
32 | /* Kill the typeahead buffer if there. */ | ||
33 | #define SUSBCR_SSL_PURGE_RXCLEAR 0x0800 | ||
30 | 34 | ||
31 | #define SUSBCRequest_GetStatusLineState 4 | 35 | #define SUSBCRequest_GetStatusLineState 4 |
32 | #define SUSBCR_GSL_RXCHAR 0x0001 // Any Character received | 36 | /* Any Character received */ |
33 | #define SUSBCR_GSL_TXEMPTY 0x0004 // Transmitt Queue Empty | 37 | #define SUSBCR_GSL_RXCHAR 0x0001 |
34 | #define SUSBCR_GSL_CTS 0x0008 // CTS changed state | 38 | /* Transmitt Queue Empty */ |
35 | #define SUSBCR_GSL_DSR 0x0010 // DSR changed state | 39 | #define SUSBCR_GSL_TXEMPTY 0x0004 |
36 | #define SUSBCR_GSL_RLSD 0x0020 // RLSD changed state | 40 | /* CTS changed state */ |
37 | #define SUSBCR_GSL_BREAK 0x0040 // BREAK received | 41 | #define SUSBCR_GSL_CTS 0x0008 |
38 | #define SUSBCR_GSL_ERR 0x0080 // Line status error occurred | 42 | /* DSR changed state */ |
39 | #define SUSBCR_GSL_RING 0x0100 // Ring signal detected | 43 | #define SUSBCR_GSL_DSR 0x0010 |
44 | /* RLSD changed state */ | ||
45 | #define SUSBCR_GSL_RLSD 0x0020 | ||
46 | /* BREAK received */ | ||
47 | #define SUSBCR_GSL_BREAK 0x0040 | ||
48 | /* Line status error occurred */ | ||
49 | #define SUSBCR_GSL_ERR 0x0080 | ||
50 | /* Ring signal detected */ | ||
51 | #define SUSBCR_GSL_RING 0x0100 | ||
40 | 52 | ||
41 | #define SUSBCRequest_Misc 8 | 53 | #define SUSBCRequest_Misc 8 |
42 | #define SUSBCR_MSC_ResetReader 0x0001 // use a predefined reset sequence | 54 | /* use a predefined reset sequence */ |
43 | #define SUSBCR_MSC_ResetAllQueues 0x0002 // use a predefined sequence to reset the internal queues | 55 | #define SUSBCR_MSC_ResetReader 0x0001 |
56 | /* use a predefined sequence to reset the internal queues */ | ||
57 | #define SUSBCR_MSC_ResetAllQueues 0x0002 | ||
44 | 58 | ||
45 | #define SUSBCRequest_GetMisc 0x10 | 59 | #define SUSBCRequest_GetMisc 0x10 |
46 | #define SUSBCR_MSC_GetFWVersion 0x0001 /* get the firmware version from device, | 60 | |
47 | coded like this 0xHHLLBBPP | 61 | /* |
48 | with HH = Firmware Version High Byte | 62 | * get the firmware version from device, coded like this 0xHHLLBBPP with |
49 | LL = Firmware Version Low Byte | 63 | * HH = Firmware Version High Byte |
50 | BB = Build Number | 64 | * LL = Firmware Version Low Byte |
51 | PP = Further Attributes | 65 | * BB = Build Number |
52 | */ | 66 | * PP = Further Attributes |
53 | 67 | */ | |
54 | #define SUSBCR_MSC_GetHWVersion 0x0002 /* get the hardware version from device | 68 | #define SUSBCR_MSC_GetFWVersion 0x0001 |
55 | coded like this 0xHHLLPPRR | 69 | |
56 | with HH = Software Version High Byte | 70 | /* |
57 | LL = Software Version Low Byte | 71 | * get the hardware version from device coded like this 0xHHLLPPRR with |
58 | PP = Further Attributes | 72 | * HH = Software Version High Byte |
59 | RR = Reserved for the hardware ID | 73 | * LL = Software Version Low Byte |
60 | */ | 74 | * PP = Further Attributes |
75 | * RR = Reserved for the hardware ID | ||
76 | */ | ||
77 | #define SUSBCR_MSC_GetHWVersion 0x0002 | ||