Subject: Re: Promise Ultra60/100 vs 48-bit LBA compliant drives
To: Takeshi Nakayama <tn@catvmics.ne.jp>
From: Alexander Yurchenko <grange@rt.mipt.ru>
List: tech-kern
Date: 07/05/2003 23:33:00
On Sun, Apr 27, 2003 at 07:41:57AM +0900, Takeshi Nakayama wrote:
> + if (dma_maps->dma_flags & WDC_DMA_LBA48) {
> + atapi = (dma_maps->dma_flags & WDC_DMA_READ) ?
> + PDC262_ATAPI_LBA48_READ : PDC262_ATAPI_LBA48_WRITE;
> + atapi |= dma_maps->dmamap_xfer->dm_mapsize >> 1;
> + bus_space_write_4(sc->sc_dma_iot, sc->sc_dma_ioh,
> + PDC262_ATAPI(channel), atapi);
Why you suppose that 0x20 in the FreeBSD's source means ATAPI port? More
likely it's General Purpose Register, PDC262_SCR_GEN_LAT. Did you try to
connect your LBA48 drive to the second channel?
--
Alexander Yurchenko (aka grange)