aboutsummaryrefslogtreecommitdiff
path: root/miscutils/hdparm.c
AgeCommit message (Collapse)Author
2006-04-29Style fixes from Denis Vlasenko.Rob Landley
2006-04-29Another patch from Denis Vlasenko:Rob Landley
Make hdparm smaller: * Make bb_ioctl return the status * Replace ioctl with bb_ioctl in a few places * Add bb_ioctl_alt, use where appropriate (four places) * unsigned char args1[4+512] = {WIN_IDENTIFY,0,0,1,}; ate 0.5k of rodata, fix that
2006-04-29From Dennis Vlasenko, Make hdparm smaller:Rob Landley
* Use combined no_scsi_no_xt() * Have common unsigned char args[4] = {WIN_SETFEATURES,0,0,0};
2006-04-29Cleanup to hdparm by tito.Rob Landley
2006-04-28Patch from tito to update output of hdparm.Rob Landley
2006-04-17Patch from Tito to fix printing null and make output look like hdparm 6.3.Rob Landley
2006-04-16use more boiler plate GPL noticesMike Frysinger
2006-04-11- tweak visibility of label expected_hwif_error as it's only needed forBernhard Reutner-Fischer
CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF or CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
2006-04-05- make sure that the label expected_hwif_error is visible even whenBernhard Reutner-Fischer
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set.
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-04Patch from Robert P. Day, moving byte order checks to use platform.h macros.Rob Landley
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2005-10-15data --> code"Vladimir N. Oleynik"
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2004-07-20Avoid a naming conflict with include/bits/fcntl.hEric Andersen
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-05Tito, farmatito at tiscali dot it writes:Eric Andersen
Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename 27984 624 900 29508 7344 hdparm.o (without bug-fix) 28072 624 900 29596 739c hdparm.o (with bug-fix) 28141 624 900 29665 73e1 hdparm.o (original) but maybe this one can wait as we are in a feature freeze. Ciao, Tito
2004-03-20Tito noticed a printf that should have been a bb_error_msg.Eric Andersen
2004-03-19Fix broken arg parsing (was not passing pointer to items so p, argc, and argvEric Andersen
were only modified locally). Fix error reporting to properly describe why ioctls fail.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-14Avoid naming conflict with symbol in newer glibc headersEric Andersen
2003-12-12Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabledEric Andersen
2003-11-28Correct Matteo's email addressGlenn L McGrath
2003-10-09Patch from Steven Scholz, fix some warningsGlenn L McGrath
2003-10-09Patch from Tito, size optimisation and fix error in exit code of -VGlenn L McGrath
option
2003-09-15Update Matteo Croce's email addressGlenn L McGrath
2003-08-08quiet some noiseEric Andersen
2003-08-06Patch from Steven Scholz:Eric Andersen
should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch?
2003-08-06Sync hdparm -t and -T options with hdparm-5.3, which seemsEric Andersen
to produce sensible results,
2003-07-22Matteo Croce submitted a hdparm applet.Eric Andersen