NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/47389: lost interrupt messages with VT6421A and sata atapi device



The following reply was made to PR kern/47389; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/47389: lost interrupt messages with VT6421A and sata atapi 
device
Date: Tue, 1 Jan 2013 15:58:35 +0000

 On Tue, Jan 01, 2013 at 09:45:01AM +0000, Onno van der Linden wrote:
 > >Number:         47389
 > >Category:       kern
 > >Synopsis:       lost interrupt messages with viaide(4) and sata atapi device
 ...
 > Somehow the VT6421A doesn't like doing a PIO transfer with
 > both 32-bit and 16-bit I/O intructions as done in wdc_datain_pio
 > en wdc_dataout_pio. Fix it by checking the alignment
 > of the len parameter and do 32/16/8 - bit pio instructions all the way.
 
 Might be worth using a new ATA_DRIVE_xxx flag and slightly
 modifying the tests in wdc_datain/out_pio() rather than
 replicating the code.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index