aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-03-15 08:29:22 +0000
commitb16674f3c1a961e0b5d6a57745f5f749d95c641e (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /miscutils/hdparm.c
parente7135df4a650f9197b633784472f45602524855b (diff)
downloadbusybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.gz
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.tar.bz2
busybox-w32-b16674f3c1a961e0b5d6a57745f5f749d95c641e.zip
Remove trailing whitespace. Update copyright to include 2004.
git-svn-id: svn://busybox.net/trunk/busybox@8630 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/hdparm.c')
-rw-r--r--miscutils/hdparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/hdparm.c b/miscutils/hdparm.c
index 5c91b522d..eaa61c102 100644
--- a/miscutils/hdparm.c
+++ b/miscutils/hdparm.c
@@ -606,7 +606,7 @@ static uint8_t mode_loop(uint16_t mode_sup, uint16_t mode_sel, int cc, uint8_t *
606static void print_ascii(uint16_t *p, uint8_t length) { 606static void print_ascii(uint16_t *p, uint8_t length) {
607 uint8_t ii; 607 uint8_t ii;
608 char cl; 608 char cl;
609 609
610 /* find first non-space & print it */ 610 /* find first non-space & print it */
611 for(ii = 0; ii< length; ii++) 611 for(ii = 0; ii< length; ii++)
612 { 612 {
@@ -1080,7 +1080,7 @@ static void identify (uint16_t *id_supplied, const char *devname)
1080 if_printf(((dev == ATAPI_DEV) && (eqpt != CDROM) && (val[CAPAB_0] & DMA_IL_SUP)), 1080 if_printf(((dev == ATAPI_DEV) && (eqpt != CDROM) && (val[CAPAB_0] & DMA_IL_SUP)),
1081 "\t Interleaved DMA support\n"); 1081 "\t Interleaved DMA support\n");
1082 1082
1083 if((val[WHATS_VALID] & OK_W64_70) && 1083 if((val[WHATS_VALID] & OK_W64_70) &&
1084 (val[DMA_TIME_MIN] || val[DMA_TIME_NORM])) 1084 (val[DMA_TIME_MIN] || val[DMA_TIME_NORM]))
1085 { 1085 {
1086 printf("\t Cycle time:"); 1086 printf("\t Cycle time:");
@@ -1241,7 +1241,7 @@ static int do_ctimings, do_timings = 0;
1241static unsigned long set_readahead= 0, get_readahead= 0, bbreadahead= 0; 1241static unsigned long set_readahead= 0, get_readahead= 0, bbreadahead= 0;
1242static unsigned long set_readonly = 0, get_readonly = 0, readonly = 0; 1242static unsigned long set_readonly = 0, get_readonly = 0, readonly = 0;
1243static unsigned long set_unmask = 0, get_unmask = 0, unmask = 0; 1243static unsigned long set_unmask = 0, get_unmask = 0, unmask = 0;
1244static unsigned long set_mult = 0, get_mult = 0, mult = 0; 1244static unsigned long set_mult = 0, get_mult = 0, mult = 0;
1245#ifdef CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA 1245#ifdef CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA
1246static unsigned long set_dma = 0, get_dma = 0, dma = 0; 1246static unsigned long set_dma = 0, get_dma = 0, dma = 0;
1247#endif 1247#endif