Hard drive Formatting problem on Win NT and Win 2000

Hello:

I am writing a SCSI Miniport driver for an IDE UDMA-100 PCI Controller.

Case 1: If I use ScsiPortReadPortUshort and ScsiPortWritePortUshort to
handle I/O request to/from the hard drive, then I can format the drive using
Disk Administrator in Windows NT or Disk Management in Windows 2000.

Case 2: But if I start using DMA (Master DMA performed by the IDE controller
across the PCI bus) to do I/O requests then the Disk Administrator or Disk
Management would take time as in case 1 and format the drive, but at the end
it said “The format failed to complete successfully”.

This is a strange problem since the only difference between the two cases is
that one performs the I/O requests using IN and OUT instructions and the
other uses Master DMA.

Any idea?

Don


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com