Translating from a PIO protocol to DMA protocol with a peripheral interface circuit
First Claim
1. A method of transferring information from a CPU to a disk drive, comprising the steps of:
- transferring information from the CPU to an interface circuit over a computer bus using a PIO protocol, the CPU being incapable of transferring information to the interface circuit over the computer bus using DMA; and
transferring the information from the interface circuit to the disk drive over a peripheral bus using DMA, wherein the DMA is initiated at least in part by the interface circuit receiving a DMA request signal on the peripheral bus, the DMA request signal not being used to arbitrate for the peripheral bus, the interface circuit outputting a DMA acknowledge signal onto the peripheral bus which causes the information to be transferred into a predetermined location in the disk drive.
0 Assignments
0 Petitions
Accused Products
Abstract
A high performance Local Bus Peripheral Interface (LBPI) for a computer local bus and its high performance peripheral interface(s) uses a pipelined architecture to increase the use of the available data transfer bandwidth. In one embodiment, the LBPI can be selectably configured to couple on the host side to either a VL bus or PCI bus. The LBPI maintains a countdown of the number of words of a data sector already transferred and/or "snoops" the peripheral device commands from the computer to predict the occurrence of subsequent read data transfers commands. The Controlling State Machine also "snoops" the peripheral device commands to maintain its record of the operating parameters of the peripheral devices and also keeps track of which of the devices is currently active. In one embodiment, the LBPI supports DMA and PIO data transfers on the peripheral side. In another embodiment, the LBPI translates memory data transfers into IO data transfers to improve efficiency of IO data transfers. A DMA Timeout Counter is used during DMA mode data transfer operations to prevent the system from indefinitely waiting for an appropriate DMA Request Signal from a selected peripheral. During a DMA mode data transfer operation, forced interrupts may be generated and transmitted to the host in order to emulate a PIO mode data transfer operation. During a DMA mode data transfer operation, an imposed status or "Fake 3F6" register is utilized to transmit status information to the host system.
-
Citations
7 Claims
-
1. A method of transferring information from a CPU to a disk drive, comprising the steps of:
-
transferring information from the CPU to an interface circuit over a computer bus using a PIO protocol, the CPU being incapable of transferring information to the interface circuit over the computer bus using DMA; and transferring the information from the interface circuit to the disk drive over a peripheral bus using DMA, wherein the DMA is initiated at least in part by the interface circuit receiving a DMA request signal on the peripheral bus, the DMA request signal not being used to arbitrate for the peripheral bus, the interface circuit outputting a DMA acknowledge signal onto the peripheral bus which causes the information to be transferred into a predetermined location in the disk drive. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of transferring information from a host device to a peripheral device, comprising the steps of:
-
transferring information from the host device to an interface circuit over a computer bus using a PIO protocol, the host device being incapable of transferring information to the interface circuit over the computer bus using DMA; and transferring the information from the interface circuit to the peripheral device over a peripheral bus using DMA, wherein the DMA is initiated at least in part by the interface circuit receiving a DMA request signal on the computer bus, the DMA request signal not being used to arbitrate for the peripheral bus, the interface circuit outputting a DMA acknowledge signal onto the peripheral bus which causes the information to be transferred into a predetermined location in the peripheral device.
-
-
7. A method of transferring information from a disk drive to a CPU via an interface circuit, comprising the steps of:
-
transferring information from the disk drive to the interface circuit over a peripheral bus using DMA, wherein the DMA is initiated at least in part by the interface circuit receiving a DMA request signal on the peripheral bus, the DMA request signal not being used to arbitrate for the peripheral bus, the interface circuit outputting a DMA acknowledge signal onto the peripheral bus which causes the information to be transferred out of the disk drive; and transferring the information from the interface circuit to the CPU over a computer bus using a PIO protocol, the CPU being incapable of receiving information from the interface circuit over the computer bus using DMA.
-
Specification