18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * 1.00 Oct 31, 1994 -- Initial version. 38c2ecf20Sopenharmony_ci * 1.01 Nov 2, 1994 -- Fixed problem with starting request in 48c2ecf20Sopenharmony_ci * cdrom_check_status. 58c2ecf20Sopenharmony_ci * 1.03 Nov 25, 1994 -- leaving unmask_intr[] as a user-setting (as for disks) 68c2ecf20Sopenharmony_ci * (from mlord) -- minor changes to cdrom_setup() 78c2ecf20Sopenharmony_ci * -- renamed ide_dev_s to ide_drive_t, enable irq on command 88c2ecf20Sopenharmony_ci * 2.00 Nov 27, 1994 -- Generalize packet command interface; 98c2ecf20Sopenharmony_ci * add audio ioctls. 108c2ecf20Sopenharmony_ci * 2.01 Dec 3, 1994 -- Rework packet command interface to handle devices 118c2ecf20Sopenharmony_ci * which send an interrupt when ready for a command. 128c2ecf20Sopenharmony_ci * 2.02 Dec 11, 1994 -- Cache the TOC in the driver. 138c2ecf20Sopenharmony_ci * Don't use SCMD_PLAYAUDIO_TI; it's not included 148c2ecf20Sopenharmony_ci * in the current version of ATAPI. 158c2ecf20Sopenharmony_ci * Try to use LBA instead of track or MSF addressing 168c2ecf20Sopenharmony_ci * when possible. 178c2ecf20Sopenharmony_ci * Don't wait for READY_STAT. 188c2ecf20Sopenharmony_ci * 2.03 Jan 10, 1995 -- Rewrite block read routines to handle block sizes 198c2ecf20Sopenharmony_ci * other than 2k and to move multiple sectors in a 208c2ecf20Sopenharmony_ci * single transaction. 218c2ecf20Sopenharmony_ci * 2.04 Apr 21, 1995 -- Add work-around for Creative Labs CD220E drives. 228c2ecf20Sopenharmony_ci * Thanks to Nick Saw <cwsaw@pts7.pts.mot.com> for 238c2ecf20Sopenharmony_ci * help in figuring this out. Ditto for Acer and 248c2ecf20Sopenharmony_ci * Aztech drives, which seem to have the same problem. 258c2ecf20Sopenharmony_ci * 2.04b May 30, 1995 -- Fix to match changes in ide.c version 3.16 -ml 268c2ecf20Sopenharmony_ci * 2.05 Jun 8, 1995 -- Don't attempt to retry after an illegal request 278c2ecf20Sopenharmony_ci * or data protect error. 288c2ecf20Sopenharmony_ci * Use HWIF and DEV_HWIF macros as in ide.c. 298c2ecf20Sopenharmony_ci * Always try to do a request_sense after 308c2ecf20Sopenharmony_ci * a failed command. 318c2ecf20Sopenharmony_ci * Include an option to give textual descriptions 328c2ecf20Sopenharmony_ci * of ATAPI errors. 338c2ecf20Sopenharmony_ci * Fix a bug in handling the sector cache which 348c2ecf20Sopenharmony_ci * showed up if the drive returned data in 512 byte 358c2ecf20Sopenharmony_ci * blocks (like Pioneer drives). Thanks to 368c2ecf20Sopenharmony_ci * Richard Hirst <srh@gpt.co.uk> for diagnosing this. 378c2ecf20Sopenharmony_ci * Properly supply the page number field in the 388c2ecf20Sopenharmony_ci * MODE_SELECT command. 398c2ecf20Sopenharmony_ci * PLAYAUDIO12 is broken on the Aztech; work around it. 408c2ecf20Sopenharmony_ci * 2.05x Aug 11, 1995 -- lots of data structure renaming/restructuring in ide.c 418c2ecf20Sopenharmony_ci * (my apologies to Scott, but now ide-cd.c is independent) 428c2ecf20Sopenharmony_ci * 3.00 Aug 22, 1995 -- Implement CDROMMULTISESSION ioctl. 438c2ecf20Sopenharmony_ci * Implement CDROMREADAUDIO ioctl (UNTESTED). 448c2ecf20Sopenharmony_ci * Use input_ide_data() and output_ide_data(). 458c2ecf20Sopenharmony_ci * Add door locking. 468c2ecf20Sopenharmony_ci * Fix usage count leak in cdrom_open, which happened 478c2ecf20Sopenharmony_ci * when a read-write mount was attempted. 488c2ecf20Sopenharmony_ci * Try to load the disk on open. 498c2ecf20Sopenharmony_ci * Implement CDROMEJECT_SW ioctl (off by default). 508c2ecf20Sopenharmony_ci * Read total cdrom capacity during open. 518c2ecf20Sopenharmony_ci * Rearrange logic in cdrom_decode_status. Issue 528c2ecf20Sopenharmony_ci * request sense commands for failed packet commands 538c2ecf20Sopenharmony_ci * from here instead of from cdrom_queue_packet_command. 548c2ecf20Sopenharmony_ci * Fix a race condition in retrieving error information. 558c2ecf20Sopenharmony_ci * Suppress printing normal unit attention errors and 568c2ecf20Sopenharmony_ci * some drive not ready errors. 578c2ecf20Sopenharmony_ci * Implement CDROMVOLREAD ioctl. 588c2ecf20Sopenharmony_ci * Implement CDROMREADMODE1/2 ioctls. 598c2ecf20Sopenharmony_ci * Fix race condition in setting up interrupt handlers 608c2ecf20Sopenharmony_ci * when the `serialize' option is used. 618c2ecf20Sopenharmony_ci * 3.01 Sep 2, 1995 -- Fix ordering of reenabling interrupts in 628c2ecf20Sopenharmony_ci * cdrom_queue_request. 638c2ecf20Sopenharmony_ci * Another try at using ide_[input,output]_data. 648c2ecf20Sopenharmony_ci * 3.02 Sep 16, 1995 -- Stick total disk capacity in partition table as well. 658c2ecf20Sopenharmony_ci * Make VERBOSE_IDE_CD_ERRORS dump failed command again. 668c2ecf20Sopenharmony_ci * Dump out more information for ILLEGAL REQUEST errs. 678c2ecf20Sopenharmony_ci * Fix handling of errors occurring before the 688c2ecf20Sopenharmony_ci * packet command is transferred. 698c2ecf20Sopenharmony_ci * Fix transfers with odd bytelengths. 708c2ecf20Sopenharmony_ci * 3.03 Oct 27, 1995 -- Some Creative drives have an id of just `CD'. 718c2ecf20Sopenharmony_ci * `DCI-2S10' drives are broken too. 728c2ecf20Sopenharmony_ci * 3.04 Nov 20, 1995 -- So are Vertos drives. 738c2ecf20Sopenharmony_ci * 3.05 Dec 1, 1995 -- Changes to go with overhaul of ide.c and ide-tape.c 748c2ecf20Sopenharmony_ci * 3.06 Dec 16, 1995 -- Add support needed for partitions. 758c2ecf20Sopenharmony_ci * More workarounds for Vertos bugs (based on patches 768c2ecf20Sopenharmony_ci * from Holger Dietze <dietze@aix520.informatik.uni-leipzig.de>). 778c2ecf20Sopenharmony_ci * Try to eliminate byteorder assumptions. 788c2ecf20Sopenharmony_ci * Use atapi_cdrom_subchnl struct definition. 798c2ecf20Sopenharmony_ci * Add STANDARD_ATAPI compilation option. 808c2ecf20Sopenharmony_ci * 3.07 Jan 29, 1996 -- More twiddling for broken drives: Sony 55D, 818c2ecf20Sopenharmony_ci * Vertos 300. 828c2ecf20Sopenharmony_ci * Add NO_DOOR_LOCKING configuration option. 838c2ecf20Sopenharmony_ci * Handle drive_cmd requests w/NULL args (for hdparm -t). 848c2ecf20Sopenharmony_ci * Work around sporadic Sony55e audio play problem. 858c2ecf20Sopenharmony_ci * 3.07a Feb 11, 1996 -- check drive->id for NULL before dereferencing, to fix 868c2ecf20Sopenharmony_ci * problem with "hde=cdrom" with no drive present. -ml 878c2ecf20Sopenharmony_ci * 3.08 Mar 6, 1996 -- More Vertos workarounds. 888c2ecf20Sopenharmony_ci * 3.09 Apr 5, 1996 -- Add CDROMCLOSETRAY ioctl. 898c2ecf20Sopenharmony_ci * Switch to using MSF addressing for audio commands. 908c2ecf20Sopenharmony_ci * Reformat to match kernel tabbing style. 918c2ecf20Sopenharmony_ci * Add CDROM_GET_UPC ioctl. 928c2ecf20Sopenharmony_ci * 3.10 Apr 10, 1996 -- Fix compilation error with STANDARD_ATAPI. 938c2ecf20Sopenharmony_ci * 3.11 Apr 29, 1996 -- Patch from Heiko Eißfeldt <heiko@colossus.escape.de> 948c2ecf20Sopenharmony_ci * to remove redundant verify_area calls. 958c2ecf20Sopenharmony_ci * 3.12 May 7, 1996 -- Rudimentary changer support. Based on patches 968c2ecf20Sopenharmony_ci * from Gerhard Zuber <zuber@berlin.snafu.de>. 978c2ecf20Sopenharmony_ci * Let open succeed even if there's no loaded disc. 988c2ecf20Sopenharmony_ci * 3.13 May 19, 1996 -- Fixes for changer code. 998c2ecf20Sopenharmony_ci * 3.14 May 29, 1996 -- Add work-around for Vertos 600. 1008c2ecf20Sopenharmony_ci * (From Hennus Bergman <hennus@sky.ow.nl>.) 1018c2ecf20Sopenharmony_ci * 3.15 July 2, 1996 -- Added support for Sanyo 3 CD changers 1028c2ecf20Sopenharmony_ci * from Ben Galliart <bgallia@luc.edu> with 1038c2ecf20Sopenharmony_ci * special help from Jeff Lightfoot 1048c2ecf20Sopenharmony_ci * <jeffml@pobox.com> 1058c2ecf20Sopenharmony_ci * 3.15a July 9, 1996 -- Improved Sanyo 3 CD changer identification 1068c2ecf20Sopenharmony_ci * 3.16 Jul 28, 1996 -- Fix from Gadi to reduce kernel stack usage for ioctl. 1078c2ecf20Sopenharmony_ci * 3.17 Sep 17, 1996 -- Tweak audio reads for some drives. 1088c2ecf20Sopenharmony_ci * Start changing CDROMLOADFROMSLOT to CDROM_SELECT_DISC. 1098c2ecf20Sopenharmony_ci * 3.18 Oct 31, 1996 -- Added module and DMA support. 1108c2ecf20Sopenharmony_ci * 1118c2ecf20Sopenharmony_ci * 4.00 Nov 5, 1996 -- New ide-cd maintainer, 1128c2ecf20Sopenharmony_ci * Erik B. Andersen <andersee@debian.org> 1138c2ecf20Sopenharmony_ci * -- Newer Creative drives don't always set the error 1148c2ecf20Sopenharmony_ci * register correctly. Make sure we see media changes 1158c2ecf20Sopenharmony_ci * regardless. 1168c2ecf20Sopenharmony_ci * -- Integrate with generic cdrom driver. 1178c2ecf20Sopenharmony_ci * -- CDROMGETSPINDOWN and CDROMSETSPINDOWN ioctls, based on 1188c2ecf20Sopenharmony_ci * a patch from Ciro Cattuto <>. 1198c2ecf20Sopenharmony_ci * -- Call set_device_ro. 1208c2ecf20Sopenharmony_ci * -- Implement CDROMMECHANISMSTATUS and CDROMSLOTTABLE 1218c2ecf20Sopenharmony_ci * ioctls, based on patch by Erik Andersen 1228c2ecf20Sopenharmony_ci * -- Add some probes of drive capability during setup. 1238c2ecf20Sopenharmony_ci * 1248c2ecf20Sopenharmony_ci * 4.01 Nov 11, 1996 -- Split into ide-cd.c and ide-cd.h 1258c2ecf20Sopenharmony_ci * -- Removed CDROMMECHANISMSTATUS and CDROMSLOTTABLE 1268c2ecf20Sopenharmony_ci * ioctls in favor of a generalized approach 1278c2ecf20Sopenharmony_ci * using the generic cdrom driver. 1288c2ecf20Sopenharmony_ci * -- Fully integrated with the 2.1.X kernel. 1298c2ecf20Sopenharmony_ci * -- Other stuff that I forgot (lots of changes) 1308c2ecf20Sopenharmony_ci * 1318c2ecf20Sopenharmony_ci * 4.02 Dec 01, 1996 -- Applied patch from Gadi Oxman <gadio@netvision.net.il> 1328c2ecf20Sopenharmony_ci * to fix the drive door locking problems. 1338c2ecf20Sopenharmony_ci * 1348c2ecf20Sopenharmony_ci * 4.03 Dec 04, 1996 -- Added DSC overlap support. 1358c2ecf20Sopenharmony_ci * 4.04 Dec 29, 1996 -- Added CDROMREADRAW ioclt based on patch 1368c2ecf20Sopenharmony_ci * by Ales Makarov (xmakarov@sun.felk.cvut.cz) 1378c2ecf20Sopenharmony_ci * 1388c2ecf20Sopenharmony_ci * 4.05 Nov 20, 1997 -- Modified to print more drive info on init 1398c2ecf20Sopenharmony_ci * Minor other changes 1408c2ecf20Sopenharmony_ci * Fix errors on CDROMSTOP (If you have a "Dolphin", 1418c2ecf20Sopenharmony_ci * you must define IHAVEADOLPHIN) 1428c2ecf20Sopenharmony_ci * Added identifier so new Sanyo CD-changer works 1438c2ecf20Sopenharmony_ci * Better detection if door locking isn't supported 1448c2ecf20Sopenharmony_ci * 1458c2ecf20Sopenharmony_ci * 4.06 Dec 17, 1997 -- fixed endless "tray open" messages -ml 1468c2ecf20Sopenharmony_ci * 4.07 Dec 17, 1997 -- fallback to set pc->stat on "tray open" 1478c2ecf20Sopenharmony_ci * 4.08 Dec 18, 1997 -- spew less noise when tray is empty 1488c2ecf20Sopenharmony_ci * -- fix speed display for ACER 24X, 18X 1498c2ecf20Sopenharmony_ci * 4.09 Jan 04, 1998 -- fix handling of the last block so we return 1508c2ecf20Sopenharmony_ci * an end of file instead of an I/O error (Gadi) 1518c2ecf20Sopenharmony_ci * 4.10 Jan 24, 1998 -- fixed a bug so now changers can change to a new 1528c2ecf20Sopenharmony_ci * slot when there is no disc in the current slot. 1538c2ecf20Sopenharmony_ci * -- Fixed a memory leak where info->changer_info was 1548c2ecf20Sopenharmony_ci * malloc'ed but never free'd when closing the device. 1558c2ecf20Sopenharmony_ci * -- Cleaned up the global namespace a bit by making more 1568c2ecf20Sopenharmony_ci * functions static that should already have been. 1578c2ecf20Sopenharmony_ci * 4.11 Mar 12, 1998 -- Added support for the CDROM_SELECT_SPEED ioctl 1588c2ecf20Sopenharmony_ci * based on a patch for 2.0.33 by Jelle Foks 1598c2ecf20Sopenharmony_ci * <jelle@scintilla.utwente.nl>, a patch for 2.0.33 1608c2ecf20Sopenharmony_ci * by Toni Giorgino <toni@pcape2.pi.infn.it>, the SCSI 1618c2ecf20Sopenharmony_ci * version, and my own efforts. -erik 1628c2ecf20Sopenharmony_ci * -- Fixed a stupid bug which egcs was kind enough to 1638c2ecf20Sopenharmony_ci * inform me of where "Illegal mode for this track" 1648c2ecf20Sopenharmony_ci * was never returned due to a comparison on data 1658c2ecf20Sopenharmony_ci * types of limited range. 1668c2ecf20Sopenharmony_ci * 4.12 Mar 29, 1998 -- Fixed bug in CDROM_SELECT_SPEED so write speed is 1678c2ecf20Sopenharmony_ci * now set ionly for CD-R and CD-RW drives. I had 1688c2ecf20Sopenharmony_ci * removed this support because it produced errors. 1698c2ecf20Sopenharmony_ci * It produced errors _only_ for non-writers. duh. 1708c2ecf20Sopenharmony_ci * 4.13 May 05, 1998 -- Suppress useless "in progress of becoming ready" 1718c2ecf20Sopenharmony_ci * messages, since this is not an error. 1728c2ecf20Sopenharmony_ci * -- Change error messages to be const 1738c2ecf20Sopenharmony_ci * -- Remove a "\t" which looks ugly in the syslogs 1748c2ecf20Sopenharmony_ci * 4.14 July 17, 1998 -- Change to pointing to .ps version of ATAPI spec 1758c2ecf20Sopenharmony_ci * since the .pdf version doesn't seem to work... 1768c2ecf20Sopenharmony_ci * -- Updated the TODO list to something more current. 1778c2ecf20Sopenharmony_ci * 1788c2ecf20Sopenharmony_ci * 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect machine endianness, 1798c2ecf20Sopenharmony_ci * patch thanks to "Eddie C. Dost" <ecd@skynet.be> 1808c2ecf20Sopenharmony_ci * 1818c2ecf20Sopenharmony_ci * 4.50 Oct 19, 1998 -- New maintainers! 1828c2ecf20Sopenharmony_ci * Jens Axboe <axboe@image.dk> 1838c2ecf20Sopenharmony_ci * Chris Zwilling <chris@cloudnet.com> 1848c2ecf20Sopenharmony_ci * 1858c2ecf20Sopenharmony_ci * 4.51 Dec 23, 1998 -- Jens Axboe <axboe@image.dk> 1868c2ecf20Sopenharmony_ci * - ide_cdrom_reset enabled since the ide subsystem 1878c2ecf20Sopenharmony_ci * handles resets fine now. <axboe@image.dk> 1888c2ecf20Sopenharmony_ci * - Transfer size fix for Samsung CD-ROMs, thanks to 1898c2ecf20Sopenharmony_ci * "Ville Hallik" <ville.hallik@mail.ee>. 1908c2ecf20Sopenharmony_ci * - other minor stuff. 1918c2ecf20Sopenharmony_ci * 1928c2ecf20Sopenharmony_ci * 4.52 Jan 19, 1999 -- Jens Axboe <axboe@image.dk> 1938c2ecf20Sopenharmony_ci * - Detect DVD-ROM/RAM drives 1948c2ecf20Sopenharmony_ci * 1958c2ecf20Sopenharmony_ci * 4.53 Feb 22, 1999 - Include other model Samsung and one Goldstar 1968c2ecf20Sopenharmony_ci * drive in transfer size limit. 1978c2ecf20Sopenharmony_ci * - Fix the I/O error when doing eject without a medium 1988c2ecf20Sopenharmony_ci * loaded on some drives. 1998c2ecf20Sopenharmony_ci * - CDROMREADMODE2 is now implemented through 2008c2ecf20Sopenharmony_ci * CDROMREADRAW, since many drives don't support 2018c2ecf20Sopenharmony_ci * MODE2 (even though ATAPI 2.6 says they must). 2028c2ecf20Sopenharmony_ci * - Added ignore parameter to ide-cd (as a module), eg 2038c2ecf20Sopenharmony_ci * insmod ide-cd ignore='hda hdb' 2048c2ecf20Sopenharmony_ci * Useful when using ide-cd in conjunction with 2058c2ecf20Sopenharmony_ci * ide-scsi. TODO: non-modular way of doing the 2068c2ecf20Sopenharmony_ci * same. 2078c2ecf20Sopenharmony_ci * 2088c2ecf20Sopenharmony_ci * 4.54 Aug 5, 1999 - Support for MMC2 class commands through the generic 2098c2ecf20Sopenharmony_ci * packet interface to cdrom.c. 2108c2ecf20Sopenharmony_ci * - Unified audio ioctl support, most of it. 2118c2ecf20Sopenharmony_ci * - cleaned up various deprecated verify_area(). 2128c2ecf20Sopenharmony_ci * - Added ide_cdrom_packet() as the interface for 2138c2ecf20Sopenharmony_ci * the Uniform generic_packet(). 2148c2ecf20Sopenharmony_ci * - bunch of other stuff, will fill in logs later. 2158c2ecf20Sopenharmony_ci * - report 1 slot for non-changers, like the other 2168c2ecf20Sopenharmony_ci * cd-rom drivers. don't report select disc for 2178c2ecf20Sopenharmony_ci * non-changers as well. 2188c2ecf20Sopenharmony_ci * - mask out audio playing, if the device can't do it. 2198c2ecf20Sopenharmony_ci * 2208c2ecf20Sopenharmony_ci * 4.55 Sep 1, 1999 - Eliminated the rest of the audio ioctls, except 2218c2ecf20Sopenharmony_ci * for CDROMREADTOC[ENTRY|HEADER]. Some of the drivers 2228c2ecf20Sopenharmony_ci * use this independently of the actual audio handling. 2238c2ecf20Sopenharmony_ci * They will disappear later when I get the time to 2248c2ecf20Sopenharmony_ci * do it cleanly. 2258c2ecf20Sopenharmony_ci * - Minimize the TOC reading - only do it when we 2268c2ecf20Sopenharmony_ci * know a media change has occurred. 2278c2ecf20Sopenharmony_ci * - Moved all the CDROMREADx ioctls to the Uniform layer. 2288c2ecf20Sopenharmony_ci * - Heiko Eißfeldt <heiko@colossus.escape.de> supplied 2298c2ecf20Sopenharmony_ci * some fixes for CDI. 2308c2ecf20Sopenharmony_ci * - CD-ROM leaving door locked fix from Andries 2318c2ecf20Sopenharmony_ci * Brouwer <Andries.Brouwer@cwi.nl> 2328c2ecf20Sopenharmony_ci * - Erik Andersen <andersen@xmission.com> unified 2338c2ecf20Sopenharmony_ci * commands across the various drivers and how 2348c2ecf20Sopenharmony_ci * sense errors are handled. 2358c2ecf20Sopenharmony_ci * 2368c2ecf20Sopenharmony_ci * 4.56 Sep 12, 1999 - Removed changer support - it is now in the 2378c2ecf20Sopenharmony_ci * Uniform layer. 2388c2ecf20Sopenharmony_ci * - Added partition based multisession handling. 2398c2ecf20Sopenharmony_ci * - Mode sense and mode select moved to the 2408c2ecf20Sopenharmony_ci * Uniform layer. 2418c2ecf20Sopenharmony_ci * - Fixed a problem with WPI CDS-32X drive - it 2428c2ecf20Sopenharmony_ci * failed the capabilities 2438c2ecf20Sopenharmony_ci * 2448c2ecf20Sopenharmony_ci * 4.57 Apr 7, 2000 - Fixed sense reporting. 2458c2ecf20Sopenharmony_ci * - Fixed possible oops in ide_cdrom_get_last_session() 2468c2ecf20Sopenharmony_ci * - Fix locking mania and make ide_cdrom_reset relock 2478c2ecf20Sopenharmony_ci * - Stop spewing errors to log when magicdev polls with 2488c2ecf20Sopenharmony_ci * TEST_UNIT_READY on some drives. 2498c2ecf20Sopenharmony_ci * - Various fixes from Tobias Ringstrom: 2508c2ecf20Sopenharmony_ci * tray if it was locked prior to the reset. 2518c2ecf20Sopenharmony_ci * - cdrom_read_capacity returns one frame too little. 2528c2ecf20Sopenharmony_ci * - Fix real capacity reporting. 2538c2ecf20Sopenharmony_ci * 2548c2ecf20Sopenharmony_ci * 4.58 May 1, 2000 - Clean up ACER50 stuff. 2558c2ecf20Sopenharmony_ci * - Fix small problem with ide_cdrom_capacity 2568c2ecf20Sopenharmony_ci * 2578c2ecf20Sopenharmony_ci * 4.59 Aug 11, 2000 - Fix changer problem in cdrom_read_toc, we weren't 2588c2ecf20Sopenharmony_ci * correctly sensing a disc change. 2598c2ecf20Sopenharmony_ci * - Rearranged some code 2608c2ecf20Sopenharmony_ci * - Use extended sense on drives that support it for 2618c2ecf20Sopenharmony_ci * correctly reporting tray status -- from 2628c2ecf20Sopenharmony_ci * Michael D Johnson <johnsom@orst.edu> 2638c2ecf20Sopenharmony_ci * 4.60 Dec 17, 2003 - Add mt rainier support 2648c2ecf20Sopenharmony_ci * - Bump timeout for packet commands, matches sr 2658c2ecf20Sopenharmony_ci * - Odd stuff 2668c2ecf20Sopenharmony_ci * 4.61 Jan 22, 2004 - support hardware sector sizes other than 2kB, 2678c2ecf20Sopenharmony_ci * Pascal Schmidt <der.eremit@email.de> 2688c2ecf20Sopenharmony_ci */ 269