Date: Fri, 15 Aug 2008 14:42:02 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: ticso@cicely.de, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-chipset.c Message-ID: <20080815124202.GH34094@cicely7.cicely.de> In-Reply-To: <20080815120621.GF74590@carrot.paeps.cx> References: <200808151055.m7FAtTqT064094@repoman.freebsd.org> <20080815114704.GF34094@cicely7.cicely.de> <20080815120621.GF74590@carrot.paeps.cx>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 15, 2008 at 01:06:21PM +0100, Philip Paeps wrote: > On 2008-08-15 13:47:04 (+0200), Bernd Walter <ticso@cicely7.cicely.de> wrote: > > On Fri, Aug 15, 2008 at 10:55:11AM +0000, Philip Paeps wrote: > > > This can be used to disable the 80pin cable check on systems which forget > > > to set the bit -- such as certain laptops and Soekris boards. > > > > Are those bits per device? > > That is what it looks like, yes. The cable is detected by checking whether a > certain pin is grounded. From how I read the standard, the pin should be > grounded in the connector, so I can imagine a very strange cable which has 80 > pins up to the first device and 40 to the second. I thought the cable type is read by the controller. But if it is read by the device then it sounds possible. Hadn't thought about a broken cable yet. Well - in fact I never cared much about this problem at all. > > ad4: DMA limited to UDMA33, device found non-ATA66 cable > > ad4: 117246MB <Maxtor 6Y120L0 YAR41BW0> at ata2-master UDMA33 > > ad5: 156334MB <Maxtor 6Y160P0 YAR41BW0> at ata2-slave UDMA133 > > Which is strange, since both drives are on the same cable... > > I agree that this is very strange. I haven't read the ATA standard in any > kind of detail though... > > Does this commit fix it though? A update to a more recent current failed for other reasons. But I can test your change alone. -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080815124202.GH34094>