Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 2003 00:26:17 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        Hiroyuki Aizu <eyes@navi.org>
Cc:        current@freebsd.org
Subject:   Re: PATCH for ATAng
Message-ID:  <ybsvfqpmcfa.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <20031016231747.4f0640e3.eyes@navi.org>
References:  <20031016231747.4f0640e3.eyes@navi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 16 Oct 2003 23:17:47 +0900,
Hiroyuki Aizu wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> Hi.
> 
> The original ata_reset() lost ATA-master drive and remove main file system
> after suspend/resume. Of cource it occors panic!
> I think that the ata_reset() in ata-lowlevel.c is bogus and I can not
> understand the code. So I study ATA and rewrite ata_reset() completely.
> 
> New device detect algorism using ata command ATA_IDENTIFY_DEVICE and
> ATA_IDENTIFY_PACKET_DEVICE for judge ATA and ATAPI devices.
> 
> This patch works fine with my TOSHIBA Libretto L5. 
> But not yet test ATAPI devices and ATA-slave channel.
> Maybe there is need to adjust wait DELAY time.
> 
> Please test and replace ata_reset().
> 
> I hope this solve ATAng troubles.
> 
> --
> Hiroyuki Aizu
> [2 ata-lowlevel.c.diff <application/octet-stream (base64)>]

This patch fixes resume problem of my laptop (Toshiba Tecra).

Thanks,

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybsvfqpmcfa.wl>