NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PR/56434 CVS commit: src/sys/dev/pci
The following reply was made to PR port-alpha/56434; it has been noted by GNATS.
From: Jason Thorpe <thorpej%me.com@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: Jason Thorpe <thorpej%netbsd.org@localhost>,
gnats-bugs%netbsd.org@localhost
Subject: Re: PR/56434 CVS commit: src/sys/dev/pci
Date: Mon, 20 Nov 2023 07:40:59 -0800
> On Nov 20, 2023, at 7:38 AM, Andreas Gustafsson <gson%gson.org@localhost> wrote:
>=20
> Jason R Thorpe wrote:
>> pciide_dma_dmamap_setup(): If we end up with a DMA segment with an =
odd
>> length, unload the map and return EIO.
>=20
> Shouldn't this also check for segments starting at an odd address?
There is apparently no constraint on the address, only the length.
This kind of makes sense=E2=80=A6 the original =E2=80=9CAT attached=E2=80=9D=
drives did 16-bit transfers, thus required an even byte length.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index