NetBSD-Bugs archive

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

Re: kern/39659: ahci sata driver does not work on big endian system



On Tue, Sep 30, 2008 at 05:35:00PM +0000, sileizhang%yahoo.com@localhost wrote:
> >Number:         39659
> >Category:       kern
> >Synopsis:       ahci sata driver does not work on big endian system
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       medium
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue Sep 30 17:35:00 +0000 2008
> >Originator:     Chris Zhang
> >Release:        4.0
> >Organization:
> >Environment:
> >Description:
> When testing on a PPC440 based system using NetBSD 4.0 (with customized BSP), 
> I realized the Ahci driver does work (identify device would return garbage). 
> Later investigation shows, the ahcisata_core.c does not snoop the 
> IDENTIFY_DEVICE command and byte swap on big endian system as it does in 
> sys/dev/ic/wdc.c. We added some code in ahcisata_core.c to do the same as 
> wdc.c and it appears to work fine. 


Hi,
could you send your diffs ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index