home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.se/pub/OS2/ / 2014.11.ftp.sunet.se_pub_OS2.tar / ftp.sunet.se / pub / OS2 / hobbes / os2 / system / drivers / storage / os2_2318.exe / LINUX / README.TXT
Text File  |  1999-05-25  |  1KB  |  40 lines

  1. *******************************************************************
  2. *      VIA  Linux  PCI  IDE  Device  Driver  README  file         *
  3. *******************************************************************
  4.  
  5. This README file is provided the information how to know the VIA 
  6. PCI IDE Device Driver is running on the Linux Operation system, 
  7. how to enable bus master function, and to adjust the DMA modes.
  8.  
  9. When the Linux OS boot up, if you see a line of message like the 
  10. below one, then the VIA IDE controller is found.
  11.  
  12.      VP_IDE: IDE controller on PCI BUS 00 dev 39
  13.  
  14. After login the system, you can use the 'hdparm' command to enable
  15. DMA or disable DMA function.
  16.  
  17. Example: We takes the primary master hard disk as an example.
  18.  
  19.    Enable DMA function:
  20.          # hdparm -d1 /dev/hda
  21.  
  22.    Disable DMA function:
  23.          # hdparm -d0 /dev/hda
  24.  
  25. When the driver is running in DMA mode, you can change the DMA modes
  26. as you like.
  27.  
  28. Example:
  29.     
  30.    Set Ultra DMA mode 2:
  31.          # hdparm -X66 /dev/hda
  32.  
  33.    Set Multiword DMA mode 2:
  34.          # hdparm -X34 /dev/hda
  35.  
  36. Note: The 'hdparm' command can also apply to CD-ROM drive.
  37.  
  38. To see more about the 'hdparm' command, you can type 'man hdparm'
  39. command to see the manual pages of 'hdparm' command.
  40.