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: Onno van der Linden <o.vd.linden%quicknet.nl@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 17:04:21 +0100

 On Tue, Jan 01, 2013 at 03:45:03PM +0000, David Laight wrote:
 >  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.
 
 Or not use an extra flag at all and change wdc_datain/out_pio()
 to look like the via_data{in,out}_pio versions. Most of the time
 len is a multiple of 4 anyway and if it isn't, it should be so
 small (I've seen 34 bytes with a mount_cd9660 and 74 bytes
 with the scsictl identify)  to not make much of a performance
 difference because 32-bit transfers aren't used in those case.
 
 Onno
 


Home | Main Index | Thread Index | Old Index