Re: 2.2.7.uniform-ide-6.19.golf.patch

Dan Hollis (goemon@sasami.anime.net)
Mon, 10 May 1999 20:44:16 -0700 (PDT)


On Sun, 9 May 1999, Andre M. Hedrick wrote:
> Latest Version.........
> http://www.dyer.vanderbilt.edu/server/udma/2.2.7.uniform-ide-6.19.golf.patch.gz

Works here. I can even use my AOpen-40x cdrom in DMA mode now, where with
a stock 2.2.7 kernel it was not possible.

Uniform Multi-Platform E-IDE driver Revision: 6.19
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
Split FIFO Configuration: 8 Primary buffers, threshold = 1/2
8 Second. buffers, threshold = 1/2
ide0: BM-DMA at 0x6400-0x6407, BIOS settings: hda:DMA, hdb:DMA
ide0: VIA Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0x6408-0x640f, BIOS settings: hdc:DMA, hdd:DMA
ide1: VIA Bus-Master (U)DMA Timing Config Success
hda: ST36450A, ATA DISK drive
hdb: CD-ROM 40X/AKU, ATAPI CDROM drive
hdc: Maxtor 91728D8, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: ST36450A, 6149MB w/448kB Cache, CHS=784/255/63
hdc: Maxtor 91728D8, 16479MB w/512kB Cache, CHS=33483/16/63, (U)DMA

# cat /proc/ide/via
Command register = 0x7
Master Read Cycle IRDY 1 Wait State
Master Write Cycle IRDY 1 Wait State
FIFO Output Data 1/2 Clock Advance: off
Bus Master IDE Status Register Read Retry: on
Latency timer = 64 (max. = 0)
Interrupt Steering Swap: off
------------------Primary IDE------------Secondary IDE-----
both channels togth: yes yes
Prefetch Buffer : on on
Post Write Buffer: on on
FIFO Conf/Chan. : 08 08
Threshold Prim. : 1/2 1/2
Read DMA FIFO flush: on on
End Sect. FIFO flush: on on
Max DRDY Pulse Width: No limitation
Bytes Per Sector: 512 512
--------------drive0------drive1-------drive0------drive1----
DMA enabled: yes yes yes yes
Act Pls Width: 03 03 11 11
Recovery Time: 01 01 09 09
Add. Setup T.: 4T 4T 4T 4T
------------------UDMA-Timing-Control------------------------
Enable Meth.: 0 0 0 0
Enable: no no no no
Transfer Mode: DMA DMA DMA DMA
Cycle Time: 5T 5T 5T 5T

# /sbin/hdparm -i /dev/hdb /dev/hdc

/dev/hdb:

Model=CD-ROM 40X/AKU, FwRev=U31, SerialNo=
Config={ SpinMotCtl Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=0(?), BuffSize=0kB, MaxMultSect=0
DblWordIO=no, maxPIO=4(ata), DMA=yes, maxDMA=2(fast)
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
tDMA={min:120,rec:150}, DMA modes: *mword0 mword1 mword2
IORDY=on/off, tPIO={min:227,w/IORDY:120}, PIO modes: mode3 mode4

/dev/hdc:

Model=Maxtor 91728D8, FwRev=GAS54112, SerialNo=A805S1XC
Config={ Fixed }
RawCHS=33483/16/63, TrkSize=0, SectSize=0, ECCbytes=29
BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=33483/16/63, CurSects=33750864, LBA=yes, LBAsects=33750864
tDMA={min:120,rec:120}, DMA modes: mword0 mword1 *mword2
IORDY=on/off, tPIO={min:120,w/IORDY:120}, PIO modes: mode3 mode4
UDMA modes: mode0 mode1 mode2
Drive Supports : ATA/ATAPI-4 T13 1153D revision 17 : ATA-1 ATA-2 ATA-3 ATA-4

-Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/